Act 08 · The plumbing 2:30 Sandboxes, swarms, subagents

Multi-agent orchestration: swarms and roles.

Orchestration is coordinating multiple specialized agents toward one goal — usually an orchestrator that plans and delegates to role-based worker agents — which helps for big, parallel, multi-skill work but adds coordination overhead that can hurt.

Video rendering soonThe cinematic render for this episode is being generated. The article, transcript and key ideas are all here now.

Key ideas

  • The one idea — Orchestration is coordinating multiple specialized agents toward one goal — usually an orchestrator that plans and delegates to role-based worker agents — which helps for big, parallel, multi-skill work but adds coordination overhead that can hurt.
  • How it is shown — An orchestrator breaking a task into parts, handing each to a role-specialized worker (researcher, coder, reviewer), collecting results, and assembling the answer.
  • The trap to avoid — Reaching for a swarm by default — coordination has real cost; use multiple agents when the work is big, parallel, or genuinely multi-skill, not for everything.
  • What it sets up — A swarm coordinates many agents — but one common move is spawning a fresh one for a single job.

How do twenty AI agents work one job without chaos? Usually one orchestrator plans and delegates, and role-based workers execute. That shape helps — and it has a cost.

The one idea

Orchestration is coordinating multiple specialized agents toward one goal — usually an orchestrator that plans and delegates to role-based worker agents — which helps for big, parallel, multi-skill work but adds coordination overhead that can hurt.

Last group, we saw why one agent hits walls, and that teams go further. Now the how. Coordinating multiple agents toward a single goal is orchestration — how a swarm actually works together. It has a shape worth knowing. The common pattern is an orchestrator and workers. One lead agent takes the goal, breaks it into parts, and hands each to a worker. The workers do the pieces; the orchestrator collects what comes back and assembles the result. A manager delegating to a team. The workers usually have roles. Instead of clones, you build specialists: a researcher that only gathers information, a coder that only writes code, a reviewer that only critiques.

How it works — the demo

An orchestrator breaking a task into parts, handing each to a role-specialized worker (researcher, coder, reviewer), collecting results, and assembling the answer.

Each has its own tools and prompt, tuned for one job. Roles are how a swarm gets its specialization. This helps in clear cases. When a task splits into parts that run in parallel, several agents finish faster than one. When it needs different skills, specialists beat a generalist. And when it's long, each agent keeps its own fresh context, instead of one window rotting under the whole job. But orchestration isn't free. Agents pass information, and things get lost in the hand-offs. The orchestrator can misroute work. Every agent costs tokens and time, and they can wait on each other.

The trap to avoid

Reaching for a swarm by default — coordination has real cost; use multiple agents when the work is big, parallel, or genuinely multi-skill, not for everything.

Why it matters — and what’s next

A swarm coordinates many agents — but one common move is spawning a fresh one for a single job.

For a simple task, all that coordination is pure overhead — slower and pricier than one good agent. The trap: reaching for a swarm by default, because more agents sounds more powerful. Often it isn't. Use multiple agents when the work is big, parallel, or multi-skill — and one focused agent when it isn't. The skill is matching the team's shape to the task's shape. So orchestration coordinates specialized agents — an orchestrator planning and delegating to role-based workers — powerful for big, parallel, multi-skill work, and overhead for the rest. One common move inside it is spawning a fresh agent for a single job, then throwing it away. Next: subagents.

This is one short episode in AI: Zero → Frontier, a step-by-step climb through how AI actually works. Each episode builds only on the ones before it.

Full transcript 2:30 of narration

Last group, we saw why one agent hits walls, and that teams go further. Now the how. Coordinating multiple agents toward a single goal is orchestration — how a swarm actually works together. It has a shape worth knowing.

The common pattern is an orchestrator and workers. One lead agent takes the goal, breaks it into parts, and hands each to a worker. The workers do the pieces; the orchestrator collects what comes back and assembles the result. A manager delegating to a team.

The workers usually have roles. Instead of clones, you build specialists: a researcher that only gathers information, a coder that only writes code, a reviewer that only critiques. Each has its own tools and prompt, tuned for one job. Roles are how a swarm gets its specialization.

This helps in clear cases. When a task splits into parts that run in parallel, several agents finish faster than one. When it needs different skills, specialists beat a generalist. And when it's long, each agent keeps its own fresh context, instead of one window rotting under the whole job.

But orchestration isn't free. Agents pass information, and things get lost in the hand-offs. The orchestrator can misroute work. Every agent costs tokens and time, and they can wait on each other. For a simple task, all that coordination is pure overhead — slower and pricier than one good agent.

The trap: reaching for a swarm by default, because more agents sounds more powerful. Often it isn't. Use multiple agents when the work is big, parallel, or multi-skill — and one focused agent when it isn't. The skill is matching the team's shape to the task's shape.

So orchestration coordinates specialized agents — an orchestrator planning and delegating to role-based workers — powerful for big, parallel, multi-skill work, and overhead for the rest. One common move inside it is spawning a fresh agent for a single job, then throwing it away. Next: subagents.

PlumbingMulti-AgentOrchestration