By Abhijith N M · Reviewed 24 October 2026 · Editorial standards
Agent projects fail in a predictable way: three weeks of building, then the question 'is it any good?' with no way to answer. Evaluation is not a phase at the end; it is a design input.
| Level | Question | Cheap version | Catches |
|---|---|---|---|
| Component | Did the search step return relevant sources? | Hit rate on 20 labelled questions | Broken retrieval, bad tool schemas |
| Trajectory | Did it take sensible actions? | Assert on the tool-call trace | Loops, wrong tools, false success |
| End-to-end | Is the final report any good? | Rubric-scored sample | Unsupported claims, bad synthesis |
Component evals are fast and deterministic. Start there: if search returns nothing useful, no amount of reflection will save the report.
Twenty cases is enough to start. For Atlas:
q_001 'Are mid-market retailers adopting AI chat support?'
expected_sources: [report-a, survey-b]
must_include: ['pilot programmes', 'cost per ticket']
must_not_include: any claim without a citation
q_002 'What do retailers say about AI support accuracy?'
expected_sources: [survey-b]
must_include: ['accuracy', 'escalation rate']Collect them from the people who will use the output. If nobody can say what a good report contains, the project has a product problem, not an AI problem.
Before adding a pattern, write down what improvement you expect and how you will measure it. 'Reflection should raise groundedness from 0.7 to 0.85 on the golden set.' Then you can find out that it added 40% cost for 0.02 of groundedness — which is a result, not a failure.
Key takeaways
Evaluation is a design input, not a final phase.
Evaluate components and trajectories before end-to-end quality.
Twenty labelled cases from real users is enough to start.
Every pattern you add must come with an expected improvement and a measurement.
Written and edited by the nexGenCoders team. Spotted a mistake? Tell us and we will fix it.
Don't lose this lesson
Create a free account to save your progress, keep your streak, and work toward a shareable certificate.