Deployment Center
Check a workflow against seven deployment targets before anything runs, review a hash-bound plan, deploy locally with Docker or generate files for Kubernetes and Cloud Run, and roll back.
Deploy in the toolbar opens the Deployment Center. It is built on one principle: never claim every graph runs everywhere. It derives what your graph needs and checks it against what each target provides before anything runs.
Steps
- Click Deploy, pick a target and a profile.
- Read the checks: blockers (cannot deploy as is), warnings and notes, each with a remedy.
- Review the plan: requirements, secret status (names only), generated artifacts, permissions and steps.
- Tick I reviewed this plan. The confirmation is bound to the plan’s hash: if anything changes, you must review again (the server re-plans; a different hash answers 409).
- Deploy (Local Docker) or Generate & download files (guided targets).
- Watch History: status, endpoint, health and log of every deployment.
Targets
| Target | Mode | What you get |
|---|---|---|
| Local Docker | deploys here | Builds and runs the app on this machine (127.0.0.1 only), waits for health, then stops the previous version. |
| Docker server | files | Compose file (restart policy, health check, log rotation, data volume) + DEPLOY.md. |
| Kubernetes | files | Kustomize: Deployment, Service, PVC, Secret references, probes; non-root, read-only root; NetworkPolicy (enterprise). |
| Google Cloud Run | files | Knative service YAML with Secret Manager references + gcloud commands. |
| AWS ECS on Fargate | plan | Compatibility checks and a written plan. |
| Azure Container Apps | plan | Compatibility checks and a written plan. |
| Vercel | plan | Checks only: suitable for a frontend, not this long-running API. |
What gets checked
Requirements are derived from the compiled app and graph:
- Persistent data: Index Documents or an embedded vector store under the data dir. Blocks Cloud Run and Vercel (no persistent disk).
- In-process state: memory nodes pin one replica.
- Longest request: the slowest node’s execution limit. A 600 s agent exceeds Azure’s 240 s ingress timeout; Cloud Run allows 300 s by default and 3600 s at most; AWS ALB idles out at 60 s by default.
- Local models: fastembed and cross-encoders need about 2 GB of memory.
- Human approval: pauses cannot wait in an exported app.
- Secrets and egress.
Vendor limits are cited with their source and verification date in the dialog.
Profiles
| Profile | Adds |
|---|---|
| development | One replica, no resource limits. |
| production | Restart policy, health checks, memory limits, read-only root filesystem. |
| enterprise | Production plus a default-deny NetworkPolicy (HTTPS egress only when the graph needs network). |
Every profile needs APP_API_KEYS; without keys the deployed API answers 503.
Local Docker
Off by default, because building and running containers is a privilege. On a trusted machine:
AGENTICMIND_LOCAL_DEPLOY=1 # then restart the server
APP_API_KEYS=<a long random key> # what clients send as X-API-Key to the deployed app- Containers publish only on 127.0.0.1, on a free port 8100–8199.
- The graph’s secrets (e.g.
OPENROUTER_API_KEY) must be in the server’s environment. They are passed to the container by name through thedocker composeprocess environment and never written to disk. - Each project keeps one data volume (
am-<project>-data), shared across deployments, so a rollback keeps the index. - A new deployment must be healthy (
--waitplus/healthz) before the previous one is stopped, so history never shows two running.
Roll back to this (in History) opens the plan for that earlier revision; confirm it, and it is redeployed and replaces the current one. Stop removes the container and keeps the volume.
Guided targets
Generate & download files produces the app plus deploy/<target>/ artifacts and a DEPLOY.md with the exact commands. After you deploy, paste the URL under History → Mark live; AgenticMind then checks /healthz and keeps it in history.
API
GET /api/deployment/targets, POST /api/projects/{id}/deployments/plan, POST /api/projects/{id}/deployments (plan_hash, confirm: true, optional rollback_of), GET /api/projects/{id}/deployments, GET /api/deployments/{id}, GET …/bundle, POST …/stop, …/health, …/url.
Limits
No direct cloud provisioning yet (guided files or plan only); AWS, Azure and Vercel artifacts are not generated; no built-in image scanning; Kubernetes and Cloud Run manifests are validated structurally, not against a live cluster; old local images are not pruned automatically.
Deploying these docs is different
This documentation site is a static Astro site and deploys to Vercel as-is. The Vercel target above refers to deploying an exported AgenticMind workflow API, which is long-running and not a good fit for serverless functions.

