Field guide · 28 sources

Field guide: Multi-agent and harness design

When to use one agent or many, how to coordinate them, and how to design the harness: loops, tools, skills, sandboxes, state, budgets and evaluation.

Bottom line

Start with one agent in a plain loop, and add agents only where the work has a phase that needs separate fresh contexts or wide parallel search. Measure any multi-agent gain at a matched token budget, and design coordination explicitly rather than expecting it to appear. Then treat the harness as part of the system you are evaluating, because the same model can score very differently in different harnesses.

The sources make this case through a mix of vendor guidance, a source-code survey and a few experiments run by the people who built or benchmarked the systems, not all of them budget matched. Anthropic's article on agent design says a single agent with skills frequently matched or beat both one big prompt and a subagent design on quality, often at lower cost and latency, but it publishes no dataset (R132-f1). Wavestone's survey of eleven agent systems (R054-f1) recommends staying single-agent until a concrete breadth-first phase where parallel isolation beats serial search, citing about 15 times the tokens for the parallel route (R054-f4). That survey reads source code and runs no head-to-head comparisons (R054-f1).

The most striking multi-agent gain in these sources is also the clearest budget problem. In Anthropic Frontier Red Team's own experiment, a 45-agent swarm found 266 vulnerabilities against 21 for independent agents, but the swarm used 27M tokens against 6.5M, about four times as many (R100-f1). Roughly half the swarm's findings lay outside the core directories, and restricted to those directories the tokens spent per vulnerability were comparable (R100-f2). Anthropic's own conclusion from the same study is that coordination does not emerge from stronger intelligence on its own and has to be designed (R100-f6).

The harness matters on its own. In one benchmark run by its authors, from one run per agent per task, GLM 5.3 scored a Singularity-Index of 0.656 in Claude Code and 0.373 in Codex, while DeepSeek V4.1 Flash went the other way, 0.697 in Codex against 0.487, and Codex configs of GLM, MiniMax and Kimi accounted for 5 of 8 failed submissions (R086-f8). In another, with one attempt per test and cross-provider runs going through an adapter, GPT-6 Astra solved 34% of core tests in Codex and 22% in Claude Code, while Gemini 4 Argon scored 29% in Codex, 25% in Claude Code and 24% in Antigravity CLI (R086-f13). In CoEvoBench, run by its authors, harness changes carried most of the gain on four of five tasks (R233-f2).

Two sources are thin, and many are vendor material. "How this was made" lists them, and claims from these sources carry less weight below.

Decide first

QuestionIf yesIf noEvidence
Would one agent's context bloat, or does the work need parallel fresh contexts, or tool sets and instructions that conflict?Split into subagents along those context lines, not by problem type (vendor recommendation)Keep one agent and add skills(R132-f3) (R132-f1)
Is there a concrete breadth-first phase where parallel isolated search beats a serial one?Run that phase in parallel and budget for many times the tokensStart from a linear while loop(R054-f4)
Are you comparing a multi-agent design against a single agent?Match the token budget, or report tokens beside the resultA single-system result needs no budget match, but report spend anyway(R100-f1) (R100-f2) (R200-f4)
Can a shared result be checked by an external Lean checker against a frozen specification?Count a result only once that checker passes it, as DeepMind's teams and pequalnp.com do, and still review whether the statement means what you intendedNo external checker is available; one practitioner's anecdote describes a separate step that checks each disagreement against code and docs, untested beyond that one run (R227-f3)(R251-f3) (R237-f1) (R251-f5) (R237-f4) (R227-f3)
Do the agents or callers on a coordination board need to distrust each other?Use separate boards, since Vercel's channels organise but do not limit accessOne board with channels is enough(R177-f4)
Will the workflow wait on people, call remote APIs, retry or outlive its process?Use a durable runtime, and keep the idempotency key constant in the harnessA simple in-process loop is enough(R035-f1) (R035-f2)
Does the agent see more than about 15 tools, or many skills at once?Defer tool loading, as Wavestone recommends, and keep visible skills fewLoad them up front(R054-f5) (R064-f7)

