🤖 AI Hot

Claude Multi-Agent Guide: Advisor vs Orchestrator

A
Alex Chen

Anthropic’s engineering team recently shared internal data showing that multi-agent systems built with Claude outperform single-agent setups by 90% on complex coding tasks. That number caught my attention — not because it’s surprising, but because most teams I talk to are still running single agents and wondering why they hit walls on anything beyond toy projects.

The team described two concrete patterns they use internally: Advisor and Orchestrator. These aren’t academic abstractions. They’re battle-tested architectures with real cost data and failure modes you’ll want to know about before building your own.

Here’s a practical how-to guide covering both patterns, with tips and tricks from engineers who’ve deployed them in production.

What problem do multi-agent systems actually solve?

Single-agent coding assistants have a fundamental bottleneck: context window limits and attention dilution. Give one agent a 50-file codebase and ask it to refactor three modules simultaneously, and you’ll get a slurry of half-finished changes, hallucinated imports, and a bill that makes your finance team wince.

The root issue isn’t intelligence. Claude 4 is smart enough to handle complex refactors. The problem is that a single thread of reasoning can only hold so much state. When the agent jumps from src/auth/middleware.ts to src/payments/webhook.ts to src/notifications/email.ts, each context switch bleeds coherence. By file four, it’s forgotten why it changed file one.

Multi-agent systems fix this by splitting work across specialized sub-agents, each with a narrow scope and a clean context. Think of it as the difference between one developer owning an entire sprint versus a team where each person owns one feature. The team finishes faster and with fewer bugs — not because the individuals are smarter, but because the architecture matches the problem.

Anthropic’s internal benchmark showed the 90% gap most clearly on tasks involving cross-file refactors, test generation, and documentation updates. Single agents spent time recovering context. Multi-agent setups ran sub-agents in parallel and stitched results at the end.

Pattern 1: The Advisor mode

The Advisor pattern puts a “reviewer” agent between your sub-agents and the final output. Sub-agents do the work. The Advisor reviews it, requests changes, and only passes vetted results forward.

How it works step by step:

  1. A planner agent (or you) decomposes the task into sub-tasks
  2. Each sub-agent executes its task independently
  3. The Advisor agent receives all outputs and evaluates them against the original spec
  4. The Advisor either approves each output or sends it back with specific revision requests
  5. Approved outputs get merged into the final result

The key insight here is that the Advisor isn’t doing the work — it’s doing quality control. This matters because review is a different cognitive load than creation. When a single agent does both, it tends to rubber-stamp its own output. A separate Advisor with a clean context catches things the worker agents miss.

When to use Advisor mode:

  • Codebases where correctness matters more than speed (fintech, healthcare, auth systems)
  • Tasks with clear acceptance criteria you can encode in a prompt
  • Teams that already do code review and want to automate the first pass
  • Refactors where you need confidence that nothing broke

Real cost data: One team reported that Advisor mode added roughly 15-20% to their token spend compared to a single agent, but cut the bug rate in half on a payment processing module. The net savings came from fewer production incidents, not cheaper API calls. Worth keeping in mind when someone tells you Advisor mode is “more expensive” — the expense is upfront and measurable; the savings show up at 3 AM when nothing pages you.

One tip I’ve found useful: give the Advisor agent access to your test suite. Let it run pytest or jest on the merged output before approving. Claude can execute shell commands in Claude Code, so wiring this up is a few lines in your sub-agent config. The Advisor becomes a CI gate that runs in seconds instead of waiting for a GitHub Actions runner.

Pattern 2: The Orchestrator mode

The Orchestrator pattern is more aggressive. Instead of reviewing after the fact, the Orchestrator actively coordinates sub-agents in real time, deciding what to delegate, monitoring progress, and resolving conflicts.

How it works:

  1. The Orchestrator receives the overall task
  2. It dynamically decides what to delegate based on the current state
  3. Sub-agents run in parallel where possible, sequentially where there are dependencies
  4. The Orchestrator handles merge conflicts, dependency ordering, and error recovery
  5. Final assembly happens under the Orchestrator’s supervision

The critical difference from Advisor mode: the Orchestrator actively manages execution, not just reviews results. This makes it better for tasks with complex inter-dependencies — like migrating a database schema while updating the ORM layer and regenerating API docs, where each sub-task depends on the output of another.

When to use Orchestrator mode:

  • Multi-service architecture changes (frontend + backend + database)
  • Monorepo refactors that touch 20+ files across packages
  • Greenfield projects where you’re scaffolding an entire app
  • Tasks where sub-agents need to share intermediate results

The orchestration tax: Orchestrator mode burns more tokens than Advisor mode — the coordination overhead is real. Anthropic’s data suggests 25-40% more tokens than a single agent for the same task. But the wall-clock time is dramatically lower because sub-agents run in parallel. On a monorepo refactor that touched 47 files, an Orchestrator setup finished in 4 minutes versus 22 minutes for a single agent.

Tips and tricks for running Orchestrator mode effectively:

First, limit sub-agent scope aggressively. A sub-agent that needs to understand three files is reliable. One that needs to understand fifteen files will drift. The Orchestrator’s job is to carve the work into pieces small enough that each sub-agent stays in its competence zone.

Second, give each sub-agent a clear “done” condition. Vague instructions like “improve the auth module” produce vague results. Instead: “Add rate limiting to the login endpoint in src/auth/login.ts. Return 429 after 5 failed attempts in 60 seconds. Update the test file src/auth/__tests__/login.test.ts with cases for rate limiting.”

