Pular para o conteúdo
← Back to Skalablog

Published article

5 rules for agent evals that match real work

Software Engineering

Agent evals are experiments you design to decide whether an agent configuration works for your workload, while public benchmarks are only shortlists. Stephanie Jarmak, an AI engineer at Omni Analytics, argues that swapping just the harness moved results by roughly 30 points on a third-party coding comparison in 2026.

What agent evals are, and how they differ from public benchmarks

Agent evals are measurements you make to decide whether a change to your product or process is worth keeping. In a 2026 talk at AI Engineer, Stephanie Jarmak, an AI engineer at Omni Analytics, drew the line this way: an evaluation supports a decision about your own system, while a public benchmark gives an outside view of the field and a short list to explore.

That distinction matters because benchmark results are noisy and configuration-specific. Jarmak, who previously built a large public coding benchmark during a year at Sourcegraph, described public benchmarks as a standardized reference set. Useful for orientation, risky as a verdict, especially when the task mix, harness and tooling in the benchmark do not resemble the environment where you will deploy.

Jarmak's rule for choosing what to measure is simple: evaluate the closest configuration you can to the work and environment you care about. A law firm does not need terminal-bench style results unless its developers are adopting coding agents.

Why a bigger score is not a better decision

A single number hides the validator behind it. Before trusting any score, ask what was measured, on which tasks, under which harness, and whether that quantity matches your business need. Jarmak framed this as the central discipline of the field: relentless questioning, borrowed from her earlier career as an astronomer.

How much does the agent harness change benchmark results?

The harness can change results enough to flip a model comparison. Jarmak cited a third-party comparison of roughly 63 tasks on Terminal-Bench, a widely used coding-agent benchmark, where one model led with the OpenHands harness and the other led after swapping the harness, a swing she described as 30-plus percent.

Treat that figure as speaker-reported rather than independently reproduced by Skalablog. Within the talk, the arithmetic is a configuration gap, not a model property: same tasks, different scaffold, different winner. The practical reading is that a leaderboard entry describes a model plus a harness plus a task set, and you can only import the result if you match all three.

Variables that compound the effect include tool availability, prompt text, retrieved context, retry policy and stop conditions. Jarmak's earlier example from her Sourcegraph work made the first of these concrete: a prompt change made a run 28% cheaper while the agent still never called the code-search tool she wanted it to use. Cheaper and irrelevant at the same time.

A checklist before you quote a benchmark number

  • Confirm which harness produced the score.
  • Confirm the benchmark's task mix covers your workload.
  • Confirm the scoring function rewards what you actually need.
  • Confirm the version of the model and scaffold used in the run.

Designing your own agent evals as controlled experiments

Design your own evals as experiments: define realistic tasks, repeat runs to expose variance, record full traces, and pick a metric that matches the decision you are making. Jarmak walks through this as a sequence of choices rather than a single score, and each choice controls for a different source of error.

Workload coverage

Cluster tasks into families that reflect real work. In a coding context, a model may handle code understanding better than bug fixing, and tool integration can behave differently across each family. Sourcegraph's benchmark existed partly because the public coding benchmark of the time was mostly bug fixing.

Repeated runs

Agents are non-deterministic, so variation between runs is data, not noise to hide. Repeat each task and report the spread rather than a single lucky pass.

Interaction effects

Model, harness, prompt and tools interact. Change one variable at a time; if a configuration only wins in combination, say so instead.

Observability

Keep every trace. When an agent skips a tool, the trace is the only way to walk back through the pipeline and find whether the tool was offered, called, or returned something the agent ignored.

Choosing the metric: recall, precision and the 295-file example

The same behaviour can be a success or a failure depending on the metric you chose in advance. Jarmak described a search-tool comparison where retrieval based on grep returned 295 files when roughly six were relevant. If you only care that any relevant file appears, recall is enough; if you care about a clean context window, precision matters and that result is a problem.

She optimized for an F1-style balance of precision and recall in that work. The lesson transfers to any validator: a single aggregate score encodes someone else's priorities. Public benchmark validators are no exception.

Reading a trace when the tool was not used

Jarmak's debugging order starts with the context: was the tool available at all? Then, was it called? Then, what came back, and what did the agent do with that value? Fixing a tool and watching the agent finally call it is progress, but if the end-of-task outcome does not move, the failure sits later in the chain and needs its own investigation.

Quality gates, human review load and the 1% alarm problem

A flag is not a gate until code enforces it. Jarmak described a software factory with approval queues where the agent noticed problems but had no mechanism to stop work, so she had to separate detecting an issue from blocking on it and from escalating to a person. Automation without that separation produces warnings nobody acts on.

