What you need to ship
AgentOS handles queues, worker pools, the scheduler, and JWT auth in-process. No separate worker fleet, no separate auth server, no separate cron container.
Local with Docker Compose
agnohq/pgvector is Postgres 18 with the pgvector extension preinstalled — needed for knowledge embeddings.
Railway
Each tutorial template ships with Railway scripts for one-command deploys:up.sh provisions the project, adds pgvector with a persistent volume, creates the app service with env vars, and assigns a public domain.
Walkthroughs: Scout deploy, Dash deploy, Coda deploy.
AWS, GCP, and Azure
Any container platform works. The shape:
Health check the
/health endpoint. AgentOS responds {"status":"ok"} when the app is ready.
Scaling
AgentOS is stateless. State lives indb. Scale horizontally:
For the leader-election pattern with multiple replicas, see Scheduler HA.
Production checklist
Auth and secretsRUNTIME_ENV=prdenables JWT authJWT_VERIFICATION_KEYset (see Security & Auth)OPENAI_API_KEYand other model keys in a secret manager, not in source
- Postgres has a persistent volume or managed backup
- HTTPS terminating at your load balancer or reverse proxy
- Health check pointed at
/health
- Tracing on (
tracing=True) so you can debug bad runs - At least one interface wired up
- Pre-hooks for PII or injection guarding if you handle untrusted input
requires_confirmation=Trueon irreversible tools
Updating your deployment
Code changes:git push if CI auto-deploys, or ./scripts/railway_redeploy.sh. Env changes: ./scripts/railway_env.sh (Railway auto-redeploys when env values change). Database changes: AgentOS handles its own tables — schema changes are additive and forward-compatible, so no migration tool is required for stock AgentOS tables. Application tables you migrate however you like (Alembic, raw SQL, dbt, your call).