Evaluating AI agents
For engineers
Grading multi-step agents on end-state success, trajectories, tool calls, safety and reliability in sandboxed harnesses
110 questions across four stages: Understand, Apply, Solve and Judge.
Try 5 questions
Practice items, not counted towards your mastery. No account needed.
Check yourself · 1 of 5
An agent ends its run with "Ticket closed." What is the most reliable way to grade it?
Check yourself · 2 of 5
An agent reaches the right answer, but its log shows 14 steps where 5 would do. What does grading only the outcome miss?
Check yourself · 3 of 5
An agent is asked to email one customer. Which assertion best catches a wrong recipient?
Check yourself · 4 of 5
Why reset the environment between trials?
Check yourself · 5 of 5
A coding agent passes every test but force-pushed over the main branch. How should the eval record this?
Topics
- Grading end-state task success5 min read · Checking the final environment state (tests pass, ticket updated, record written) and the difference between pass@k and pass^k reliability
- Judging agent trajectories step by step5 min read · Wasted steps, loops, wrong order and recovery from errors, and when to grade the path instead of only the outcome
- Checking tool calls and their arguments5 min read · Right tool, right arguments, no unneeded or unsafe calls and sensible handling of tool errors, asserted on recorded calls
- Building sandboxed agent eval harnesses6 min read · Reproducible containers, mock versus real tools, resetting state between runs and simulated users, with frameworks such as Inspect
- Measuring unsafe actions and side effects6 min read · Destructive commands, permission overreach, prompt-injection compliance and runaway cost as metrics in agent evals
- Benchmarking agents on your own tasks6 min read · SWE-bench-style tasks built from your own closed issues, hidden tests, contamination and cost and time per task
Start here
- Demystifying evals for AI agents (Anthropic) (opens in a new tab)ArticleFree
Anthropic's practical guide to grading agents: graders, trials, pass@k versus pass^k and reading transcripts.
- tau-bench: Tool-Agent-User Interaction in Real-World Domains (Yao et al.) (opens in a new tab)PaperFree
Introduces pass^k and grades agents on the final database state with simulated users and policy rules.
- SWE-bench (opens in a new tab)ToolFree
The reference benchmark built from real GitHub issues, graded by tests the agent never sees.
Helps to know first
110 questions · last verified 2026-12