01
Local
One process and human-readable JSON files. Best for evaluating private coding-agent sessions.
Self-host
Run Kibitz on a laptop, an internal server, or multiple stateless web replicas backed by a shared RWX volume. Trace and evaluation resources are stored outside the image and written atomically.

01
One process and human-readable JSON files. Best for evaluating private coding-agent sessions.
02
Docker Compose keeps traces and prompt/evaluation resources in named volumes across container replacement.
03
Web instances are stateless. Mount the same RWX trace/resource directories; atomic rename prevents partial JSON reads.
External collectors use read or ingest roles. A scoped token can force every incoming run into one project and restrict every API result to the same project.
Python, TypeScript, OTLP, Langfuse, Claude Code, Codex, and direct HTTP enter through authenticated routes.
Each trace is an idempotent file. Temporary write plus same-directory rename makes every visible document complete.
Any stateless web replica reads the same trace and resource directories and derives sessions, scores, and failure clusters.
KIBITZ_PROJECT_TOKENS={
"collector-token": {"project":"agent-prod","role":"ingest"},
"reader-token": {"project":"agent-prod","role":"read"}
}KIBITZ_INGEST_TOKEN=replace-me KIBITZ_READ_TOKEN=replace-me docker compose up -d # Multiple replicas: mount the same RWX paths KIBITZ_DATA_DIR=/data/traces KIBITZ_RESOURCE_DIR=/data/resources
Start with Docker Compose. Move the same data directories to a shared persistent volume when you add replicas.