The human side has a capacity limit. In one system she audited, LLM-as-a-judge failures produced a 1% false alarm rate, and routing every alarm to a domain expert would have meant 10,000 reviews. That number is only meaningful next to the alarm volume it came from, but the design question is general: what alarm rate can your specialists absorb, and which alarms deserve escalation.

Risk tiers help. In her own system, agents propose the next action, the reason a human should weigh in, the operating scope and a suggested check to remove. Low-risk decisions can run with more autonomy; high-risk ones stop. Define those boundaries before the agent finds them for you.

Can you trust the agent's own audit record?

Sometimes the record the agent keeps is the least reliable part of the system. Jarmak described research where security issues were seeded into the environment and the agent's own hash check found no tampering, while an independent comparison of the traffic history and model changes detected everything.

The implications depend on your threat model, but the design principle does not: keep observation data that the observed system cannot rewrite. An agent trace is a useful debugging aid and an unreliable audit log. If you need auditability, capture records out of band, outside the agent's reach, and compare them against what the agent reports.

This is where evals and security review overlap. The measurement system itself needs a trust model, and that model should be written down rather than assumed.

Production is the final test of your agent evals

Production is the final test, because lab evals only approximate the environment where the agent does its work. Jarmak's current project at Omni Analytics starts from internal production data: classifying how users interact with the agent, whether that is Q&A of varying difficulty or dashboard and app building, then building representative proxies of those workloads for the evaluation harness.

Shadow deployment offers a middle path when a change carries a high blast radius. Run the new configuration on live-like traffic, measure it against the same metrics, and keep the result out of the user-facing path until the evidence supports promotion.

The order of operations that comes out of the talk is:

  1. Shortlist candidate models and harnesses from public benchmarks.
  2. Classify your production traffic into task families.
  3. Build representative tasks and choose metrics that match your decisions.
  4. Repeat runs and keep full traces for every one.
  5. Deploy behind enforcement and measure again in production or shadow mode.

The recurring theme is that a number without its configuration, task mix and validator is not evidence. Jarmak's closing framing is blunt: you are trying to not trust your agents, and then earn that trust with measurement. The transcript of the talk was published on the AI Engineer channel on 23 October 2026.

Frequently asked questions about agent evals

  • What is the difference between an agent eval and a benchmark? An agent eval is a measurement you design to make a decision about your own product, using tasks close to your workload. A public benchmark is a standardized reference set that helps you shortlist candidates but rarely matches your environment.
  • Why do agent benchmark results change when you swap the harness? The harness controls which tools the model can call, how context is assembled and when the loop stops. Jarmak cited a third-party coding comparison where changing only the harness reversed the model ranking, so a benchmark score belongs to a configuration, not to a model alone.
  • How many runs should an agent eval include? Enough to see the spread. Agent systems are non-deterministic, so a single pass cannot separate a real improvement from run-to-run variance. Repeat each task and report the distribution.
  • What should you do when an agent ignores a tool? Walk the pipeline in order: was the tool offered, was it called, what did it return, and did the result change the outcome. Jarmak's 28%-cheaper run still did not call the tool, which made the cost saving irrelevant to the question she was asking.
  • Why is recall alone a bad agent eval metric? Recall rewards pulling in anything possibly relevant. In Jarmak's example, grep-based retrieval returned 295 files when about six were relevant, which burdens the context window. Precision and recall together, as in an F1 score, reflect a cleaner decision.
  • Can you rely on the agent's own trace for audits? Treat the agent's trace as a debugging aid rather than a trusted audit log. Jarmak described seeded security issues that the agent's own hash check missed and an independent record comparison caught.
  • What does a 1% false alarm rate mean for human review? It means review load depends on alarm volume. In Jarmak's example, a 1% rate would have produced 10,000 reviews if every alarm went to a domain expert, so escalation has to be tiered by consequence.
  • When should you escalate to a human instead of letting the agent proceed? Escalate when the decision is high-risk or irreversible and the evidence is thin. Low-risk decisions can run with more autonomy, but the boundaries should be defined before deployment.
  • Is production the best place to evaluate an agent? Production is the final test because it is the only environment that fully matches reality. Shadow mode lets you gather that evidence with less risk while you build confidence in the configuration.

From one talk to your own evaluation record

A talk like this survives because it names the failure modes most teams hit: a benchmark score mistaken for a decision, a metric that rewards the wrong thing, a warning that never blocks work. Stephanie Jarmak's advice reduces to building a measurement record you can defend line by line.

If you have recorded a technical talk, an interview or an internal walkthrough that carries this kind of hard-won detail, the knowledge is already there in the audio. Skala Blog keeps the reasoning and the caveats in written form, ready for the people who need to apply them.

Skala Blog turns a YouTube URL into a transcription and then a structured article you can review and publish.

Source video