Overview

8 Collaboration: When one agent is not enough

This chapter explains that collaboration only makes sense when a second agent adds something the first one truly lacks: independent work, evidence, tools, authority, or judgment. Otherwise, another agent just adds coordination overhead. A single agent has the advantage of keeping goals, evidence, tool results, and decisions in one context, so the default should be to stay with one agent unless the task can be clearly split and the team can outperform the simpler baseline.

When collaboration is justified, the chapter presents four main ways to divide responsibility. In a handoff chain, work moves through sequential specialist phases and each transfer must carry the decision state needed for the next step. In fan-out/gather, independent branches run in parallel and their outputs are merged at one accountable gather point. In adversarial review, a writer and an opposing reviewer test a contested claim until a judge can decide what the evidence warrants. In hierarchical delegation, a manager owns the overall goal, decomposition, dependencies, and integration while workers handle bounded subtasks.

The chapter emphasizes that collaboration succeeds or fails at the seams: what information is preserved, what gets lost, where disagreement is surfaced, and who owns the final acceptance. It recommends defining boundaries, acceptance criteria, return paths, and stop rules, then measuring the team against a credible single-agent baseline using outcomes, latency, tokens, retries, duplicates, conflicts, and rework. It also shows how these patterns can be combined in real systems, while noting that framework or protocol choices do not themselves determine the collaboration design.

Handoff Chain passes an owned artifact and a typed handoff packet from one specialist phase to the next. A receiver can accept, request information, reject, or return the task.
Handoff Chain passes an owned artifact and a typed handoff packet from one specialist phase to the next. A receiver can accept, request information, reject, or return the task.
Fan-Out/Gather partitions one goal into independent branches, runs them in parallel, and reconnects structured results at an accountable gather point.
Fan-Out/Gather partitions one goal into independent branches, runs them in parallel, and reconnects structured results at an accountable gather point.
Adversarial Review runs a bounded exchange around one claim. New evidence can change the artifact or verdict; an unresolved consequential claim escalates when the review budget ends.
Adversarial Review runs a bounded exchange around one claim. New evidence can change the artifact or verdict; an unresolved consequential claim escalates when the review budget ends.
Hierarchical Delegation gives the manager ownership of the evolving plan and integration, while workers own bounded execution and return evidence or exceptions.
Hierarchical Delegation gives the manager ownership of the evolving plan and integration, while workers own bounded execution and return evidence or exceptions.
A release combines Hierarchical Delegation for the whole goal, Fan-Out/Gather for independent inspection, Adversarial Review for a contested security claim, and Handoff Chain for versioned transfer to verification.
A release combines Hierarchical Delegation for the whole goal, Fan-Out/Gather for independent inspection, Adversarial Review for a contested security claim, and Handoff Chain for versioned transfer to verification.

Summary

  • Add another agent only when it contributes independent work, evidence, tools, or judgment, and the system can reconnect that contribution to the original goal.
  • Use Handoff Chain at Collaboration × Chain when specialist phases are sequential. Transfer a typed packet, versioned artifact, acceptance checks, and a return path.
  • Use Fan-Out/Gather at Collaboration × Parallel when branches can make progress independently, and their structured results can be merged without hiding failures or minority evidence.
  • Use Adversarial Review at Collaboration × Loop when a consequential claim deserves an independent attempt to falsify it. Define the evidence, judge, budget, and escalation path.
  • Use Hierarchical Delegation at Collaboration × Hierarchy when one manager must preserve a multi-stage goal while workers own bounded deliverables and return evidence or exceptions.
  • Compare every team with a credible single-agent baseline. Measure the task outcome first, then inspect tokens, latency, handoff failures, duplicate work, conflicts, plan revisions, and integration effort.
  • Frameworks and runtimes express collaboration structures. MCP and A2A carry access or messages. The application still decides where responsibility splits and who accepts the result.

FAQ