Third, handle failures explicitly. Sub-agents will hallucinate, time out, or produce syntactically valid nonsense. Your Orchestrator prompt should include error recovery instructions: “If a sub-agent’s output fails to merge, retry with a more specific prompt that includes the exact error message. If it fails twice, flag for human review.”

Advisor vs Orchestrator: which one should you use?

Here’s my rule of thumb after running both patterns across a few projects:

Use Advisor mode when the work is parallelizable and correctness is the priority. You get strong quality gates and predictable costs. The tradeoff is slower end-to-end time because the Advisor is a serial bottleneck.

Use Orchestrator mode when the work has dependencies and wall-clock time matters. You get parallel execution and dynamic adaptation. The tradeoff is higher token costs and more things that can go wrong.

For most teams starting out, I’d recommend Advisor mode first. It’s simpler to debug, easier to reason about, and the cost is predictable. Once you’ve got Advisor mode working reliably, try Orchestrator mode on a contained task and compare.

Beyond the two patterns: what Anthropic is building

Anthropic’s April 2026 announcement of Managed Agents hints at where this is going. Managed Agents decouple the “brain” (decision-making) from the “hands” (execution), allowing a single planning agent to coordinate multiple worker agents across different environments. Think of it as Orchestrator mode at the infrastructure level — the Orchestrator lives on Anthropic’s servers while sub-agents execute in your CI pipeline, your staging environment, or your local machine.

The Claude Agent SDK already exposes sub-agent primitives that map cleanly to these patterns. Five battle-tested sub-agent patterns have emerged:

  1. Divide and conquer — split a task into independent chunks, run sub-agents in parallel, merge results
  2. Specialist routing — classify the task type and route to a domain-specific agent (frontend agent, database agent, infra agent)
  3. Parallel research — send the same question to multiple agents with different search strategies, synthesize findings
  4. Judge and iterate — the Advisor pattern, but with multiple review cycles
  5. Error recovery — dedicated recovery agents that activate on specific failure modes

The Claude Code sub-agent system lets you define these in YAML configs. Each sub-agent gets its own system prompt, tool permissions, and model selection. You can even assign cheaper models (like Claude Haiku) to simpler sub-agents while reserving Claude Opus for the Orchestrator — a cost optimization trick that can cut your bill by 30-40% without meaningful quality loss.

The limits: what multi-agent systems still can’t do

I want to be direct about the rough edges because the hype cycle is already spinning up. Multi-agent systems don’t solve everything.

They don’t fix bad architecture. If your codebase is a mess of circular dependencies and god objects, throwing more agents at it just produces faster chaos. The agents will faithfully implement whatever pattern they find, and if the pattern is wrong, you get wrong results at scale.

They amplify prompting mistakes. A poorly written prompt that confuses one agent will confuse five agents. Worse, the failures compound — Sub-agent A produces a flawed output, Sub-agent B builds on it, and the Orchestrator can’t tell because it never saw the original spec.

They require more ops maturity. Running five agents means five API keys to manage, five token budgets to monitor, five failure modes to handle. Teams that haven’t figured out single-agent reliability will drown in multi-agent complexity.

Context sharing is still primitive. The Orchestrator and sub-agents communicate through text — there’s no shared memory, no vector database of intermediate results, no structured state machine. This works for file-level changes but breaks down on architectural decisions that span the whole codebase.

Getting started: a minimal working setup

The fastest way to try this is Claude Code with sub-agents. Here’s a minimal YAML config for an Advisor pattern:

# .claude/agents/advisor.yaml
agents:
  orchestrator:
    model: claude-sonnet-4-20250514
    system_prompt: |
      You are a technical lead coordinating sub-agents.
      Decompose the user's task into independent sub-tasks.
      For each sub-task, spawn a worker agent with clear instructions.
      After all workers complete, review their outputs for correctness and consistency.
      If any output fails review, request specific revisions.
  
  worker:
    model: claude-haiku-4-20250514
    system_prompt: |
      You are a focused coding agent. Complete exactly the task given.
      Do not expand scope. Return only the requested changes.

Run it with claude --agents advisor.yaml and give it a multi-file task.

Start small. Refactor one module with two sub-agents. Measure the results. Then scale up once you trust the pattern.

What I’d watch for in the next 6 months

Anthropic is clearly investing in agent infrastructure — Managed Agents, sub-agent primitives, and the patterns documentation are all pointing toward agents as a first-class compute primitive rather than a chatbot feature. The open question is whether the ecosystem standardizes around a few patterns (Advisor and Orchestrator seem like strong candidates) or fragments into bespoke architectures per team.

For now, the practical takeaway is this: if you’re running single-agent coding workflows and hitting quality ceilings, you’re leaving a 90% improvement on the table. The patterns are documented, the tooling exists, and the cost data is public. The barrier isn’t technical — it’s the willingness to add architectural complexity to your agent setup. Whether that tradeoff makes sense depends on how much you care about the correctness of what your agents produce.

Sources

  • Anthropic Engineering Blog, “Scaling Managed Agents: Decoupling the brain from the hands,” April 2026
  • Claude Agent SDK documentation, Sub-agent patterns and configuration
  • Claude Code sub-agents YAML specification
  • “Claude Code Sub-agents: The 90% Performance Guide,” codewithseb.com, January 2026
  • Awesome Claude Multi-Agent, curated list on GitHub
Disclosure: CarCare Guide is reader-supported. When you buy through links on our site, we may earn an affiliate commission at no extra cost to you. Learn more.
A
Alex Chen