---
title: "Agent topologies · hub-spoke, map-reduce, swarm, debate morphologies · Agent Fieldbook"
url: https://agentfieldbook.org/design/topologies/
description: "Every agent has a shape. Topology decides how its parts coordinate: hub-spoke, map-reduce, supervisor loops, debate ensembles, swarms. A source-graded field book to agent morphologies, each drawn as a specimen and seeded by peer-reviewed multi-agent research (OFA-MAS, MASS, MASEval, REALM-Bench)."
section: "Design · Topologies"
source: Agent Fieldbook — generated from the published page
---

# Agent topologies

**Topology is the shape of an agent system.** It shows where decisions are made, what holds control, where tools and sub-agents sit, and how information moves through the system. Topology is what turns a collection of capabilities into an operating design.

Dense reasoning core radiating to satellite specialists. Orchestrator + specialists.

Linked nodes in a horizontal pipeline; each output feeds the next.

Reason-act-observe loop converging toward a goal.

Micro-clusters of peers with filament hand-offs.

Concentric memory rings with retrieval filaments.

Dormant bell with trailing sensors; wakes on signal.

Nodes connect by proximity; no centre.

Sparse dormant field with active pulse epicentres.

N parallel solvers explore sampled reasoning paths; a majority-vote aggregator collapses them to one consistent answer.

