Skip to content
All learning paths

Study notes · three weeks · 3–4 h a week

Agent Evaluation

Agents fail in the middle: a wrong tool, a bad argument, a loop. This path teaches evals that look at the whole run, then puts them on a platform and in CI so they gate releases.

The core material

ResourceRoleUse it for
Demystifying evals for AI agentsMental modelTasks, trials, graders, pass@k vs pass^k, capability vs regression suites (Anthropic, Jan 2026)
Evaluating AI AgentsGuided hands-onAbout 2.5 h of notebooks with Arize: tracing, router and skill evals, trajectory evals, judge tuning
Azure AI Foundry agent evaluatorsEnterprise platformBuilt-in task, intent and tool-use evaluators you can run on Azure
LLM Evaluation (Educative)Subscription courseAbout 2 h on error analysis, pass/fail grading, agent workflows and evals in CI

01 / Week 1

How agent evals differ

Learn the vocabulary and the shape of a good eval suite before writing a single grader.

ConceptWhat it meansWhy it matters
TaskOne test case: inputs plus success criteriaThe unit you count and track
TrialOne attempt at a taskAgents vary run to run, so run several
pass@kAt least one of k trials succeedsFine when one success is enough
pass^kAll k trials succeedThe bar for customer-facing agents
Capability evalWhat the agent can do; starts lowShows where to improve
Regression evalWhat it must keep doing; near 100%Gates every release

Source: Anthropic, Demystifying evals for AI agents

Read (~1.5 h)

  1. Demystifying evals for AI agents: tasks and trials, code vs model vs human graders, why you read transcripts
  2. Agent trajectory evaluations (Arize): scoring the sequence of steps, not only the result

Do (~2 h)

CheckpointExplain when you would report pass^k instead of pass@k, with an example from an agent you have built.

02 / Week 2

Tool-call, trajectory and judge evals

Grade the parts an agent can get wrong: routing, tool choice, arguments, use of results, and the path as a whole.

Do (~3 h)

  1. Evaluating AI Agents, lessons 7–13: router and skill evals, trajectory evals, structured experiments, improving the LLM judge
  2. Write three graders for one of your agents: a code check on tool arguments, a trajectory check against an expected tool sequence, and an LLM judge for the final answer.
  3. Hand-label 20 runs and measure how often your judge agrees with you before trusting it.

Rule of thumb: Use code graders wherever the answer is checkable; save model graders for open-ended output, and calibrate them against human labels.

CheckpointYour judge agrees with your hand labels on at least 80% of runs, and you can show one failure it caught that a final-answer check missed.

03 / Week 3

Evals on Azure AI Foundry and in CI

Run built-in agent evaluators on Azure, then make a regression suite block a bad release.

Foundry evaluatorWhat it checks
Task CompletionDid the agent deliver what the user asked for
Task AdherenceDid its actions follow the system message and policy
Intent ResolutionDid it identify and address the real intent
Tool SelectionRight tools, no unnecessary ones
Tool Input AccuracyCorrect parameters on every call
Tool Output UtilizationDid it use tool results correctly
Task Navigation EfficiencyWas the tool sequence efficient against ground truth

Source: Foundry agent evaluators

Do (~3 h)

  1. Agent evaluators reference: several are marked preview; check status before relying on one
  2. Evaluating AI Agents, lesson 14: monitoring agents after launch
  3. Flow Framework testing: scenario files where a model plays the user, another plays the tools, and a judge grades the run
  4. LLMOps: Building Production-Ready LLM Systems (Educative): golden datasets and LLM-as-judge in a production pipeline

CheckpointA CI job runs your regression suite on every pull request and fails the build when pass^3 drops.

Capstone

Ship an eval suite for one real agent you own. Done when every line holds:

Reference links