Overview
Acontext provides a REST API for building AI agents with persistent context.REST API
RESTful endpoints with predictable URLs
OpenAPI 3.0
Full OpenAPI specification available
Multi-format Support
OpenAI, Anthropic, Gemini, and native formats
Client SDKs
Python and TypeScript libraries
Authentication
All API requests require a Bearer token in theAuthorization header:
Install SDKs
Quick Start
Core Concepts
Sessions
Sessions
Sessions represent conversation threads with message history.
Disks
Disks
Isolated storage groups for organizing files and artifacts within a project.
Tools
Tools
Capabilities that AI agents can use. Manage and configure tools across your project.
API Resources
Sessions
Handle conversations and messages
Disks
Manage storage groups
Tools
Configure agent capabilities
Message Formats
Acontext supports multiple message formats for compatibility:- OpenAI - Compatible with OpenAI Chat Completion format (default)
- Anthropic - Compatible with Anthropic Messages format
- Gemini - Compatible with Google Gemini Messages format
format parameter.