Skip to main content

Overview

Swarms provides a wide range of multi-agent architectures designed for different use cases, from simple round-robin task distribution to complex hierarchical orchestration. This page provides a comprehensive overview to help you select the right architecture for your needs.

Installation

Core Architectures

Workflow Architectures

Hierarchical Architectures

Reasoning and Decision Architectures

Communication Structure

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

Choosing the Right Architecture

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 SpreadSheetSwarm.
Decision Making Requirements — For consensus-based decisions, MajorityVoting is ideal.
Resource Optimization — If you need to optimize agent usage, consider SwarmRouter or MultiAgentRouter.
Dynamic Adaptation — For tasks requiring dynamic adaptation, consider Auto Swarm Builder.

Architecture Selection Guide

By Task Type

By Scale

For more detailed information about each architecture, refer to their respective documentation pages linked in the tables above.