DeepYardDeepYard
C

Coordinator–Worker Pattern

Orchestrate a team of specialized sub-agents from a single coordinator agent

Open Sourcefree

About

The Coordinator–Worker pattern uses a top-level orchestrator agent to decompose a complex task into discrete sub-tasks and dispatch each to a specialized worker agent. The coordinator collects results, resolves conflicts, and synthesizes a final output. This pattern excels at tasks that can be parallelized across domain experts — for example, sending front-end, back-end, and database sub-tasks to separate agents simultaneously.

Details

Patterncoordinator
StepsCoordinator receives high-level task → Coordinator decomposes task into sub-tasks → Sub-tasks are dispatched to specialized worker agents → Workers execute in parallel and return results → Coordinator synthesizes results into final output
Use CasesFull-stack feature implementation, Multi-file refactoring across layers, Large codebase analysis and reporting

Tags

workflowmulti-agentorchestrationcoordinatorclaude-code