Orchestration & Sub-Agents

Pattern

Orchestrator-Worker Pattern

Coordinate multiple worker agents for project management. Handles task distribution, progress tracking, and result synthesis.

AdvancedOct 2025View the full pattern on desktop
Orchestrator-Worker Pattern preview

Problems solved

  • Coordinate specialized worker tools from an orchestrator agent
  • Assign tasks across disciplines through strongly typed tools
  • Track deliverables and progress in a streaming agent UI
  • Demonstrate the orchestrator-worker pattern with Experimental_Agent

Use cases

  • Software project coordination agents
  • Product development task orchestration
  • Research project managers with specialist workers
  • QA and deliverable tracking copilots

AI SDK APIs

new Agenttool(stepCountIsExperimental_Agenttools:gateway

Tags

aiagentsorchestratorworkerproject-managementcoordinationai-sdk-v5strongly-typedstreamingdeliverables

Requirements

Node.js
24+
Memory
1GB
Other
  • OpenAI API key

Environment variables

External services

openai

Ready to use?

View the full interactive pattern with live preview and copy the source code.

View the pattern on desktop

Related patterns