claude-flow
Coordinates swarms of AI agents and orchestrates multi step automated development workflows and task pipelines.
Claude Code
> /plugin marketplace add spencermarx/open-code-review> /plugin install ocr@aclarify
Codex
$ codex mcp add claude-flow --env npm_config_update_notifier=YOUR_VALUE --env CLAUDE_FLOW_MODE=YOUR_VALUE --env CLAUDE_FLOW_HOOKS_ENABLED=YOUR_VALUE --env CLAUDE_FLOW_TOPOLOGY=YOUR_VALUE --env CLAUDE_FLOW_MAX_AGENTS=YOUR_VALUE --env CLAUDE_FLOW_MEMORY_BACKEND=YOUR_VALUE -- npx -y ruflo@latest mcp start
Cursor
{ "mcpServers": { "claude-flow": { "command": "npx", "args": [ "-y", "ruflo@latest", "mcp", "start" ], "env": { "npm_config_update_notifier": "YOUR_VALUE", "CLAUDE_FLOW_MODE": "YOUR_VALUE", "CLAUDE_FLOW_HOOKS_ENABLED": "YOUR_VALUE", "CLAUDE_FLOW_TOPOLOGY": "YOUR_VALUE", "CLAUDE_FLOW_MAX_AGENTS": "YOUR_VALUE", "CLAUDE_FLOW_MEMORY_BACKEND": "YOUR_VALUE" } } } }
Add it to mcp.json.
Gemini CLI
{ "mcpServers": { "claude-flow": { "command": "npx", "args": [ "-y", "ruflo@latest", "mcp", "start" ], "env": { "npm_config_update_notifier": "YOUR_VALUE", "CLAUDE_FLOW_MODE": "YOUR_VALUE", "CLAUDE_FLOW_HOOKS_ENABLED": "YOUR_VALUE", "CLAUDE_FLOW_TOPOLOGY": "YOUR_VALUE", "CLAUDE_FLOW_MAX_AGENTS": "YOUR_VALUE", "CLAUDE_FLOW_MEMORY_BACKEND": "YOUR_VALUE" } } } }
Add it to settings.json.
GitHub Copilot
$ copilot mcp add claude-flow --env npm_config_update_notifier=YOUR_VALUE --env CLAUDE_FLOW_MODE=YOUR_VALUE --env CLAUDE_FLOW_HOOKS_ENABLED=YOUR_VALUE --env CLAUDE_FLOW_TOPOLOGY=YOUR_VALUE --env CLAUDE_FLOW_MAX_AGENTS=YOUR_VALUE --env CLAUDE_FLOW_MEMORY_BACKEND=YOUR_VALUE -- npx -y ruflo@latest mcp start
OpenCode
{ "mcp": { "claude-flow": { "type": "local", "command": [ "npx", "-y", "ruflo@latest", "mcp", "start" ], "environment": { "npm_config_update_notifier": "YOUR_VALUE", "CLAUDE_FLOW_MODE": "YOUR_VALUE", "CLAUDE_FLOW_HOOKS_ENABLED": "YOUR_VALUE", "CLAUDE_FLOW_TOPOLOGY": "YOUR_VALUE", "CLAUDE_FLOW_MAX_AGENTS": "YOUR_VALUE", "CLAUDE_FLOW_MEMORY_BACKEND": "YOUR_VALUE" } } } }
Add it to opencode.json.
Windsurf
{ "mcpServers": { "claude-flow": { "command": "npx", "args": [ "-y", "ruflo@latest", "mcp", "start" ], "env": { "npm_config_update_notifier": "YOUR_VALUE", "CLAUDE_FLOW_MODE": "YOUR_VALUE", "CLAUDE_FLOW_HOOKS_ENABLED": "YOUR_VALUE", "CLAUDE_FLOW_TOPOLOGY": "YOUR_VALUE", "CLAUDE_FLOW_MAX_AGENTS": "YOUR_VALUE", "CLAUDE_FLOW_MEMORY_BACKEND": "YOUR_VALUE" } } } }
Add it to mcp_config.json.
Security report
Low risk
Known flaws
None known
Signed build
No
No build provenance published
Maintained
Nov 1, 2026
Last push
Licence
Apache-2.0
Runs as
npx
On your machine
Deprecated
No
Signals from public registries, not an audit. Checked Nov 11, 2026.
claude-flow README
An agent meta-harness for Claude Code and Codex.
Get started in one command
Run this in your project folder:
npx ruflo@latest init
Then open Claude Code in the same folder and give it a real task, for example:
Use a ruflo swarm to review this repo: find the riskiest module, write tests for it, and summarise what you changed.
init adds ruflo's agents, hooks, memory and MCP server to the project, and Claude Code picks them up on its next start. Codex and other MCP clients work too: point them at npx -y ruflo@latest mcp start.

