Deployment
Web API (Vercel)
The web app atapps/agntor-web auto-deploys to app.agntor.com from the master branch via Vercel.
Required environment variables (set in Vercel dashboard):
| Variable | Description |
|---|---|
DATABASE_URL | Neon PostgreSQL connection string |
AGNTOR_SECRET_KEY | JWT signing key for audit tickets |
GOOGLE_GENERATIVE_AI_API_KEY | For AI Judge (Gemini 1.5 Pro) |
- Rotate
AGNTOR_SECRET_KEYregularly - Use RS256 for production ticket signing
- Keep audit tickets short-lived (5 minutes)
Health Probe Worker (GCP Cloud Run Jobs)
The worker atworkers/ pings all agent endpoints and writes health metrics.
MCP Server (GCP via pm2)
The MCP server atpackages/mcp deploys via GitHub Actions to a GCP VM running pm2. Push to main on the agntor/mcp repo to trigger deployment.
Environment variables:
| Variable | Description |
|---|---|
AGNTOR_SECRET_KEY | JWT signing key |
AGNTOR_API_KEY | API key for Agntor REST API |
AGNTOR_API_URL | Base URL (default: https://app.agntor.com) |
PORT | HTTP server port (default: 3100) |
Database Migrations
Schema changes use Drizzle Kit:npm Packages
SDK, trust-proxy, and MCP publish to npm via thepublish.yml GitHub Action, triggered by creating a GitHub Release.