Do

  1. Start with one loop and add skills before agents. Wavestone's first recommendation is a linear while loop, citing Mini-SWE-Agent's 74% plus on SWE-bench Verified, a figure that project reports about itself (R054-f4). No system in its survey imports an agent framework (R054-f1). Anthropic reports one customer saw roughly 2x faster runtime after moving to a single loop, and that Claude Code's system prompt was cut by over 80% using skills, both vendor-reported (R132-f2).

  2. Split by context, not by problem type. Anthropic recommends subagents only for context bloat, parallel fresh-context work, or tool selection and conflicting instructions (R132-f3). Subagents do not help every model. On one inference task with one run per setting, requiring subagents raised Opus 5.5 from 7.31 to 10.32 but cut GPT-6.1 Sol from 9.70 to 2.09 (R086-f9).

  3. Design the coordination; role prompts did little, and even the best-coordinating model fell short of its solo ceiling. In Anthropic's 12-hour game-building runs, prescriptive roles and CEO hierarchy prompts made little difference (R100-f3). In hidden-profile tasks, Mythos 5 groups reached about 85% while other models reached 17 to 36%, even though solo ceilings were near 100%, in 4-agent groups with n=400 episodes per model in Anthropic's own runs (R100-f5). The s3 authors trained coordination into small-model teams with a shared team reward and a token-cost term in the reward (R019-f6). In their own experiment a trained team reached 93% at four agents, against 35% for online SFT and 13% for individual reward (R019-f1). Their stated limits are two tasks, small models and one training run per condition (R019-f6).

  4. Let an external checker decide what is accepted. DeepMind's agent teams count a conjecture only once an external Lean checker has verified it against a frozen specification (R237-f1). On pequalnp.com the Lean checker is the only judge, and human review is a separate state (R251-f3). In the open science study, a guest editor ran 276 objections as scripts, and 77 of 156 major objections overturned the headline conclusion, according to the authors (R181-f2).

  5. One example: merging parallel reviews by checking rather than voting. In a paraphrase of one practitioner's LinkedIn post, a synthesizer checked every disagreement and every solo high-severity claim from three model families against the code and docs, dropped 2 false positives and kept single-model catches (R227-f3). The post reports 41 verified findings with no cost and no human check of the solo finds (R227-f4). This is a single thinly sourced anecdote. A separate extraction study found that three-sample voting used 411,000 to 432,000 tokens per run and changed net correct codes by only -1 to +1, on 40 development documents over three runs, but its other reliability layers, self-correction included, also corrected almost none, so it does not show that checking works better (R039-f1).

  6. Keep shared state durable, versioned and revertable. In the Pro2 authors' ablation on MLE-Bench Lite, removing the Git-backed Codebase State dropped the final medal rate from 89.4% to 56.1% (R200-f3). DeepMind's teams share a wiki of verified solutions, lemmas, reviewed notes and dead ends (R237-f1). Vercel's board treats claims as time-limited leases, for example five minutes (R177-f1). Vercel's integration is pull-only, so posting does not wake an idle agent and wake-ups need your own runtime (R177-f3).

  7. Put retries, waits and rule changes in the harness, not the runtime alone. Prakash's article says a durable runtime handles a dead process, a failed remote call, repeated work on retry and concurrency, but it cannot make a retry safe (R035-f1). Under at-least-once semantics the harness must keep the idempotency key constant across attempts (R035-f2). The article assigns five more failure modes to the harness, including re-checking the world before committing after a wait and versioning rules (R035-f3). In the author's own toy runs, a mid-wait rule change left Temporal continuing under the old rule silently while Cloudflare failed and left the order as a draft (R035-f5).

  8. Know exactly what the sandbox covers. In Claude Code's experimental Code Mode, the sandbox covers shell commands only, while the JavaScript and its file, web and MCP calls run outside it, so hardening depends on permissions and hooks (R214-f4). Each inner call still passes deny and ask rules and PreToolUse hooks, but in auto mode the classifier reviews the code, not each call (R214-f3). A security vendor relays a finding that seven CLI coding agents run git status or git diff at startup, some before the trust prompt, so a repo-local setting can execute a command outside any sandbox (R112-f2). Wavestone recommends an OS-level sandbox plus policy-as-code (R054-f5). NVIDIA's OpenShell documentation describes a boundary check intended for agents, for example a parent agent checking a subagent's policy (R030-f3), and says a passing check does not mean the policy is narrow or enforced by a running sandbox (R030-f5).

  9. Give each agent its own credential and scope. Omnigraph's release notes tell operators to check what each agent credential allows, because MCP agents now gain every tool their policy allows, and to give a read-only agent its own credential (R074-f2). The MCP authorization spec requires servers to reject tokens not issued for them and not to pass other tokens through (R062-f2), but authorization is optional and the spec says stdio implementations should not follow it (R062-f5). Vercel's factory takes direction from board and Slack writers and people with GitHub write access, and discusses rather than obeys a stranger's issue on a public repo (R177-f5).

  10. Keep the visible tool and skill set small. Wavestone recommends deferring tool loading past about 15 tools (R054-f5). Anthropic expects tool selection to degrade past 30 to 50 definitions, as guidance it did not measure in the article (R132-f4). In a routing stress test by the ACES authors, skill lift stayed between 0.133 and 0.149 for 1 to 20 visible skills while wall time rose from 258 s to 451 s, and at 50 visible skills the pass rate fell to 0.55 (R064-f7). In Wavestone's survey, skills appear in 9 of 11 systems and MCP in 8 of 11 (R054-f3).

  11. Price tokens and time into the loop, and decide when to stop. The s3 reward multiplies success by a token-cost penalty, which is how its authors train coordination instead of prompting it (R019-f6). A Lean prover's control plane attempts again only when predicted quality minus a cost term is positive (R042-f5). Stopping early is a measured risk too: in Infrathon, a stop hook against premature completion yielded gains of 24.8%, 7.3% and 14.0% in three runs (R086-f4), and 135 of 150 runs, one per task-model pair in the benchmark authors' own runs, set a new best score in the second half of their budget (R086-f1). Code Mode stops code after 10 minutes if waited on, and background code can run up to 2 hours (R214-f5).

  12. Evaluate the harness and model as one pair, and run each task more than once. LiteLLM's agent_eval makes the (harness, model) pair the unit of comparison (R254-f1), and its launch blog warns that comparing Claude Code and Codex with different models changes both at once (R254-f4). That API is flagged as an unreleased preview (R254-f1) and the blog scorecard uses mocked answers (R254-f4). In Anthropic's worked example, folding one subagent into another lowered latency but broke a process that had passed, which is why the article says to run each task more than once (R132-f5). Anthropic also suggests starting with about 10 golden examples and tracking routing accuracy while an orchestrator exists (R132-f4).

  13. Make failures visible in traces. A tool-call index notes that harness retries hide invalid tool calls as cost and latency (R027-f3). For one model, the best of 41 provider endpoints broke 0.06% of tool calls and the worst 7.65% (R027-f2). LiteLLM's evaluator keeps errors in the pass-rate denominator and reports agent and judge cost separately (R254-f2). In Code Mode, OpenTelemetry events and metrics work on v2.1.329 or later, and only OTel tracing (beta) must be off (R214-f5).

