- Run Agents / Teams / Workflows: Create new runs for your agents, teams and workflows, either with a new session or a existing one.
- Manage Sessions: Retrieve, update and delete sessions.
- Manage Memories: Retrieve, update and delete memories.
- Manage Knowledge: Manage the content of your knowledge base.
- Manage Evals: Retrieve, create, delete and update evals.
This is the same API that powers the AgentOS Control Plane. However, you can also use these endpoints to power your own application!
Create your AgentOS
Below is a basic example of how to create an AgentOS instance:my_os.py
AgentOS class:
agents: List of agents to include in the AgentOSteams: List of teams to include in the AgentOSworkflows: List of workflows to include in the AgentOSknowledge: List of knowledge instances to include in the AgentOSinterfaces: List of interfaces to include in the AgentOS- See the Interfaces section for more details.
config: Configuration file path orAgentOSConfiginstance- See the Configuration page for more details.
base_app: Optional custom FastAPI app to use instead of creating a new one- See the Custom FastAPI App page for more details.
lifespan: Optional lifespan context manager for the FastAPI app- See the Lifespan page for more details.
enable_mcp_server: Turn your AgentOS into an MCP server- See the MCP enabled AgentOS page for more details.