swarm  by parruda

Orchestrate Claude Code agents as a collaborative AI development team

Created 5 months ago
1,437 stars

Top 28.4% on SourcePulse

GitHubView on GitHub
Project Summary

This project provides a framework for orchestrating multiple Claude Code instances as a collaborative AI development team, enabling specialized agents with distinct roles, tools, and directory contexts. It's designed for developers and researchers tackling complex projects who need to delegate tasks across a hierarchy of AI agents, improving efficiency and specialization.

How It Works

Claude Swarm utilizes a YAML configuration to define swarm topologies, specifying instance roles, models, directories, and inter-instance connections. Communication between instances is managed via the Model Context Protocol (MCP), allowing agents to delegate tasks and share information. The system launches a main instance that coordinates other connected agents, each operating within its defined context and toolset.

Quick Start & Requirements

  • Install: gem install claude_swarm or add to Gemfile and run bundle install.
  • Prerequisites: Ruby 3.2.0+, Claude CLI installed and configured.
  • Usage: Initialize with claude-swarm init or claude-swarm generate, then launch with claude-swarm.

Highlighted Details

  • Supports multi-level swarm hierarchies for complex team structures.
  • Allows mixing Claude and OpenAI providers within a single swarm.
  • Features experimental session management and restoration capabilities.
  • Includes Git worktree integration for isolated development environments.

Maintenance & Community

Licensing & Compatibility

  • Licensed under the MIT License.
  • Compatible with commercial use and closed-source linking.

Limitations & Caveats

The session restoration feature is experimental and may not fully restore the main instance's conversation context.

Health Check
Last Commit

17 hours ago

Responsiveness

1 day

Pull Requests (30d)
21
Issues (30d)
8
Star History
170 stars in the last 30 days

Explore Similar Projects

Starred by Andrew Ng Andrew Ng(Founder of DeepLearning.AI; Cofounder of Coursera; Professor at Stanford), Thomas Wolf Thomas Wolf(Cofounder of Hugging Face), and
4 more.

ag2 by ag2ai

1.1%
4k
AgentOS for building AI agents and facilitating multi-agent cooperation
Created 11 months ago
Updated 10 hours ago
Starred by Elie Bursztein Elie Bursztein(Cybersecurity Lead at Google DeepMind), Chip Huyen Chip Huyen(Author of "AI Engineering", "Designing Machine Learning Systems"), and
7 more.

SuperAGI by TransformerOptimus

0.1%
17k
Open-source framework for autonomous AI agent development
Created 2 years ago
Updated 9 months ago
Feedback? Help us improve.