Skip to main content

Web build

Build-time env (injected at CI or Docker build args):

Worker deploy

Required secrets on the host:
  • MANTLE_RPC_URL, AGENT_PRIVATE_KEY, AGENT_IDENTITY_ADDRESS=0xB86dC64573089D8DD89C5686010295bB4412D652
  • AGENT_EOA and TREASURY_EOA must match the AGENT_PRIVATE_KEY address (0x59ffc… for the live burner)
  • LLM keys (Z_AI_API_KEY, etc.) or LLM_PROVIDER=local_rules
  • Optional 0G: ZERO_G_RPC_URL, ZERO_G_PRIVATE_KEY, ZERO_G_CLI_PATH
Start command:
Enable CORS for your web origin or terminate both behind the same domain reverse proxy.

DNS / CNAME

Health checks

  • Worker: GET /health
  • Web: static asset 200
  • Contract: Mantlescan verified source

Pre-production checklist

  • LIVE_ENABLED intentional for environment
  • Rate limits on /run-cycle and runner endpoints
  • Sentry DSN configured (SENTRY_DSN, VITE_SENTRY_DSN)
  • Secrets not in git — use host secret manager
  • See Security for key custody guidance