When should I add a second agent instead of keeping one agent?Add another agent only when it brings something the first agent lacks: independent work, evidence, tools, authority, or judgment. If one agent can satisfy the task’s acceptance criteria, keep it single-agent to avoid coordination cost.
What are the three gates before introducing collaboration?First, confirm there is a real reason to split the work, such as independent search areas or different tools. Second, define clear boundaries: what each agent owns, may read or change, and must return. Third, compare the team against a credible single-agent baseline to see whether collaboration truly improves quality, coverage, latency, or cost.
What is Handoff Chain in Chapter 8?Handoff Chain is a sequential collaboration pattern where one specialist hands a task to the next through an explicit package. It works best when each phase has different roles, tools, or permissions, and when the next agent needs a clear artifact, evidence, and acceptance criteria to continue safely.
What information should a handoff packet contain?A good handoff packet should include the original objective and exclusions, the authoritative artifact and version, the current diagnosis or decision, supporting evidence, paths already tried and rejected, open questions, allowed actions for the receiver, acceptance checks, and conditions that would invalidate the diagnosis.
Why can Handoff Chain fail even when each agent is competent?It can fail when important context does not travel with the task. A receiver may produce a locally correct answer to the wrong problem if constraints, evidence, or assumptions were omitted. It can also fail when the original diagnosis is wrong and gets passed downstream without challenge.
When is Fan-Out/Gather the right pattern?Use Fan-Out/Gather when the work can be partitioned into independent branches that can run in parallel and later be merged. The key requirement is that the branches are truly independent and their outputs can be reconnected with a clear return schema and merge rule.
What should the gather step preserve in Fan-Out/Gather?The gather step should preserve provenance, contradictions, missing fields, and minority findings when they matter. It should combine duplicate evidence, but not smooth away disagreements or hide a material result just because only one worker found it.
What is Adversarial Review used for?Adversarial Review is for a claim that deserves an independent attempt to falsify it. One participant supports the claim, another searches for counterevidence, and a judge decides whether the claim is supported, rejected, conditional, or unresolved. It is best for subtle, consequential errors that ordinary tests may miss.
How is Adversarial Review different from a normal critique or approval step?A normal critique may just suggest improvements, while Adversarial Review is a bounded contest around one claim. The reviewer must have independence and a real burden of proof, and the judge must make a verdict based on the evidence. It is not the same as a simple approval gate or a generic feedback loop.
What does Hierarchical Delegation add beyond fan-out or review?Hierarchical Delegation gives one manager responsibility for the whole goal, the evolving plan, dependencies, and final integration. Workers own bounded subtasks, but the manager keeps global coherence, revises the plan when evidence changes, and decides when the overall result is acceptable.

pro $24.99 per month

  • access to all Manning books, MEAPs, liveVideos, liveProjects, and audiobooks!
  • choose one free eBook per month to keep
  • exclusive 50% discount on all purchases
  • renews monthly, pause or cancel renewal anytime

lite $19.99 per month

  • access to all Manning books, including MEAPs!

team

5, 10 or 20 seats+ for your team - learn more


Close
choose your plan

team

monthly
annual
$49.99
$499.99
only $41.67 per month
  • five seats for your team
  • access to all Manning books, MEAPs, liveVideos, liveProjects, and audiobooks!
  • choose another free product every time you renew
  • choose twelve free products per year
  • exclusive 50% discount on all purchases
  • renews monthly, pause or cancel renewal anytime
  • renews annually, pause or cancel renewal anytime
  • Designing AI Agents Designing AI Agents ebook for free
Close
choose your plan

team

monthly
annual
$49.99
$499.99
only $41.67 per month
  • five seats for your team
  • access to all Manning books, MEAPs, liveVideos, liveProjects, and audiobooks!
  • choose another free product every time you renew
  • choose twelve free products per year
  • exclusive 50% discount on all purchases
  • renews monthly, pause or cancel renewal anytime
  • renews annually, pause or cancel renewal anytime
  • Designing AI Agents Designing AI Agents ebook for free