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 the langgraph-swarm package.

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 AgentChat teams documentation microsoft.github.io/autogen/stable/user-guide/agentchat-user-guide/tutorial/teams; langgraph-swarm github.com/langchain-ai/langgraph-swarm-py. Accessed 4 October 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 collection of working examples, though the repository is archived (last commit April 2026) and is cited as a historical reference rather than maintained code. Access date: 4 October 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 AgentChat teams tutorial at microsoft.github.io/autogen/stable/user-guide/agentchat-user-guide/tutorial/teams. Access date: 4 October 2026.

A currency note, because the documentation site does not carry one. AutoGen is in maintenance mode. Its repository README states: “AutoGen is now in maintenance mode. It will not receive new features or enhancements and is community managed going forward”, and “New users should start with Microsoft Agent Framework.” The group-chat topology described above is still documented and still accurate as a description of the pattern; what has changed is that AutoGen is no longer the framework Microsoft points new work at. The successor, Microsoft Agent Framework, carries the same multi-agent orchestration model. Sources: github.com/microsoft/autogen and learn.microsoft.com/en-us/agent-framework/overview. Both checked 4 October 2026.

LangGraph swarm. The swarm shape has agents hand control to each other directly via handoff messages, with shared state and no central router. It is published as the langgraph-swarm package rather than in the core concept docs; LangChain documents the underlying handoff mechanism, where a tool call updates the state variable that decides which agent is active. See github.com/langchain-ai/langgraph-swarm-py and docs.langchain.com/oss/python/langchain/multi-agent/handoffs. Access date: 4 October 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/en/concepts/agents. Accessed 4 October 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, AgentChat teams page microsoft.github.io/autogen/stable/user-guide/agentchat-user-guide/tutorial/teams. Accessed 4 October 2026. AutoGen is in maintenance mode; the pattern is unchanged, the framework is community managed (see note above).

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.