A parent agent that decomposes complex tasks, delegates subtasks to specialized child agents via tools, and merges their results into a cohesive response.
Loading interactive preview...
Automatically installs the pattern and its dependencies in your project.
Download the complete pattern as a standalone Next.js project.
Add your AI provider API key to enable real functionality.
Open http://localhost:3000 to see the pattern in action.
The pattern is ready to use. Modify the components, API routes, and styling to fit your application.
app/page.tsxapp/api/Build systems that break down large projects into subtasks, delegate to specialized agents, and coordinate completion.
Create agents that coordinate data collection, analysis, writing, and formatting to generate comprehensive research reports.
Develop systems that orchestrate data gathering, analysis, visualization, and insight generation for business decision making.
Build agents that coordinate legal, financial, technical, and business analysis for complex business challenges.
Routes user queries to specialized sub-agents based on content analysis. A classifier agent determines intent and delegates to the appropriate specialist.
Build an agent that orchestrates multiple tool calls in sequence, using the AI SDK's maxSteps and automatic tool result forwarding.
The orchestrator-agent pattern demo is being prepared.
Download the pattern to try it with your API key