Deploy Guide
Export your agent and deploy it anywhere.
Docker (Recommended)
Best for self-hosted deployments with full control.
# Download and extract the agent ZIP
unzip my-agent.zip
cd my-agent
# Configure environment
cp .env.example .env
# Edit .env with your API keys
# Deploy with Docker
./deploy/deploy.sh docker
Your agent will be running at `http://localhost:3777\`.
Vercel
Serverless deployment for webhook-based agents.
./deploy/deploy.sh vercel
Or deploy from the dashboard: Agent Products → [Your Agent] → Deploy → Vercel
Railway
Container hosting with automatic SSL and scaling.
./deploy/deploy.sh railway
Or deploy from the dashboard: Agent Products → [Your Agent] → Deploy → Railway
One-Click Deploy from Dashboard
- Go to Agent Products
- Click Manage on your agent
- Switch to the Deploy tab
- Choose your provider and click deploy
Note: Vercel and Railway deployments require API tokens configured in Settings → Integrations.
Environment Variables
All agents need at minimum:
- `OPENROUTER_API_KEY` — For AI model access
- `PORT` — Gateway port (default: 3777)
Additional variables depend on your channels and monetization. Check `.env.example` for the full list.