Skip to content

Multi-Agent Architectures Overview

This page provides a comprehensive overview of all available multi-agent architectures in Swarms, their use cases, and functionality.

Architecture Comparison

Architecture Use Case Key Functionality Documentation
MajorityVoting Decision making through consensus Combines multiple agent opinions and selects the most common answer Docs
AgentRearrange Optimizing agent order Dynamically reorders agents based on task requirements Docs
RoundRobin Equal task distribution Cycles through agents in a fixed order Docs
Mixture of Agents Complex problem solving Combines diverse expert agents for comprehensive analysis Docs
GroupChat Collaborative discussions Simulates group discussions with multiple agents Docs
AgentRegistry Agent management Central registry for managing and accessing agents Docs
SpreadSheetSwarm Data processing Collaborative data processing and analysis Docs
ForestSwarm Hierarchical decision making Tree-like structure for complex decision processes Docs
SwarmRouter Task routing Routes tasks to appropriate agents based on requirements Docs
TaskQueueSwarm Task management Manages and prioritizes tasks in a queue Docs
SwarmRearrange Dynamic swarm optimization Optimizes swarm configurations for specific tasks Docs
MultiAgentRouter Advanced task routing Routes tasks to specialized agents based on capabilities Docs
MatrixSwarm Parallel processing Matrix-based organization for parallel task execution Docs
ModelRouter Model selection Routes tasks to appropriate AI models Docs
MALT Multi-agent learning Enables agents to learn from each other Docs
Deep Research Swarm Research automation Conducts comprehensive research across multiple domains Docs
Swarm Matcher Agent matching Matches tasks with appropriate agent combinations Docs
Architecture Use Case Key Functionality Documentation
ConcurrentWorkflow Parallel task execution Executes multiple tasks simultaneously Docs
SequentialWorkflow Step-by-step processing Executes tasks in a specific sequence Docs
GraphWorkflow Complex task dependencies Manages tasks with complex dependencies Docs
Architecture Use Case Key Functionality Documentation
Auto Agent Builder Automated agent creation Automatically creates and configures agents Docs
Hybrid Hierarchical-Cluster Swarm Complex organization Combines hierarchical and cluster-based organization Docs
Auto Swarm Builder Automated swarm creation Automatically creates and configures swarms Docs

Communication Structure

Communication Protocols

The Conversation documentation details the communication protocols and structures used between agents in these architectures.

Choosing the Right Architecture

When selecting a multi-agent architecture, consider the following factors:

Task Complexity

Simple tasks may only need basic architectures like RoundRobin, while complex tasks might require Hierarchical or Graph-based approaches.

Parallelization Needs

If tasks can be executed in parallel, consider ConcurrentWorkflow or MatrixSwarm.

Decision Making Requirements

For consensus-based decisions, MajorityVoting is ideal.

Resource Optimization

If you need to optimize agent usage, consider SwarmRouter or TaskQueueSwarm.

Learning Requirements

If agents need to learn from each other, MALT is the appropriate choice.

Dynamic Adaptation

For tasks requiring dynamic adaptation, consider SwarmRearrange or Auto Swarm Builder.

For more detailed information about each architecture, please refer to their respective documentation pages.