2 system design questions lean on this idea. Each walks through the full answer.
AI Engineering · Evals
Free preview: the first part of this 18-part lesson.
Already bought the course? Sign in to read the whole lesson.
this lesson is part of
AI Engineering
Unlock this lesson and the 199 other paid lessons
$49 once, by PayPal
See the AI Engineering courseread the rest of this lesson in
AI Engineering
Unlock this lesson and the 199 other paid lessons
$49 once, by PayPal
See the AI Engineering coursein Evals
This lesson is part of the AI Engineering course. Unlock the full course, a separate one-time payment, for lifetime access.
One-time payment by card or PayPal
Get Lifetime AccessOne-time payment: UPI, card or netbanking
Get Lifetime AccessFoundation lessons of this course are free, no payment needed. Try them now
Your support assistant scored 71 percent end-to-end task success this week. Last week it was 78. That single number is real, and it is nearly useless. It cannot tell you which layer moved. Did retrieval start missing the right documents? Did the model begin ignoring the context it was given? Did a tool change its API? Did someone edit the prompt on Tuesday? Seven points down, and the number points at nothing.
So the week goes the way these weeks go. Someone pulls fifty failing traces and reads them by hand. Someone else has a theory about the model. A third person is sure it is the new prompt. Three days later the actual cause turns out to be a dependency that quietly renamed a tool argument, and every tool call after the upgrade was malformed. The end-to-end score saw the damage. It just could not say the word "tool."
This is the tax you pay for measuring a RAG or agent system with one number. The number is a smoke alarm. It tells you there is a fire and gives you the whole building to search. DoorDash felt this hard enough to do something about it. Their Dasher support assistant cut by about 90 percent. The way they got there was not one cleverer judge. It was several narrow ones, each checking a different property, so a failure came with a location. They report this in their engineering writeup, Path to high-quality LLM-based Dasher support automation.
This lesson is the evals-chapter treatment of both systems that fail this way. A RAG pipeline has two internal stages, retrieval and generation, and the earlier lesson on RAG evaluation drills into the retrieval-side metrics. An agent adds a third layer, tool calls. It also adds a fourth concern no RAG metric touches at all: the trajectory, meaning the sequence of steps the agent took to reach its answer.
The move is to stop asking "is this good". Ask smaller questions that each have a checkable answer. And for agents, grade the path and not only the destination. Do that and a seven-point drop arrives with an address.