Claude Certification Guides
CCAR-P/Domain 110 min read

Lesson 1.4

Designing Multi-Agent Systems at Scale

When multiple Claude agents genuinely beat one, how to structure orchestration and communication, and how to keep cost, correctness and observability under control.

Multi-agent systems are the part of the syllabus where enthusiasm most often outruns engineering. A second agent adds a second context window, a second set of failure modes and a multiplier on your token bill. The professional architect knows the handful of situations where that is worth it and designs the boundaries so the system stays legible.

When more than one agent is justified

Three conditions make multi-agent designs pay off:

  1. Breadth that must run in parallel. Researching twenty suppliers, reviewing fifty files, or testing several hypotheses at once. One agent would do these serially and slowly.
  2. Context that would otherwise overflow. A worker can read a thousand pages and return a one-page answer; the orchestrator never sees the thousand pages. This is context isolation, and it is the single strongest argument for subagents.
  3. Specialisation with different tools or permissions. A read-only research agent and a write-capable deployment agent should not share a context or a permission set.

If none of these apply, a single agent with a good plan is cheaper and easier to debug. Anthropic's own reporting on multi-agent research systems notes that they consume many times the tokens of a single-agent chat, so the task value has to carry that.

Topologies

TopologyFlowStrengthsWeaknesses
Orchestrator-workersOrchestrator plans, dispatches, synthesisesClear ownership, parallelism, context isolationOrchestrator is a bottleneck and single point of planning error
Pipeline of specialistsEach agent transforms and hands onSimple, testable stage by stageErrors propagate; no global view
Peer handoffAgents pass control based on stateNatural for conversational routingLoops and ping-pong without a supervisor
Evaluator pairGenerator and critic iterateQuality gains on criteria-driven tasksNeeds iteration caps and a definition of done

Orchestrator-workers is the default for the exam and in practice. Keep the orchestrator responsible for the plan, the decomposition and the final synthesis; keep workers responsible for one bounded task each.

Communication: results, not transcripts

The most common scaling mistake is passing whole conversation transcripts between agents. It bloats context, leaks irrelevant detail and makes caching impossible. Instead, define an output contract for every worker: a schema or a fixed document shape that the orchestrator can rely on.

{
  "task_id": "supplier-17",
  "status": "complete",
  "findings": ["..."],
  "evidence": [{"source": "contracts/17.pdf", "page": 4}],
  "confidence": 0.82,
  "open_questions": []
}

Structured outputs give you this for free. The orchestrator then reasons over compact, typed results, and a human can audit any worker's output in isolation.

Shared state that several agents must see (a plan, a task board, a set of files) belongs in an external store: the filesystem in Agent SDK designs, a database, or a memory store. Agents read and write the store through tools rather than narrating it to each other.

Task boundaries and the orchestrator's brief

Workers underperform when their brief is vague. A good delegation includes the objective, the expected output format, the tools they may use, what is out of scope, and what the orchestrator already knows so they do not repeat it. Anthropic's guidance for subagents is to scale effort to complexity: a quick fact-check needs one worker and few tool calls; a comparative analysis may need several workers with a larger budget each.

Give the orchestrator explicit rules about when to stop delegating. Without them, agents will spawn further agents for marginal gains.

Cost and model mix

Workers are the obvious place to use a cheaper model tier: their tasks are bounded, their outputs are checked by the orchestrator, and they run in volume. Keep the orchestrator on a stronger model because planning and synthesis errors are expensive. Set a budget per worker and per run, and record token usage per agent so that cost attribution survives into production dashboards.

Failure modes to design against

  • Duplicated work. Two workers investigate the same thing. Fix with a shared task list and unique task IDs.
  • Conflicting writes. Two coding agents edit the same file. Fix with ownership rules per file or directory, or isolated worktrees merged by a deterministic step.
  • Compounding error. A wrong fact from one worker becomes a premise for others. Fix by attaching evidence to findings and having the orchestrator verify high-impact claims.
  • Lost context. The orchestrator forgets why a task was dispatched. Fix by keeping the plan in an external document that is re-read, not only in context.
  • Runaway recursion. Workers spawning workers. Fix with depth limits and a rule that only the orchestrator may delegate.

Observability

Every agent run needs a trace ID that follows every worker and every tool call. Log the delegation brief, the worker's output contract and token usage. When a run produces a wrong answer, you must be able to replay the exact path. Without this, multi-agent systems are undebuggable in production.

Exam focus

  • Multi-agent is justified by parallel breadth, context isolation or differing tools and permissions; otherwise prefer a single agent.
  • Orchestrator-workers is the default topology; the orchestrator owns plan and synthesis, workers own bounded tasks.
  • Pass structured results between agents, not transcripts; shared state lives in an external store accessed through tools.
  • Delegation briefs must specify objective, output format, allowed tools, scope and known context.
  • Use cheaper models for workers and stronger models for the orchestrator; budget and attribute tokens per agent.
  • Expect questions on failure modes (duplication, conflicting writes, compounding error) and their structural fixes.

Check yourself

5 questions

  1. 1.A due-diligence agent must review roughly 200 documents per deal. With a single agent, the context window fills with raw document text halfway through, quality degrades, and the final memo omits documents read early on. Which multi-agent design BEST addresses this?

  2. 2.A team's orchestrator forwards the entire conversation history, including all prior tool results, to every subagent it spawns. Costs are five times the forecast, subagents frequently repeat work already completed, and two subagents once took conflicting actions on the same record. What is the MOST likely root cause and the appropriate fix?

  3. 3.An architect is choosing models for an orchestrator-workers system. The orchestrator plans, resolves conflicts and writes the final deliverable; the workers mostly read large volumes of text and extract facts. The budget is tight but the final deliverable must be high quality. Which allocation is MOST defensible?

  4. 4.In a multi-agent scheduling system, two worker agents independently booked the same meeting room for the same slot after both read the calendar as free. Each worker has a 'book_room' tool. Which design change MOST robustly prevents this class of failure?

  5. 5.A team proposes seven cooperating agents (intake, triage, researcher, drafter, fact-checker, formatter, publisher) to generate a weekly internal newsletter from a handful of Slack channels. Volume is one newsletter per week and the content is low-risk. The architect is asked to review the design. What should the architect recommend?