chart/AgenticOrgChart.com
menu
Pattern 02 / peer agents

Multi-Agent Topology: Peer Agents and When to Use Them (2026)

Two or more agents collaborate as peers, with no central supervisor. The most common implementations are CrewAI’s role-based crew, AutoGen’s group-chat, and LangGraph’s swarm primitive.

Multi-agent peer topologyThree agent peers exchange messages on a shared bus, with no central supervisor. A human supplies the goal at the start. The CrewAI and AutoGen group-chat patterns are common implementations.Humangoal inAgent AresearcherAgent BwriterAgent Creviewershared message bus
Multi-agent peer topology. Three agents exchange messages on a shared bus. No supervisor; each agent reads the shared message history and decides whether and what to contribute.Pattern documented in: CrewAI documentation docs.crewai.com; AutoGen documentation microsoft.github.io/autogen; LangGraph swarm langchain-ai.github.io/langgraph/concepts/multi_agent. Accessed 30 April 2026.

Three named peer patterns

CrewAI role-based crew. Each agent is assigned a named role (researcher, writer, reviewer) with a goal, a backstory, and a set of tools. Tasks pass through the crew sequentially. The CrewAI examples repository github.com/crewAIInc/crewAI-examples is the canonical source for working examples. Access date: 30 April 2026.

AutoGen two-agent and group-chat. Microsoft’s AutoGen frames multi-agent collaboration as a conversation between agent objects. The simplest case is a UserProxyAgent + AssistantAgent pair. The richer case is a GroupChat coordinated by a GroupChatManager that selects the next speaker. The reference is the AutoGen documentation at microsoft.github.io/autogen. Access date: 30 April 2026.

LangGraph swarm. LangGraph documents a swarm primitive in which agents hand control to each other directly via handoff messages, with shared state and no central router. See the LangGraph multi-agent concepts page langchain-ai.github.io/langgraph/concepts/multi_agent. Access date: 30 April 2026.

When peer multi-agent is the right shape

When agents have genuinely separable roles. A researcher agent that retrieves and summarises, a writer agent that drafts, and a reviewer agent that checks against criteria are doing different work that benefits from different system prompts and tool surfaces. A single agent can do all three but at the cost of context-window pressure and prompt complexity.

When parallel work is genuinely possible. If two sub-tasks have no data dependency on each other, two peer agents can run simultaneously. The reduction in wall-clock latency is real. (If the work is not parallelisable, peer multi-agent costs you the coordination overhead without gaining anything; consider the supervisor pattern instead.)

Common failure modes

Agents talking past each other. Without a coordinating supervisor, peer agents tend to generate long monologues directed at the shared message history rather than at each other. The conversation becomes parallel monologue rather than dialogue. AutoGen’s GroupChatManager exists in part to address this.

Cost explosion from unbounded loops. Two agents that each respond to each other can run indefinitely without an explicit termination condition. Every framework that ships a multi-agent primitive ships a max-rounds or max-tokens guard for this reason.

Debugging difficulty. State distributed across multiple agents is harder to trace than state inside a single agent. The remedy is a structured trace (LangSmith, Phoenix, OpenAI’s OpenTelemetry agent traces) and a clear logging convention.

Reference examples

CrewAI three-role crew topologyA CrewAI crew composed of a researcher agent, a writer agent, and a reviewer agent collaborates on a goal. Each agent has a defined role and toolset; tasks pass sequentially through the crew.Operatorgoal inResearcherweb search, RAGWriterdrafts contentReviewerchecks against criteriaFinal artefactdelivered outputresearch → draftdraft → review
CrewAI three-role crew. A researcher, writer, and reviewer collaborate sequentially. The pattern is reproduced in many of the examples in the official CrewAI examples repository.Source: CrewAI examples repository github.com/crewAIInc/crewAI-examples; CrewAI documentation, agents page docs.crewai.com/concepts/agents. Accessed 30 April 2026.
AutoGen group-chat topologyAutoGen's group-chat topology: multiple agents communicate through a GroupChatManager that selects the next speaker, with shared message history visible to all.GroupChatManagerselects next speakerUserProxyCoder agentCritic agentExecutorshared message history
AutoGen group-chat. A GroupChatManager selects the next speaker among UserProxy, Coder, Critic, and Executor agents, with a shared message history visible to all.Source: AutoGen documentation, group-chat page microsoft.github.io/autogen/stable/user-guide/agentchat-user-guide/tutorial/teams. Accessed 30 April 2026.

Related on this site

For the broader definition of multi-agent systems, see whatisanaiagent.com/multi-agent-systems. For the process-flow view of a multi-agent collaboration, see agenticswimlanes.com.