An AI agent can give an answer that looks right and is not. The useful question is not whether it will get something wrong, but how you find out when it does. An agent is checked at two moments: before it starts work, with evals, and on every run, with exact rules, review and a person's approval where the impact calls for it. Both checks are part of the harness. This article explains how each one works.
The two moments, in one table
| Before production | On every run | |
|---|---|---|
| What is asked | Does this agent do this job well? | Is this specific result correct? |
| With what | Evals: test cases with their expected result | Exact rules, review by another model, a person's approval |
| When | At design time and whenever the model, the instructions or the data change | Every time the agent works |
| If it fails | The agent does not go into production | The result does not go out, or goes out flagged for review |
Before production: evals
An eval is a test for an AI system: you give it an input and apply grading logic to its output to measure whether it got it right. That is Anthropic's definition in "Demystifying evals for AI agents" (09/01/2026).
In a business process, evals are built from real past cases. For an agent that prepares the bank reconciliation: a hundred transactions from previous months, each with the match the team made. You run the agent and compare.
Two kinds of evals, depending on the question:
- Capability: what does this agent do well? They decide whether it goes to work and on which cases.
- Regression: does it still do well what it used to? They are rerun every time something changes, and should pass at close to 100%.
Regression is the one most often forgotten. Changing the model, tweaking an instruction or adding a data source can fix one case and break three others.
Getting it right once or getting it right every time
Anthropic distinguishes two measures that make the difference in a company:
- pass@k: the probability that the agent gets it right at least once in k attempts.
- pass^k: the probability that it gets it right all k times.
For an assistant that suggests ideas, one good one is enough. For a process that runs every Monday, what matters is getting it right every time: pass^k. An agent that gets it right nine times out of ten is useful as a helper; it is not useful for closing the commissions payroll without review.
On every run: three checks
Evals tell you whether the agent is fit for the job. They do not tell you whether today's result is correct. That takes checks on every run, of three kinds:
| Check | How it works | What it is for | Limit |
|---|---|---|---|
| Exact rule | Code that checks or calculates: totals, amounts, formats, thresholds | Everything that can be calculated | It only checks what can be written as a rule |
| Review by another model | A second model reviews the result against criteria | Nuance: whether an explanation holds up, whether something is missing | It can be wrong in the same way as the first |
| Person | Someone with authority reviews, approves or rejects | Decisions with impact | It takes time: keep it for what matters |
Birgitta Böckeler calls the first two computational controls, deterministic and fast, and inferential ones, slower, more expensive and less predictable (martinfowler.com, 02/04/2026). The practical rule that follows: if a rule can calculate it, a model should not decide it.
Check the result, not the path
An agent can reach the same result by different paths. Anthropic recommends grading what the agent produced, not the path it took, so a valid solution that was not the expected one is not penalised.
In a business process there is a nuance. The path is not graded, but it is kept. Every result comes with its lineage, the path back to its sources: which data it used, where each figure comes from and which rule it applied. Not to grade the agent, but so the reviewer understands the proposal in seconds and there is a record.
An example: Acme's commissions
Acme wants an agent to calculate the sales team's commissions every month.
- Before production: an eval is built from the last twelve months, already calculated by the team. The agent has to reproduce all of them. If the commission plan or the model changes, it is rerun.
- Calculation: the amounts are calculated by an exact rule with the commission plan, not by the model.
- Agent review: the agent reviews the exceptions, such as a sale with a discount outside policy, and proposes what to do with each one.
- Person: the head of sales approves the exceptions and finance approves the total before it reaches payroll.
- Log: it is written down which data was used, which rule was applied, what the agent proposed and who approved it.
Read what the agent does
Anthropic adds advice that applies just as well to a company: you will not know whether your checks work unless you read the transcripts of many runs. An eval that always passes may be badly built. Reviewing now and then what the agent did, and not only whether it passed, is part of the job. That is why the log is not only for the auditor: it is also for improving the harness.
How we solve it at Opendome
Opendome is the data and security platform for AI projects, and the harness that lets your team put it to work. In the harness, exact rules calculate the figures; agents propose where there is no rule; and a person approves depending on the impact. Each process is tested on today's data without sending anything before it is switched on, every result comes with its lineage and every action is logged.
You can see it on the harness page, in the finance use case and in the four-minute harness video. To decide what needs a person's approval, see human in the loop and the guide at the end of this article. What the EU AI Act requires on that oversight and that log is covered in harness and the EU AI Act, and how these checks apply to specific processes in AI harness examples.
Conclusion
An AI agent is checked before production, with capability and regression evals, and on every run, with exact rules, review and a person's approval where it matters. What can be calculated, let a rule calculate; what cannot, let someone who understands where it comes from review it. And for a process that repeats, the measure is getting it right every time, not once.
Sources
- Anthropic, "Demystifying evals for AI agents", 09/01/2026.
- Birgitta Böckeler, "Harness engineering for coding agent users", martinfowler.com, 02/04/2026.