First useful task, step by step · User guide · Compare install paths
Other ways to install (Claude Code plugins only, MCP-only clients, terminal UI)
Claude Code plugins only. This route installs core tools, the visual console and runtime mods, with no files added to your project. It needs Claude Code 2.1.287 or later. Run inside Claude Code:
/plugin marketplace add ruvnet/ruflo
/plugin install ruflo-core@ruflo
/plugin install ruflo-console@ruflo
/plugin install ruflo-mods@ruflo
/reload-plugins
/ruflo
From a terminal, on Claude Code 2.1.292 or later: claude plugin install ruflo-core@ruflo --marketplace ruvnet/ruflo. Mods run with your account's permissions, so review their code before installing.
Codex or another MCP client, without project setup. Configure the command npx with the arguments ["-y", "ruflo@latest", "mcp", "start"]. To set up a project interactively, run npx ruflo@latest init wizard.
Plain terminal. The console also runs on its own, without Claude Code: npx ruflo tui. Add --plain to print one frame for scripts. See the terminal UI guide.
Optional: ruOS Desktop
Connect ruOS to ChatGPT or Claude via MCP:
https://ruos.cognitum.one/mcp
npx ruvector
Ruflo
📖 RuFlo Explained — Build an AI Team That Plans, Remembers, Tests, and Improves A 14-chapter guide: from the basic idea to a first useful task, then memory, agent teams, plugins, cost and verification.
Agent = Model + Harness. The model writes; the harness gives it tools, memory, loops, sandboxes, and controls so it can actually work. Ruflo is the harness — the execution layer around Claude Code and Codex that adds 100+ specialized agents, coordinated swarms, self-learning memory, federated comms across machines, and enterprise security guardrails. So agents don't just run, they collaborate.
One npx ruflo init gives Claude Code a nervous system: agents self-organize into swarms, learn from every task, remember across sessions, and — with federation — securely talk to agents on other machines without leaking data. You keep writing code. Ruflo handles the coordination.
Conceptual learning loop. Local vector retrieval and contrastive updates can run without an LLM; embeddings and configured learning modules are still required. See the RuVector training integration and trajectory contrastive learning.
Architecture in text
User → Ruflo (CLI/MCP) → Router → Swarm → Agents → Memory → LLM providers. Memory feeds useful experience back into routing. This is a conceptual flow, not a live execution trace.
New to Ruflo? You don't need to learn 406 MCP tools or 61 CLI commands. After
init, just use Claude Code normally — the hooks system automatically routes tasks, learns from successful patterns, and coordinates agents in the background.
An origin you can inspect
Built by Reuven Cohen (rUv), originally as Claude Flow. The first commit, June 2, 2025, describes a code orchestration layer for recursive agent cycles: Claude writes, edits, tests and improves. The June 10 source snapshot adds orchestration, task scheduling, memory and terminal modules.
A harness is the workbench around the model: it organizes tasks, carries context between steps and helps check results. This establishes Ruflo's lineage, not a universal first across every Claude Code tool. See the illustrated explainer, exact commits and earlier ecosystem context.
Grok Build: npx ruflo init --grok writes the project host surface (.grok/, the team bus, and the operator guide) and nothing outside the project; add --dry-run to preview. Setup, the spawn_subagent contract, the optional status row, and what to re-check when Grok updates: the Grok operator guide.
📖 Background — where the name comes from
Claude Flow is now Ruflo — named by
rUv, who loves Rust, flow states, and building things that feel inevitable. The "Ru" is the rUv. The "flo" is working until 3am. Underneath, powered byCognitum.Oneagentic architecture, running a supercharged Rust-based AI engine, embeddings, memory, and plugin system.
Open animated demo · Theme Studio guide · Workflow demo
Your agent cockpit. Track workflows, agents, models, tokens and cost beside Claude Code. The 38 second animation shows Orbital and Theme Studio through actual renderer frames, including boot checks, six palettes, customization, saved themes, JSON import and resizing. This compact 3.84 MB SVG retains all 456 frames. Native host and AI provider execution are not demonstrated.
Inspect any run. Open agent logs and results, search, triage failures, replay and compare. Start with
npx ruflo init, restart Claude Code, then /ruflo. Full console tour.
Let Claude drive. You set the limits. Enable Settings → Claude control to navigate and run console actions. Choose
read, write, manage or full, with ask or auto approval. The current default is read + ask; raising the level is your choice. Actions above your permission level are refused, and network, spending and destructive actions require confirmation even in auto. Review the live action log or press Take back control to stop Claude control. Details.
One task: create a mission with Claude
Watch the recorded console session below. Claude creates a mission, opens the Learning and Security pages, and reports its actions in Overview.
- Set the boundary. Install the console using the commands below, open
/ruflo, then choose Settings → Claude control → write + ask.
AI-powered multi-agent code review. Simulates a customizable team of Engineers performing code review with built-in discourse.
More MCP servers from other plugins.
Questions about claude-flow.
- Which coding agents can use claude-flow?
- claude-flow works in any agent that reads an MCP config file: Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, OpenCode and Windsurf. Each agent reads it from its own file; this page names the file for each one.
- How do I add claude-flow to Claude Code?
- Run these in order, one at a time. 1. In Claude Code: /plugin marketplace add spencermarx/open-code-review 2. In Claude Code: /plugin install ocr@aclarify
- Is claude-flow safe to install?
- Low risk. Signals from public registries, not an audit.



