# AI Agent Evaluation in 2026: How Evals Are Written and Where the Industry Agrees

> Source: <https://www.revos.ai/blog/ai-agent-evaluation>
> Published: 2026-11-25 00:00:00+00:00

**Recommendation:** Score agent evals on both the final outcome and the tool-call trace, run each case multiple times, and verify your LLM judge against human labels before trusting it in CI.
More in the playbook "Evals and testing for LLM apps": <https://wpnews.pro/playbooks/evals-testing>

How do you check that an agent answers well and hasn't gotten worse after your latest change? During an internal demo, where we showed the agent's answers after our training, Renat Zubayrov, our CEO, asked what evals actually look like. For us they are code that looks like unit tests. How the rest of the industry does AI agent evaluation is what this article covers: an overview of how evals are done today.

**Evals** are automated tests for a system that behaves probabilistically. An agent eval runs a set of cases and scores both the final result and the path the agent took to get there: the tools it called and the state it left behind. The score comes from code, an LLM judge or a human.

I looked at how evals work in Claude Code (for skills and plugins), Mastra, Vercel eve, LangChain and about fifteen other tools. I grouped the approaches and checked where the industry agrees and where it doesn't.

In short: they look different but are built almost the same way. There is a set of cases and several independent checks. Each case runs several times, and you check not only the answer but also what the agent did. In CI all of this works like ordinary tests; in production the same checks run over live traces. Frameworks differ mostly in packaging.

## Why AI agents need evals[#](#why-ai-agents-need-evals)

Ordinary code is covered with tests: the same input gives the same output. LLMs don't work that way. The answer is [slightly different every time](https://www.revos.ai/blog/probabilistic-vs-deterministic-ai), an agent can reach the goal by different paths, and "correct" often can't be expressed as a string comparison.

Evals close that gap. They are automated tests for a system that behaves probabilistically. They answer two questions: did things get better after my change, and did I break something that worked. Without them, every prompt edit or model swap is made by gut feeling.

## Agent eval vocabulary[#](#agent-eval-vocabulary)

The terminology in 2026 was largely set by Anthropic's article "[Demystifying evals for AI agents](https://www.anthropic.com/research/demystifying-evals-for-ai-agents)" (published in January, updated in October). Other tools use their own words, but the meaning is the same.

- **Task, or case** : one test, an input and success criteria.
- **Trial** : one attempt to run a case. There are usually several, because results fluctuate.
- **Grader, also called scorer or evaluator** : code or a model that assigns the score.
- **Transcript, or trace** : the full record of what the agent did: messages, tool calls, results.
- **Outcome** : the final state of the world. An agent can write "booking created" while the database has no such record. You have to check the database.

## Three kinds of graders[#](#three-kinds-of-graders)

There are three types of graders, and the rule for choosing is the same everywhere: code where you can, an LLM where you can't, humans for calibration.

- **Code.** A deterministic check: was the right tool called, is the JSON valid, does the answer contain the required phrase. Fast, cheap, reproducible, but brittle.
- **LLM judge.** Another model scores against a rubric such as "the answer does not invent company policies". Flexible, but non-deterministic, and the judge itself needs checking.
- **Human.** The gold standard, but expensive. Humans label data and verify that the LLM judge agrees with them.

## Five ways to package an agent evaluation[#](#five-ways-to-package-an-agent-evaluation)

Under the hood it is the same thing everywhere; on the outside there are five forms. One separate axis runs through all five: whether you check only the text of the answer or also the tool calls. Agent frameworks check both.

| Form | The idea | Who does it | 
|---|---|---|
| **1. Eval as a test** | Cases and checks live in an ordinary test file, the threshold is set through assert, a red CI means a regression | LangSmith (pytest/vitest), DeepEval, Mastra, Google ADK, Phoenix, Vercel eve | 
| **2. Declarative config** | Cases and criteria in YAML or JSON, run by a CLI | promptfoo, Google ADK (evalset), skill-creator (evals.json), Pydantic Evals | 
| **3. Datasets and experiments on a platform** | A versioned set of cases in a database or the cloud, each run is an experiment, the UI shows the difference between versions | LangSmith, Braintrust, Langfuse, Mastra (Datasets and Experiments), Phoenix, Azure Foundry | 
| **4. Production scoring over traces** | The same scorers run on live traffic with sampling and filters | Mastra live evals, Langfuse, Phoenix, LangSmith online evals, OpenAI trace grading | 
| **5. Eval next to the artifact** | The prompt or skill lives in the repository together with its tests, changes are compared "before and after" | skill-creator, claude plugin eval, promptfoo (prompt and model matrix) | 

