What’s Included
| Component | Description |
|---|---|
| AgentOS | FastAPI server running your AI agents |
| PostgreSQL | Database with pgvector for embeddings |
| Automatic HTTPS | Railway handles TLS certificates |
| Public Domain | your-app.up.railway.app |
Prerequisites
You’ll need:- Docker Desktop
- uv (Python package manager)
- Railway account (free tier works)
- OpenAI API key
Deploy
Let’s start by creating the projectCreate Your Project
Included Agents
These agents are ready to use once deployed:Pal
Personal assistant that learns from you. Stores notes, bookmarks, and research findings.
Knowledge Agent
RAG agent that answers questions from your documents. Pre-loaded with Agno docs.
MCP Agent
Connects to external tools via MCP. Extensible with any MCP-compatible service.
Deploy to Railway
Login and deploy
Connect to Control Plane
Connect your AgentOS
- Go to os.agno.com
- Click “Connect OS” → Select “Live”
- Paste your Railway domain

Your AgentOS is live! Manage it from os.agno.com
Next Steps
Build Custom Agents
Create agents with your own tools and prompts.
Add Tools
Slack, GitHub, databases, and 100+ integrations.
Add Knowledge
Load documents, websites, and databases for RAG.
Add Interfaces
Deploy to Slack, Discord, WhatsApp, or expose via MCP.
Reference
| Task | Command |
|---|---|
| Deploy updates | railway up --service agent_os -d |
| View logs | railway logs --service agent_os |
| Open dashboard | railway open |
| Set env variable | railway variables set KEY=value |
| Stop service | railway down --service agent_os |
| Scale replicas | Edit railway.json: {"deploy": {"numReplicas": 2}} |
| Switch model | railway variables set ANTHROPIC_API_KEY=sk-ant-*** |
Troubleshooting
'railway: command not found'
'railway: command not found'
Install:
brew install railway (Mac) or npm install -g @railway/cliDeployment fails
Deployment fails
Run
railway init first, then ./scripts/railway_up.sh again.Database timeout
Database timeout
PostgreSQL takes ~30s. Check:
railway logs --service pgvector502 error
502 error
Container starting. Wait 1-2 min. Check:
railway logs --service agent_os