Home / Figures / Chapter 11

Figure 11.1: The orchestrator–worker pattern

The orchestrator–worker pattern.
Figure 11.1 The orchestrator–worker pattern. A lead agent (in accent) decomposes the task at runtime and hands each worker a self-contained brief; the workers run in parallel, each quarantined in its own context window, and return distilled results for the lead to synthesize. Large outputs go to an external store, with only a reference passing back through the lead's window.