Scrivio Interview library
ScenarioAdvanced6 min read · updated 12 November 2026

In a multi-agent pipeline, the reviewer agent approves almost everything the writer agent produces, and errors reach users. How do you make review effective?

The reviewer approves almost everything because it shares the writer's blind spots: the same model with similar prompts makes correlated mistakes, and a request for a general opinion invites a polite yes. To make review effective, give the reviewer a different model, different context or an explicit checklist, give it evidence to check against such as sources, tests and schemas, replace model judgement with deterministic checks wherever possible, measure the reviewer's precision and recall on a labelled set with known errors, and route low-confidence or high-impact outputs to humans.

Why this question is asked

Adding a reviewer agent feels like adding quality control, so teams are surprised when errors still reach users. The usual reason is that the review step is not really independent of the step it reviews. Interviewers ask this scenario because it tests whether we understand how LLM evaluation fails and how to build checks that actually catch problems. In this answer, we will see why the reviewer rubber-stamps, then fix it step by step: independence, evidence, deterministic checks, measurement and human routing.

1A Quick Recap: Why Reviewers Rubber-Stamp

In a writer-reviewer pipeline, one agent produces a draft and another is asked to approve it or point out problems. If both are the same model, with similar instructions and the same context, the reviewer tends to find the draft reasonable for the same reasons the writer produced it. Their mistakes are correlated: a fact the writer got wrong is often a fact the reviewer also believes. On top of that, models asked 'is this good?' lean towards agreement, especially when the draft is fluent and confident.

So the review adds cost but little independent information. A useful test of any review step is: what errors could this reviewer catch that the writer could not have avoided itself?

2Make the Reviewer Different

Independence comes from difference. We can use a different model, ideally from another provider, so its errors are less correlated with the writer's. We can give it different context: instead of the writer's whole conversation, only the final draft and the source material, so it is not anchored by the writer's reasoning. And we can replace the vague 'review this' with an explicit checklist: every number must appear in a source, every product name must exist in the catalogue, the answer must not promise delivery dates, the tone must be formal.

Java
record CheckResult(String check, boolean passed, String evidence) {}
record Review(List<CheckResult> checks) {
boolean approved() { return checks.stream().allMatch(CheckResult::passed); }
}
Review review = reviewerClient.prompt() // a different model from the writer
.system("""
Check the draft against the sources. For each check, quote the evidence.
1. Every number in the draft appears in a source.
2. Every claim names a source id that supports it.
3. No promise of dates, prices or refunds.""")
.user("DRAFT:\n" + draft + "\nSOURCES:\n" + sources)
.call()
.entity(Review.class); // approved() is false if any check fails

Notice that the reviewer must answer each check separately and quote evidence. That turns a single yes or no into several specific questions, which models answer far more reliably, and it makes approvals auditable.

3Give the Reviewer Evidence, Not Just an Opinion

A reviewer cannot check facts it does not have. If the writer used retrieved documents, the reviewer gets the same documents with their ids. If the output is code, it gets the test results. If the output is structured data, it gets the schema. The question then changes from 'does this look right?' to 'does this match the evidence?', which is a much easier and more objective task. Claims without supporting evidence are flagged instead of being judged on plausibility.

4Use Deterministic Checks Wherever Possible

The best reviewer for many checks is not a model at all. Code can be compiled and its tests run. JSON can be validated against a schema. Numbers in a report can be compared with the database they came from. Ids and links can be checked for existence. Prices can be compared with the price list. These checks are fast, cheap and never fooled by confident writing, so they run first, and the model reviewer only handles what code cannot judge, such as whether an explanation is clear or whether a claim is supported by a passage.

Step throughA review pipeline that catches errors
  1. Writer agent produces a draftwith source ids
  2. Deterministic checksschema, compile and tests, numbers against data, ids exist
  3. All deterministic checks pass?
    YesModel reviewer with checklist and sourcesNoReturn to writer with the failures
  4. Approved with high confidence and low impact?
    YesPublishNoSend to a human reviewer

