Multi-Agent Topologies
In this article
- Draw the four common topologies (supervisor, planner-executor, hierarchy, peers) and say who owns the goal, who delegates, who merges and who recovers in each.
- Predict how many waves a capped fan-out runs and what a middle layer adds in edges, duplicate work and failure.
- Say what one failed agent breaks in each topology, and why a mesh of peers has no owner of the goal.
- Pick and defend the simplest topology for a support case, a research sweep and a cross-team approval workflow.
- Terms defined here: multi-agent topology, agent hierarchy, peer agents, failure containment.
Overview
You have decided that a job needs more than one agent. Now, how do you wire them? One agent can hand out work and collect it, a planner can write steps for others, supervisors can sit over supervisors, or the agents can talk to each other directly.
The wiring decides who owns the goal, how many messages each piece of work costs, and how far one failure spreads. Four wirings cover most designs; each gets one case below, one table compares them, and the rule at the end is short: use the simplest wiring that fits.
Sign in to keep reading
The rest of this article opens with an account. An account also keeps your progress and quiz results on every device, and lets you follow news for up to five topics.
Still to read in this article
- Four wirings
- Case 1: a supervisor for the support case
- Case 2: twenty sources, five at a time
- When the sweep grows a middle layer
- Case 3: plans that change
- Case 4: four peers, six links
- When one agent fails
- Choosing a topology
- Common mistakes
- Sources
- Check yourself, 13 questions