Set up ACE
One command starts the entire platform: a Kubernetes cluster, MongoDB, the AgentCert control plane (auth + GraphQL + UI), LiteLLM, Langfuse, and the Certifier.
Quick Start
Enterprise environment or open / local setup? See quickstart-registry.md:
IMAGE_REGISTRYselects the registry for images that are pulled or published.
For a kind deployment: Docker with Compose v2, git, kind, kubectl, helm, and Python 3. Docker, Compose v2, and git are the hard checks in scripts/check-prerequisites.sh; the Kubernetes tools are needed for this route, and setup helpers use Python 3.
--deploy is required — plain ./scripts/setup.sh only builds images Without --deploy (or --restart) the script builds every image and exits; it never writes .env, never creates a cluster and never asks a question. A build-only run ends with:======================================
All images built successfully!
======================================
Build-only run: nothing was deployed and no cluster was changed.
Next: ./scripts/setup.sh --deploy (configure .env, create the cluster and install ACE)That is a successful build, not a failure — but the platform is not running yet. Run ./scripts/setup.sh --deploy to install it. git clone --recurse-submodules https://github.com/AgentCert/ace-monorepo
cd ace-monorepoIf you cloned without --recurse-submodules, the setup wizard initializes the required submodules before it starts building. You can therefore continue directly to the next step.
./scripts/setup.sh --deployChoose an LLM provider when asked. If you leave all hosted-provider keys empty, the wizard offers Ollama and a multi-GB local model download. Review that choice before accepting the defaults. Azure OpenAI credentials are required to produce certification reports.
- Build ALL locally — Enter at
Choice [p/l/A/n]selects build ALL locally: every first-party image (control plane, installers, agents, sidecar, ITBench runner) and the immutable hub bundle (app/agent/fault catalogs + charts) is built from this checkout and side-loaded into kind, so what runs is exactly what you cloned. Nothing is cloned from GitHub at runtime. - Helm deploy — Enter at
Choice [k/H/n]selectsh(Helm);k= plainkubectl applyof the same stack,n= skip deploying. - After the stack is up, setup registers the
ace-localchaos infrastructure and waits until it is connected, then seeds the demo experiments.
Setup stops with an explicit error if a required image fails to build or the hub bundle cannot be prepared, rather than deploying something that fails later with ImagePullBackOff. See Managing services for day-to-day commands.
A successful install ends with this banner — the ports are read from your .env, so they may differ on a shared host:
=======================================================
✓ ACE stack deployed via Helm
=======================================================
Release ace (namespace: ace)
AgentCert UI http://localhost:2001 login: admin / litmus
Langfuse http://localhost:4002 login: admin@agentcert.local / agentcert-admin
Certifier http://localhost:18000/docs
LiteLLM http://localhost:14000
MongoDB localhost:27017
status: kubectl get pods -n ace
=======================================================If the banner instead carries ! Chaos infrastructure is NOT connected, the stack is up but experiments cannot run yet — fix the warnings above it and re-run ./scripts/setup.sh --restart.
Open the AgentCert UI URL setup prints at the end (default http://localhost:2001 — on a shared host the port may differ; see KIND_HOSTPORT_WEB in .env) · login admin / litmus, then go straight to Run your first experiment.
./scripts/setup.sh --restart. An interactive restart may still ask which deployment method to use.Stuck? Join Slack ↗ — the fastest way to get unblocked.
Prerequisites
| Tool | Min version | Check | Install |
|---|---|---|---|
| Docker Engine | 28+ | docker --version | docs.docker.com ↗ |
User in docker group | — | groups \| grep docker | sudo usermod -aG docker $USER then re-login |
| kind | v0.20+ | kind version | kind releases ↗ or go install sigs.k8s.io/kind@latest |
| kubectl | v1.27+ | kubectl version --client | sudo snap install kubectl --classic or kubernetes.io ↗ |
| git | any | git --version | sudo apt-get install git |
| helm | v3.12+ | helm version --short | helm.sh ↗ — used by the default (Helm) deploy |
| python3 | 3.8+ | python3 --version | sudo apt-get install python3 — setup’s own helpers (stdlib only). Python 3.12 is needed only to run the certifier as a host process (local dev); check-prerequisites.sh can install it with uv when ACE_PREREQ_BOOTSTRAP_PYTHON=1. |
Only Docker, docker compose v2 and git are hard checks in the prerequisite script — missing any of them stops the run with ✗ docker, docker compose, and git are required for any setup path. kind, kubectl, helm, Node and Go are reported as warnings with the install command, and a Docker version below 28 only warns (Continuing anyway.). Python 3 is used by setup helpers, though the checker only reports Python 3.12 for host-side certifier development. A clean check ends with ✓ All required prerequisites satisfied.
LLM provider for the agent — choose one of the hosted providers below or the Ollama option offered by the wizard when no hosted key is configured:
gemini-3-flash, gemini-2.5-flash, gemini-2.5-flash-lite.auto-free alias for no-cost routing.Pipeline in action
What Comes Up
./scripts/setup.sh --deploy deploys the full platform into a kind cluster:
rs0)All services run as Kubernetes Deployments in the ace namespace inside a local kind cluster. Ports are exposed via NodePort services and kind’s extraPortMappings so they are reachable on localhost from the VM.
System Architecture
ACE composes four subsystems. Understanding how they connect makes debugging and extending the platform straightforward.
One experiment run, step by step:
- A fault is selected from the Fault Library (application / network / resource)
- LitmusChaos injects it into SockShop on Kubernetes
- Flash agent investigates via MCP tools — every call traced through OTEL → LiteLLM → Langfuse
- Certifier reads the trace, buckets it, extracts metrics, stores them in MongoDB
- After 30 runs: aggregation → hypothesis testing → 12-section report → PDF
Choose Your Route
kubectl points at it. The full ACE stack is deployed into that cluster.localhost immediately.az aks get-credentials etc.) and kubectl get nodes works. ACE deploys into the cloud cluster; browser UIs exposed via LoadBalancer.After the Stack Is Up
Follow the experiment guide to run your first certification:
- Run your first experiment → — UI walkthrough from login to report
- Managing & restarting services → — day-to-day kubectl commands
Useful commands
kubectl get pods -n ace # health check
kubectl logs -n ace deploy/graphql -f # control plane logs
kubectl logs -n ace deploy/certifier -f # pipeline logs
kubectl rollout restart -n ace deploy/auth deploy/graphql deploy/web deploy/certifier # reload config
./scripts/shut_down.sh # tear down this checkout (dumps MongoDB first)
The cluster is named agentcert-<ACE_INSTANCE_NAME>, not agentcert — use ./scripts/shut_down.sh rather than a hand-written kind delete cluster, so the MongoDB dump and the ownership marker are handled for you.
.env, re-run ./scripts/setup.sh --restart to reuse saved configuration, or ./scripts/setup.sh --deploy to change it. On an interactive run, choose h or k if the deployment-method prompt appears. Setup recreates the ace-env Secret and rolls out affected deployments. Troubleshooting
| Symptom | Fix |
|---|---|
Pods stuck in Pending | kubectl describe pod -n ace <pod> — usually a PVC or image pull issue |
| UI at :2001 shows blank | GraphQL not ready — kubectl logs -n ace deploy/graphql |
| Langfuse key errors | Delete and recreate the langfuse-web pod: kubectl rollout restart -n ace deploy/langfuse-web |
| LiteLLM 401 errors | Check the configured provider key (for Azure: AZURE_OPENAI_KEY) in .env, then run ./scripts/setup.sh --restart |
kind cluster missing port mappings | Run ./scripts/setup.sh --deploy — it detects missing port bindings and offers to recreate the cluster |
Still stuck? Join Slack ↗ or open a GitHub issue ↗.
Table of contents
- Configuration & Ports
- Quick start: inside or open / local environment
- Route 1 · Existing Local Cluster
- Route 2 · Fresh VM + kind
- Route 3 · Cloud (AKS/EKS/GKE)
- Running an Experiment
- Managing & Restarting Services
- Local Development (host processes)
- Build, publish and install script modes
- How setup.sh works, and how images are published and released
- Running ACE in an enterprise environment or open setup: image registry plan
- Verified Docker Hub images — 16 October 2026
- Onboarding a Target Application
- Onboarding an AI Agent
- Onboarding an LLM
- Onboarding a Fault