Docs
Get started

Overview

Culprit finds the commit that made your AI agent worse, using your own eval suite and real statistics, then explains it and verifies a fix.

Your agent passed its evals last week. Today it fails some of them, and dozens of commits sit in between. Culprit is git bisect for that situation, built for noisy evals: it repeats every measurement, decides with confidence intervals, and blames nothing when the drop could be noise.

It runs on your machine with your own model key, needs no SDK in your agent, and records every decision so you can check it.

The workflow#

Step Command What you get
1 culprit init Your key saved, your repo set up.
2 culprit run The commit that made the agent worse, and why it was made.
3 culprit localise The lines in that commit that did it.
4 culprit fix A minimal fix, verified on your suite and held-out tasks.
5 culprit report The receipts: every step, interval and cost.

Beyond one-off bisects: culprit ci gates every pull request, culprit drift tells you whether the model behind the API changed, and culprit audit shows which regressions your evals would miss.

Does it work?#

We measured it on three agents with planted regressions and six models. The case study has the results and their caveats.

Start here#

Culprit 0.1.2 · Apache-2.0 · Team PiedPiper