ON THIS PAGE 9 sections
>_ AGENT MODE AI agent? Skip the interface. Read as Markdown
Direct answer

What is an eval loop in AI content?

An eval loop is a structured pass-fail review where an editor agent scores each draft from a writer agent against a fixed rubric, sends fails back for rewrite, and only ships drafts that pass. It is what turns a writer agent into a production pipeline.

Evidence Research on LLM judges documents position, verbosity, and self-enhancement biases (Zheng et al., 2023) and evaluators that recognize and favor their own generations (Panickssery et al., 2024). A fixed rubric and a different editor model reduce those risks; they do not remove human review.

An eval loop is the editor-agent counterpart to the writer agent and the quality-control layer of an agentic SEO system.

Without one, you have an AI writer producing drafts that are mostly fine, sometimes great, occasionally terrible, and consistently inconsistent. With one, you have a pipeline that ships predictable output every time, gets better as the brief library compounds, and surfaces real signal when something is wrong.

The eval loop is the part of an agentic SEO pipeline most teams underbuild. It is also the part that does the most work. Here is what a working loop contains and how it should behave.

The rubric must change with the production model. A manually researched article and a database-generated landing-page fleet fail in different ways; the programmatic versus AI content framework defines which uniqueness, evidence, and template checks belong in each path.

What an eval loop actually is

A small definition. An eval loop is a programmatic review stage where an editor agent scores each writer-agent draft against a fixed rubric, returns failures to the writer with specific reasons, and only ships drafts that pass.

The loop has three properties.

Programmatic. Runs without a human in the path. If a human has to click “approve” every time, you have a workflow, not an eval loop.

Pass-fail per axis. Each rubric axis returns a yes or no. Numeric scores feel more rigorous but degrade fast — the editor invents fake distinctions that do not survive replay.

Bounded retry. Maximum two or three rewrite cycles, then escalate to a human. Without bounds, the loop will burn API spend forever on drafts that have a brief problem, not a draft problem.

The six-stage pipeline diagram above is the practical shape. Brief, draft, score, rewrite if fail, re-score, ship or escalate.

FIG. 01 · THE EVAL LOOP
BRIEF
8-field template
→
DRAFT
writer agent
→
SCORE
editor agent
→
REWRITE
if fail
→
RE-SCORE
max 3 cycles
→
SHIP
or escalate
Six stages, fully programmatic.

The 6-axis rubric

These six axes cover the mechanical failures that matter most. Adding more tends to make the loop noisier; cutting one leaves a class of failure unchecked.

1. Entity coverage

The brief specifies 5 to 12 named entities (see brief templates for AI writers). The editor verifies each entity appears in the draft at least once, in a meaningful sentence — not a footnote, not a passing reference.

Why it matters. A draft that drops required entities stops answering the questions those entities anchor, for readers and for AI answers that might cite the page. See entity-based SEO.

2. Evidence density

The brief specifies an evidence floor: e.g., “3+ verifiable numbers per H2, 2+ outbound citations to primary sources.” The editor counts. Fails if the floor is not met.

Why it matters. AI writers will happily fill space with “studies suggest” and “experts agree” if you let them. Programmatic evidence density forces real numbers and real sources. It does not stop fabrication on its own: a writer can invent a plausible citation, so the editor or a script must confirm that every cited URL resolves and supports the claim.

3. Banned words

A list of phrases that auto-fail the draft. The list lives in the brand spec: “delve,” “robust,” stock openers about an evolving landscape, and so on (see E-E-A-T).

Why it matters. Mechanical filter for the laziest LLM tropes. Catches instantly what a human editor would spend minutes on. The savings grow with volume.

4. Tone match

The editor compares the draft against the tone exemplars in the brief — actual paragraphs from existing site content. Scores on syntactic and lexical similarity, not vibes. Fails if similarity drops below a threshold.

This is the axis most prone to false positives. Calibrate carefully and bias toward letting borderline drafts through, then human-review the borderlines. Tone is the hardest axis to automate well.

5. Structural compliance

