launch
Method
This is a method of the Agents class in the agents module.Launch all agents as a single API endpoint (HTTP) or an MCP server. In HTTP mode, the endpoint accepts a query and processes it through all agents in sequence. In MCP mode, an MCP server is started, exposing a tool to run the agent workflow.
Signature
Parameters
API endpoint path (default: ‘/agents’) for HTTP, or base path for MCP.
Server port (default: 8000)
Server host (default: ‘0.0.0.0’)
Enable debug mode for uvicorn (default: False)
“http” to launch as FastAPI, “mcp” to launch as MCP server.
Returns
None

