Skip to main content
AgentOS serves your agents as a FastAPI application. Every agent gets run, session, and memory endpoints. Your product surfaces call those endpoints.

Calling it from a surface

Every run endpoint takes the same shape, whether the caller is a browser widget or a backend job.
From a browser widget with streaming and a JWT:

What you get without building it

Browse the live OpenAPI spec at the /docs endpoint of your running AgentOS.

Custom routes

AgentOS is a FastAPI app. Add routes for webhooks, dashboards, or product-specific endpoints. The agent is a regular Python object you can call from anywhere.

Auth

Set authorization=True and every endpoint except /health and /openapi.json requires a valid JWT.
AgentOS validates the token before any agent code runs and injects user_id, session_id, and scope claims into the run. RBAC scopes are enforced per endpoint.

Next steps

Developer Resources