Agent Labs
LiveAgent Labs is an evaluation and debugging framework for AI agents: it records every run, finds the first step that went wrong, and proves a fix with controlled reruns.
Built by Sehaj Preet. Started , last updated .

How it works
- JSONL eval datasets with programmatic checks (tool called, answer contains, grounded, max steps) plus an LLM judge with structured output.
- Failures are sorted into categories: wrong tool, invalid arguments, false claim, incomplete, timeout. Each task reports p50/p95 latency and cost.
- Deterministic replay of recorded runs, and forking from any step to rerun N times against a control, scored with Fisher's exact test.
- Trajectory diffs between models, and a CI gate that fails the build below a 90% pass rate.
Numbers
- Auto-Blame finds the first wrong step 92% of the time with Gemini Flash (72% with Flash-Lite) on 50 seeded failures from 10 bugs, against a 30% baseline.
- 13/13 runs replayed identically offline, at $0.
- A fork proving a fix: 5/5 with the change vs 0/5 without (p = 0.008).
The fix that only looked significant
One fix scored 4/5 against 0/5 and looked like a win. Reading the trajectories showed the agent was inventing IDs to get there. That's why every fix in Agent Labs has to survive a fork and a trajectory read, not just a pass rate.
Screenshots




Stack
- Python 3.12 + uv
- Gemini Flash / Flash-Lite
- OpenTelemetry GenAI-style spans
- SQLite trace store
- React UI
- pytest
- GitHub Actions