Quick Start
The simplest way to bring your own FastAPI app is to pass it to the AgentOS constructor:Adding Middleware
You can add any FastAPI middleware to your custom FastAPI app and it will be respected by AgentOS. Agno also provides some built-in middleware for common use cases, including authentication. See the Middleware page for more details.Running with FastAPI CLI
AgentOS applications are compatible with the FastAPI CLI for development. First, install the FastAPI CLI:Install FastAPI CLI
Running in Production
For production deployments, you can use any ASGI server:Adding Custom Routers
For better organization, use FastAPI routers to group related endpoints:custom_fastapi_app.py