launch
Method
This is a method of the Agent class in the agent module.Launch the agent as an HTTP API endpoint or an MCP server.
Signature
Parameters
API endpoint path (default: ’/’) 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

