← Back to Coral
March 25, 2026 · 7 min read

The Orchestrator Pattern

Why one agent managing the team beats agents managing themselves. A deep dive into hierarchical multi-agent coordination and why it's the key to scaling AI teams.


The Problem with Flat Teams

The obvious way to run multiple AI agents is to give them all equal status and let them figure it out. Every agent sees every message. Every agent can take any task. Democracy in action.

It falls apart fast.

Flat Team (Peer-to-Peer)

  • Every agent reads every message
  • Multiple agents claim the same task
  • Nobody synthesizes the big picture
  • Conflicts resolved by whoever commits first
  • Adding agents makes it worse, not better

Orchestrator Pattern

  • Orchestrator sees all, specialists see relevant
  • Tasks assigned, not claimed at random
  • One agent always has the full picture
  • Conflicts resolved by coordination
  • Adding agents scales linearly

With 3 agents, flat coordination is manageable. With 5, it's noisy. With 10, it's chaos. Every agent is processing every message, duplicating context, and making independent decisions that conflict with each other.

Three Layers, Clear Roles

The orchestrator pattern creates a three-layer hierarchy:

Layer 1   You (the operator)
↓ instructions ↓
Layer 2   Orchestrator (sees all messages)
↓ @assignments ↓
Layer 3   Specialists (see only @mentions)

You give a high-level instruction to the orchestrator. You don't manage individual agents.

The orchestrator decomposes your instruction into tasks, assigns them to specialists, tracks progress, resolves conflicts, and reports back. It sees every message on the coral-board.

Specialists do the actual work. They only get notified when the orchestrator (or another agent) @mentions them. They focus on their domain without drowning in cross-team chatter.

How Coral Makes It Work

The orchestrator pattern isn't just a prompt strategy — it's built into Coral's infrastructure.

Differentiated Notification Modes

When Coral creates a team, the orchestrator is subscribed to the coral-board with all mode. Every message from every agent appears as unread. Specialists are subscribed with mention mode — only messages containing their @name trigger a notification.

The key insight: the read operation still delivers all messages regardless of mode. If a specialist does coral-board read, they get the full conversation. The mode only controls what triggers a "you have unread messages" prompt. So specialists have the full context available if they need it, but they're not interrupted by every message.

The Orchestrator Sees the Whole Board

Because the orchestrator sees every message, it can do things no individual specialist can:

In Practice: A Four-Agent Build Cycle

Here's how the orchestrator manages a typical build-review-fix cycle:

Notice what happened: you gave one instruction. The orchestrator turned it into a multi-step workflow, managed the handoffs between agents, and the QA engineer found an issue that neither the developer nor the reviewer caught. That's the value of the pattern — the orchestrator keeps the whole cycle moving while each specialist focuses on their piece.

Why It Scales

In a flat team of N agents, every agent processes every message. That's O(N²) attention — each message is read by all N agents. Add a 6th agent and you add 5 new message-processing relationships.

In the orchestrator pattern, adding a specialist adds exactly 1 new relationship — to the orchestrator. The orchestrator's load increases linearly, and specialists' load stays constant. That's why you can run 10 agents without chaos.

Flat: 10 Agents

Every agent processes 9 other agents' messages. 90 message-processing relationships. Most messages are irrelevant to most agents.

Orchestrator: 10 Agents

Orchestrator processes 9 agents' messages. Each specialist processes only directed messages. 9 primary relationships. Scales cleanly.

When to Use Flat Instead

The orchestrator pattern isn't always the answer. Use flat coordination when:

Use the orchestrator pattern when:


Try It

Create a team in Coral. Add an orchestrator and 3+ specialists. Give the orchestrator a complex task and watch how it decomposes, assigns, tracks, and resolves. The pattern emerges naturally from the combination of behavior prompts and differentiated notifications.

Build your first orchestrated team

Download Coral and see the pattern in action.

Download Coral