One-Line Summary: The supervisor pattern is the framework-vocabulary cousin of queen-led: one supervisor agent routes tasks to specialist agents and gathers results — it is the strong default recommended by Anthropic's "Building Effective Agents," and the topology you should pick when in doubt.
Prerequisites: Queen-led hierarchy, sub-agents as primitives
What Is the Supervisor Pattern?
The supervisor pattern, popularized by Anthropic's "Building Effective Agents" (2024) and instantiated in LangGraph's official supervisor example, is structurally identical to queen-led but framed in framework-and-engineering terms rather than ruflo's biological metaphor. A supervisor sees the task, decides which specialist should handle it, dispatches, reads the result, and either re-dispatches or returns.
The reason to give it its own concept (despite the structural overlap) is that the framework community talks about it constantly, the LangGraph reference implementation is the most-copied multi-agent pattern in the wild, and the small differences from a textbook queen-led topology — supervisor as a routing component rather than a strategist — actually matter when you implement it.
How It Works
The canonical LangGraph supervisor:
StateGraph
├── Node: supervisor (an LLM that picks the next worker)
├── Node: researcher
├── Node: coder
├── Node: writer
└── Edges: supervisor → {researcher, coder, writer}
workers → supervisor (always)The supervisor is a single LLM call: given the task and the conversation so far, it returns the name of the next agent to invoke (or "FINISH"). The graph routes accordingly. This is intentionally minimal — the supervisor doesn't strategize; it just picks the next move.
Why "minimal supervisor" rather than "smart queen"? Because a smart queen has to handle everything: decomposition, assignment, aggregation, reasoning. A minimal supervisor handles only routing, which is the part that benefits least from heavy reasoning. It is cheap, debuggable, and reliably correct on the routing decision.
Why It Matters
The supervisor pattern is the multi-agent default. Anthropic's recommendation: try a single agent first; if you need multi-agent, try supervisor; only escalate beyond supervisor if the task genuinely needs it. That recommendation has held up well — most production multi-agent systems in 2026 are supervisor-shaped, with queen-led / hive-mind / mesh reserved for the cases where supervisor demonstrably underperforms.
Key Technical Details
- Supervisor as router, not strategist: The smart move is to keep the supervisor cheap and fast. Decomposition happens inside the workers.
- Supervisor LLM size: Often the supervisor can be a smaller/cheaper model than the workers. Routing is easier than execution.
- Worker outputs feed back to supervisor: The supervisor sees worker results and decides next steps. Workers do not directly invoke each other.
- Termination via FINISH: The supervisor can return a special token to indicate the task is done. Without this, you need a turn budget.
- State management: LangGraph keeps a typed shared state; the supervisor can read worker outputs from it.
- Observability is straightforward: Every step is "supervisor decision" or "worker run" — easy to log and replay.
- Adversarial robustness: A worker can return garbage; the supervisor should validate and re-dispatch if needed.
How Harnesses & Frameworks Implement This
| Harness / Framework | Supervisor pattern |
|---|---|
| Claude Code | DIY via supervisor sub-agent |
| Claude Agent SDK | Same as queen-led; idiomatic |
| ruflo | Queen-led is the equivalent |
| LangGraph | First-class — official langgraph-supervisor example |
| AutoGen | GroupChatManager with auto speaker selection |
| CrewAI | Process.hierarchical with manager |
| OpenAI Agents SDK | Use Agent with handoffs to specialist agents |
| Codex CLI / Cursor | ✗ |
Connections to Other Concepts
queen-led-hierarchy.md— The conceptually identical topology in ruflo's vocabulary.topology-as-design-decision.md— Why supervisor is the default.role-based-orchestration.md— A specialization of supervisor.topology-selection-decision-tree.md— When to escalate beyond supervisor.../../langgraph-agents/07-multi-agent-systems/supervisor-pattern.md— Foundational LangGraph coverage.
Further Reading
- Anthropic, "Building Effective Agents" (2024) — The canonical case for supervisor as default.
- LangGraph, "Multi-agent Supervisor" example — The reference implementation worth reading line-by-line.