Skip to content
All notes

Evaluation · Engineering

Evaluation is the product

AI systems fail quietly. If you cannot measure groundedness, tool use and cost per outcome, you do not have a product — you have a demo with a billing page.

Up and wrong

Classical monitoring answers one question: is the service healthy? Latency, error rate, saturation. AI systems can pass all three while producing confident, ungrounded answers.

The failure mode is not a crash. It is a slow drift: a retrieval index goes stale, a prompt tweak changes the tone, a model upgrade makes the tool calls slightly more ambitious. Nothing pages. Users just stop trusting the product.

Three things worth measuring

  • Groundedness. Does every claim trace back to a source the system actually had? This is checkable, and it catches most hallucinations before users do.
  • Action safety. Was the tool call allowed, scoped and reversible? An agent that can send email needs a different bar than one that can search a wiki.
  • Cost per outcome. Tokens per resolved ticket, not tokens per request. This is the number that decides whether the product can exist.

Evals in production

Offline evals are necessary and insufficient. The distribution shifts; the cases that break are the ones nobody wrote down. We run the same graders online, on sampled production traffic, and attach scores to traces rather than to releases.

That makes model upgrades boring. You replay last week's real traffic against the candidate, compare per-step scores, and decide with evidence. This is what Keel exists to do.

The uncomfortable part

Writing good graders is harder than writing the feature. Most teams skip it because the demo looks fine. The teams that ship for years do the opposite: the grader is the first artifact, and the feature is built to satisfy it.