Agent Architecture Patterns
Orchestrator Pattern
The orchestrator pattern uses a central agent that breaks complex tasks into subtasks, delegates them to specialized worker agents, and then synthesizes the results into a final output. This is the most common multi-agent architecture in production because it provides clear control flow: the orchestrator decides what to do, who does it, and when the task is complete, while avoiding the complexity of fully autonomous agent swarms. The pattern works best when subtasks have clear boundaries and can run independently, but the key design challenge is context management, specifically tracking the state of all subtasks and routing the right information to each worker without losing coherence when one worker returns an unexpected result.
subtopics
connected to
resources
Building Effective Agentsanthropic.comAnthropic's guidance on orchestrator and workflow patterns (anthropic.com)LangGraph Orchestrationlangchain-ai.github.ioBuilding orchestrator patterns with stateful graphs in LangGraph (langchain-ai.github.io)OpenAI Agents: Handoffsopenai.github.ioOpenAI's SDK for implementing agent delegation and handoff patterns (openai.github.io)CrewAIcrewai.comFramework that implements the orchestrator pattern with hierarchical agent crews (crewai.com)