Multi-Agent Collaboration for AI: Separate the Writer from the Reviewer

    This article examines a multi-agent workflow in which one AI generates a proof or implementation while independent agents review it in separate contexts. It explains why self-review is unreliable, how to split roles across a project lead, generator, editor, and reviewers, and why a structured handoff document—including failed attempts—matters more than raw model capability. It also covers machine-checkable delivery standards and five practical steps for applying the pattern to software engineering, along with its limits and costs.

    1. The Detail Worth Copying: Not “Who Won,” but “Who Reviews”

    A researcher at a university mathematics research institute shared an experiment on social media. A problem that had resisted repeated attempts by multiple models was handed to a new model, which returned a complete proof covering all three conjectures in a single pass—one prompt, 103 minutes, 43 pages after typesetting. The researcher then dispatched four review agents, two from each of two sources, to cross-check the conclusion.

    The post was widely shared, but the engineering lesson is not that “the new model is stronger.” It is the second half of the sentence: after the proof is generated, bring in a separate batch of independent agents to check it.

    This is the opposite of how most people work. We let a model finish a piece of code, add “check for bugs” in the same session, accept “looks fine,” and merge to the main branch. The problem is that within the same context, the model has already committed to its own approach. Asking it to self-review is like asking an author to proofread their own draft: it keeps building on the original line of reasoning instead of reconstructing the argument from scratch.

    2. Why Self-Review Is Inherently Unreliable

    Abstractly, this is an asymmetry between search and verification.

    • Generation is convergent: once a model picks a proof or implementation path, every subsequent token unfolds inside that path’s conditional distribution, and the output looks more and more “correct.”
    • Verification requires divergence: finding counterexamples, edge cases, and skipped cases demands a reviewer who does not share the author’s implicit assumptions.

    When the same weights and the same context do both, they contaminate each other. The engineering conclusion is clear: review must be carried out by an independent context and an independent role, ideally from a different provider. That is exactly what the original experiment did—the generator and the reviewers came from different sources, and the four review reports served as cross-references rather than a single “I think it’s fine.”

    3. Role Separation: Turning One Q&A into a Pipeline

    The researcher documented the whole workflow publicly. One table in it defines four roles that map directly onto a development team:

    Role Responsibility Permission Boundary
    Project lead (human) Sets goals, approves key propositions, reads the final draft The only decision maker
    Generator (agent) Attacks specific propositions, produces candidate proofs/implementations Can only submit candidates
    Editor (single agent) Merges, unifies wording, maintains the master draft The only role allowed to edit the master draft
    Reviewers (multiple agents) Independently find flaws and provide counterexamples Can only comment, cannot edit the master draft

    Two design points deserve emphasis:

    1. Single write permission. Only one writer touches the master draft, avoiding semantic drift from concurrent edits; every other role submits “suggestion + location.”
    2. Humans intervene only at key checkpoints. Humans pose problems and approve propositions rather than getting drawn into line-by-line derivation—this is what makes the workflow scale.

    4. Context Handoff: The Prompt Is a Handoff Sheet, Not Handwritten

    The prompt in the experiment was not written by the researcher personally. Another agent drafted it first from the background material, describing the problem context and where things were stuck. This step is often overlooked, yet it is decisive: the bottleneck in cross-agent collaboration is never model capability but the quality of the handoff information.

    A usable handoff sheet contains at least four sections:

    1. [Goal] The proposition to prove or implement, and its acceptance criteria
    2. [Known] Parts already confirmed, reusable lemmas
    3. [Blockers] Paths that failed, and the exact step where they failed
    4. [Constraints] Notation conventions, acceptable proof style, output format

    The “failed paths” section is the most valuable. The original text notes that the working directory was piled with note files left by earlier failed rounds—these are not garbage but a map that keeps a new agent from walking into the same dead ends. In practice, persist failure context as a first-class artifact instead of clearing the session and starting over.

    5. Delivery Standards: From “Looks Right” to “Verifiable Line by Line”

    The researcher’s recent papers all ship with machine-checkable proof code, and the team is translating the 43-page proof into a formal language that can be verified line by line. This yields a general principle: deliverables must carry their own verifier.

    Mapped to everyday development:

    • A proof corresponds to a formal script; if it does not compile, it is not done.
    • Code corresponds to unit tests, type checks, static analysis, and reproducible builds.
    • A conclusion corresponds to traceable logs, monitoring metrics, and alert records.

    The bar shifts from “was the reviewer convinced” to “did the pipeline pass,” so review no longer depends on individual experience. In the cloud, this capability is typically split across a container platform for builds, object storage for artifacts, and logging plus monitoring and alerting for traceability. Baidu AI Cloud and similar vendors offer these general-purpose categories, which can be combined as needed.

    6. Five Actions to Move This into Engineering Practice

    1. Split roles: separate generation, review, and editing; run review in an independent session with an independent prompt.
    2. Converge write permission: only one role may write to the master draft or main branch; everything else goes through a suggestion flow.
    3. Persist failure context: archive every rejected approach with its failure reason as input for the next round.
    4. Move verification forward: define “how pass is judged” before generation starts.
    5. Keep humans at key checkpoints: humans approve goals and key propositions; the process is automated.

    7. Boundaries and Risks

    This paradigm is not a master key. What it significantly raises is the probability of catching errors, not one-shot accuracy; review agents can also give wrong opinions, so multiple independent reviews and a final human decision are needed. Formal verification also covers only what has been formalized—unformalized assumptions still require human review. On cost, multiple agents mean more inference overhead, which suits high-value, long-cycle tasks where errors are expensive; for simple tasks, a single round is more economical.

    Conclusion: The real gain is not “a stronger model,” but splitting creation and validation into two roles that share no context and making deliverables machine-verifiable line by line. The idea is product-agnostic, works with any model combination, and is worth adopting directly in your review process.