Emerging concepts

Dispatch

AI-assisted editorial review:

In AI systems, dispatch is the way a lead (orchestrator) agent splits a large task into smaller subtasks and hands each one to a suitable tool, subagent or model, then collects and combines the results.[1][3] It is the core step of the orchestrator–subagent pattern used in multi-agent systems.[3]

What does Dispatch mean in simple terms?

Dispatch is what an AI assistant does when a big job comes in: it breaks the job into pieces and sends each piece to another AI or tool that suits it. Think of a project lead who splits a report into research, data tables and slides, hands each part to a different colleague at the same time, and then merges what comes back. For work that can be done in parallel, this can be much faster than one AI doing everything in sequence.[1] Each subagent also works in its own context window, so the details of one subtask do not crowd out another.[1][2]

How can Dispatch be explained with an analogy?

Dispatch works like a team lead who receives incoming quote requests and assigns each one, at the same time, to the colleague best suited to handle it.

Where is Dispatch used?

Case 1

Anthropic Research — A lead agent fans out to parallel subagents

In June 2025 Anthropic described the multi-agent system behind Claude's Research feature. A lead agent analyses the query, saves its plan to memory and spawns subagents that explore different aspects in parallel; each subagent has its own context window and returns condensed findings to the lead.[1] Anthropic reported that having the lead spin up 3–5 subagents in parallel, with each subagent using 3 or more tools in parallel, cut research time by up to 90% for complex queries.[1] The pattern suits broad research, information gathering and market scans.
Result: On Anthropic's internal research evaluation, a system with Claude Opus 4 as lead and Claude Sonnet 4 subagents outperformed single-agent Claude Opus 4 by 90.2% (Anthropic internal evaluation, 2025-06).[1]

Case 2

Claude Code subagents — Keeping exploration out of the main conversation

In Claude Code, the main agent can delegate a side task to a subagent through the Agent tool (called the Task tool before version 2.1.63). Each subagent starts with a fresh, isolated context window and returns only a summary.[2] The documentation gives the example of researching the authentication, database and API modules in parallel with separate subagents.[2] This helps because language models tend to use information in the middle of a long context less reliably than information at the beginning or end.[9] Typical uses include exploring an unfamiliar codebase, assessing the impact of a change, or scanning logs and test output during debugging.
Result: Verbose output such as test runs, documentation and log files stays in the subagent's context, and only the relevant summary returns to the main conversation (Claude Code documentation).[2]

Case 3

CrewAI hierarchical process — A manager agent delegates to specialists

CrewAI, an open-source framework, runs tasks sequentially by default. When a crew is set to Process.hierarchical, a manager agent assigns tasks to crew members based on their roles and tools and validates the results; this requires either a manager_llm or a custom manager_agent.[4] For ordinary agents, delegation is turned off by default (allow_delegation=False); hierarchical managers are created or configured with delegation enabled.[11] The max_iter setting (default 20) limits how many iterations an agent runs before it must give its best answer.[5] A 2025 pull request proposed an allowed_agents parameter to restrict which agents each agent may delegate to; it is not listed in the current Agents documentation.[5][6] The pattern fits structured back-office work such as reports, quotes and billing.
Result: The hierarchical manager delegates to workers; additional delegation and iteration limits can be configured for individual agents.[4][5][11]

Case 4

LangChain and LangGraph — Supervisor and subagent patterns

The langgraph-supervisor library built hierarchical systems in which a central supervisor agent controls communication and decides which worker agent to call.[8] LangChain now recommends implementing the supervisor pattern directly through tool calls.[8] LangChain's multi-agent guide describes subagents, handoffs, skills, router and custom-workflow patterns.[7] In its example of comparing three programming languages, the subagents pattern used about 5 model calls and 9K tokens, while sequential handoffs needed 7 or more calls and 14K or more tokens.[7] Customer-inquiry routing and multi-domain assistants are typical uses.
Result: In LangChain's multi-domain example, parallel subagents processed about 9K tokens versus about 14K+ for sequential handoffs (LangChain documentation).[7]

