Engineering

6 min

Write the evals before the agent

Write the evals before the agent

Write the evals before the agent

Why every Golem build starts with a test set of real cases, and how we build one in a week.

Why every Golem build starts with a test set of real cases, and how we build one in a week.

Mara Lindqvist

Most automation projects fail quietly. The demo works, the pilot works, and three months later nobody trusts the output. The fix is boring and it comes first: a set of real cases with known right answers.

We call it the eval set. We build it before we write a prompt, and every change to an agent has to beat it before it ships.

What goes in the set

Two hundred to two thousand real examples from the client's own history: invoices, tickets, contracts, forms. For each one, the answer a careful person would give. We include the ugly ones on purpose: the scanned fax, the reply-all chain, the customer who writes in capitals.

How we build it in a week

We sit with the people who do the work today and label together. They know which cases are hard and why. By Friday we have a spreadsheet, a scoring rule and a baseline: how well the current process does.

Why it pays for itself

The eval set settles arguments. When a stakeholder asks whether the new model is better, we run it. When an edge case breaks in production, it goes into the set and never breaks again. And when the client takes the system over, they inherit the one thing that tells them it still works.

Next post

The two-week audit, step by step

The two-week audit, step by step

The two-week audit, step by step

[END] Next step

Hand us the boring part.

Golem

AI agents for operations teams. Designed, built and run from Glasgow and Lisbon.

Contact

+44 141 496 0018

Studio 4, 21 Bell Street, Glasgow G1 1NU

(c) 2026 Golem Automation Ltd.

All agents running

55.86 N / 4.25 W

[END] Next step

Hand us the boring part.

Golem

AI agents for operations teams. Designed, built and run from Glasgow and Lisbon.

Contact

+44 141 496 0018

Studio 4, 21 Bell Street, Glasgow G1 1NU

(c) 2026 Golem Automation Ltd.

All agents running

55.86 N / 4.25 W

[END] Next step

Hand us the boring part.

Golem

AI agents for operations teams. Designed, built and run from Glasgow and Lisbon.

Contact

+44 141 496 0018

Studio 4, 21 Bell Street, Glasgow G1 1NU

(c) 2026 Golem Automation Ltd.

All agents running

55.86 N / 4.25 W

Create a free website with Framer, the website builder loved by startups, designers and agencies.