The defining problem in agent evaluation is that a correct final answer proves almost nothing about whether the agent should be trusted to run again. An agent asked to reconcile a customer refund can arrive at the exact right dollar figure after forty tool calls, one of which deleted a production record it was never supposed to touch, and cost four dollars in token spend to stumble into the answer by trial and error. Grading only pass/fail on the final answer — the outcome-focused approach the earlier lessons in this course built up — is blind to all of that; it scores this run identically to an agent that reached the same number in six clean, well-reasoned steps.
A trajectory is the ordered sequence of everything an agent produced during a single run, from its first thought to its terminal message: each reasoning step, each tool call together with its arguments, each tool result returned, and each message sent to the user or to another agent, kept in the exact order it actually happened. Trajectory evaluation asks a different question than outcome evaluation asks. Outcome evaluation asks whether the answer was right. Trajectory evaluation asks whether the process that produced it is one you would let run unsupervised again tomorrow, on a harder input, with real money or real data on the line.
This lesson treats a trajectory as a logical object: an ordered list of steps you can inspect, score against rules, and compare, independent of how it happens to be captured. The instrumentation side, where those same steps show up as spans and traces inside a tracing system, is its own lesson later in this course. This lesson also stays one level above any single step: whether one particular tool call picked the right tool and filled in correct arguments is a narrower, mechanical check, covered next — this lesson is about judging the sequence as a whole, not any individual link in it.