Skip to content
Skillpedia
● Free and open sourceπŸ’» LocalπŸ”“ No API keyAI, memory and agents

ruv-swarm

Lets your AI agent spin up swarms of small neural-network agents to split up and coordinate work.

387 stars on GitHubby ruvnetLicense MITUpdated 4 months ago

How to install

This MCP is local: it runs on your computer.

It works in apps installed on your PC (Claude Desktop, Claude Code, Cursor, VS Code…). Choose your app:

Paste in the terminal:

claude mcp add ruv-swarm -- npx -y ruv-swarm

What to fill in

NameWhat it isRequired
RUV_SWARM_LOG_LEVELLog level for ruv-swarm operationsNo
RUV_SWARM_DB_PATHDatabase path for persistence storageNo
RUV_SWARM_ENABLE_SIMDEnable WebAssembly SIMD optimizationsNo

Ready! Now test it

Restart the app and paste one of these requests in the chat:

Set up a hierarchical swarm to refactor this project.
Start a mesh swarm of agents to review my pull request.

What it is

ruv-swarm is part of the ruv-FANN project, a Rust neural network library. It orchestrates swarms of lightweight agents that run as WebAssembly on the CPU and connects to Claude Code through MCP. The readme describes five swarm topologies and seven cognitive patterns.

What it can do

  • Initialize a swarm with npx ruv-swarm@latest init --claude
  • Swarm topologies: mesh, ring, hierarchical, star and custom
  • Cognitive patterns such as convergent, divergent, lateral and systems thinking
  • Command-line tools and Docker support
  • A contribution flow with ruv-swarm contribute

When to use

  • β€ΊWhen you want to try multi-agent orchestration inside Claude Code.
  • β€ΊWhen you want CPU-only, GPU-free neural agents.
  • β€ΊWhen you want a Rust or WebAssembly based agent framework.

What you need

Node.js to run with npx ruv-swarm@latest, or Cargo to install ruv-swarm-cli. No GPU is needed.

Skills that pair well

⭐ Skillpedia MCP Β· freeYour agent finds the right skill on its ownInstall our MCP and your agent searches 15,000+ skills whenever it needs one.Install for free β†’

Frequently asked questions

Is it open source?

Yes. It is dual-licensed under Apache 2.0 and MIT.

Do I need a GPU?

No. The readme says it is CPU-native and GPU-optional.

How do I install it?

With npx ruv-swarm@latest init --claude, npm install -g ruv-swarm, or cargo install ruv-swarm-cli.

What else is in the repository?

Besides ruv-swarm, it contains ruv-FANN core, a Rust neural network library, and Neuro-Divergent, a set of forecasting models.

Are the benchmark numbers verified?

The readme publishes its own benchmark figures. Check them yourself before relying on them.

Which client does it target?

Claude Code, through its MCP integration.

If it does not work

  • β€ΊCheck that Node.js is installed so npx can run ruv-swarm.
  • β€ΊRun init --claude again inside your project folder if Claude Code does not see the server.
  • β€ΊRestart Claude Code fully after setup.

5 new skills a week. 1 minute to read.