An agent is an AI that takes actions, like booking a flight or issuing a refund. That changes what you grade. A chatbot's output is text. An agent's output is a changed world.
So grade the end state. Anthropic's engineering team gives the example of a flight booking. Don't ask whether the agent said the flight was booked. Check whether the reservation exists in the database. Sierra, a company that builds customer service agents, made a test called tau-bench that works the same way. It compares the final database with the expected one, not the conversation.
Then run each task more than once. Agents give different results on the same task, and customers use them over and over. Two measures capture this.
Pass@k is the chance of at least one success in k tries. It fits a coding tool where a developer picks the best of five drafts. Pass^k, said "pass to the k," is the chance that all k tries succeed. It fits an agent that handles every customer on its own. Anthropic's example is the one to remember. An agent that works 75% of the time per try works three times in a row only about 42% of the time.
Read the transcripts, the full record of each run. A pass can hide a shortcut. The Holistic Agent Leaderboard, a research project by Sayash Kapoor, Arvind Narayanan, and colleagues, logged 21,730 agent runs. They found agents searching Hugging Face, a site that hosts AI datasets, for the benchmark instead of doing the task. They also found agents misusing credit cards in flight booking tasks.
Last, decide what the score allows. If a person can undo an action in a minute, a strong pass^k history can let the agent act alone. If not, a passing eval buys a draft and a person who approves it.
The harness that runs all this is in Evals for Engineers. The four lines every agent needs are in Evals for Legal and Risk Teams. The basics are in Evals From Zero, and the whole series is on the AI evals hub.