Preparing your Python project
A minimal AgentOS project usually looks like this:Adding a production ready Dockerfile
Here is a minimal Dockerfile for deploying AgentOS:Testing locally
Build and run the container using the following commands from the root of your project: Prerequisites:http://localhost:8000/docs to see your AgentOS documentation. Here you can see the endpoints for your AgentOS.
Deployment options
You can deploy AgentOS anywhere that supports Docker containers.To get started quickly, we recommend using one of our deployment templates.
Learn more about them here.
AWS
A production-ready configuration running entirely on AWS:- Multi-architecture Docker builds
- Amazon ECR for container registry
- ECS Fargate service for running your container
- Application Load Balancer with HTTPS
- Amazon RDS (PostgreSQL)
Cloud providers
AgentOS can run on any cloud provider that supports Docker containers. For example:- Google Cloud Run
- AWS App Runner
- Azure Container Apps
Railway
A simple and fast deployment method. Railway:- Builds your Dockerfile
- Manages environment variables
- Provides a public HTTPS domain automatically
Hosting Platforms
Similar to Railway, you can use other platforms that accept a Dockerfile, manage environment variables, and host your service with minimal configuration.Templates for these are coming soon:
Next steps
Ready to deploy?Choose one of our templates to get started quickly and run AgentOS in production with minimal setup.
Explore all Templates
Explore all templates and get started quickly.