Evaluator agent

An evaluator agent is an AI agent whose job is to check another agent's work against set criteria and return a verdict or feedback, so the output can be accepted, revised or rejected.

The idea is to separate doing from checking. One model produces something: code, a translation, a search result, a plan. A second model, given the task and a set of criteria such as a rubric, a specification or a test suite, reviews it and returns a score, a pass or fail, or a written critique. The first model revises and the loop repeats until the work passes or a limit on attempts is reached.

Anthropic described the pattern in December 2024 in its guide Building effective agents, under the name evaluator-optimizer: one call generates a response while another evaluates it and gives feedback in a loop. It said the pattern works best when there are clear evaluation criteria and when iterative refinement brings measurable gains, and gave two examples: literary translation, where a critic can catch nuances the translator missed, and complex searches, where the evaluator decides whether more searching is needed.

An evaluator agent goes further than a model that simply grades a final answer. Because it is itself an agent, it can use tools: run the code, open the files, inspect the intermediate steps. A 2024 paper by Mingchen Zhuge and colleagues, including Jürgen Schmidhuber, called this Agent-as-a-Judge. On their DevAI benchmark of 55 AI development tasks with 365 graded requirements, they reported that it clearly outperformed a plain language-model judge and matched the reliability of their human evaluation.

A concrete case: a coding agent writes a function to parse invoices. The evaluator runs the test suite, compares the output with the specification and sends back the three failing cases with the reason each failed. The coding agent fixes them and resubmits.

Evaluators have limits. One built on the same model as the worker can share its blind spots, vague criteria tend to produce approval by default, and every extra round costs time and tokens. They are most trustworthy when tied to things that can actually be checked, such as tests, schemas and cited sources, with people spot-checking a sample of verdicts.

Common questions

What is an evaluator agent?

It is an AI agent that reviews the output of another agent against criteria and reports whether it passes, often with feedback for improvement. It is used inside agent workflows to catch errors before results reach a person. It can grade final answers or inspect the steps taken to reach them.

What is the difference between an evaluator agent and LLM-as-a-judge?

LLM-as-a-judge usually means a language model reading an output and scoring it in one pass. An evaluator agent can act: run code, browse files or check intermediate steps before giving its verdict. Researchers proposed the name Agent-as-a-Judge for this extension in 2024.

What is the evaluator-optimizer pattern?

It is a workflow described by Anthropic in which one model generates a response and another evaluates it and returns feedback, in a loop. The generator revises until the evaluator is satisfied. It suits tasks with clear criteria where revision measurably improves results.

Can one AI reliably check another AI's work?

Sometimes, and best when the checks are concrete, such as running tests or comparing against a specification. When the evaluator is judging quality by its own impression, it can share the worker's mistakes or be too lenient. Human review of a sample of its verdicts shows whether it can be trusted.

Finding more

Search for "evaluator-optimizer", "agent-as-a-judge" or "LLM critic agent" to see how these loops are built and measured. Useful sources include agent design guides from model providers, papers on arXiv that compare automated verdicts with human ones, and documentation for agent frameworks. Be cautious with claims that an automated evaluator matches humans unless the comparison data and task set are published.

Working out what this means for your business?

Aileron Shift builds the systems behind this site: AI newsrooms that research, write and publish on their own, marketing automation and WordPress hosting for companies that need to move faster than their competitors.