4 steps in order. Play them, or step through them one at a time.

5Measure the Reviewer Like a Classifier

A reviewer is a classifier: it labels each draft good or bad. So we measure it like one. We build a labelled set of drafts, some correct and some with known, deliberately planted errors: a wrong number, a missing citation, an invented feature. Recall is the share of bad drafts the reviewer rejects; precision is the share of its rejections that were really bad. A reviewer that approves almost everything will show very low recall, for example catching 12 of 100 planted errors.

With this set, every change to the reviewer's model, prompt or checklist can be measured. We might see recall rise from 12 percent to 70 percent after adding sources and a checklist, and to 90 percent after adding deterministic number checks, while precision stays high enough that writers are not flooded with false alarms.

Reviewer results on 100 planted errors and 100 clean drafts
Reviewer setupErrors caught (recall)Rejections that were real (precision)
Same model, 'review this draft'12 of 10080 percent
Different model, checklist and sources70 of 10088 percent
Plus deterministic number and id checks91 of 10093 percent
Illustrative figures showing how each change can be measured.

6Route Low-Confidence and High-Impact Outputs to Humans

No automatic review is perfect, so we decide where people stay in the loop. Outputs that the reviewer marks as uncertain, outputs where some checks could not be completed, and outputs with high impact, such as anything sent to many customers or with legal or financial content, go to a human reviewer. Their decisions also become new labelled examples for the evaluation set, which keeps improving the automatic reviewer over time.

7Follow-up questions

Should the reviewer be a stronger model than the writer?

Not necessarily stronger, but different. A strong model with the same blind spots still misses the same errors. Diversity of model, context and method matters more than raw capability, and deterministic checks matter most.

How do you plant realistic errors for the labelled set?

Take real past failures that reached users first, since those are exactly the errors we need to catch. Then add variations: change numbers, remove citations, swap product names, add unsupported promises.

What if strict review makes the pipeline reject too much?

Check precision on the labelled set. If many rejections are false alarms, tighten the checklist wording or move borderline checks to warnings that a human sees, rather than automatic rejections.

8Conclusion

In this answer, we saw that a reviewer agent approves nearly everything when it shares the writer's model, prompt and context, so its mistakes are correlated. We made review effective by giving it a different model, different context and an explicit checklist, giving it evidence such as sources, tests and schemas, running deterministic checks first, measuring precision and recall on a labelled set with planted errors, and routing low-confidence or high-impact outputs to humans.

What to say in the interviewAbout 80 seconds aloud

Open with

The reviewer is probably not independent of the writer. If it is the same model with a similar prompt and the same context, it makes correlated mistakes, and models asked for a general opinion on a fluent draft tend to say yes.

Then, if they want more

So first I would make it different: another model, ideally another provider, only the draft and the sources rather than the writer's whole conversation, and an explicit checklist like every number appears in a source, every claim cites a source id, no promises about prices or refunds, with a pass or fail and quoted evidence per check.

Second, I would give it evidence to check against, the retrieved sources, test results, schemas, instead of asking whether the output looks good. Third, wherever possible I would replace model judgement with deterministic checks: compile and run tests, validate JSON against the schema, compare numbers with the database, check ids exist. Those run first.

Fourth, I would measure the reviewer like a classifier, on a labelled set of drafts with real and planted errors, and track recall and precision on every change. And finally I would route uncertain or high-impact outputs to a human, and feed their decisions back into the labelled set.

About this answer

Last updated
12 November 2026
Checked
Its structure and format are checked automatically. Use it as a carefully prepared study note: where a detail matters, confirm it against the documentation below. What the checks cover
Where the question comes from
Written by Scrivio for practice. It is not taken from an interview.
Official documentation
Spring AI reference
Report an issue with this answer

Copy the line below and send it to the author with what you found. It carries the address of this page.

Issue with "In a multi-agent pipeline, the reviewer agent approves almost everything the writer...": https://scrivio-interview-library.netlify.app/spring-boot/ai-agents-and-mcp/6d1867054d/