Menu
Martin Fowler·July 28, 2026

Orchestrator's Tax: Efficient Delegation in AI Systems

This article discusses the "Orchestrator's Tax" in AI systems, where a central orchestrator's performance is limited by the amount of context it must manage. It proposes treating subagents as a mechanism to offload reasoning and protect the orchestrator's working memory, emphasizing explicit delegation rules to improve efficiency and focus.

Read original on Martin Fowler

In complex AI systems, especially those using large language models (LLMs) as central orchestrators, a significant challenge arises from the *context window* or *working memory* of the orchestrator. Every piece of information, or "token," in this context competes for the orchestrator's attention, leading to reduced efficiency and increased processing costs. This phenomenon is termed the "Orchestrator's Tax."

The Role of Subagents in Mitigating the Tax

Subagents, often justified by their ability to save time or enable parallel execution, primarily provide value by reducing the cognitive load on the main orchestrator. Their core function should be to keep unnecessary information out of the orchestrator's context, allowing the orchestrator to focus on higher-level reasoning and decision-making.

💡

Design Principle: Offload, Don't Just Parallelize

When designing AI systems with orchestrators and subagents, prioritize offloading specific, detailed reasoning to subagents rather than merely using them for parallel execution. This ensures the orchestrator's context remains lean and focused, minimizing the "tax."

Implementing Effective Delegation

Effective delegation to subagents requires establishing explicit ground rules for when and how the orchestrator should hand off tasks. This involves clearly defining the responsibilities of each subagent and the conditions under which the orchestrator should invoke them. This structured approach prevents the orchestrator from being overwhelmed with granular details.

  • Clear Scope Definition: Each subagent should have a well-defined domain of expertise and operational boundaries.
  • Trigger Conditions: The orchestrator needs explicit criteria or decision points to determine when a subagent's expertise is required.
  • Information Flow: Design clear interfaces and protocols for how the orchestrator communicates tasks to subagents and how subagents return their findings or actions.

By strategically designing subagents to act as guardians of the orchestrator's context, system architects can significantly improve the scalability, efficiency, and robustness of AI-driven applications. This architectural pattern emphasizes modularity and specialized processing to overcome the inherent limitations of large contextual models.

AI architectureLLM orchestrationsubagentscontext managementdelegationsystem designdistributed AIprompt engineering

Comments

Loading comments...