Avoid

Where the evidence disagrees

DisagreementSide ASide BWhat reconciles itWhat would settle it
Do many agents beat one?A 45-agent swarm found 266 vulnerabilities against 21 for independent agents (R100-f1). In the authors' human study, PaperOrchestra beat a single agent and AI Scientist-v2 on overall quality by 14 to 38% absolute (R077-f3)A single agent with skills frequently matched or beat subagent designs, per Anthropic without a dataset (R132-f1). Wavestone recommends staying single-agent by default (R054-f4)The swarm spent about four times the tokens (R100-f1); roughly half its findings lay outside the core directories, and restricted to those core directories tokens per vulnerability were comparable (R100-f2). PaperOrchestra also used 60 to 70 LLM calls against 1 for the single agent (R077-f1)The same tasks run single and multi-agent at matched token budgets, repeated, with variance
Does a stronger model coordinate on its own?Mythos 5 groups reached about 85% on hidden-profile tasks against 17 to 36% for other models (R100-f5), and only Sonnet 5 combined high code sharing with a high merge rate (R100-f3)Anthropic concludes coordination must be designed (R100-f6), and s3 trained small models to coordinate with a team reward, beating online SFT and individual reward (R019-f1) (R019-f6)Solo ceilings were near 100% while group accuracy was lower for every model, including Mythos 5 at about 85% (R100-f5), so group results measure coordination; Anthropic reads this as showing coordination must be designed (R100-f6), but no source tests a designed protocol against a stronger model on the same taskThe same models with and without a designed protocol or team-reward training, on the same tasks
Is the harness or the model the lever?Harness changes carried most of the gain on four of five CoEvoBench tasks (R233-f2), and harness choice swung one model by 12 points (R086-f13)Training carried over 80% of the BFCL gain (R233-f2)The effect depends on the pair: the same reference harness lifted Instruct from 30.2% to 37.8% but dropped trained weights from 19.8% to 2.6% (R233-f4). LiteLLM's evaluator separately makes the (harness, model) pair the unit of comparison (R254-f1)A factorial grid of harnesses and models with repeated runs and matched budgets
Does a stronger negotiating model serve people better?On Claude's own rankings, Opus floors averaged 0.88 against 0.75 for Haiku (R245-f3)Judged by people's own rankings, the differences between models are small (R245-f4)Claude's rankings agreed with participants' pairwise rankings 61% of the time (R245-f1), and 85% of the efficiency gap came from imperfect rankings (R245-f2)Outcomes scored on participants' own rankings, with incentives, across model tiers
Can LLM judges grade multi-agent research output?Under the ScholarPeer reviewer, PaperOrchestra's simulated acceptance was 81 to 84% (R077-f4). LLM judges scored agent studies higher on rigor, 9.02 against 7.00 (R181-f4)Under another reviewer the same papers scored 22 to 48% (R077-f4), human and autorater agreement was weak on literature review (R077-f5), and only about 11% of agent studies beat their strongest baseline against 76% of human papers (R181-f4)The figure depends on which judge is used (R077-f4), and the rigor advantage came entirely from one lab (R181-f4)Judges calibrated against human ratings on a held-out set, reported per judge