- [↗ T1](https://arxiv.org/abs/2502.02533)

N agents in a fully-connected mesh iterate arguments and counter-arguments each round until consensus. Every agent sees every other's proposal per round.

- [↗ T1](https://arxiv.org/abs/2502.18836)

A side-agent rides beside the main agent chain, tapping events without being on the primary path. Typical memory-harvesting pattern.

- [↗ T1](https://aclanthology.org/2026.acl-demo.34/)

A read-only meta-agent sits above the main agent, observing actions and providing advisory feedback. Main agent decides whether to act.

A coordinator spawns N ephemeral workers, collects outputs, terminates them. Workers are short-lived and non-communicating.

N judge-agents independently evaluate a proposal; a verdict aggregator applies a quorum rule (majority / unanimity / weighted).

- [↗ T1](https://arxiv.org/abs/2601.12996)

Producer emits, critic rebuts, arbiter (optional) resolves. Loops until convergence or timeout. Widely used in code-review + reasoning-verification.

Scalarity's signature control topology. Brain classifies intent as a structured tool_call (the only LLM step). One dedicated confirmation turn gates the transition, human-in-the-loop or programmatic. Dispatch is 100% deterministic code with the safety gate embedded inside, no LLM in the write path. Capability grows by adding routes, not by branching code.

Fan-out across data partitions in parallel; a reduce node aggregates the outputs. Built-in parallelism.

Classify intent and route to exactly one of N branches: not all. A cheap triage front-door, distinct from Hub & Spoke.

A planner recursively spawns sub-planners and workers: open-ended task breakdown where scope is unknown upfront.

A shared workspace agents read and write opportunistically, without direct coupling. No fixed control flow.

One agent reads stage-specific instructions from numbered folders; each stage produces plain-text output that seeds the next. Filesystem is the orchestrator; no multi-agent framework required. Human review gates sit between stages.

Named role-agents (PM, architect, engineer) coordinate through a shared workspace of structured artefacts (PRD, design, tasks, code) written as files. Each downstream agent consumes the previous agent’s artefact from the filesystem.

A single-agent workflow driven by a folder tree (.specify/) plus a fixed phase sequence: constitution, specify, plan, tasks, implement. Each phase reads and writes markdown artefacts in its own directory; the filesystem carries state between commands.

Named role-stages pass a growing artefact along a strict linear pipeline. Each stage owns one phase (analyst → architect → engineer → QA), reads what the previous stage produced, and adds its own contribution before handing off. The SOP is the topology.

A pipeline whose stages are role-agents, not tasks. The same message flows through role-typed handlers (product owner, architect, coder), each transforming it. Distinct from assembly-line by making the role identity the coordination unit rather than the sequence.

Multiple autonomous agents with persistent memory, planning and reflection sharing an environment, forming and updating relationships without a coordinator. Emergent coordination through observation, memory retrieval and self-driven action.

Agents coordinate through a directed graph of message exchanges. Any agent can address any other; the exchange history is the coordination substrate. Reads as a graph, not a chain, because messages fork, reply and cross-cut.

A manager (or moderator) agent runs a shared conversation of N specialist agents, selecting who speaks next based on the transcript. Coordination is centralised at the moderator; the transcript is the shared state.

Two agents adopt paired roles (user + assistant, teacher + student, critic + generator) and iterate through structured dialogue. The dyad’s rules are the topology; a single task can traverse the loop many times.

Reasoning states form a tree the agent expands and evaluates node-by-node, backtracking from dead ends. Search discipline (BFS or DFS) plus a heuristic evaluator select which branch to grow. Distinct from chain-of-thought by choosing between alternative continuations rather than committing to one.

- [OFA-MAS, One-for-All Multi-Agent Topology Architecture Space The Web Conference (WWW 2026) · ACM T1 · canonical topologies](https://arxiv.org/abs/2502.18836)

## T1 · canonical topologies

- [MASS, Multi-Agent System Search Joint research · Google Research × University of Cambridge T1 · topological pruning](https://arxiv.org/abs/2502.02533)

## T1 · topological pruning

- [MASEval, Framework-Agnostic Multi-Agent System Evaluation ACL Demonstrations 2026 · aclanthology.org T1 · declarative topology schema](https://aclanthology.org/2026.acl-demo.34/)

## T1 · declarative topology schema

- [REALM-Bench, Multi-Agent Planning Benchmark ACM Digital Library T1 · planning under uncertainty](https://arxiv.org/abs/2601.12996)

## T1 · planning under uncertainty

- [ReAct ICLR 2023 T1 · interleaved reasoning + tool actions](https://arxiv.org/abs/2210.03629)

## T1 · interleaved reasoning + tool actions

- [Reflexion NeurIPS 2023 T1 · verbal self-reflection](https://arxiv.org/abs/2303.11366)

## T1 · verbal self-reflection

- [Toolformer NeurIPS 2023 T1 · self-supervised tool-use](https://arxiv.org/abs/2302.04761)

## T1 · self-supervised tool-use

- [MetaGPT ICLR 2024 T1 · SOP-encoded roles](https://arxiv.org/abs/2308.00352)

## T1 · SOP-encoded roles

- [Voyager arXiv (2023) T1 · lifelong learning](https://arxiv.org/abs/2305.16291)

## T1 · lifelong learning

- [Generative Agents UIST 2023 T1 · believable agent society](https://arxiv.org/abs/2304.03442)

## T1 · believable agent society

- [AutoGen arXiv (2023) T1 · conversable agents](https://arxiv.org/abs/2308.08155)

## T1 · conversable agents

- [CAMEL NeurIPS 2023 T1 · role-playing agents](https://arxiv.org/abs/2303.17760)

## T1 · role-playing agents

- [Tree of Thoughts NeurIPS 2023 T1 · deliberate search over reasoning paths](https://arxiv.org/abs/2305.10601)

## T1 · deliberate search over reasoning paths

- [Attention Is All You Need NeurIPS 2017 T1 · transformer architecture](https://arxiv.org/abs/1706.03762)

## T1 · transformer architecture

- [Interpretable Context Methodology arXiv 2603.16021 · Eduba / University of Edinburgh T1 · Model Workspace Protocol (MWP)](https://arxiv.org/abs/2603.16021)

## T1 · Model Workspace Protocol (MWP)

- [Open Knowledge Format (OKF) v0.1 Google Cloud Blog · Data Analytics / BigQuery Tech Leads T1 · portable knowledge-exchange standard](https://cloud.google.com/blog/products/data-analytics/how-the-open-knowledge-format-can-improve-data-sharing)

## T1 · portable knowledge-exchange standard

- [Outrageously Large Neural Networks ICLR 2017 · Google Brain T1 · sparse gating](https://arxiv.org/abs/1701.06538)

## T1 · sparse gating

- [Switch Transformer JMLR 2022 · Google Brain T1 · top-1 routing](https://arxiv.org/abs/2101.03961)

## T1 · top-1 routing

- [Fast Inference from Transformers via Speculative Decoding ICML 2023 · Google Research T1 · draft-and-verify decoding](https://arxiv.org/abs/2211.17192)

## T1 · draft-and-verify decoding

- [Chain-of-Thought Prompting Elicits Reasoning in Large Language Models NeurIPS 2022 · Google Research T1 · chain-of-thought prompting](https://arxiv.org/abs/2201.11903)

## T1 · chain-of-thought prompting

- [Self-Consistency Improves Chain of Thought Reasoning in Language Models ICLR 2023 · Google Research T1 · sample-and-vote](https://arxiv.org/abs/2203.11171)

## T1 · sample-and-vote

- [Least-to-Most Prompting Enables Complex Reasoning in Large Language Models ICLR 2023 · Google Research T1 · problem decomposition prompting](https://arxiv.org/abs/2205.10625)

## T1 · problem decomposition prompting

- [Improving Language Models by Retrieving from Trillions of Tokens ICML 2022 · DeepMind T1 · RETRO](https://arxiv.org/abs/2112.04426)

## T1 · RETRO

- [Gemini 1.5 DeepMind Technical Report 2024 T1 · sparse MoE](https://arxiv.org/abs/2403.05530)

## T1 · sparse MoE

- [Training Compute-Optimal Large Language Models NeurIPS 2022 · DeepMind T1 · Chinchilla scaling laws](https://arxiv.org/abs/2203.15556)

## T1 · Chinchilla scaling laws

- [TPU v4 ISCA 2023 · Google T1 · TPU v4](https://arxiv.org/abs/2304.01433)

## T1 · TPU v4

- [Challenging BIG-Bench Tasks and Whether Chain-of-Thought Can Solve Them (BIG-Bench Hard) ACL 2023 Findings · Google Research + Stanford T1 · BIG-Bench Hard (BBH)](https://arxiv.org/abs/2210.09261)

## T1 · BIG-Bench Hard (BBH)

- [MemGPT COLM 2024 · UC Berkeley Sky Lab T1 · two-tier hierarchical memory](https://arxiv.org/abs/2310.08560)

## T1 · two-tier hierarchical memory

- [MetaGPT ICLR 2024 · DeepWisdom T1 · SOP-encoded multi-agent workflow](https://arxiv.org/abs/2308.00352)

## T1 · SOP-encoded multi-agent workflow

- [Defeating Prompt Injections by Design (CaMeL) arXiv 2025 · Google DeepMind T1 · capability-based dual-model design](https://arxiv.org/abs/2503.18813)

## T1 · capability-based dual-model design

## Agent archetypes · 10 patterns Live data

The capability and control patterns that cross-cut every topology: what an agent can do, and how its control flow is governed. From internal research (unvalidated; sources cited in the originals).

## Cross-cutting capabilities · 4

Memory-store nodes inject scoped context at designated graph positions without coupling agent implementations.

Short-term, long-term, episodic and semantic stores persisted across runs; procedural (skills) emerging as a 4th type.

A single agent critiques and revises its own output: self-contained cousin of the Supervisor Loop, no separate evaluator.

Tracing and eval criteria attached to every node: turns an opaque flow into something you can debug and measure.

## Control / reliability · 6

Human-in-the-loop approval blocks execution until explicit operator confirmation.

Route on a predicate, the single deterministic fork that splits a flow into true/false paths.

Iterate a node with a hard cap on cycles. Prevents runaway revision loops in self-correcting agents.

Re-attempt a failed node with escalating delay. Absorbs transient faults in external tool/API calls.

Halt calls to a failing dependency after a threshold; probe before resuming. Stops cascading failure and wasted spend.

Compensating actions undo committed side effects when a later step fails. Keeps multi-step write workflows consistent.

## Field notes

The shape is the pattern: orbs are sub-agents or steps, lines are control flow

Topology is to an agent what topography is to terrain: it describes the shape. Which parts exist, how they are arranged, and the path information takes through them. Drawn out, a topology is nodes and edges, with a model runtime at the core, sub-agents and capabilities around it, and data moving between them. It is the anatomy reduced to its arrangement.

Across thirty named patterns the striking thing is how singular most of them are: one agent directing a set of actions, tools or sub-agents. Genuinely multi-agent designs, where several agents work in tandem across a process, are still the minority, and are the more likely direction of travel. Sidecar is a useful middle case, where a smaller agent rides beside the main chain and taps events to harvest memory or coach, without sitting on the primary path or altering the flow. Twenty-three of the thirty cite a Tier-1 source, the canonical shapes seeded by peer-reviewed multi-agent research: OFA-MAS (WWW 2026), MASS (Google Research and Cambridge), MASEval (ACL 2026) and REALM-Bench.

- [Brandon Chaplin](https://www.linkedin.com/in/brandon-chaplin-digital-marketing-strategist)

## Common questions

### What is an agent topology?

A topology is the shape of a multi-agent system: which agent talks to which, and who decides what happens next. The usual shapes are one orchestrator with specialists under it, a fan-out to parallel workers, and a group that argues its way to one answer. The shape decides how the system fails as much as how it works.

### What is a hub-and-spoke agent topology?

One orchestrator in the middle, specialist sub-agents around it. The orchestrator holds the plan and hands each sub-task to whichever agent is suited to it. It is the most common production shape because there is one place to look when something goes wrong.

### What is map-reduce for agents?

Split one task across several agents running at the same time, then merge their answers into one. It suits work that divides cleanly, like summarising 100 documents or grading 50 answers. It breaks down when the sub-tasks need to know what the others found.

### What is a debate or ensemble of agents?

Several agents answer the same question independently, then a judge picks or merges the answers. Disagreement is the point: separate attempts catch each other's mistakes before anything is committed. It costs several times the tokens of a single pass, so it is used on high-value work rather than at scale.

### What is an agent swarm?

Agents that self-organise with no central controller. Each follows local rules and the coordination emerges from their interaction rather than from a plan someone wrote. It scales well in theory and is hard to debug in practice, which is why it is rare in production.

### Do I need more than one agent?

Usually not. A single agent with good tools handles most tasks, and Anthropic recommends starting with the simplest thing that works and adding agents only when it stops working [(Anthropic)](https://www.anthropic.com/engineering/building-effective-agents). Multiple agents earn their cost when sub-tasks can genuinely run in parallel or need separate context.

## Next in the learning path

- [Architectures Real systems built from these shapes](https://agentfieldbook.org/design/architectures/)

- [Building blocks The parts inside a topology](https://agentfieldbook.org/design/building_blocks/)

- [Orchestration How tokens flow through the shape](https://agentfieldbook.org/design/orchestration/)

- [Runtime How state persists across the shape](https://agentfieldbook.org/design/runtime/)

- [Memory types How memory shapes the architecture](https://agentfieldbook.org/memory/types/)

## Entries

_40 entries listed on this page._

| name | description | subjectOf |
| --- | --- | --- |
| Hub-spoke | Dense reasoning core radiating to satellite specialists. Orchestrator + specialists. |  |
| Sequential | Linked nodes in a horizontal pipeline; each output feeds the next. |  |
| Recursive | Reason-act-observe loop converging toward a goal. |  |
| Multi-agent colony | Micro-clusters of peers with filament hand-offs. |  |
| Memory-first | Concentric memory rings with retrieval filaments. |  |
| Monitoring | Dormant bell with trailing sensors; wakes on signal. |  |
| Peer-to-peer (A2A) | Nodes connect by proximity; no centre. |  |
| Event-driven | Sparse dormant field with active pulse epicentres. |  |
| Self-Consistency (N-sample) | N parallel solvers explore sampled reasoning paths; a majority-vote aggregator collapses them to one consistent answer. | https://arxiv.org/abs/2502.02533 |
| Fully-Connected Debate | N agents in a fully-connected mesh iterate arguments and counter-arguments each round until consensus. Every agent sees every other's proposal per round. | https://arxiv.org/abs/2502.18836 |
| Sidecar (parasitic tap) | A side-agent rides beside the main agent chain, tapping events without being on the primary path. Typical memory-harvesting pattern. | https://aclanthology.org/2026.acl-demo.34/ |
| Coaching / Meta-Supervisor | A read-only meta-agent sits above the main agent, observing actions and providing advisory feedback. Main agent decides whether to act. | https://aclanthology.org/2026.acl-demo.34/ |
| Swarm Dispatch (spawn-collect-die) | A coordinator spawns N ephemeral workers, collects outputs, terminates them. Workers are short-lived and non-communicating. | https://arxiv.org/abs/2502.18836 |
| Judicial Committee (quorum) | N judge-agents independently evaluate a proposal; a verdict aggregator applies a quorum rule (majority / unanimity / weighted). | https://arxiv.org/abs/2601.12996 |
| Adversarial Review | Producer emits, critic rebuts, arbiter (optional) resolves. Loops until convergence or timeout. Widely used in code-review + reasoning-verification. | https://arxiv.org/abs/2502.02533 |
| Classify · Confirm · Dispatch (CCD) | Scalarity's signature control topology. Brain classifies intent as a structured tool_call (the only LLM step). One dedicated confirmation turn gates the transition, human-in-the-loop or programmatic. Dispatch is 100% deterministic code with the safety gate embedded inside, no LLM in the write path. Capability grows by adding routes, not by branching code. |  |
| Map-Reduce | Fan-out across data partitions in parallel; a reduce node aggregates the outputs. Built-in parallelism. |  |
| Router / Dispatch | Classify intent and route to exactly one of N branches: not all. A cheap triage front-door, distinct from Hub & Spoke. |  |
| Hierarchical Decomposition | A planner recursively spawns sub-planners and workers: open-ended task breakdown where scope is unknown upfront. |  |
| Blackboard | A shared workspace agents read and write opportunistically, without direct coupling. No fixed control flow. |  |
| Workspace-protocol | One agent reads stage-specific instructions from numbered folders; each stage produces plain-text output that seeds the next. Filesystem is the orchestrator; no multi-agent framework required. Human review gates sit between stages. |  |
| SOP-encoded workspace | Named role-agents (PM, architect, engineer) coordinate through a shared workspace of structured artefacts (PRD, design, tasks, code) written as files. Each downstream agent consumes the previous agent’s artefact from the filesystem. |  |
| Phase-per-command folder pipeline | A single-agent workflow driven by a folder tree (.specify/) plus a fixed phase sequence: constitution, specify, plan, tasks, implement. Each phase reads and writes markdown artefacts in its own directory; the filesystem carries state between commands. |  |
| Assembly-line role pipeline | Named role-stages pass a growing artefact along a strict linear pipeline. Each stage owns one phase (analyst → architect → engineer → QA), reads what the previous stage produced, and adds its own contribution before handing off. The SOP is the topology. |  |
| Role-anchored pipeline | A pipeline whose stages are role-agents, not tasks. The same message flows through role-typed handlers (product owner, architect, coder), each transforming it. Distinct from assembly-line by making the role identity the coordination unit rather than the sequence. |  |
| Autonomous multi-agent society | Multiple autonomous agents with persistent memory, planning and reflection sharing an environment, forming and updating relationships without a coordinator. Emergent coordination through observation, memory retrieval and self-driven action. |  |
| Directed message-exchange graph | Agents coordinate through a directed graph of message exchanges. Any agent can address any other; the exchange history is the coordination substrate. Reads as a graph, not a chain, because messages fork, reply and cross-cut. |  |
| Manager-mediated group chat | A manager (or moderator) agent runs a shared conversation of N specialist agents, selecting who speaks next based on the transcript. Coordination is centralised at the moderator; the transcript is the shared state. |  |
| Two-agent role-play | Two agents adopt paired roles (user + assistant, teacher + student, critic + generator) and iterate through structured dialogue. The dyad’s rules are the topology; a single task can traverse the loop many times. |  |
| Deliberate branching search over states | Reasoning states form a tree the agent expands and evaluates node-by-node, backtracking from dead ends. Search discipline (BFS or DFS) plus a heuristic evaluator select which branch to grow. Distinct from chain-of-thought by choosing between alternative continuations rather than committing to one. |  |
| Context Injection | Memory-store nodes inject scoped context at designated graph positions without coupling agent implementations. |  |
| Memory | Short-term, long-term, episodic and semantic stores persisted across runs; procedural (skills) emerging as a 4th type. |  |
| Reflexion | A single agent critiques and revises its own output: self-contained cousin of the Supervisor Loop, no separate evaluator. |  |
| Observability | Tracing and eval criteria attached to every node: turns an opaque flow into something you can debug and measure. |  |
| Feedback Gate | Human-in-the-loop approval blocks execution until explicit operator confirmation. |  |
| Conditional Branch | Route on a predicate, the single deterministic fork that splits a flow into true/false paths. |  |
| Bounded Loop | Iterate a node with a hard cap on cycles. Prevents runaway revision loops in self-correcting agents. |  |
| Retry / Backoff | Re-attempt a failed node with escalating delay. Absorbs transient faults in external tool/API calls. |  |
| Circuit Breaker | Halt calls to a failing dependency after a threshold; probe before resuming. Stops cascading failure and wasted spend. |  |
| Saga / Rollback | Compensating actions undo committed side effects when a later step fails. Keeps multi-step write workflows consistent. |  |
