Ruflo (Claude Flow)
Lets your AI agent coordinate swarms of specialized agents with shared memory and routing inside Claude Code or Codex.
81k stars on GitHubby Reuven Cohen (rUv)License MITUpdated 18 days 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 claude-flow -- npx -y claude-flow
What to fill in
| Name | What it is | Required |
|---|---|---|
ANTHROPIC_API_KEY | Anthropic API key for Claude AI models | No |
CLAUDE_FLOW_MODE | Operation mode: development, production, or test | No |
CLAUDE_FLOW_MEMORY_PATH | Path for persistent memory storage | No |
CLAUDE_FLOW_MAX_AGENTS | Maximum number of concurrent agents | No |
CLAUDE_FLOW_PORT | MCP server port | No |
GITHUB_TOKEN | GitHub personal access token for repository operations | No |
FLOW_NEXUS_API_KEY | Flow Nexus cloud platform API key | No |
Ready! Now test it
Restart the app and paste one of these requests in the chat:
Create a mission to add a dark mode toggle and show me its status.
Spawn a swarm to review this repository and report back.
What it is
Ruflo, formerly Claude Flow, is a harness around Claude Code and Codex. It adds many specialized agents, coordinated swarms and memory that persists across sessions. Its MCP server exposes these tools to your client.
What it can do
- Swarm setup and agent spawning
- Memory storage across sessions
- Task routing through hooks
- A console to track agents, models, tokens and cost
- Federation between agents on other machines
- Plugins for core, swarm and RAG memory
When to use
- βΊWhen you want several agents to split up and work on a large coding task.
- βΊWhen you want your agent to remember results from earlier sessions.
- βΊWhen you want to track cost and agent activity in one console.
What you need
Skills that pair well
MCP or skill?
The MCP gives the agent the hands. The skill teaches the right way to use them. Together, the result is better and uses fewer tokens.
rufloIntroduces your agent to Ruflo, a tool that coordinates teams of AI coding agents, shares memory and manages routing.coordinate-ruflo-swarmHelps your agent check on a Ruflo swarm, read its updates and pick the safest next steps before any work is changed.flow-nexus-swarmGuides your agent to start a team of AI agents on Flow Nexus, coordinate their work and run automated workflows.Frequently asked questions
How do I set up the MCP server?
Use command npx with arguments -y ruflo@latest mcp start, or run npx ruflo@latest init wizard in your project.
Is it free and open source?
The repository shows an MIT license badge.
What is the difference between the plugin and the CLI install?
The plugin adds slash commands and agents with no workspace files. The CLI install adds the full setup with agents, commands, skills, hooks and the MCP server.
Which clients does it work with?
Claude Code and Codex are the main targets. Other MCP clients can connect, but hook support depends on the client.
Are mods safe?
The README warns that mods run with your account's permissions and are not sandboxed, so read their code first.
Can Claude control the console?
Yes, if you enable it in settings. The default is read plus ask, and risky actions need confirmation.
If it does not work
- βΊRestart Claude Code and run /reload-plugins after installing plugins.
- βΊCheck that Claude Code is version 2.1.287 or later for plugins and mods.
- βΊRun npx ruflo@latest init wizard again if the project setup looks incomplete.
5 new skills a week. 1 minute to read.