Evals

Evals are tests for agent work, so quality is measured and not just hoped for.

What are LLM evals?

Evals are automated tests for AI output. You collect real inputs together with the answer you expect, run the agent on all of them and score the results. Some checks are exact, some follow rules, and some use a second model as a judge.

Like a driving test with fixed routes: the same questions every time, so you can tell if a new version is really better.

Why it matters

Agents behave differently as soon as a prompt, a tool or the model version changes. Without evals you find out from a customer. With evals you see the regression before the release, and you can show that a new version really is better.

How I work with it

For every agent I keep a small set of real examples. Before anything changes, I run them. A green score is a promise, a red one saves a customer.

Rules of thumb

  1. Start with 10 real examples
  2. Add every bug as a new test
  3. Run them before every release

An example

Say an agent turns messy dates into clean ones. The eval set holds 30 real inputs, from “1.3.2026” to “next friday”. A prompt change that fixes short years breaks weekdays, and the eval catches it in seconds instead of a customer catching it in production.

Try it yourself

An agent turns messy dates into clean ones. Run the tests, then fix the prompt.

Want this in your team?

Get in touch