Most measured results here come from authors or vendors evaluating their own systems or benchmarks (R019-f1) (R077-f3) (R100-f1) (R200-f1) (R233-f1) (R237-f3) (R245-f1) (R086-f8). The s3 edge over best-of-4 at four agents is significant before but not after multiple-comparison correction (R019-f3). The design guidance comes from a vendor article (R132-f3), vendor docs and repositories (R214-f1) (R177-f1) (R254-f1) (R030-f3), vendor release notes (R074-f2), the MCP specification (R062-f2), a source-code survey (R054-f1), a practitioner article on a toy domain (R035-f1), an authors' design argument (R044-f5) and a single anecdote (R227-f1).

Numbers

ClaimResultValueConditionsWhere in source
(R019-f1)Trained team success at four agents93% vs 35% (online SFT) vs 13% (individual reward)Qwen3-0.6B and 1.7B, 200 RL updates, 32 held-out problems, 6 seeds, authors' own experiments3 Sec 5
(R019-f3)Margin over best-of-NUp to +9.4 pointsAt 4 agents not significant after correction; one training run per condition; authors' tests3 Sec 5
(R019-f4)Team scalingBenefit persists to 12 agents; all methods struggle at 16No significant advantage without SFT warm start; authors' runss3 Sec 5
(R100-f1)Swarm vs independent agents266 vs 21 vulnerabilities; 27M vs 6.5M tokens45 agents, 15 open-source projects, Mythos Preview; Opus 4.8 swarm found 41; Anthropic's own experiment, not budget matchedSwarm vulnerability section
(R100-f2)Overlap between arms12 common vulnerabilitiesAbout half the swarm's findings outside core directories; per-token yield comparable inside them; Anthropic's analysisSame section
(R100-f5)Hidden-profile group accuracyAbout 85% (Mythos 5) vs 17 to 36%4-agent groups, 400 episodes per model, solo ceilings near 100%; Anthropic's own runsEpistemics section
(R100-f4)Request flooding2.4M requests for 117 accepted jobsAnthropic's own job-queue runsConformity section
(R077-f1) (R077-f2)Calls and latency per paper60 to 70 calls and 39.6 min vs 40 to 45 and 35.1 (AI Scientist-v2) vs 1 and 3.3 (single agent)10 papers, single worker, authors' measurementPaperOrchestra Table 7
(R077-f3)Human side-by-side win marginLiterature review 50 to 68%; overall 14 to 38%11 AI researchers, 40 papers, 180 paired evaluations; authors' own studySec 5
(R077-f5)Human vs autorater correlation0.087 and 0.276 (literature review); 0.567 and 0.646 (overall)Authors' correlation, Gemini and GPT-5 autoratersSec 5
(R132-f2)Single loop and skillsAbout 2x faster runtime; over 80% shorter system promptOne customer and Anthropic's own product, vendor-reportedExamples
(R200-f1)MLE-Bench medal rate70.7% at 24 h; 76.0% at 48 h75 tasks, one A100, single run per budget, authors' own runsMLE-Bench table
(R200-f3)Git-backed state ablation89.4% vs 56.1% final medal rateMLE-Bench Lite, authors' ablationAblation
(R200-f4)PostTrainBench score30.69 vs best published 41.79Published rows 10 h H100 vs 24 h A100 here; authors call it context, not a controlled comparisonSec 4
(R233-f1)Researcher LLM average scoreAstra 31.23 to Kimi 7.93; Base 1.09; Instruct plus reference harness 37.42Qwen3.5-9B target, 24 h, four H20 GPUs, 100 dollar teacher budget, 3 runs per pair, authors' Table 1CoEvoBench Table 1
(R233-f2)Gain carried by the harness+12.4 to +42.9 on four tasks; training over 80% of BFCL gainAuthors' Table 2aCoEvoBench Table 2a
(R233-f3)First candidate's share of gainAbout 75%Largest step in 25 of 28 improving runs; authors' analysisSec 5, Table 3
(R237-f2)Source of cost reduction61% within-team, 15% cross-team wiki, 24% conferencesVaries by task; authors' attributionSec 3
(R237-f3)Spacetime cost reductionFusion 11.8x, photochemistry 8.22x, P450 2.49x, arcsin over 290xQ times T, not qubits; arcsin against a lower bound; authors' resultsResults table
(R245-f2)Book-swap market efficiency0.55 vs optimum 0.89201 Anthropic employees, no incentives; 85% of gap from rankings; Anthropic's own analysisResults
(R245-f3)Floor score by modelOpus 0.88 vs Haiku 0.75On Claude's rankings, 205 runs; Anthropic's own runsResults
(R251-f1)Open Lean crowd progress1,720 of 3,895 lemmas checked; 401 agentsSite's own live counters, day 3Home page
(R181-f2)Objections overturning the conclusion49.4% of major vs 20% of minor276 objections run as scripts; authors' reported auditOverview
(R181-f4)Studies beating their strongest baselineAbout 11% (agent) vs 76% (human)202 matched pairs, LLM-judge comparison; authors' figuresOverview
(R227-f4)Synthesized multi-model review41 verified findingsOne 150-file PR, 16 agents, author's own run, paraphrased postPost step 4
(R035-f4)Wake-up latency14 ms (in memory, Temporal) to about 2 s (rebuilt from log, Cloudflare)Author's own runs on a toy domainFootnote 4
(R054-f2)Systems with multi-agent support9 of 11Source-code reading, no runs; authors' surveySec 11
(R054-f4)Parallel token multiple; simple loop scoreAbout 15x; 74% plus on SWE-bench VerifiedAuthors' recommendation; 74% self-reported by Mini-SWE-AgentSec 16
(R086-f8)Same model, two harnessesGLM 5.3 0.656 (Claude Code) vs 0.373 (Codex); DeepSeek V4.1 Flash 0.697 (Codex) vs 0.487 (Claude Code)One run per agent per task; Codex configs of GLM, MiniMax and Kimi account for 5 of 8 failed submissions; benchmark authorsSingularity-Bench Sec 5
(R086-f13)Same model, two harnessesGPT-6 Astra 34% (Codex) vs 22% (Claude Code); Gemini 4 Argon 29%, 25%, 24% (Codex, Claude Code, Antigravity CLI)456 core Standard tests, one attempt each, cross-provider runs through an adapter, authorsEFE Sec 3.4
(R086-f9)Required subagentsOpus 5.5 7.31 to 10.32; GPT-6.1 Sol 9.70 to 2.09Single inference task, one run per setting, authorsSingularity-Bench Table 7
(R064-f7)Visible skills vs wall time258 s to 451 s for 1 to 20 skills; pass rate 0.55 at 5025-variant routing stress test, ACES authorsACES Sec 6.5
(R027-f2)Invalid tool calls by endpoint0.06% best vs 7.65% worstOne model, 41 endpoints, OpenRouter data, vendor indexTool-call index table
(R044-f1)Harness token use at similar scoreFairyClaw 0.746 on 3.51M vs Moltis 0.744 on 6.29Mgpt-5.4, 75 tasks, six harnesses, context compression disabled, FairyClaw authors' own comparisonFairyClaw Table 3
(R214-f5)Code Mode time limits10 min if waited on; 2 h in backgroundAnthropic docsTelemetry and limits
(R254-f3)Evaluator defaults1 trial, concurrency 1, 300 s timeoutLiteLLM docs, unreleased previewOptions table

How this was made

Twenty-eight sources were used.

A Sonnet model extracted 89 claims for the multi-agent set, each tied to a location in its source. Opus wrote this guide from those claims and the related claims.

Limits, and how they were weighted:

Checking the sources found several of our earlier entries wrong, overstated or unverifiable. For example:

Those entries have been corrected at the source.

Sources in this guide

A field guide synthesizes the Research entries it cites. Each claim id links to the entry it comes from.