Agent Trace: An Observability Engine for LLM Agents
- Captures every LLM call, tool use & retry as structured events
- Natural-language queries answered with no LLM in the path
- Embedded DuckDB — zero ops overhead
- Batched SDK ingestion with automatic retry & backoff
▸ Architecture deep dive
A TypeScript SDK batches events — 50 events or 5 seconds, whichever first — with exponential backoff, and posts them to a /capture endpoint that enqueues to an async DuckDB writer. Natural-language questions map to one of 8 named SQL queries against a single wide event table, so answering them never costs a model call.