Overview
Agentor provides multiple deployment options:- Celesto AI Platform - One-command deployment with observability
- Self-hosted Servers - Deploy with uvicorn, gunicorn, or Docker
- Serverless - Deploy to AWS Lambda, Cloud Run, etc.
- ASGI Servers - Use with any ASGI-compatible platform
Celesto AI Deployment
The fastest way to deploy agents to production.Prerequisites
celesto CLI is automatically installed with Agentor.
Deploy Command
From your project directory:Configuration
Create acelesto.yaml (optional):
Environment Variables
Set required API keys:Observability
Automatic tracing is enabled whenCELESTO_API_KEY is set (src/agentor/core/agent.py:119):
Self-Hosted Deployment
Local Development
Run agents locally (src/agentor/core/agent.py:513):http://localhost:8000.
Production Server
For production, use Gunicorn with uvicorn workers:server.py:
uvicorn Deployment
Run with uvicorn directly:Docker Deployment
Dockerfile
Create aDockerfile:
Build and Run
Docker Compose
Createdocker-compose.yml:
Kubernetes Deployment
Deployment YAML
MCP Server Deployment
Deploy LiteMCP servers (src/agentor/mcp/server.py:14):MCP with Gunicorn
MCP as ASGI App
LiteMCP is a full ASGI application (src/agentor/mcp/server.py:50):Serverless Deployment
AWS Lambda
Use Mangum for Lambda compatibility:Google Cloud Run
Createapp.yaml: