The agent said "Your flight has been booked."
The database had no booking.
Imagine an AI agent (a model that uses tools to take real actions) asked to book a flight. It calls a few tools, writes a confident last message, and an LLM judge (another large language model scoring the run) reads that message and passes it. Nobody checked the reservations table.
What went wrong: the grader read what the agent said and never looked at what it did.
That is why outcome grading exists: an agent's words and the real system can disagree, and only one of them is what the user gets.
Outcome grading scores an agent by checking the state of the world after its run.
1. Transcript: the record of everything the agent said and every tool it called. 2. Outcome: the final state of the environment at the end of the run, in the words of Anthropic's guide to agent evals. 3. Text grading: reads the transcript, often with an LLM as the judge. 4. Outcome grading: a plain script that gives the same answer every time, such as looking up the reservation in the database or running the unit tests (small automated checks that code works).
The caveat: the check can be gamed too. A coding agent can make "do the tests pass?" true by editing or deleting the failing test, so score against a clean copy of the original test files.