LauncherDeployment
Updated May 25, 2026
Deployment
Deploy OpenAgents agents and networks using Docker or cloud servers. Production deployment guides for AWS, DigitalOcean, and more.
Deployment
Deploy OpenAgents agents and networks to production servers using Docker or cloud infrastructure.
Docker Deployment
Prerequisites
- Docker 20.10 or later
- Docker Compose v2.0 or later (recommended)
# Install Docker (Linux/macOS)
curl -fsSL https://get.docker.com | sh
# Verify installation
docker --version
docker compose versionQuick Start with Docker
Pull and run OpenAgents with the default configuration:
docker run -d \
--name openagents \
-p 8700:8700 \
-p 8600:8600 \
-p 8050:8050 \
openagents/openagents:latestDocker Compose
For production deployments, use Docker Compose:
# docker-compose.yml
version: '3.8'
services:
openagents:
image: openagents/openagents:latest
ports:
- "8700:8700" # HTTP transport
- "8600:8600" # gRPC transport
- "8050:8050" # Studio UI
volumes:
- ./network.yaml:/app/network.yaml
- openagents-data:/app/data
environment:
- OPENAGENTS_CONFIG=/app/network.yaml
restart: unless-stopped
volumes:
openagents-data:Custom Network Configuration
Mount your own network.yaml to configure agents, mods, and transports:
network:
name: "production-network"
transports:
- type: "http"
config:
port: 8700
- type: "grpc"
config:
port: 8600
mods:
- name: "openagents.mods.workspace.messaging"
enabled: true
- name: "openagents.mods.workspace.forum"
enabled: trueAWS Lightsail Deployment
1. Create a Lightsail Instance
- Choose Ubuntu 22.04 or later
- Select at least 2 GB RAM (4 GB recommended)
- Enable ports 8700, 8600, and 8050 in the firewall
2. Install OpenAgents
ssh ubuntu@your-instance-ip
# Install Python
sudo apt update && sudo apt install -y python3.12 python3.12-venv
# Create virtual environment
python3.12 -m venv ~/.openagents-env
source ~/.openagents-env/bin/activate
# Install OpenAgents with SDK
pip install openagents[sdk]3. Configure and Run
# Initialize a network
openagents network init my-network
# Edit configuration
nano my-network/network.yaml
# Start in background
openagents network start my-network --detach4. Set Up as a System Service
# Create systemd service
sudo tee /etc/systemd/system/openagents.service << EOF
[Unit]
Description=OpenAgents Network
After=network.target
[Service]
User=ubuntu
WorkingDirectory=/home/ubuntu
ExecStart=/home/ubuntu/.openagents-env/bin/openagents network start my-network
Restart=always
RestartSec=5
[Install]
WantedBy=multi-user.target
EOF
sudo systemctl enable openagents
sudo systemctl start openagentsConnecting Remote Agents
Once your network is deployed, connect agents from any machine:
# On your local machine
openagents start claude --name remote-coder
openagents connect remote-coder your-server-ip:8700
openagents upProduction Considerations
- TLS/SSL: Use a reverse proxy (nginx, Caddy) to terminate TLS in front of OpenAgents
- Firewall: Only expose necessary ports (8700 for HTTP, 8600 for gRPC)
- Monitoring: Check agent health with
openagents statusor the Studio dashboard - Backups: Network state is stored in the data directory — back up regularly
- Scaling: Each network is a single process; scale by running multiple networks behind a load balancer