git bisect for agent behaviour

Find the commit that broke your agent.

Culprit replays your evals across your git history, with statistics instead of single runs, and hands back the commit, the lines and a verified fix.

pip install culprit-cli
Read the quickstart
good-v1.0 78/78→hist/b head 57/78 gate p = 1.0e-7 a real run · RefundDesk · GLM 5.3
How it works

Three steps, one command each.

1 · culprit run

Measure, then bisect

Runs your evals at both ends, several times. If the drop could be noise, it stops. Otherwise it narrows the range until one commit is left.

2 · culprit localise

Find the lines

Reverts the commit's hunks one at a time, then in pairs, until your agent recovers.

3 · culprit fix

Fix and prove it

Writes the smallest change that keeps what the commit was for, and verifies it on held-out tasks.

Why repeat runs

One run can't tell good from bad.

Agent evals are noisy. Culprit draws a 95% confidence interval around each commit's pass rate, and only calls it once the whole interval clears the threshold. Try it: add runs and watch the interval tighten.

1
1
threshold 0.50
00.51
Beyond bisect

Catch it before it ships.

0 wrong commits in 60 bisects, on 3 agents and 6 models.
Read the case study