The brief specifies an H2 skeleton with word targets. The editor checks:

  • All required H2s present (allowing minor phrasing variation)
  • Each section within ±25% of its word target
  • H1 contains the target query in some form
  • At least one H2 written as a question (for AI citation)

Why it matters. Drafts that wander off the skeleton waste research effort and produce articles that target nothing. The structural check enforces the SEO strategy implicit in the brief.

6. Answer-first opening

The editor reads the first paragraph after the H1. It must contain a definitional sentence about the target entity, a specific claim, and a stakes sentence. The opening must be self-contained — extractable without surrounding context.

Why it matters. The opening is the paragraph most likely to be lifted into a featured snippet or AI answer, so it has to stand on its own. See how to get cited by ChatGPT.

What the editor agent actually looks at

The editor agent gets four inputs:

  1. The brief (all 8 fields)
  2. The draft
  3. The rubric (as a system prompt with each axis defined)
  4. The tone exemplars (as reference text)

It returns a structured JSON object: each axis pass/fail with a one-sentence reason, a global pass/fail, and if global fail, a rewrite directive for the writer.

Example output:

{
  "entity_coverage": { "pass": true, "covered": 6, "required": 6 },
  "evidence_density": { "pass": false, "reason": "H2 section 3 has 1 number; required floor is 3" },
  "banned_words": { "pass": false, "found": ["delve", "robust"] },
  "tone_match": { "pass": true, "score": 0.78 },
  "structure": { "pass": true },
  "answer_first": { "pass": true },
  "global": "fail",
  "rewrite_directive": "Section 3 needs 2 more verifiable numbers. Cut 'delve' and 'robust'; state the specific action instead."
}

The writer reads the rewrite directive, regenerates the failing sections (not the whole draft — selective rewrite is faster and cheaper), and resubmits.

First-pass rate as the health metric

The single number to track is first-pass rate: what percent of drafts pass the rubric on the first attempt with no rewrites.

Healthy progression for a new pipeline:

  • Early drafts: low first-pass rate. The brief library is still being built.
  • Middle phase: the rate rises as the library stabilizes and tone exemplars converge.
  • Steady state: the rate holds and only moves when briefs, exemplars, or models change.

If your rate drops over time, something rotted — usually a brief template or a tone exemplar got generic. Investigate immediately. The eval loop is also a brief-quality monitor.

If almost every draft passes, your rubric is probably too loose. Tighten an axis.

Why the writer should see the rubric

Counterintuitive but important. Put the rubric in the writer agent’s system prompt.

The instinct is to hide the criteria so the writer cannot “game” them. In practice, telling the writer what will be checked should raise first-pass rate. Measure it in your logs. The writer is not gaming anything — it is aligning. The point of the rubric is to specify quality, and an aligned writer produces aligned output.

It also cuts compute cost: every draft that passes the first time is a rewrite cycle you do not pay for.

Mixing models

The single highest-use rubric upgrade is using different model providers for writer and editor.

Reason: every model has blind spots. Each writes in its own cadence and tends not to notice it when reviewing its own drafts. Research on LLM judges documents self-enhancement bias and evaluators that recognize and favor their own generations. A same-model writer and editor inherit that bias.

A simple setup runs one provider as the writer and another as the editor. The mix is not magic — both directions work — but the editor no longer shares the writer’s blind spots.

This does have a cost. Two providers means two API keys, two billing dashboards, and a slightly more complex orchestration. For most pipelines the quality lift justifies the overhead.

What the loop cannot do

An eval loop catches structural failures. It does not catch editorial ones.

It cannot tell you whether an argument is interesting. It cannot tell you whether a metaphor lands. It cannot tell you whether the post would persuade a CMO. Those judgments still belong to a human.

The right division of labor: the eval loop catches everything mechanical, the human reviews everything strategic. The realistic target is a sharp drop in human editing time per post, because nobody reads drafts that fail on mechanics. Not zero human time, just much less of it on the wrong work.

