You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
swarms/examples/multi_agent
Kye Gomez eb18d416e4
[TESTS][Fix these tests]
2 days ago
..
agent_rearrange_examples [examples][cleanup workshop examples] 3 weeks ago
asb [FEAT][Queue for AOP][NEW AOP EXAMPLES] 3 days ago
batched_grid_workflow [IMPROVEMENT][Improve HiearchicalSwarm with streaming callbacks][Add docs as well][New examples] 1 month ago
board_of_directors [FIX][Board of Directors] [CLEANUP __INITS__] [New Examples for livestream] 2 months ago
caching_examples update reasoning agent router docs 3 months ago
concurrent_examples [MIGRATION][gpt-4o to gpt-4.1] [FEATURE][AOP][Agent orchestration Protocol]++[DOCS] [Examples] 1 week ago
council [REMOVE UN-USED FILES] [Cleanup Concurrent Dashboard] [file renaming] 2 months ago
council_of_judges [REMOVE UN-USED FILES] [Cleanup Concurrent Dashboard] [file renaming] 2 months ago
election_swarm_examples [STRUCTS CLEANUP][Remove AgentRAGHandler] [ElectionSwarm][DynamicConversationSwarm][AOP][and more] 1 month ago
forest_swarm_examples [MIGRATION][gpt-4o to gpt-4.1] [FEATURE][AOP][Agent orchestration Protocol]++[DOCS] [Examples] 1 week ago
graphworkflow_examples remove-unused-params from agent.py 2 months ago
groupchat example cleanup 3 months ago
heavy_swarm_examples [TESTS][Fix these tests] 2 days ago
hiearchical_swarm [IMPROVEMENT][AOP][New tools for agent discovery and more] 1 week ago
hscf [EXAMPLES CLEANUP] [FIX][SwarmMatcher] [Remove old examples] 1 month ago
interactive_groupchat_examples [feat][interactivegroupchat][random dynamic speaker functions 3 months ago
majority_voting [MIGRATION][gpt-4o to gpt-4.1] [FEATURE][AOP][Agent orchestration Protocol]++[DOCS] [Examples] 1 week ago
mar [IMPROVEMENT][AgentRearrange][Integrate concurrent agent execution in agent rearrange through the comma type] [AgentRearrange][Docs] 3 weeks ago
moa_examples [IMPROVEMENT][AgentRearrange][Integrate concurrent agent execution in agent rearrange through the comma type] [AgentRearrange][Docs] 3 weeks ago
new_spreadsheet_new_examples example readme 2 weeks ago
new_spreadsheet_swarm_examples [feats][swarms.communication] + [docs][cleanup] + [tests][cleanup and swarms.communication] 5 months ago
orchestration_examples debate multi agent orchestration docs 2 months ago
paper_implementations [FIX][AgentLoader] [NEW DOCS][MKDOCS.yaml] 2 months ago
sequential_workflow [IMPROVEMENT][AgentLoader with markdown, csv, and other capaibilties] [fix examples] [swarms.utils.agent_loader -> MarkdownAgentLoader] [util][swarm_id] [Improve SequentialWorkflowPrompting] 1 month ago
simulations [FIX][AgentMAPSimulation] 2 days ago
swarm_router [MIGRATION][gpt-4o to gpt-4.1] [FEATURE][AOP][Agent orchestration Protocol]++[DOCS] [Examples] 1 week ago
swarmarrange [IMPROVEMENT][AgentRearrange][Integrate concurrent agent execution in agent rearrange through the comma type] [AgentRearrange][Docs] 3 weeks ago
swarms_api_examples [MIGRATION][gpt-4o to gpt-4.1] [FEATURE][AOP][Agent orchestration Protocol]++[DOCS] [Examples] 1 week ago
utils [example][uvloop] [fix aop double init] 6 days ago
README.md example readme 2 weeks ago
auto_swarm_builder_example.py cleanup 2 weeks ago
duo_agent.py [MIGRATION][gpt-4o to gpt-4.1] [FEATURE][AOP][Agent orchestration Protocol]++[DOCS] [Examples] 1 week ago
enhanced_collaboration_example.py [IMPROVE][InteractiveGroupchat][Improve the prompting so the agents acknowledge eachother + speaker functions][DOCS][Improvement] 3 months ago
sonnet_4_5_sequential.py [MIGRATION][gpt-4o to gpt-4.1] [FEATURE][AOP][Agent orchestration Protocol]++[DOCS] [Examples] 1 week ago
spreadsheet_example.py [fix][autoswarm builder] [new examples and fix liutelln wrapper and tools issue] 2 weeks ago
uvloop_example.py [FEAT][Queue for AOP][NEW AOP EXAMPLES] 3 days ago

README.md

Multi-Agent Examples

This directory contains comprehensive examples demonstrating various multi-agent patterns and workflows in Swarms.

Agent Rearrangement

Auto Swarm Builder (ASB)

Batched Grid Workflow

Board of Directors

Caching Examples

Concurrent Examples

Council of Judges

Debate Examples

Election Swarm

Forest Swarm

Graph Workflow

Group Chat

Heavy Swarm

Hierarchical Swarm

Interactive Group Chat

Majority Voting

MAR (Multi-Agent Reinforcement)

  • mar/ - Multi-agent reinforcement learning examples

MOA Examples

Spreadsheet Examples

Orchestration

Paper Implementations

Sequential Workflow

Simulations

Swarm Router

Swarm Arrange

Swarms API

Utils

  • utils/ - Utility functions and helpers

Additional Files