Inspect AI from the UK AI Security Institute stands apart. It is a research harness with sandboxes and detailed logs. It is strong for benchmarks and safety evaluations and is used less often for product regression checks.

### What it looks like[#](#what-it-looks-like)

Four simplified examples from the documentation, to get a feel for the difference in style. Look for the full versions with the tool authors; the APIs change fast.

**Form 1: eval as a test (Vercel eve).** The agent is asked a question, and both its behavior and its text are checked. The example is simplified from the [eve documentation](https://eve.dev/docs/evals/cases).

**Form 2: config (promptfoo).** The case is in YAML, and the checks are a list of assertions: two deterministic ones plus one rubric for an LLM. Syntax from the [promptfoo documentation](https://www.promptfoo.dev/docs/configuration/expected-outputs/deterministic/).

**Form 5: eval next to the artifact (skill-creator).** The file `evals/evals.json` sits next to the skill. Each case is run twice: with the skill and without it (or with the old version), then the results are compared. Schema from [schemas.md](https://github.com/anthropics/skills/blob/main/skills/skill-creator/references/schemas.md).

**Form 5, second variant: Claude Code plugins (`claude plugin eval`).** A case is a folder with a prompt and check files, and a run is a single command. One file is one check (grader).

The case format here is its own and doesn't resemble `evals.json` from skill-creator; the two tools don't read each other's files. The example is simplified from the [Claude Code documentation](https://code.claude.com/docs/en/plugin-evals).

The schemas differ, but the idea is the same: an input, what we expect, a list of checks.

## What changed in agent evals in 2026[#](#what-changed-in-agent-evals-in-2026)

Four shifts worth knowing.

**Evals became a built-in primitive of agent frameworks.** In [Vercel eve](https://eve.dev/docs/evals/overview) (public preview since [June 17](https://vercel.com/changelog/introducing-eve-an-open-source-agent-framework), version 1.0 since [November 17](https://vercel.com/blog/eve-is-now-generally-available)) there is an `evals/` folder, `*.eval.ts` files and an `eve eval` command that runs the same suite both locally and against a deployed agent. In Mastra, since [February](https://mastra.ai/blog/changelog-2026-02-13) there are versioned datasets and experiments, and [live scorers](https://mastra.ai/docs/evals/overview) score a share of real production answers without delaying the user.

**Anthropic turned skill evals into a full loop.** [skill-creator](https://github.com/anthropics/skills/blob/main/skills/skill-creator/SKILL.md) has a "with the skill and without it" run, a benchmark with the mean and deviation across several runs, and trigger evals: checking whether the skill fires on the right requests and stays quiet on the wrong ones. The authors borrowed a practice from machine learning here: queries are split into a training set and a held-out set (60/40), so the skill description isn't tuned to a single set of examples.

**Claude Code plugins got their own evals command.** [`claude plugin eval`](https://code.claude.com/docs/en/plugin-evals) (needs Claude Code 2.1.269 or newer) runs a plugin against a set of cases and computes a score. If you haven't worked with [Claude Code skills and plugins](https://www.revos.ai/blog/claude-code-cowork-tag-routines) yet, a plugin is a package of skills, commands and hooks. A case is a prompt a user might type, plus one or more graders: a regex over the reply, a check that a particular tool was called, or a rubric scored by a judge model. Six grader types are built in, and you can't write your own code as a grader. By default each case runs three times with the plugin and then three times without it. The difference between the scores (shown in the report as Δ) tells you what the plugin actually contributed: if Claude passes the case without the plugin too, the plugin gets no credit. For CI there is a `--threshold` flag and an exit code the build uses to tell whether the suite passed. Keep in mind that every run and every judge is a real model call billed to your account, which is why there is a `--max-cost-usd` ceiling.

**Platforms break and shut down.** On its [deprecations page](https://developers.openai.com/api/docs/deprecations), OpenAI announced on June 3 that it is winding down Evals (dashboard, API and graders): they are read-only now, shutdown is on November 30, and Promptfoo is the recommended migration path. Agent Builder is shut down the same day. According to [a write-up on dev.to](https://dev.to/shubhampalriwala/langfuse-trace-level-evaluators-stop-on-november-16-2026-what-to-do-54c3), Langfuse Cloud turned off trace-level evaluators on November 16 (I couldn't find official confirmation). [Phoenix v14](https://arize.com/docs/phoenix/release-notes/04-2026/04-07-2026-phoenix-v14-breaking-changes) shipped with breaking changes. The takeaway is simple: if your cases live only in one platform's format, you risk losing them. Keep your cases in your own repository, in a neutral format.

## Where the industry agrees on agent evaluation[#](#where-the-industry-agrees-on-agent-evaluation)

Eight patterns that repeat almost everywhere, regardless of how the eval is packaged.

- **Case, grader, threshold, CI.** The set of cases runs on every change, and the aggregated metric is compared with a threshold. Only the syntax differs.
- **A hybrid of checks.** Cheap deterministic ones first (tool was called, JSON is valid), then an LLM rubric for what can't be formalized.
- **Judging the outcome and the path, not just the text.** Tool-call evaluators exist in all major frameworks.[Anthropic](https://www.anthropic.com/research/demystifying-evals-for-ai-agents) adds checking the state of the environment: an agent can write "booking created" while there is no record in the database.
- **Repeats instead of a single run.** Each case is run k times (see pass@k vs pass^k below).
- **Comparing "before and after".** Any change to a prompt, model or skill is measured on the same set side by side with the old version. That is how we[compared Claude and Gemini on the same agent](https://www.revos.ai/blog/claude-vs-gemini-for-ai-agents) : same tools, same evals, three runs per model.
- **Traces as a common foundation.** The same OpenTelemetry-based spans are used both for checks in tests and for scoring production.
- **A loop from production.** A bad answer in production stays in the dataset as a new case. When the capability set gets close to 100%, it is moved into the regression set.
- **A controlled environment.** Model mocks, tool stubs, isolation between attempts. In[Anthropic's article](https://www.anthropic.com/research/demystifying-evals-for-ai-agents) there is a case where, in some internal evals, the agent "peeked" at the git history of previous attempts.

### pass@k vs pass^k[#](#passk-vs-passk)

**pass@k** is the probability that at least one of k attempts succeeds. **pass^k** is the probability that all of them succeed. At 75% success per attempt, pass^3 is already about 42%. For an agent that works with customers, the second metric is the one that matters. The definitions come from [Anthropic's article](https://www.anthropic.com/research/demystifying-evals-for-ai-agents); pass^k itself was proposed in the [τ-bench paper](https://arxiv.org/abs/2406.12045).

## Where it doesn't agree[#](#where-it-doesnt-agree)

- **Case format.** There is no single standard. The JSON/YAML schemas of ADK, promptfoo, skill-creator and OpenAI are incompatible. The closest thing to a common denominator is OpenTelemetry traces and JUnit reports.
- **Strict or outcome-based.**[Anthropic](https://www.anthropic.com/research/demystifying-evals-for-ai-agents) advises grading the outcome, not the path: agents find valid routes the test author didn't think of. But tools often default to requiring an exact trajectory match (in[ADK](https://adk.dev/evaluate/criteria/) that is the EXACT mode by default). The way out: choose IN_ORDER or ANY_ORDER and check the required calls, not the whole route.
- **How to check the judge.** There is guidance: manual labeling, agreement corrected for chance, a separate judge per dimension, an "unknown" option on output. But there are few built-in tools for it, and the rest is done by hand.
- **Cost and flaky tests.** An LLM judge per case, multiplied by k attempts, on every pull request gets expensive fast. Compromises (soft metrics instead of failing the build, a full run once a night) every team invents on its own. More on this in the next section.
- **Stability of the tools themselves.** See above: platforms shut down, APIs break, and eve was in preview until 1.0.

## What do agent evals cost?[#](#what-do-agent-evals-cost)

A unit test costs almost nothing, so it runs on every commit. An eval calls a model on every run, and often a second model as the judge. The more cases, variants and repeats, the bigger the bill. [Arize](https://arize.com/resources/llm-evaluation-costs/) suggests counting it like this:

- **Offline:** dataset size × system variants × evaluator runs × cost per evaluation.
- **In production:** traffic × sampling rate × number of places you evaluate × evaluator cost + human review + retention.

There are many multipliers, and they multiply each other. Here is what that looks like in numbers.

- **Repeats.** Flakiness is treated with repeated runs, and they multiply the price. The[Holistic Agent Leaderboard (HAL)](https://arxiv.org/abs/2510.11977) spent about $40,000 on 21,730 agent rollouts (9 models, 9 benchmarks). By the estimate of the authors of the[EvalEval review](https://huggingface.co/blog/evaleval/eval-costs-bottleneck) (April 2026), 8 repeats per cell would push that to roughly $320,000. The repeats are not decoration: on τ-bench the result drops from 60% for a single run to 25% when you require success in all 8.
- **The agent harness.** On identical tasks, the price spread between agent scaffolds reached[33 times](https://huggingface.co/blog/evaleval/eval-costs-bottleneck) . The[harness around the model](https://www.revos.ai/blog/agentic-data-engineering) is a cost lever, not just a quality one.
- **Judges.** On a sample of 100,000 responses at 10% with one correctness judge, you get 10,000 judge runs. Add groundedness and policy checks and it is already 30,000 ([Arize](https://arize.com/resources/llm-evaluation-costs/) ).

These are academic benchmarks, and a product team's set is usually orders of magnitude smaller. But they show which levers exist.

### How teams keep the cost down[#](#how-teams-keep-the-cost-down)

- **Layers by frequency.** Deterministic checks and a small fixed set run on every commit. A representative sample runs on each pull request. At night, a larger set runs with a strong judge auditing the results. Before a release, a frozen "golden" set runs with a variance check and manual review ([OneUptime](https://oneuptime.com/blog/post/2026-08-31-control-llm-evaluation-cost/view) ).[Anthropic](https://www.anthropic.com/research/demystifying-evals-for-ai-agents) suggests starting with 20–50 tasks.
- **Cheap first.** Code, then a small judge, then a strong judge for ambiguous and important cases, then a human. Anthropic puts the same idea shorter: deterministic checks where possible, an LLM judge where needed, a human sparingly. So the cascade does not fool you, a share of the cases that passed the cheap way are randomly rechecked by a strong judge or a human ([Arize](https://arize.com/resources/llm-evaluation-costs/) ,[OneUptime](https://oneuptime.com/blog/post/2026-08-31-control-llm-evaluation-cost/view) ). For routine checks, Arize names inexpensive models such as Claude Haiku 4.5.
- **Check only what was touched.** A formatting tweak should not trigger the whole suite: not the retrieval check, not the grounding check, not the tool-selection check.
- **Sampling in production.** A broad random sample for the overall picture, plus filters that concentrate spend on risky scenarios. The random baseline sample always stays: traffic shifts, and risky slices alone will not show that.
- **Fewer cases.** For static benchmarks the set can be cut by orders of magnitude almost without loss: MMLU was shrunk from 14,000 questions to 100 anchor ones at about 2% error. For agent benchmarks the cut is more modest: a mid-difficulty filter gives only 2–3.5 times ([EvalEval](https://huggingface.co/blog/evaleval/eval-costs-bottleneck) ).
- **One output, many checks.** The Thoughtworks team[advised](https://martinfowler.com/articles/engineering-practices-llm.html) running the model once and applying several property checks to the result, instead of calling the model again for each check.
- **Careful with the cache.** By default,[promptfoo](https://promptfoo.dev/docs/configuration/caching/) caches successful responses on disk for 14 days, so a re-run may not call the model at all. For honest repeats you need the`--no-cache` flag. For the same reason,[OneUptime](https://oneuptime.com/blog/post/2026-08-31-control-llm-evaluation-cost/view) advises against counting cached responses as independent repeats. The cache key should include the model, prompt and rubric versions.
- **A budget per stage.** Estimate the cost before a run, and budget normal calls, retries and escalations to the strong judge separately. Anthropic has the other side of this: once evals exist, cost per task can be tracked next to tokens, latency and error rate.

A note on sources: the HAL and EvalEval figures are academic benchmarks, not a typical product team's set. Arize and OneUptime sell observability platforms.

## Open problems[#](#open-problems)

- **The judge can be wrong.** If your conclusions change when you change the judge, you were measuring the judge, not the model.
- **Broken graders lie more than broken models.** According to[Anthropic's article](https://www.anthropic.com/research/demystifying-evals-for-ai-agents) , Opus 4.5 scored 42% on the CORE-Bench benchmark. After fixing overly strict grading (the answer 96.12 was not accepted against 96.124991…), ambiguous tasks and the environment setup, the result rose to 95%. The general rule: 0% across many attempts (pass@100) for a strong model more often means a broken task than a helpless agent.
- **Overfitting to the set, and saturation.** If you tune a prompt to one set of cases, it stops reflecting reality. And a set that sits at 100% no longer shows improvement. Hence the split into a capability set and a regression set, and the held-out set in skill-creator.
- **Models know they are being tested.** In a paper by Needham et al. ([arXiv:2505.23836](https://arxiv.org/abs/2505.23836) ), frontier models often tell an evaluation from real use: Gemini-2.5-Pro reaches an AUC of 0.83 versus 0.92 for humans. The practical takeaway: cases should look like real requests, and graders should be robust against being gamed.

## How to evaluate an AI agent: where to start[#](#how-to-evaluate-an-ai-agent-where-to-start)

The minimum that works regardless of framework:

1. **20–50 cases from real failures.**[Anthropic advises](https://www.anthropic.com/research/demystifying-evals-for-ai-agents) the same. Not invented ones, but cases where the agent has already gone wrong. Make half of them negative: where the agent must not call a tool or must ask for confirmation.
2. **Run the agent the same way users do.** The same endpoint, the same tools. Replace external systems with stubs.
3. **Deterministic checks first.** The required calls were made (a subset, no strict order), the arguments are valid, there are no forbidden actions, and the final state of the system matches the expected one.
4. **One or two narrow LLM rubrics.** Each as a separate call, with an "unknown" option. Until you have checked the judge against manual labels on at least a hundred transcripts, treat it as a soft metric, not a condition for failing the build.
5. **Three attempts per case.** An agent's results fluctuate, so a single run proves little: run each case three times and compute pass^k. It helps to split cases into two sets. The regression set is what the agent already passes reliably. If it fails, you broke something, so only this set blocks a merge. The capability set is hard cases the agent doesn't always pass yet. You look at it to decide what to improve, but it doesn't block a merge.
6. **Production.** Traces, sampling of about 5–10%, and user feedback. Once a week, read a sample of transcripts and turn the failures into cases.
7. **Every prompt change is an A/B on the same set.** Old version against new, look at the difference.

## Frequently asked questions

- What are evals in AI?
- Evals are automated tests for a system that behaves probabilistically, such as an LLM or an AI agent. Each eval runs a set of cases and scores the result with code, an LLM judge or a human. They answer two questions: did things get better after my change, and did I break something that worked.
- How do you evaluate an AI agent?
- Start with 20–50 cases taken from real failures, half of them negative. Run the agent the same way users do, with external systems stubbed. Check the required tool calls, the arguments and the final state of the system with code first, then add one or two narrow LLM rubrics. Run each case three times and look at pass^k. In production, sample 5–10% of traces and turn failures into new cases.
- What is the difference between pass@k and pass^k?
- pass@k is the probability that at least one of k attempts succeeds. pass^k is the probability that all k attempts succeed. At 75% success per attempt, pass^3 is about 42%. pass@k suits tasks where one good answer is enough; pass^k suits agents that must be reliable every time.
- What is LLM-as-a-judge?
- LLM-as-a-judge means another model scores an agent's output against a rubric, such as 'the answer does not invent company policies'. It is flexible but non-deterministic, so the judge itself has to be checked against human labels before its score can fail a build.
- What is eval-driven development?
- Eval-driven development treats evals like unit tests for an LLM application: a fixed set of cases runs on every change, the aggregated score is compared with a threshold, and a drop fails CI. Every prompt, model or skill change is measured on the same set, side by side with the old version.
- What are the main tools for AI agent evaluation?
- In 2026 the common ones are LangSmith, DeepEval, promptfoo, Braintrust, Langfuse, Arize Phoenix, Pydantic Evals and Google ADK, plus evals built into agent frameworks such as Mastra and Vercel eve, and Claude Code's skill-creator and claude plugin eval for skills and plugins. They share the same core and differ mostly in packaging.

Read more about revenue operations, growth strategies, and metrics in our [blog](https://www.revos.ai/blog) and follow us on [LinkedIn](https://www.linkedin.com/company/revos-ai/) and [Youtube](https://www.youtube.com/channel/UCqoOOxonDfeNEXpqoTuSSLQ).

[All articles](https://www.revos.ai/blog)
