Skip to main content
Start freeBook a walkthrough

1,000 credits to start. No credit card.

Back to Glossary

Evaluation
AI Agents
AgentOps

What Is AI Agent Evaluation?

AI agent evaluation is measuring whether an agent does its job correctly, on test datasets before a change ships and on real conversations after.

By Hagai Cohen and Maksim Markov

November 28, 2026

5 min read


Definition

AI agent evaluation is the practice of measuring whether an agent does its job correctly, by scoring its behavior against expectations. Before a change ships, that means running the agent on test datasets and comparing results with the version in production. After it ships, it means judging real conversations, with people, with a model acting as judge, or both. Evaluation answers a different question from observability: not what happened, but whether it was right.

Why it matters

Agents change often. Someone tightens the prompt so the agent stops approving refunds outside policy, and the same edit makes it start declining refunds that were inside policy. Someone switches to a cheaper model, and invoice-to-PO matching gets slightly worse on multi-line orders. Neither shows up as an error. Every run completes. Without evaluation, you learn about it from a customer or an auditor.

How it works

Most teams combine several methods, because each one catches what the others miss:

MethodHow it worksGood forLimit
Offline datasetRun a set of saved inputs through a candidate versionComparing versions on the same casesOnly covers cases someone wrote down
Golden setA curated dataset with outcomes the work's owners agreed onCatching regressions on cases that must never breakGoes stale unless real failures are added
LLM-as-judgeA model scores outputs against a written rubricScale: thousands of casesNeeds calibrating against people
Human reviewExperts score runs against a rubricGround truth and calibrationSlow and expensive
After-the-fact reviewRead finished production conversations for what went wrongFinding failures nobody predictedFinds problems after customers met them
Inline judgeA judge scores each live reply as it is producedCatching a bad reply before it is sentAdds a model call per reply

A sound loop looks like this:

  1. Write a rubric with the people who own the work: what a correct refund decision or invoice match looks like.
  2. Build a small golden set from real cases, including the awkward ones.
  3. Run every meaningful change against it and compare with the current version.
  4. Review real conversations after release, starting with those that show warning signs.
  5. Turn each real failure into a new test case.

Score the path, not only the final answer. An agent that reached the right answer by calling the wrong tool, or skipping a check, will get it wrong next time.

Common mistakes

  • Only testing the happy path. Include out-of-policy requests, contradictory data and attempts to talk the agent into something.
  • Trusting a judge you haven't checked. Compare its scores with a person's on a sample before relying on it.
  • A dataset that never changes. If production failures aren't flowing back into the dataset, it measures last quarter's agent.
  • Treating a passing score as proof. A score informs a decision. Someone still owns the call to ship.

How Fruxon does it

In Fruxon, the evaluation most teams use day to day happens on real conversations. When reviews are turned on for an agent, a reviewer reads its finished production conversations, those with warning signs first, plus a sample of the rest. Each problem it finds becomes a proposed fix: a tool to add, a change to the instructions, or advice for a person, while knowledge gaps become knowledge-base drafts held for review. Nothing about the agent changes until an admin approves. A proposed fix can be tried against the original conversation, or tested by replaying past conversations with and without the change while a judge compares the two replies without knowing which is which.

On live runs, an optional inline judge scores each reply against weighted metrics and either logs the verdict, blocks the run on a low score, or sends its reasoning back so the agent can try again; each verdict appears as a step in the trace. Eval datasets, including golden ones, and eval runs exist too, but only through the CLI (for example fruxon agents draft evaluate) and the API. The web app does not show them, and nothing gates a deploy on their results.

Frequently asked questions

What is a golden dataset for AI agent evaluation?

A golden dataset is a fixed set of inputs with known correct outcomes, agreed by the people who own the work. Every candidate version of the agent runs against it, so a change that breaks a case that used to work shows up before customers see it. It grows each time a real failure is captured and added.

How does LLM-as-judge work?

A second model reads the agent's output and scores it against a written rubric, such as whether a reply answered the question or followed the refund policy. It scales to thousands of cases that people could never read. It needs calibrating against human judgment first, because a judge with a vague rubric is confidently wrong.

Should agents be evaluated before or after deployment?

Both. Offline evaluation on datasets catches regressions before a change ships, but datasets only contain the cases someone thought of. Reviewing real conversations after the fact finds the cases nobody predicted, and those become new test cases.

Can Fruxon block a deploy when evaluations fail?

No. Nothing in Fruxon gates a deploy on evaluation results. Eval datasets and eval runs are available through the CLI and API, and their results inform the person who decides to deploy. In the web app, evaluation shows up as reviews of closed conversations and an inline judge on live runs.

Related


Back to Glossary