AgenticFrameworks

Demystifying evals for AI agents

by Anthropic

IntermediateGuideFree~25 min read

Stop shipping agents on vibes: build evals that actually measure them.

Start LearningAdded Jul 4, 2026 · Updated Aug 13, 2026

Overview

Published 9 January 2026 by Mikaela Grace, Jeremy Hadfield, Rodrigo Olivares and Jiri De Jonghe, this Anthropic engineering guide begins by defining terms precisely, which is most of its value: an evaluation is a test that gives an AI an input and applies grading logic to its output, assembled from tasks, trials, graders, transcripts or traces, outcomes, an evaluation harness and an agent harness. It splits graders three ways. Code-based graders (string matching, binary tests, static analysis, outcome and tool-call verification) are fast, cheap, reproducible and brittle to valid variation. Model-based graders (rubric scoring, natural-language assertions, pairwise comparison, multi-judge consensus) are flexible and capture nuance but are non-deterministic, expensive and need calibration. Human graders are the gold standard and are what calibrates the other two. It then separates capability evals, which start at low pass rates and show where an agent is weak, from regression evals, which sit near 100 percent and catch backsliding, noting that a saturated capability eval graduates into the regression suite. Agent-type sections give distinct advice for coding agents (deterministic graders, SWE-bench Verified, Terminal-Bench), conversational agents (user simulation, tau-Bench and tau2-Bench), research agents (groundedness, coverage and source-quality checks, BrowseComp) and computer-use agents (sandboxed environments, WebArena, OSWorld). Non-determinism is handled with pass@k versus pass^k, identical at k=1 and telling opposite stories by k=10. An eight-step roadmap runs from 20-50 tasks drawn from real failures through harness isolation, grader design, transcript review and long-term ownership, and an appendix reviews Harbor, Braintrust, LangSmith, Langfuse and Arize.

At a Glance

Topic
Agentic
Level
Intermediate
Format
Guide
Cost
Free
Duration
~25 min read
Provider
Anthropic
Hands-on
No
Certificate
None

What You’ll Learn

  • The precise anatomy of an eval: tasks, trials, graders, transcripts, outcomes and harnesses
  • When code-based, model-based and human graders each earn their cost
  • Separate capability evals from regression evals and graduate one into the other
  • Read pass@k against pass^k to expose an agent's real reliability
  • Apply distinct strategies for coding, conversational, research and computer-use agents
  • Follow an eight-step roadmap from 20-50 real failure cases to a maintained suite
  • Choose an eval framework among Harbor, Braintrust, LangSmith, Langfuse and Arize

Highlights

  • Written by Anthropic engineers who run these evals internally, not a vendor pitch for a product
  • Names concrete benchmarks per agent type: SWE-bench Verified, Terminal-Bench, tau-Bench, tau2-Bench, BrowseComp, WebArena and OSWorld
  • The pass@k versus pass^k section is the clearest short treatment of agent non-determinism available
  • Insists on grading the outcome in the environment, not the final message, which is the defect most agent evals ship with
  • Step 0 is deliberately small, 20-50 tasks from real failures, so the roadmap is startable this week

Who It’s For

Best For

  • Engineers responsible for agent reliability and catching regressions
  • Teams building an evaluation harness before scaling an agent to production
  • Anyone choosing an eval framework and wanting the trade-offs before committing

Prerequisites

  • Experience building or operating an LLM agent
  • Basic familiarity with software testing and metrics

FAQ

What is Demystifying evals for AI agents?

Anthropic's engineering guide to evaluating AI agents: the exact anatomy of an eval, the three grader families and what each costs, capability versus regression suites, per-agent-type strategies with named benchmarks, pass@k versus pass^k for non-determinism, an eight-step roadmap you can start this week, and a review of the eval frameworks on offer.

Is Demystifying evals for AI agents free?

Demystifying evals for AI agents is free to access.

What level is Demystifying evals for AI agents for?

Demystifying evals for AI agents is aimed at a intermediate audience. Recommended background: Experience building or operating an LLM agent, Basic familiarity with software testing and metrics.

How long does Demystifying evals for AI agents take?

Expect roughly ~25 min read. Most learners work through it at their own pace.

What will I learn from Demystifying evals for AI agents?

You'll learn: The precise anatomy of an eval: tasks, trials, graders, transcripts, outcomes and harnesses; When code-based, model-based and human graders each earn their cost; Separate capability evals from regression evals and graduate one into the other; Read pass@k against pass^k to expose an agent's real reliability; Apply distinct strategies for coding, conversational, research and computer-use agents; Follow an eight-step roadmap from 20-50 real failure cases to a maintained suite; Choose an eval framework among Harbor, Braintrust, LangSmith, Langfuse and Arize.

Topics

agent evaluationevalsLLM-as-a-judgepass@kregression testing

Sources

This page was written from 2 sources, 1 on domains other than anthropic.com.

  1. 1.anthropic.comdemystifying evals for ai agentsvendor
  2. 2.ai-eval.organthropic demystifying evals for ai agents