Step-by-step Guide
1
Install tools
- Install Docker Desktop
- Install uv (Python package manager)
2
Create and activate a virtual environment
3
Install Agno
4
Create your codebase
5
Export your API key
6
Start your AgentOS
7
Verify it works
Open http://localhost:8000/docs to see your AgentOS API:

8
Connect your AgentOS to the control plane
- Open os.agno.com
- Click “Connect OS” and select “Local”
- Enter
http://localhost:8000

Tips
Hot reload: Changes to agents, teams, and workflows are reflected automatically. Environment variables: Restart containers when updating environment variables. Common commands:| ag infra | docker compose | Description |
|---|---|---|
ag infra up | docker compose up -d --build | Start containers |
ag infra down | docker compose down | Stop containers |
ag infra restart | docker compose restart | Restart containers |
docker compose logs -f | View logs |
Deploy to Production
You can deploy this template to any cloud that supports Docker. Cloud providers: AWS ECS, Google Cloud Compute Engine, Azure Virtual Machines Platforms: Railway, Render, DigitalOcean, Fly.io, ModalTroubleshooting
Port already in use
Port already in use
Modify
compose.yml:Database connection issues
Database connection issues
Ensure PostgreSQL is running:If the database isn’t ready, wait a few seconds and try again.