Multi-agent orchestrations
When building systems that use multiple agents, one of the key decisions is figuring out how to manage the flow of information and tasks between those agents. Broadly, there are two strategies you can take:
- Deterministic orchestration: This is where you write out the logic yourself and explicitly control how agents interact; see Figure 6.1:

Figure 6.1: Deterministic orchestration
- Dynamic orchestration: This is where you delegate the flow decisions to another system (such as an LLM), enabling the system to adjust its behavior on the fly; refer to Figure 6.2:

Figure 6.2: Dynamic orchestration
In this section, we will discuss both approaches and the benefits/drawbacks of each one. It is worth noting that many orchestrations actually involve a combination of both approaches. In an agentic system, you may want some parts of it to be explicitly deterministic to have greater control and autonomy, whereas you...