Step-by-step Guide
1
Install tools
- Install Docker Desktop
- Install uv (Python package manager)
- Install the Railway CLI:
2
Create and activate a virtual environment
3
Install Agno
4
Create your codebase
5
Export your API key
6
Test locally (optional)
docker compose down.7
Login to Railway
8
Deploy to Railway
9
Get your domain
https://your-app.railway.app). Navigate to <railway-domain>/docs to see your AgentOS API.10
Connect your AgentOS to the control plane
- Open os.agno.com
- Click “Connect OS” and select “Live”
- Enter your Railway domain as the endpoint

Tips
Update deployment: After making changes to your agents:Troubleshooting
Deployment fails
Deployment fails
Check the Railway logs:Common issues: missing environment variables, Docker build errors.
Database connection timeout
Database connection timeout
Railway’s PostgreSQL may take a moment to provision. Wait 30 seconds and retry.