Planner–Executor and Supervisor–Worker Patterns
Two reusable patterns for splitting reasoning from execution and coordinating specialized agents.
Key ideas
- Planner–executor
- Supervisor–worker
- Important separation
- Failure modes
Planner–executor
A planner converts the goal into steps or a task graph. The executor performs those steps using tools. A verifier or loop can trigger re-planning when reality differs from the plan.
Supervisor–worker
A supervisor owns the overall goal, chooses workers, routes tasks, validates returns, and combines results.
Important separation
Planning, execution, review, and monitoring should not automatically collapse into one identity for high-risk workflows. Separation of duties improves control and post-incident analysis.
Failure modes
Over-planning wastes tokens; weak routing sends tasks to the wrong worker; a supervisor can become a bottleneck; and recursive delegation can run away unless depth is bounded.