Skip to content
FossShelf
Home / Categories / For AI Engineers

AutoSwarm

Coordinate multiple AI agents as one unified team

Replaces Crewai

2.59K starsMITlast commit 15 Nov 2026

Who it's for

Long-horizon software projects

An engineering team uses AutoSwarm to assign research, implementation, and review subtasks to Codex, Claude Code, and Cursor simultaneously, letting each agent work in its strongest domain while a shared state keeps them coordinated toward a single deliverable.

Your task fits within a single agent's context window without needing specialization.

Parallel document or data analysis

A researcher points AutoSwarm at a large corpus and asks it to summarize key approaches and disagreements. AutoSwarm distributes documents across available agents in parallel and synthesizes a single coherent report.

Your analysis corpus is small enough for one agent to handle in a single session.

Professional financial analysis

A financial analyst uses AutoSwarm for multi-step financial modeling tasks that combine quantitative reasoning, document parsing, and structured report generation across agents with different strengths in each area.

Interactive planning across tool ecosystems

A product team uses AutoSwarm to coordinate agents connected to different data sources and planning tools, avoiding the manual work of shuttling context between separate agent sessions.

Your planning workflow lives entirely within one tool's ecosystem.

The problem

Different AI coding and task agents have incompatible contexts, tools, and workflows. Distributing work across agents does not automatically produce complementary contributions, and inter-agent dependencies can turn a single local error into full task failure. Users are forced to manually switch interfaces, repeat context, coordinate subtasks, and merge results themselves.

How it works

Collaboration formation

Before execution begins, AutoSwarm jointly defines each agent's responsibility boundaries and the conditions under which its output can be accepted and used downstream. This grounds capability allocation in contributions that other agents can actually assess and integrate, rather than arbitrarily splitting work.

Shared-state execution coordination

Agents' local progress is coupled through a shared state. Dependencies and supervisory relationships govern when each agent activates, how results are handed off, and how subsequent actions adapt when review feedback or emerging blockers arrive.

Parallel task execution

AutoSwarm runs independent subtasks across multiple agents simultaneously rather than sequentially, reducing wall-clock time on tasks that can be decomposed across specialized agents.

Broad agent compatibility

AutoSwarm supports Codex, Claude Code, OpenCode, Cursor, GitHub Copilot CLI, Meta Muse Code, CodeBuddy, Hermes, Nanobot, DeepSeek Harness, and Grok Build as collaborators, with additional integrations on the roadmap.

Lightweight plugin installation

Setup installs a single skill or plugin on the agent you already use as your entry point. AutoSwarm discovers which collaborators are locally available, reuses existing credentials and project context, and requires no separate orchestration server.

Cross-platform support

AutoSwarm runs on Windows, macOS, and Linux and is accessible through desktop apps, command-line interfaces, IDE extensions, and skill-enabled agent environments.

Features

  • Collaboration formation
  • Shared-state execution coordination
  • Parallel task execution
  • Broad agent compatibility
  • Lightweight plugin installation
  • Cross-platform support

How to install

git clone https://github.com/HKUDS/AutoSwarm.git cd AutoSwarm uv tool install --force . autoswarm setup --host claude-code

Recommended for this setup

Strengths

  • Grounded capability allocation: Collaboration formation defines what each agent is responsible for before work starts, which avoids the failure mode where agents produce outputs that cannot be integrated by downstream agents.
  • Adaptive error recovery: Execution coordination lets AutoSwarm adapt subsequent actions when reviewers surface problems or blockers emerge mid-task, rather than propagating local errors into task-wide failure.
  • No new interface to learn: Because AutoSwarm installs as a skill inside an agent you already use, you give it tasks in the same way you already work. There is no separate dashboard or orchestration UI required.
  • Research-backed design: The framework is grounded in a peer-reviewed paper (arXiv:2610.33048) with experimental results across long-horizon programming, interactive planning, and professional financial analysis tasks.

Trade-offs

  • Requires multiple agent CLIs to be locally installed: AutoSwarm can only coordinate agents whose CLIs are already present and verified on the local machine. The host agent must support skills and local command execution; collaborators need compatible local CLIs.
  • Verification probes spend model calls: The `autoswarm doctor --probe` verification step sends actual model calls to confirm that each collaborator can reply and resume natively. This costs tokens and time during setup and diagnostics.
  • Early-stage project with an evolving roadmap: The roadmap explicitly lists expanding integrations, improving coordination, and enhancing reliability as pending work. Users adopting AutoSwarm now should expect ongoing changes to the installation and configuration surface.

Tech stack

Languages
Python, TypeScript, JavaScript, CSS, HTML, Shell
Frameworks
React
Databases
—
Tooling
—

FAQ

How do I install AutoSwarm?

Clone the repository, install the package with `uv tool install --force .`, then run `autoswarm setup --host <your-host-agent-id>`. Supported host IDs include `claude-code`, `codex`, `opencode`, `cursor`, `copilot`, `muse`, `codebuddy`, `hermes`, `nanobot`, `dsh`, and `grok`. If uv is unavailable, install with a dedicated Python 3.10+ environment using `python -m pip install .`.

Does AutoSwarm require a separate server or cloud service?

No. AutoSwarm installs as a lightweight skill or plugin inside the agent you already use as your entry point and coordinates collaborators through local CLIs. There is no separate orchestration server required.

Which agents can AutoSwarm coordinate?

Current collaborators include Codex, Claude Code, OpenCode, Cursor, GitHub Copilot CLI, Meta Muse Code, CodeBuddy, Hermes, Nanobot, DeepSeek Harness, and Grok Build. The roadmap lists additional agent integrations as planned work.

How does AutoSwarm prevent errors in one agent from failing the whole task?

Execution coordination couples agents through a shared state and uses supervisory relationships to adapt subsequent actions when review feedback arrives or blockers emerge. Rather than a single agent's error cascading silently, the framework surfaces it and adjusts the remaining work accordingly.

What is the difference between collaboration formation and execution coordination?

Collaboration formation happens before execution: it defines each agent's responsibility scope and the acceptance conditions for its output. Execution coordination is the runtime layer that activates agents in dependency order, manages result handoffs, and integrates review feedback as the task progresses.

Similar tools

More in AI Engineers