Attributes of the AgentOS class
You can configure the behaviour of your AgentOS by passing the following parameters to theAgentOS
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 AgentOSinterfaces
: List of interfaces to include in the AgentOS.- See the Interfaces section for more details.
config
: Configuration file path orAgentOSConfig
instance.- See the Configuration page for more details.
fastapi_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 below for more details.
enable_mcp
: Turn your AgentOS into an MCP server.- See the MCP enabled AgentOS page for more details.
replace_routes
: Optionally override the routes of the AgentOS with your own.- See below for more details.