Documentation Index
Fetch the complete documentation index at: https://agno-v2-fix-deploy-docs-restructure.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
Manage
| Task | Command |
|---|---|
| Deploy updates | ./scripts/railway/redeploy.sh |
| View logs | railway logs --service agent-os |
| Open dashboard | railway open |
| Sync env variables | ./scripts/railway/env-sync.sh |
| Set single variable | railway variables set KEY=value |
| Stop service | railway down --service agent-os |
| Stop database | railway down --service pgvector |
| Scale replicas | Edit railway.json: {"deploy": {"numReplicas": 2}} |
Customize
Add an agent
Add an agent
Create Register in Redeploy:
agents/my_agent.py:app/main.py:./scripts/railway/redeploy.shAdd tools
Add tools
Agno includes 100+ tool integrations. See the full list.
Use a different model
Use a different model
Add your API key to Add
.env.production and update your agent:anthropic to pyproject.toml and redeploy:Add dependencies
Add dependencies
- Edit
pyproject.toml - Regenerate requirements:
./scripts/generate_requirements.sh upgrade - Redeploy:
./scripts/railway/redeploy.sh
Enable Slack
Enable Slack
Set both variables in Sync and redeploy:The interface activates automatically. See Slack setup for creating the Slack app.
.env.production:Local Development
Run without Docker for faster iteration:Environment Variables
| Variable | Required | Default | Description |
|---|---|---|---|
OPENAI_API_KEY | Yes | — | OpenAI API key |
RUNTIME_ENV | No | prd | dev enables hot-reload and disables JWT |
JWT_VERIFICATION_KEY | Production | — | Public key from os.agno.com |
AGENTOS_URL | No | http://127.0.0.1:8000 | Scheduler base URL |
SLACK_BOT_TOKEN | No | — | Enable Slack interface |
SLACK_SIGNING_SECRET | No | — | Enable Slack interface |
PARALLEL_API_KEY | No | — | Parallel SDK key for WebSearch |
PORT | No | 8000 | API server port |
DB_HOST | No | localhost | Database host |
DB_PORT | No | 5432 | Database port |
DB_USER | No | ai | Database user |
DB_PASS | No | ai | Database password |
DB_DATABASE | No | ai | Database name |
Troubleshooting
'railway: command not found'
'railway: command not found'
Install:
brew install railway (Mac) or npm install -g @railway/cliFirst deploy fails (JWT)
First deploy fails (JWT)
Expected. Get your verification key from os.agno.com, add to
.env.production, then run ./scripts/railway/env-sync.sh.Database timeout
Database timeout
PostgreSQL takes ~30s to start. Check:
railway logs --service pgvector502 error
502 error
Container is still starting. Wait 1-2 min. Check:
railway logs --service agent-os