# Swarm Orchestration

> Swarm Orchestration is an open-source agent skill for developer tools. Coordinates multiple AI agents in parallel, pipelined or adaptive topologies. It is available on Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose.

- **Kind:** Skill
- **Pricing:** Open source
- **Platforms:** Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf, Goose
- **Website:** https://github.com/ruvnet/RuView/tree/main/.claude/skills/swarm-orchestration
- **Repository:** https://github.com/ruvnet/ruview
- **GitHub stars:** 106,018
- **License:** MIT
- **Skill name:** Swarm Orchestration
- **Collection:** https://github.com/ruvnet/RuView
- **Categories:** [developer tools](https://ai-powered.com/categories/developer-tools)
- **Listing updated:** 2026-12-03

## About

This skill guides an agent through orchestrating a group of cooperating agents using the agentic-flow toolkit. It describes mesh, hierarchical and adaptive topologies, where peers share decisions, a central queen directs specialized workers, or the swarm picks a layout based on task complexity.

The instructions cover running tasks in parallel or as dependent pipeline stages, sharing state through a swarm memory store, and enabling load balancing, retries with exponential backoff and task reassignment on failure. It also shows how to track throughput, latency and success rate, and how to wire agentic-flow hooks for pre-task, post-task and session-restore coordination.

The skill expects Node.js 18 or newer and agentic-flow v3.0.0-alpha.1 or later. It ships only a single SKILL.md with no bundled scripts, so the commands and TypeScript APIs it shows are run against that toolkit.

## When your agent uses it

> Orchestrate multi-agent swarms with agentic-flow for parallel task execution, dynamic topology, and intelligent coordination. Use when scaling beyond single agents, implementing complex workflows, or building distributed AI systems.

## What it can access

From a static check of the files on GitHub; nothing was run.

- [Instructions only, no scripts](https://github.com/ruvnet/RuView/tree/HEAD/.claude/skills/swarm-orchestration)
- [License: MIT](https://github.com/ruvnet/RuView/tree/HEAD/.claude/skills/swarm-orchestration)

## Features

- **Swarm topology selection:** Explains mesh, hierarchical and adaptive layouts and when each fits a task.
- **Parallel and pipeline execution:** Shows how to run agents concurrently or in ordered stages with dependencies.
- **Shared swarm memory:** Describes storing and retrieving state that agents in the swarm can read.
- **Load balancing setup:** Covers enabling dynamic work distribution based on CPU, memory and queue metrics.
- **Failure handling:** Outlines retry with backoff and reassigning tasks when an agent fails.
- **Hook-based coordination:** Lists agentic-flow hook commands for pre-task, post-task and session restore.

## Good for

- Split a REST API build into coder, tester and reviewer agents working in parallel
- Run a design, implement, test and review pipeline across several agents
- Coordinate a hierarchical team of backend, frontend and database agents under one architect
- Track throughput and success rate across a multi-agent workflow
- Resume a swarm session from a saved session identifier

## Install

### Claude Code

Copy the skill folder to `~/.claude/skills/swarm-orchestration` to use it in all your projects:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/ruvnet/RuView.git "$tmp" &&
mkdir -p ~/.claude/skills &&
rm -rf ~/.claude/skills/swarm-orchestration &&
cp -R "$tmp/.claude/skills/swarm-orchestration" ~/.claude/skills/swarm-orchestration &&
rm -rf "$tmp"
```

For one project only, put the folder in `.claude/skills/swarm-orchestration` inside it instead.

### Codex

Copy the skill folder to `~/.agents/skills/swarm-orchestration` to use it in every repository:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/ruvnet/RuView.git "$tmp" &&
mkdir -p ~/.agents/skills &&
rm -rf ~/.agents/skills/swarm-orchestration &&
cp -R "$tmp/.claude/skills/swarm-orchestration" ~/.agents/skills/swarm-orchestration &&
rm -rf "$tmp"
```

For one repository only, put the folder in `.agents/skills/swarm-orchestration` inside it instead.

### Cursor

Copy the skill folder to `~/.cursor/skills/swarm-orchestration` to use it in every project:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/ruvnet/RuView.git "$tmp" &&
mkdir -p ~/.cursor/skills &&
rm -rf ~/.cursor/skills/swarm-orchestration &&
cp -R "$tmp/.claude/skills/swarm-orchestration" ~/.cursor/skills/swarm-orchestration &&
rm -rf "$tmp"
```

For one project only, put the folder in `.cursor/skills/swarm-orchestration` inside it instead.

### Gemini CLI

Run in a terminal (add `--scope workspace` to install it for the current workspace only):

```sh
gemini skills install https://github.com/ruvnet/RuView.git --path .claude/skills/swarm-orchestration
```

Or copy the folder to `~/.gemini/skills/swarm-orchestration` yourself.

### VS Code

For GitHub Copilot in VS Code, copy the skill folder to `~/.copilot/skills/swarm-orchestration`:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/ruvnet/RuView.git "$tmp" &&
mkdir -p ~/.copilot/skills &&
rm -rf ~/.copilot/skills/swarm-orchestration &&
cp -R "$tmp/.claude/skills/swarm-orchestration" ~/.copilot/skills/swarm-orchestration &&
rm -rf "$tmp"
```

For one project only, put the folder in `.github/skills/swarm-orchestration` inside it instead.

### Other agents

Get the folder:

```sh
git clone --depth 1 https://github.com/ruvnet/RuView.git
```

Then copy `RuView/.claude/skills/swarm-orchestration` into your agent's skills folder as `swarm-orchestration`. Agents that support SKILL.md read one folder per skill.

## FAQ

### What does Swarm Orchestration need installed?

Node.js 18 or newer and agentic-flow v3.0.0-alpha.1 or later are listed as prerequisites.

### When should the agent use Swarm Orchestration?

The skill is meant for scaling beyond a single agent, complex multi-step workflows, or building distributed AI systems.

### Does the skill include scripts or extra files?

No. The folder contains only the SKILL.md file, and no scripts are bundled.

### Which topologies does Swarm Orchestration support?

Mesh (peer-to-peer), hierarchical (queen and workers) and adaptive, which switches topology based on the task.

### How do I install Swarm Orchestration in Claude Code?

Copy the skill folder from GitHub to ~/.claude/skills/swarm-orchestration to use it in all your projects, or to .claude/skills/swarm-orchestration in one project.

### Does Swarm Orchestration run scripts?

No. It is instructions only, with no scripts. This comes from a static check of the files on GitHub; nothing was run. Read the files before you install it.

### Which AI agents can use Swarm Orchestration?

Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose. Each reads skills in the SKILL.md format from its own folder; the install steps on this page list them.

### What are the best alternatives to Swarm Orchestration?

The closest alternatives to Swarm Orchestration are V3 Swarm Coordination, Orchestration, V3 Deep Integration, Swarm and Orchestrate.

## Where this comes from

- Description: from the skill's own SKILL.md.

## Alternatives

- [V3 Swarm Coordination](https://ai-powered.com/skills/v3-swarm-coordination): V3 Swarm Coordination is an open-source agent skill for developer tools.
- [Orchestration](https://ai-powered.com/skills/orchestration-xiaolai): Orchestration is an open-source agent skill for developer tools.
- [V3 Deep Integration](https://ai-powered.com/skills/v3-deep-integration): V3 Deep Integration is an open-source agent skill for developer tools.
- [Swarm](https://ai-powered.com/skills/swarm-michael-denyer): Swarm is an open-source agent skill for developer tools.
- [Orchestrate](https://ai-powered.com/skills/orchestrate): Orchestrate is an open-source agent skill for developer tools.
- [Team execution](https://ai-powered.com/skills/team-execution): Team execution is an open-source agent skill for developer tools.
- [Dmux workflows](https://ai-powered.com/skills/dmux-workflows): Dmux workflows is an open-source agent skill for developer tools.
- [Agent Collaboration & Parallelism](https://ai-powered.com/skills/agent-collaboration-parallelism): Agent Collaboration & Parallelism is an open-source agent skill for developer tools.

---
Source: https://ai-powered.com/skills/swarm-orchestration-ruvnet
