Documentation
Run agents. Know when they break.
Dunetrace is runtime observability for AI agents. Fifteen behavioral detectors, deterministic explanations, Slack alerts in under fifteen seconds. These pages cover everything from a two-minute install to the database schema.
Start here
Quick start
Up and running in two minutes
Clone,
docker compose up, instrument your agent, open the dashboard. Runs locally with no API key.Architecture
How the pipeline works
Five services, one Postgres, one static dashboard. SDK → ingest → detector → explain → alerts. Failure modes included.
Integrate your agent
LangChain / LangGraph
One callback, zero agent changes
DunetraceCallbackHandler plugs into the LangChain callback system and translates every event automatically.Custom Python agent
Decorator, middleware, or manual
Five paths:
@dt.agent(), ASGI, WSGI, manual dt.run(), or OpenTelemetry receiver. Pick what fits.TypeScript agent
No package required
Send events directly to the ingest HTTP endpoint from any TypeScript or Node.js agent. Same detectors and alerts as Python.
Integrations
FastAPI, Flask, OTel, Loki, Policies
OpenLLMetry, Grafana Loki, Tempo, Honeycomb, Datadog, runtime guardrail policies. Side-by-side setup for each.
Detectors
All 15 behavioral detectors
What each one catches, its threshold, how to tune
detectors.yml, and shadow-mode evaluation.Operate it
Dashboard
Mission control at :3000
Overview, Runs, Alerts, Analytics, Heatmap, Agents, Compare, Detectors. Auto-refreshes every 15s.
Alerts
Slack, webhook, weekly digest
Rate context, HMAC signatures, at-least-once delivery, and the Monday 9am UTC digest.
Policies
FAQ
Something missing?
Open an issue on GitHub or email the team. Docs PRs welcome.