Two flavours of “running mantis on your laptop”: the Docker quickstart is for kicking the tyres before you provision a real server; the local dev flow is for contributors who want to edit the source.

Docker quickstart (evaluation)

Run the stack against your laptop with Docker:
./scripts/setup.sh (also pnpm setup) writes .env and generates the two secrets Compose refuses to start without — POSTGRES_PASSWORD (the DB password the app’s DATABASE_URL is derived from) and MANTIS_API_KEY_PEPPER. It’s idempotent, so re-running leaves existing secrets untouched. The first boot prints a bootstrap API key. Copy it; it won’t be shown again. Then drive the CLI as usual, just pointing at localhost:
When you’re ready to move from “trying it” to “running it”, pick a real deployment from Deployment and mantis --profile prod login --url https://... against it. The Docker localhost setup is for evaluation only — don’t rely on it for canaries that need to fire when you’re not at your machine.

Local dev (for contributors)

The source workspace uses pnpm@11.1.3 and requires Node >=25.8.0.
First request prints a bootstrap API key to stdout.

Performance checks

Benchmarks live under bench/ and are intentionally local, not CI-gated: