In one sentence: Splitting work among specialist agents is only the start; the craft lies in choosing the right collaboration pattern (router, pipeline, fan-out, planner, reviewer or human checkpoint) for each part of the job and in giving every pattern clear contracts and firm limits.

Once a team accepts that one agent is rarely enough, a new question appears: how should the specialists work together? The answer is not a single architecture. Different problems call for different collaboration patterns and choosing badly produces agents that loop, duplicate effort or argue in circles. This post is a practical catalog. We use the STAR format (Situation, Task, Action, Result) to show how ad hoc collaboration fails and how a small set of well-understood patterns replaces it.

Five Agents and No Choreography

Consider a food manufacturer we’ll call Orchard Foods. As in our earlier posts, this is a composite scenario, not a customer case, but the lessons are broadly applicable.

Orchard receives thousands of customer complaints: an odd taste, damaged packaging, a suspected allergen, a foreign object. Each one needs classification, a check of the production batch, a look at regulatory obligations, a response to the customer and, for serious cases, a formal report. Following good advice, the team splits the job among specialist agents instead of building one giant generalist.

The specialists are good. The collaboration is not. The team connects them in a simple chain, so every complaint passes through every agent, including those that have nothing to contribute. A packaging complaint is sent through the allergen specialist, which dutifully produces a lengthy analysis nobody needs. In another part of the system, two agents are allowed to message each other freely to “reach agreement” on a regulatory question and they exchange fourteen rounds of increasingly polite disagreement before a timeout stops them. A third agent drafts customer replies that go straight out, with no check and one of them promises a refund the company never offered.

Nothing in this story is a flaw in the specialists. The failures come from the space between them: no one decided who routes, who verifies, who may stop a loop or who has the final word. Software architects call these decisions design patterns and the multi-agent world is rediscovering the same lesson. Figure 1 lists the typical symptoms of collaboration without a pattern.

Figure 1. Symptoms of ad hoc collaboration

The consequences compound. Costs rise as agents do redundant work. Quality becomes unpredictable. Traces become impossible to read. And trust erodes, because nobody can explain why the system behaved as it did, only that it did.

There is a people dimension too. Teams that adopt clear patterns find that responsibility becomes clearer as well. The quality team owns the batch-trace specialist, the legal team owns the regulatory one and the customer-care lead owns the reviewer’s criteria. Each group can improve its own part without negotiating over a single shared prompt and each can see in the trace exactly how its component behaved on any given case.

Pause and check: Sketch how your agents hand work to each other. For each arrow, can you say who decided that the hand-off should happen and what stops it from repeating forever?

Learn the Patterns and Choose Deliberately

Your task is to learn a small vocabulary of collaboration patterns, recognize which one fits each part of your workflow and apply a few design principles that make any pattern safe. Four principles run through everything that follows.

• One owner per decision. For every choice, such as which specialist to call or when a draft is good enough, exactly one component decides.
• Explicit contracts. Specialists exchange structured results with a status and evidence, not free-form conversation.
• Bounded everything. Every loop has a maximum number of rounds, every call a timeout and every run a budget.
• A human exit. When a pattern cannot finish confidently, it hands over to a person, with a case file.

For Orchard, the task becomes concrete: map the complaint workflow onto a handful of patterns, replace the open-ended agent conversations with owned, bounded decisions and ensure that nothing reaches a customer unchecked.

The Pattern Catalog

Figure 2 sketches six patterns in a compact form. Real systems combine them and most workflows use two or three.

Figure 2. Six collaboration patterns

  1. ROUTER 2. PIPELINE 3. FAN-OUT / FAN-IN
    request A -> B -> C +--> A --+
    | in |--> B --|--> merge
    [router] each step feeds +--> C --+
    / | \ the next
    A B C

  2. PLANNER-EXECUTOR 5. GENERATOR-REVIEWER 6. HUMAN CHECKPOINT
    goal draft --> review agent --> [person] --> act
    | ^ |
    [planner] +-- fix <--+ approve / edit / reject
    | (bounded rounds)
    steps -> executors

  3. Router. A lightweight component reads each request and sends it to exactly one specialist. It suits workflows where requests differ in kind. At Orchard, a router sends allergen and foreign-object complaints to the safety agent, taste issues to quality and delivery problems to logistics. The risk is misrouting, so a good router reports its confidence and sends uncertain cases to a person instead of guessing.

  4. Pipeline. Specialists run in a fixed order, each consuming the previous result. It suits stable processes with real dependencies, such as classify, then trace the batch, then draft the response. Pipelines are easy to understand and test. Their weakness is rigidity: an unusual case cannot leave the track.

  5. Fan-out and fan-in. The orchestrator launches several independent specialists at once and merges their results. At Orchard, the batch trace, the regulatory check and the customer history run side by side. The risk is partial failure, so the design must say what happens when one branch is slow or fails.

  6. Planner and executors. When the path is not known in advance, a planner decomposes the goal into steps and executors carry them out, with the plan revised as results arrive. It suits open-ended investigations. It costs more and is harder to predict, so reserve it for cases that truly need flexibility.

  7. Generator and reviewer. One agent produces a draft and a second checks it against explicit criteria, sending back specific issues until it passes or the rounds run out. It suits any output whose errors are costly, such as customer replies and regulatory reports. The reviewer must be independent, with its own brief and the loop must be bounded.

  8. Human checkpoint. The flow pauses for a person to approve, edit or reject. It belongs wherever an action is high-impact or irreversible, such as a recall decision or a compensation offer. The pause should present the evidence and the agent’s recommendation, so the person can decide quickly.

Real systems rarely use a pattern in isolation. A typical Orchard complaint combines several. A router sends it to the right team, a fan-out gathers the batch trace, regulatory check and history at once, a pipeline turns the findings into a draft reply, a reviewer checks that draft against the company’s tone and policy rules and a human checkpoint approves anything involving compensation or a possible safety issue. Each pattern solves one problem and together they form a workflow that a new team member could read and explain.

Choosing among them

The patterns are tools and the right choice follows from a few questions about the work. Figure 3 maps characteristics to patterns.

Figure 3. Which pattern fits which situation

The patterns in code

Now the technical part. The snippets below are simplified, illustrative Python rather than a production framework and the thresholds are placeholders for your own. The first is a router that refuses to guess: `low-confidence requests go to a person.

Figure 4a. A router with a confidence fallback
ROUTES = {
"allergen": "safety_agent", "foreign_object": "safety_agent",
"taste_quality": "quality_agent", "packaging": "packaging_agent",
"delivery": "logistics_agent",
}

def route(complaint: dict) -> str:
label, confidence = classifier.predict(complaint["text"])
if confidence < 0.70: # do not guess when unsure
return "human_triage"
return ROUTES.get(label, "human_triage") # unknown label: also a person`

The second is a generator-and-reviewer loop. It is bounded, so it cannot run forever and it ends in a person if the draft never passes.
Figure 4b. A bounded generator and reviewer loop
def draft_with_review(task, drafter, reviewer, max_rounds=3):
draft = drafter.run(task)
for round_no in range(1, max_rounds + 1):
verdict = reviewer.run(task, draft) # {"approved": bool, "issues": [...]}
audit.log("review", round_no, verdict)
if verdict["approved"]:
return draft, "approved"
draft = drafter.run(task, feedback=verdict["issues"])
return draft, "needs_human" # bounded: never loops forever

The third is a fan-out with timeouts. Each branch has a deadline and branches that fail are reported, not hidden, so downstream agents know exactly what they are working with.
Figure 4c. Fan-out with timeouts and honest partial results
`import asyncio

async def with_timeout(name, coro, seconds=60):
try:
return name, await asyncio.wait_for(coro, timeout=seconds)
except asyncio.TimeoutError:
return name, {"status": "timeout"}

async def investigate(complaint):
results = dict(await asyncio.gather(
with_timeout("batch_trace", batch_agent.arun(complaint)),
with_timeout("regulatory", regulatory_agent.arun(complaint)),
with_timeout("history", history_agent.arun(complaint)),
))
missing = [k for k, v in results.items() if v.get("status") != "ok"]
return merge(results), missing # partial results are reported, not hidden`

Three habits run through all three snippets. Decisions have a single owner: the router routes, the reviewer approves. Every loop and call is bounded. And every pattern has an honest failure path, whether that is a person, a timeout report or a flag on partial results.

Specifying a specialist

Patterns only work if the specialists are specified clearly. A short specification for each one, a kind of job card, keeps the system understandable. Figure 5 shows what it should contain.

Figure 5. A specialist’s job card
Field What to define Example: batch-trace agent

Notice the stop condition. Agents that do not know when to stop tend to keep going and agents that do not know when to hand over tend to guess. Writing both down turns vague helpfulness into predictable behavior.

Finally, consider how specialists share information. Passing the whole conversation to every agent is expensive and noisy. A cleaner approach is a small shared case record, with fields for facts, findings and open questions, that each specialist reads and updates through defined operations. The record becomes the single source of truth and the trace shows who changed what.

What Good Looks Like

As in our previous posts, we will not promise a particular speed-up or saving. Results depend on your workflow, your data and the quality of your specialists, so establish a baseline and add verified figures before presenting a business case.

What does change is how the system behaves. For Orchard, a router sends each complaint to the right specialist, so packaging issues no longer wander through the allergen analysis. Investigations fan out in parallel, with clear reporting when a branch times out. Customer replies pass through a reviewer before release and the one that once promised an unauthorized refund is now caught and sent back. Serious cases pause for a person with the evidence in front of them. The agents’ fourteen-round debate is replaced by a single owned decision with a person behind it.

Expect some of the early effort to go into the reviewer’s criteria and the router’s confidence threshold. Both need tuning against real cases and both will surface disagreements about policy that were previously hidden. Treat those disagreements as a benefit. They mark exactly where the organization’s own rules were ambiguous and settling them improves human decisions as well as agent ones.

Figure 6. A scorecard for multi-agent design

Three pitfalls to avoid
• Letting agents converse freely. Open-ended dialogue between agents is hard to bound and harder to audit. Prefer structured hand-offs with a single owner.
• A lenient reviewer. If the reviewer shares the drafter’s brief and blind spots, it will approve what the drafter wrote. Give it independent criteria.
• Reaching for the planner first. Dynamic planning is powerful and costly. Use a router or pipeline when the path is known and keep planners for genuinely open problems.

Figure 7. STAR recap

Where should you start?

Draw your current workflow as boxes and arrows. Beside each arrow, write which pattern it represents and who owns the decision. Wherever you cannot, you have found accidental design. Pick the riskiest output, probably something that reaches a customer or changes a record and add a reviewer or a human checkpoint first. Then bound every loop and give every specialist a job card.

Collaboration among agents is not mysterious. It is the same craft that engineers and managers have practiced for decades: clear roles, clean hand-offs, someone accountable for each decision and a way to stop when things go wrong. Teams that apply it deliberately get systems that behave like well-run teams. Teams that leave it to chance get systems that behave like a meeting without an agenda.

Ready to go deeper? Explore how agents are built on the IntelliBooks www.intellibooks.io.