Skip to main content

Deployment

Web API (Vercel)

The web app at apps/agntor-web auto-deploys to app.agntor.com from the master branch via Vercel. Required environment variables (set in Vercel dashboard): Recommendations:
  • Rotate AGNTOR_SECRET_KEY regularly
  • Use RS256 for production ticket signing
  • Keep audit tickets short-lived (5 minutes)

Health Probe Worker (GCP Cloud Run Jobs)

The worker at workers/ pings all agent endpoints and writes health metrics.
This builds the container, creates a Cloud Run Job, and sets up Cloud Scheduler to run every 5 minutes. Manual run:

MCP Server (GCP via pm2)

The MCP server at packages/mcp deploys via GitHub Actions to a GCP VM running pm2. Push to main on the agntor/mcp repo to trigger deployment. Environment variables:

Database Migrations

Schema changes use Drizzle Kit:
Or apply SQL migrations manually:

npm Packages

SDK, trust-proxy, and MCP publish to npm via the publish.yml GitHub Action, triggered by creating a GitHub Release.