Skip to main content
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
  • knowledge: List of knowledge instances to include in the AgentOS
  • interfaces: List of interfaces to include in the AgentOS
  • config: Configuration file path or AgentOSConfig instance
  • base_app: Optional custom FastAPI app to use instead of creating a new one
  • 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
  • on_route_conflict: Optionally preserve your custom routes over AgentOS routes (set to "preserve_base_app"). Defaults to "preserve_agentos", preserving the AgentOS routes
See the AgentOS class reference for more details.