Try it today

  1. Pick one long, sequential task you run with an AI model and split it into 3–4 independent subtasks.
  2. In Claude Code, ask the agent to delegate one of those subtasks to a subagent and check the summary it returns.[2]
  3. Run the same task both sequentially and with dispatch, and record response time and token usage.[1]
  4. Follow one CrewAI or LangChain tutorial and build a simple manager–worker (orchestrator–subagent) setup in code.[4][7]
  5. Compare monthly token costs and output quality before and after adopting dispatch.

Limits and direction

Dispatch depends on how well the lead agent splits and describes the work. Anthropic found that vague task descriptions led subagents to duplicate work or leave gaps, and that early versions spawned 50 subagents for simple queries and searched endlessly for nonexistent sources; prompt rules and explicit guardrails were needed.[1] Cost is another limit: in Anthropic's data, agents used about 4× more tokens than chat, and multi-agent systems about 15× more, so dispatch is best kept for high-value tasks.[1] Iterative loops can stall, so set a maximum iteration count and a fallback, such as escalating to a human.[3][5] The orchestrator can also become an information bottleneck: when one subagent finds something relevant to another, details may be lost as they pass back through the lead.[3] Because agents are non-deterministic, debugging is harder, and Anthropic needed full production tracing to see why agents failed.[1]

Three directions stand out. First, the pattern is being named and documented across tools: CrewAI's hierarchical process, LangChain's subagent and supervisor patterns, and Claude Code's subagents describe similar orchestrator–subagent structures, and Anthropic recommends starting with this pattern for most use cases.[3][4][7] Second, execution is moving from synchronous to background and asynchronous. In 2025 Anthropic's lead agents waited for each set of subagents to finish, which created bottlenecks; by 2026 Claude Code was dispatching subagents in the background so work continues while results stream back.[1][3] Third, researchers are training small models as orchestrators. One 2026 arXiv paper trains a lightweight orchestrator that decomposes tasks into parallel subtasks, delegates them and runs them asynchronously.[10]

Which concepts are related to Dispatch?

  • Related concept
    Adaptive ReasoningA concept that often appears alongside dispatch in current AI trends.
  • Related concept
    Extended ThinkingA concept that often appears alongside dispatch in current AI trends.
  • Related concept
    Prompt CachingA concept that often appears alongside dispatch in current AI trends.

Which sources explain Dispatch?

  1. Anthropic Engineering — How we built our multi-agent research system (2025-06-13) — https://www.anthropic.com/engineering/multi-agent-research-system
  2. Claude Code Docs — Create custom subagents (accessed 2026-10-13) — https://code.claude.com/docs/en/sub-agents
  3. Claude Blog — Multi-agent coordination patterns: Five approaches and when to use them (2026-04-10) — https://claude.com/blog/multi-agent-coordination-patterns
  4. CrewAI Docs — Hierarchical Process (accessed 2026-10-13) — https://docs.crewai.com/en/learn/hierarchical-process
  5. CrewAI Docs — Agents (accessed 2026-10-13) — https://docs.crewai.com/en/concepts/agents
  6. GitHub crewAIInc/crewAI — Pull request #2068: hierarchical agent delegation with allowed_agents (2025-02) — https://github.com/crewAIInc/crewAI/pull/2068
  7. LangChain Docs — Multi-agent (accessed 2026-10-13) — https://docs.langchain.com/oss/python/langchain/multi-agent
  8. GitHub langchain-ai — langgraph-supervisor-py README (README reviewed 2026-10-14) — https://github.com/langchain-ai/langgraph-supervisor-py
  9. arXiv — Liu et al., Lost in the Middle: How Language Models Use Long Contexts (2023-07-06) — https://arxiv.org/abs/2307.03172
  10. arXiv — Yuan et al., Small Model as Master Orchestrator: Learning Unified Agent-Tool Orchestration with Parallel Subtask Decomposition (2026-04-18) — https://arxiv.org/abs/2604.17009
  11. CrewAI — Hierarchical manager creation implementation — https://raw.githubusercontent.com/crewAIInc/crewAI/main/lib/crewai/src/crewai/crew.py