Attributes of the AgentOS class

You can configure the behaviour of your AgentOS by passing the following parameters to the AgentOS class:
  • agents: List of agents to include in the AgentOS
  • teams: List of teams to include in the AgentOS
  • workflows: List of workflows to include in the AgentOS
  • interfaces: List of interfaces to include in the AgentOS.
  • config: Configuration file path or AgentOSConfig instance.
  • fastapi_app: Optional custom FastAPI app to use instead of creating a new one.
  • lifespan: Optional lifespan context manager for the FastAPI app.
    • See below for more details.
  • enable_mcp: Turn your AgentOS into an MCP server.
  • replace_routes: Optionally override the routes of the AgentOS with your own.
    • See below for more details.
See the AgentOS class reference for more details.