Build nested AI agent hierarchies where orchestrators spawn and coordinate sub-agents using the Vercel AI SDK. This pattern enables truly scalable agentic systems where complex goals are recursively broken into manageable sub-tasks executed by purpose-built child agents.
- Deep research agents that spawn query specialists per topic
- Software development agents with dedicated coding, testing, and review sub-agents
- Content pipelines with research, outline, draft, and edit agents
- Data analysis workflows with collection, cleaning, and insight sub-agents
Tech stack
Vercel AI SDKNext.jsTypeScriptAnthropic ClaudeRecursive Agents
npx shadcn@latest add https://shadcnagents.com/r/sub-agent-orchestrator