Free lesson · Module: Agents in Production

Evals & CI Gates

“It seems to work” proves nothing

You ran the agent three times and all went well. On a hundred real requests, though, it fails fifteen. The model answers differently each time, so lucky runs prove nothing. A prompt tweak can fix one case and quietly break three. Evals are tests for agents. Without them, every change is a gamble.

The golden set

A golden set is a list of examples: what goes in, and how to tell the result is right. Take them from real requests, especially the ones where the agent already failed. Check the outcome, not the path: the file exists, the fact was found. Every bug you catch becomes a new example.

More on Way of the Agent

Still in this lesson: 3 more cards, a quiz of 5 questions, XP and stars - in the course.

Continue the lesson on the Path