Where eval loops earn their cost — and where they stall
+ WORKS WELL
  • Volume + consistency. The more drafts a pipeline ships, the more the loop pays back. At low volume, manual editing competes.
  • Catching mechanical failures. Banned words, missing entities, length, structure — these all catch automatically and never reach a human.
  • Surfacing brief drift. When pass rate drops over time, the brief library has rotted. The eval loop is the early warning system.
− WATCH OUT
  • Subjective quality. An eval loop cannot judge if an argument is interesting. It catches structural failures, not editorial ones. A human still reviews above the rubric.
  • Same-model echo chambers. If writer and editor are the same model, the editor tends to miss that model's failure modes and can favor its own output. Mix providers.
  • Over-engineered rubrics. 12-axis rubrics with weighted sub-scores tend to optimize for the rubric, not the reader. Six axes is the sweet spot.

Logging the loop

Every eval result gets logged. Three months of logs become a dataset.

The dataset is what enables rubric v2. You look at:

  • Which axes fail most often
  • Which axes fail rarely
  • Drafts where the rubric passed but the human edited heavily (calibration miss)
  • Drafts where the rubric failed but the human read the draft and disagreed (rubric too strict)

The miss-and-strict patterns drive rubric edits. After two or three iterations, the rubric stabilizes and the logs become quieter — at which point the bottleneck moves upstream to brief quality. See agentic SEO cost economics for what the full economic stack looks like.

What to do tomorrow

The single smallest version of an eval loop you can ship in an afternoon.

  1. Take your current writer prompt. Add an “evaluate this draft against these criteria” prompt for the editor stage.
  2. Define the 6 axes above as binary pass-fail.
  3. Run 10 of your existing drafts through the editor manually. Calibrate the prompts until the pass-fail calls match your judgment.
  4. Wire the loop programmatically. Two API calls, a JSON parse, a retry.
  5. Run for 30 drafts. Look at first-pass rate. Iterate.

The first version takes a day. The third version is the one you keep. After that, the rubric becomes infrastructure — the part of the pipeline you stop thinking about because it just runs.

That is the goal. An eval loop should be boring. Boring eval loops ship hundreds of posts without quality drift. Exciting eval loops are signs something is wrong.

RETRY CAP
3
Rewrite cycles before escalation.
SCORING
Pass/fail
Per axis, then global.
RUBRIC AXES
6
Below this is too coarse.
Questions people actually ask
FAQ · 6
Q01 Is an eval loop the same as a human editor? +
No. An eval loop is a programmatic check that catches structural failures (banned words, missing entities, wrong length). A human editor still reviews voice, argument quality, and strategic fit. The loop saves the human from reading drafts that obviously fail.
Q02 What rubric scoring scale should I use? +
Binary pass-fail per axis, then a global pass-fail. Numeric scores (1-10) sound rigorous but degrade fast — the editor agent invents distinctions between 7 and 8 that do not exist. Binary forces clarity.
Q03 How do I know my rubric is good? +
Sample 20 passed drafts and 20 failed drafts. Read them as a human. If you agree with the rubric on 18 of 20, it is calibrated. If you disagree on more than 4, the rubric needs work — almost always tightening, not loosening.
Q04 What happens if a draft fails the rubric three times? +
Escalate to human review. Three consecutive failures usually mean the brief is wrong, not the draft. The human inspects, rewrites the brief, and resets the loop. Do not let an infinite loop ship slop.
Q05 Should the writer agent see the rubric? +
Yes, in the system prompt. Telling the writer in advance what the editor will check should raise first-pass rate; measure the change in your eval logs. It is not cheating — it is alignment.
Q06 Which model should I use for the editor? +
A different one from the writer. Claude editing GPT drafts, or GPT editing Claude drafts, avoids the self-preference bias researchers have documented when a model grades its own output. Mix providers if budget allows.
Sources & further reading
  1. [01] research
  2. [02] research
  3. [03] research
  4. [04]
    Creating helpful, reliable, people-first content
    Google Search Central · 2025
    documentation
Markdown version: index.md
Niko Alho
Niko Alho

I run agentic SEO and build custom AI for B2B companies. Based in Turku.

About →