Small, boring eval sets beat clever ones
Our first attempt at evaluating agents was ambitious: hundreds of generated tasks, an automatic grader and a dashboard. It produced a single number that went up and down for reasons nobody could explain. A prompt change that broke a customer workflow moved the score by less than a point.
What we do now
We keep a set of about thirty tasks per agent. Each one comes from a real request, and each has an expected result that a person has checked by hand. The set is small enough that someone can read every failure after a run.
- Real inputs. Messy documents, ambiguous instructions, the occasional typo. Synthetic tasks were too tidy.
- Specific checks. "The output contains the invoice total 1,284.50" instead of "the answer is good".
- A few traps. Tasks where the right answer is to stop and ask, or to report that the data is missing.
Run it on every change
Prompts, tool descriptions and model versions are all changes. Any of them can quietly alter behaviour, so the eval set runs on every pull request that touches an agent. A run takes a few minutes and costs less than a coffee.
We run each task three times. Agents are not deterministic, and a task that passes two out of three is a different problem from one that always fails.
Read the failures, not the score
The pass rate is useful as a smoke alarm, nothing more. The value is in the transcripts of the tasks that failed. Most regressions we caught were visible in the first few lines: a tool called with the wrong argument, an instruction ignored, an answer given without reading the attached file.
Every production incident becomes a new task in the set. The set grows slowly, and every task in it has earned its place.