When to reach for it
- Tasks are open-ended, multi-step, and tool-intensive.
- Multiple specialists must operate with high autonomy over long horizons.
/pattern/magentic/
An orchestra of specialized agents combines planning, a task ledger, delegation, and replanning for long-running, complex goals.
When to reach for it
When it backfires
The tradeoff
Massive task coverage is gained against exceptionally high operational and orchestration complexity.
A planner-supervisor maintains a task ledger, delegates to specialists, and synthesizes results across long-running goals.
The planner keeps adding subtasks without closing existing ones. The ledger becomes an infinite to-do list.
Fix · Require every delegation to include a completion criterion. Close ledger entries explicitly, not by timeout.
A mid-flight replan reassigns a task to a different specialist, but the new specialist lacks the context the first one built.
Fix · Persist intermediate state with each ledger entry. Hand off both the task and the accumulated context.
Next pattern
Search patterns, frameworks, and pages.