Claude Certified Architect

Foundations · CCAR-F

Domain 1 — 27%

Task 1.2

Multi-Agent Orchestration

Hub-and-spoke architecture with specialized subagents

📘What You Need to Know

Why Multi-Agent?

For complex tasks, split work across multiple specialized agents. A coordinator manages the overall task and delegates to subagents, each with narrow tools and focused expertise. This beats one giant agent because failures are isolated, context stays clean, and each agent does one thing well.

Hub-and-Spoke Architecture

The coordinator receives the user's request, breaks it into subtasks, and sends each to the right subagent. Each subagent has its own system prompt, tools, and context — it does not see the full conversation. The coordinator collects results and synthesizes the final response.

  • •Context isolation per subagent
  • •Focused tool access: 4–5 tools per subagent
  • •Parallel execution of subagents via multiple Task calls in a single response
  • •Clean synthesis by the coordinator

Context Passing Rules

Pass ONLY context specific to each subagent task. NEVER share the full coordinator history. Instead of forwarding all messages, create a focused task prompt: "Search for recent papers about AI in healthcare published after 2023. Return titles, authors, and abstracts."

⚠️Watch out

Sharing full coordinator context with every subagent causes context pollution — the exam tests this distinction frequently.

The Task Tool

The Task tool spawns subagents. allowedTools must include "Task" for the coordinator. Multiple Task calls in a single response enable parallel execution. fork_session creates branched sessions for exploration without polluting the main session context.

⚠️Exam Traps

Trap: Giving one agent 18+ tools instead of distributing across subagents

Why it's wrong: Tool selection quality degrades significantly with too many tools.

Correct approach: Keep 4–5 tools per agent; use a coordinator + specialized subagents.

Trap: Sharing full coordinator context with every subagent

Why it's wrong: Causes context pollution and reduces focus.

Correct approach: Pass only task-specific context to each subagent.

Trap: Overly narrow task decomposition

Why it's wrong: Creates coverage gaps where no subagent handles certain aspects.

Correct approach: Balance specialization with complete task coverage.

✓Concept Check

A research coordinator delegates to subagents. Which context-passing approach is correct?

🔨Build Exercise

Advanced60 minutes

Build a Hub-and-Spoke Research System

What you'll learn

  • •Design a coordinator with Task tool access
  • •Create specialized search and analysis subagents
  • •Implement context isolation between agents