Lesson 4 of 4 · 18 min
Checking what the agent delivers
Test cases with the result written first, several runs and a sample after launch.
In this lesson
- 1 Five invoices in the demo, two duplicates in a month
- 2 Test cases: the right answer written first
- 3 Which cases to build
- 4 Judge the result, and read some paths
- 5 Once is not enough: run it again
- 6 After launch: sample, log and errors that become cases
- 7 What to do now
Sources
- Anthropic, Demystifying evals for AI agents (20 to 50 cases from real failures; same verdict; positive and negative cases; grade the result; read logs; right once or every time)
- Anthropic, Building effective agents (test in controlled environments; compounding errors)
- OpenAI, A practical guide to building agents (human intervention early in use to find failures and edge cases)
Lessons are unavailable right now. Please try again later.