
Evaluate Agents on Real Conversations, Not Invented Test Cases
23/11/2026 · 5 min de leitura
Os artigos são publicados em inglês.
A test set written at a desk tests what its author imagined. Production traces, reviewed by people, make a far better evaluation set, and a better way to tell whether a change helped.
Every team that ships an agent eventually changes it. A prompt gets reworded, a model gets swapped, a tool gets a new description. Then comes the question that decides whether the change goes out: is it better, or just different?
Most teams answer it with a handful of examples someone typed up during development. Twenty questions, a few edge cases, a quick look at the answers. It feels like testing. It is closer to checking that the agent still handles the cases its author already thought of. This post is opinion, based on how we think about agent platforms, and it argues for a different source of truth: the conversations your agent has actually had.
Why invented test cases drift from reality
A hand-written test set has three weaknesses that get worse over time.
- It reflects the author's imagination. People write the inputs they expect. Real users write half-sentences, paste an entire email thread, switch language mid-message and ask for things the product was never meant to do.
- It ages. The set is frozen on the day it was written. Your users, your documents and your tools keep moving, and the set quietly stops representing the work.
- It gets tuned against. Once a team iterates on the prompt while watching the same twenty cases, the prompt is shaped to pass them. The score goes up and tells you less each time.
None of this means a small curated set is useless. It means it cannot be the only thing standing between a change and your users.
Start from traces
If every run is recorded with its input, the steps the agent took, the tool calls and their results, and the final answer, you already own a far richer test set than anyone could write by hand. The recording is the same data an audit trail needs, and the same data you need for observability. Evaluation is a third use of it.
Turning traces into an evaluation set takes a few deliberate steps.
- Sample, do not cherry-pick. Draw a slice of recent runs across agents, users and topics. Include the boring majority. A set made only of failures will make every change look like an improvement.
- Add the interesting cases on purpose. Runs a person corrected, runs that were escalated to review, runs that hit a step or spend limit, and runs that ended in complaints. These are the cases where the agent was close to wrong, and they are the most valuable.
- Have a person label the outcome. For each case, a reviewer records what a good result looks like: the right answer, the right tool, or the right decision to hand over to a human. Short notes are enough. Reviewers who already work through a human review queue produce this labelling almost as a by-product.
- Scrub before you keep it. Evaluation data is data. Remove or mask personal information, apply the same retention rules as the originals, and keep the set inside the same access boundary as production.
- Freeze a version. Give the set an identifier, so that two runs of an evaluation are comparable.
Score what you can check, and be honest about the rest
Not everything can be scored by a program. Split the checks by how much you can trust them.
Deterministic checks come first. Did the agent call the expected tool? Did the arguments validate against the schema? Did it stay inside its step and spend budget? Did it refuse to do something it should never do? These are cheap, repeatable and not open to argument.
Model-graded checks come second. Using another model to judge tone, completeness or faithfulness to a source can be useful, but the judge is itself a model with its own biases. Treat it as a screening tool. Calibrate it against a sample that people also grade, look at where they disagree, and re-check whenever you change the judge.
Human review stays in the loop for the cases that matter. When two versions disagree on a case, a person should look at that pair. The disagreements are a small subset of the set, so the cost is bounded, and they are exactly where the decision gets made.
Compare versions side by side
A single score for one version is hard to interpret. A comparison is easier. Run the current version and the candidate over the same frozen set and look at three things:
- the cases that got better,
- the cases that got worse, which deserve more attention than the improvements,
- the cases that did not change, which tell you the size of the blast radius.
A change that raises the average while breaking a category of requests that matters to your customers is not an improvement. Slicing results by agent, topic and language usually surfaces this faster than any aggregate.
Close the loop
The set should grow. When a real failure reaches production, add the trace to the set as a regression case, with the correct outcome recorded. When a feature changes, retire cases that no longer apply and say so in the version notes. Over a few months, the set becomes a record of everything the agent has been expected to get right, which is also something you can show an auditor who asks how you decide that an agent is fit for use.
Limits of the approach
Traces only cover what has already happened, so they say little about inputs you have never seen. Keep a small, separate set of adversarial cases written on purpose, in the way you would for prompt injection. Traces also carry the habits of your current users. A new customer segment or a new language will need its own samples before you can trust the numbers for it.
None of this removes the need for judgement. It moves the judgement from "do these twenty answers look fine?" to "did the work that people really gave this agent get better or worse, and who looked at the cases that changed?"
Where Falnoa fits
Blue Falnoa keeps conversations, human review and evaluations in one place, so that reviewed real runs can become the evidence that a change is safe to ship. If you are working out how to evaluate your own agents, we would be glad to compare notes. Get in touch.
- ai-agents
- evaluation
- reliability
- architecture