- 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, the same endpoints can be used to power your own application!
Authentication
AgentOS supports bearer-token authentication to secure your instance. When a Security Key is configured, all API routes require anAuthorization: Bearer <token>
header for access. Without a key configured, authentication is disabled.
For more details, see the AgentOS Security guide.
Running your Agent / Team / Workflow
The AgentOS API provides endpoints:- Run an Agent:
POST /agents/{agent_id}/runs
(See the API reference) - Run a Team:
POST /teams/{team_id}/runs
(See the API reference) - Run a Workflow:
POST /workflows/{workflow_id}/runs
(See the API reference)
Passing agent parameters
Agent, Team and Workflowrun()
and arun()
endpoints all support additional parameters. See the Agent arun schema, Team arun schema, Workflow arun schema for more details.
To pass these parameters to your agent, team or workflow, via the AgentOS API, you can simply specify them as form-based parameters.
Below is an example where dependencies
are passed to the agent:
dependencies_to_agent.py