init 会向项目写入 .claude/、.claude-flow/、CLAUDE.md 等文件,不想改动工作区就改用插件路径;插件路径需要 Claude Code 2.1.287 或更高版本,且只有 ruflo-core 自带 MCP server;Codex 等 MCP 客户端需手动配置命令 npx、参数 [-y, ruflo@latest, mcp, start]
ruflo
ruvnetMIT活跃维护多智能体编排框架,支持部署多人协作的智能体集群、协调自主工作流,并内置自适应记忆、向量 RAG 与 Claude Code 等编码代理的原生集成。
🌊 The original agent harness. Deploy intelligent multi-player swarms, coordinate autonomous workflows, and build conversational AI systems. Features adaptive memory, self-learning intelligence, federation, vector RAG integration, and native Claude Code / Codex / Hermes and many more Integrated
给 Claude Code 和 Codex 加一层 agent 执行框架,让多个 agent 组队协作、跨会话记忆并自我学习
多智能体编排框架,支持部署多人协作的智能体集群、协调自主工作流,并内置自适应记忆、向量 RAG 与 Claude Code 等编码代理的原生集成。
核心能力
- 一条 npx ruflo init 注入 agents、hooks、memory 与 MCP server
- 把多个 agent 组织成 swarm 协同完成复杂任务
- 跨会话持久记忆,并从历史任务结果中学习
- 支持多机 federation,agent 之间安全通信
- 提供 48 个插件,覆盖 RAG 记忆、知识图谱、自治循环等
容易踩的坑
- v3.74.1v3.74.1 — @metaharness/darwin in-process (ADR-526), zod 4 security, PageRank最新正式版2026-11-09 · 2026-11-09 06:55 UTC
Use 3.74.1, not 3.74.0. The
@claude-flow/[email protected]tarball shipped stale.claude/helpersfiles (3.63.4 content), and[email protected]depends on that exact version. 3.74.1 ships the helpers from main. The publish script now refuses to publish if the helpers differ from the commit (#4900).@metaharness/darwin is built in (ADR-526, #4898)
@metaharness/darwinis now a regular dependency of@claude-flow/cli. Before, it was optional. ADR-526 amends ADR-150 rule 2 for darwin only.- In-process calls:
metaharness_bench --op verifyand all fourmetaharness_gepaops (genome, validate, render, analyze) now run inside the MCP server on a cached darwin module. Before, each call spawned a script, andbenchspawned a second process for the darwin CLI. If darwin can't be loaded, the tools fall back to the scripts. - ruflo-metaharness 0.5.0:
bench.mjsverify imports darwin directly and never installs anything when a tool runs.
Measured, Node 22, median of 20 runs:
Operation Subprocess In-process, first call In-process, later calls gepa validate 21.4 ms 2.9 ms 0.03 ms gepa render 21.9 ms 0.3 ms 0.02 ms bench verify 59.7 ms 40.0 ms 0.05 ms The first call pays the one-time darwin import. The gain comes from no longer spawning a process, not from faster darwin code.
Also in this release
- Security (#4895):
@claude-flow/security3.0.7 migrates input validation to zod ^4.6.7 (GHSA-mrhx-c7xc-m3w5).cli-core3.7.6 accepts zod 4'sinvalid_valueerror for custom agent types. - PageRank (#4899):
@claude-flow/memory3.2.6 and@claude-flow/plugins3.0.3 use the new PageRank implementation for memory-graph and GNN ranking. - Release safety (#4900):
prepare-publish.mjscompares.claude/helperswith HEAD before signing and again at the end.
- v3.73.0v3.73.0 — init ends with your project, opt-in activation telemetry, Node 20 keeps ruvector2026-11-09 · 2026-11-09 01:30 UTC
查看更新说明
Faster first five minutes
initends with your project, not a list of commands (#4871, #4875). It prints a quick local snapshot: tracked files, top languages, the most-changed file in the last 90 days, and your test command. Then it gives one prompt to paste into Claude Code about that file. The snapshot uses git only, with no network calls and a 2-second cap, and it never failsinit.- README: one recommended install path at the top (
npx ruflo@latest init), plus a 30-second console tour (#4869). There's also a Chinese quick start and a sourced comparison page with CrewAI, LangGraph, AutoGen and Claude Code subagents (#4873, https://ruvnet.github.io/ruflo/compare.html).
Telemetry: opt-outs honored, opt-in activation events
- Opt-outs now stop the message fetch.
ruflo funnel disableand every other opt-out now stop the background messages fetch, not only the promo row (#4860). The fetch's User-Agent carries only the release and OS family. Seedocs/privacy/funnel-legitimate-interest-assessment.md. - Opt-in activation events (#4870):
init_completed,first_agent_runandsession_activeare sent only with an explicitruflo funnel telemetry onconsent.initasks once, defaulting to No. Skip the question with--no-telemetry-prompt. - Plugin-only users can be counted (#4872). When the ruflo-core plugin starts the MCP server, the existing 6-hourly fetch is tagged
surface/plugin, with the same opt-outs.
Fixes and hardening
- transfer: Ed25519 signatures for pattern-store publish and download.
- healthcare-clinical: audit entries store a SHA-256 query fingerprint.
- browser: the postinstall step installs the pinned agent-browser range.
- deps: open ranges capped in plugins and performance; marketplace agentic-flow 3.4.0; federation midstreamer ^0.3.2; aidefence agentdb ^3.6.0 (#4858, #4868).
- ruflo/server.json and
mcpNameprepare theio.github.ruvnet/rufloMCP registry listing (#4874).
Upstream
@ruvector/[email protected](engines>=20) fixes npm 10 / Node 20 dropping the ruvector subtree from fresh installs.- Node 20 keeps ruvector.
agentic-flowis now a regular dependency of@claude-flow/cli. On npm 10 / Node 20, an optionalpipenet(engines >=22, reached via agentic-flow → fastmcp → mcp-proxy) made npm drop ruvector, agentic-flow,@ruvector/attentionand transformers from fresh installs. This affected 3.72.2 as well. Verified with freshnpm install [email protected]on node:20 and node:22. - Bundled
plugin-agent-federation1.0.7 excludes agentic-flow ≤2.0.13 (GHSA-vcv2-r9jh-99m5) from its peer range (#4890). - init keeps the ADR-150
metaharness scoretip under the project snapshot.
Install:
npx ruflo@latest init.latestis 3.73.0 forruflo,claude-flowand@claude-flow/cli. - v3.72.2v3.72.2 — @ruvector/attention security fix (ruvector 0.3.13), neural 3.0.3 / sona 0.1.112026-11-06 · 2026-11-06 14:13 UTC
查看更新说明
Security dependency fix
-
@ruvector/attention2.2.3.claude-flow3.72.1 declared@ruvector/attention ^0.1.3, andruvector0.3.12 also depended on^0.1.3. Both resolved to 0.1.32, which lacks the upstream fix (RuVector #1365): input-length validation, and catching Rust panics at the NAPI boundary so they don't abort Node.- 3.72.2 moves to
ruvector ^0.3.13, which depends onattention ^2.2.3, in the CLI,claude-flowandruflo.claude-flowalso declaresattention ^2.2.3directly. - Every attention call ruflo makes (Flash, MoE, Hyperbolic, AdamW, InfoNCE, Curriculum,
compute) was checked on 0.1.32 and 2.2.3. The results match.
-
@ruvector/sona0.1.11.@claude-flow/neural3.0.3 (published standalone) pins@ruvector/sona0.1.11, up from 0.1.5. On 0.1.5:- a wrong-length input to
applyMicroLorapanicked in Rust and aborted Node (exit 134); findPatternsreturned 0 patterns after training.
On 0.1.11 the bad input throws a catchable error, and learning returns patterns.
- a wrong-length input to
Fixes
-
neural benchmark: the attention benchmark now runs. It never had:import()of the CommonJS package put its classes ondefault;- it called
computeRaw(), which no release has, instead ofcompute().
-
Plugins (#4842), shipped through the marketplace:
ruflo-ruvector0.4.0,ruflo-browser0.3.8,ruflo-console0.49.12 andruflo-agentdb0.4.12 move to ruvector 0.3.12.- The browser recording recipes used
trajectory-*flags that no ruvector release accepts. They are fixed. - The CLI's browser-session npx fallback pins
[email protected].
-
claude-flownow lists@ruvector/attentionas a regular dependency. On npm 10 / Node 20,@ruvector/ruvllm-gpu-loop(requires node >=22) fails as an optional install, and npm then drops ruvllm, ruvector and every package reached only through optional edges. The patched attention is now always installed.
Verification
A fresh
npm install [email protected]from the registry resolves:@claude-flow/cli3.72.2 and@claude-flow/neural3.0.3ruvector0.3.13@ruvector/attention2.3.0 for every copy, with no 0.1.x@ruvector/graph-node2.1.2 and@ruvector/sona0.1.11
Known, not fixed here: zod GHSA-mrhx-c7xc-m3w5 needs zod 4, which is a major migration. glob and minimatch have moderate advisories. On Node 20, ruvector-backed features are missing because of the gpu-loop engine floor.
Packages
@claude-flow/cli,claude-flowandruflo3.72.2 are onlatest, as is@claude-flow/neural3.0.3.alphaandv3alphaare unchanged (ADR-513). -
- v3.72.0v3.72.0 — MCP 2026-07-28 support + 39 contributor fixes2026-11-06 · 2026-11-06 01:11 UTC
查看更新说明
3.72.0 brings ruflo's MCP server up to the MCP 2026-07-28 revision (ADR-524, #4837). It also merges 39 contributor fixes and tests from the #4775 tracker and the daily security scan through #4825. Thanks to every contributor.
MCP 2026-07-28
ruflo mcp startnow serves 2026-07-28 clients and older ones from the same process.- No more pinned version.
initializeused to answer2024-11-05whatever the client asked for. It now echoes a supported version (2025-11-25,2025-06-18or2024-11-05) and reports the real ruflo version. server/discoveris answered, so a 2026-07-28 client's stdio probe finds ruflo.- Stateless requests. A request that carries its version in
_metagetsresultTypeandserverInfoon the result. An unsupported version is refused with-32022and the list of versions ruflo supports. - Stable tool list.
tools/listis sorted by name and carries cache hints, so the catalogue is identical on every call and client prompt caches keep hitting. - Tracing. A W3C
traceparentfrom the client is passed through to the tool call.
The Tasks extension and the HTTP server's move to 2026-07-28 are planned next (ADR-524, Phase 2).
Security
- pre-bash blocks a command it cannot check. Before, late, unparsable or malformed hook input let the command through (#4743, #4826). The input window for pre-bash is now 3 s, so a slow host still gets its commands checked.
- Browser tools accept only http(s) and
about:blankURLs. Screenshots are written inside the project. A project's OllamabaseUrlno longer receives yourOLLAMA_API_KEY(#4812). - Statusline runs sqlite3 without a shell and strips control characters from directory and git names (#4745, #4818).
- Imports and federation:
memory_importandsession_importare capped at 16 MiB, and a gzip bomb is refused.x_federation_joinrestrictskeyFileandrelayWs(#4754, #4821). - Denial of service: exclusion patterns are matched without regex backtracking (ReDoS), and
performance_benchmarkiterations are capped (#4753, #4820). - AIDefence: the new
RUFLO_AIDEFENCE_PACKS(true,falseor a comma list of packs) selects the pattern packs for the MCP server (#4785).
Data integrity
- A corrupt workflow, hive-mind or swarm store is backed up and reported instead of being reset and saved over (#4737, #4779).
patterns.jsonis merged under the writer lock, so the daemon no longer erases patterns written by hooks (#4735, #4819).daemon.logrotates, and worker metric files are written atomically (#4740, #4816).
Fixes
- Cost tracker 0.31.2:
cost-healthinstalls an npx CLI once before running its four checks in parallel, so a cold npm cache no longer breaks the install. A failedmemory listis reported as an error instead of "no budget set" (#4711, #4827). - Hive-mind:
maxAgentsis enforced; join requires a registered agent and a valid role (#4727, #4813). - Swarm:
swarm_shutdownterminates members, and an unknown id is an error (#4726, #4815). - Tasks:
task_assignrefuses finished tasks and unknown agents (#4725, #4778).task_retryhonoursresetState(#4723, #4807).
- Agents and terminals:
- The
agent_liststatus filter acceptsall, aliases and any case (#4732, #4777). terminal_executerefuses closed sessions (#4730, #4789).- A heartbeat for an unknown node is an error (#4731, #4786).
- The
- Embeddings and hooks:
embeddings_generatehonoursnormalize:false(#4724, #4780).- A confidence of 0 is kept instead of being replaced by the default (#4728, #4790).
hooks_model-routehonourspreferCost/preferSpeed(#4722, #4817).
- CLI flags that the parser camelCase
- No more pinned version.
- v3.71.4v3.71.4 — security patch2026-11-05 · 2026-11-05 03:36 UTC
查看更新说明
Security patch release:
@claude-flow/cli,claude-flow,ruflo3.71.4. Upgrade is recommended for everyone who runs the ruflo MCP server.Security fixes
- browser tools (#4783):
browser_openaccepts only a fixed list of plain Chromium switches. No caller value may add an agent-browser option. - memory export / import (#4783):
- For MCP callers,
memory_exportandmemory_importpaths must be inside the project. Symlinks,.git, executables, and servers started from a home or filesystem root are refused. - Import errors no longer quote the file.
- An explicit
dbPathmust be a SQLite database file, plaintext or encrypted at rest. - The
ruflo memory export/import/statscommands still accept any path the operator gives.
- For MCP callers,
- record ids (#4783):
__proto__,constructorandprototypeare refused as ids. The agent, task, terminal, swarm and neural stores load without a prototype, completing #4671. - federation BBS (#4783): a merged envelope's origin must be the syncing peer or another pinned peer, and it must verify against that origin's key. The sync cursor advances only past verified envelopes.
- ruvocal (#4788):
- With no
MCP_AUTH_TOKEN, the ruvocal mcp-bridge refuses a non-loopback Host and foreign browser origins. This is the #4226 guard, now on both bridges. - MCP server URLs from requests must be public HTTPS, and the connection is checked against public addresses when it is made. Local addresses stay available for operator-configured
MCP_SERVERS.
- With no
- learning hooks (#4791):
.claude-flow/datafiles committed to a repository are no longer used as this machine's learned patterns, are not synced into Claude Code memory, and are never rewritten.- Surfaced notes are one flat line, labelled as project data.
- x.ruv.io gateway 0.9.2 (#4784): per-IP limits use the trusted forwarding address instead of the caller-supplied
X-Forwarded-Forvalue. This is a service fix; it is not part of the npm packages.
Also
- ruflo-mods 0.16.2: the ranked-memory block carries the same project-data label.
Advisories with full details are published alongside this release.
- browser tools (#4783):
用户点评
登录用户的真实使用记录,可按版本和硬件筛选还没有人点评。第一个说出真实体验的人最有价值。
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
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.
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.
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. - Give a concrete request. Try: “Create a mission to add a dark mode toggle. Show me the mission and its status.”
- Approve creation. Claude opens Missions and sets the goal. Confirm the pending create action in the console.
- Verify the result. Check that Missions contains the goal and Overview records the action. Creating a mission does not mean the feature has been implemented.
- Keep control. Take back control pauses Claude's console tools. A later call should be refused until you restore control.
What the recording demonstrates: a real Claude Haiku session with write + auto, mission creation, page navigation, a refused swarm stop, and control being taken back. The steps above use ask so you approve creation yourself. The linked workflow animation uses sample data, while the theme demo replays renderer frames. Neither is evidence of completed swarm work or memory recall.
Implementation and recorded test findings · Reproduction script
Install the mods from the ruflo marketplace (Claude Code 2.1.287 or later; mods run with your account's permissions and are not sandboxed, so read the code first):
/plugin marketplace add ruvnet/ruflo
/plugin install ruflo-console@ruflo
/plugin install ruflo-mods@ruflo
/reload-plugins
ruflo-console is the cockpit above, ruflo-mods routes prompts and enforces policy in-process, ruflo-swarm shows the swarm in a pane, and ruflo-ruos adds the ruOS status segment. Open /plugin to confirm they appear in the active mods line. Inside the console, /ruflo market is the Plugin Catalog: every ruflo plugin, mod and skill with what it ships, and buttons to install, enable, disable and update (each asks first).
Quick Start
There are two different install paths with very different surface areas. Pick based on what you need (#1744):
| Claude Code Plugin | CLI install (npx ruflo init) | |
|---|---|---|
| What it gives you | Slash commands + a few skills + agent definitions per-plugin | Full Ruflo loop — 98 agents, 60+ commands, 30 skills, MCP server, hooks, daemon |
| Files in your workspace | Zero | .claude/, .claude-flow/, CLAUDE.md, helpers, settings |
| MCP server registered | Only if ruflo-core is installed (it ships its own .mcp.json) — most other plugins don't | Yes |
| Hooks installed | No | Yes |
| Best for | Try a single plugin's commands without committing to the full install | Production use — everything works as documented |
Path A — Claude Code Plugins (lite, slash commands only)
# Add the marketplace
/plugin marketplace add ruvnet/ruflo
# Install core + any plugins you need
/plugin install ruflo-core@ruflo
/plugin install ruflo-swarm@ruflo
/plugin install ruflo-rag-memory@ruflo
/plugin install ruflo-neural-trader@ruflo
This adds slash commands and agent definitions. ruflo-core (installed above) does register its own MCP server on install — its tools are callable as mcp__plugin_ruflo-core_ruflo__* (e.g. mcp__plugin_ruflo-core_ruflo__memory_store), not the bare memory_store/swarm_init/agent_spawn names the CLI-track scaffold uses. Other plugins generally don't ship their own MCP server. For the full loop with the CLI-track tool names, use Path B below.
Core & Orchestration
| Plugin | What it does |
|---|---|
| ruflo-core | Foundation — server, health checks, plugin discovery |
| ruflo-swarm | Coordinate multiple agents as a team |
| ruflo-autopilot | Let agents run autonomously in a loop |
| ruflo-loop-workers | Schedule background tasks on a timer |
| ruflo-workflows | Reusable multi-step task templates |
| ruflo-federation | Agents on different machines collaborate securely |
| ruflo-console | Cockpit inside Claude Code, and the /ruflo command for ruflo mods |
| ruflo-mods | In-process Claude Code mod — routing, learning signals, and policy checks |
| ruflo-ai-team | Tenant-isolated team that divides work and returns evidence |
| ruflo-agntcy | AGNTCY/Outshift transport and intent-scoped tool authorization |
| ruflo-bbs-federation | AgentBBS rooms so agents on different hosts can coordinate |
| ruflo-chatgpt-federation | ChatGPT federation publisher with its own signing keys |
| ruflo-x-gateway | Signed federation messages, channels, and work claims |
| ruflo-business-pods | Business-domain pod templates and a dry-run tick runner |
Memory & Knowledge
| Plugin | What it does |
|---|---|
| ruflo-agentdb | Fast vector database for agent memory |
| ruflo-rag-memory | Smart retrieval — hybrid search, graph hops, diversity ranking |
| ruflo-rvf | Save and restore agent memory across sessions |
| ruflo-ruvector | ruvector — GPU-accelerated search, Graph RAG, 103 tools |
| ruflo-knowledge-graph | Build and traverse entity relationship maps |
Intelligence & Learning
| Plugin | What it does |
|---|---|
| ruflo-intelligence | Agents learn from past successes and get smarter |
| ruflo-graph-intelligence | Sublinear graph reasoning — PageRank, delta updates, complexity-aware execution (ADR-123) |
| ruflo-daa | Dynamic agent behavior and cognitive patterns |
| ruflo-ruvllm | Run local LLMs (Ollama, etc.) with smart routing |
| ruflo-goals | Break big goals into plans and track progress |
| ruflo-deepseek-harness | Agents, commands, and skills for DeepSeek-backed workflows |
Code Quality & Testing
| Plugin | What it does |
|---|---|
| ruflo-testgen | Find missing tests and generate them automatically |
| ruflo-browser | Automate browser testing with Playwright |
| ruflo-jujutsu | Analyze git diffs, score risk, suggest reviewers |
| ruflo-rure | Static analysis of a local JS/Electron app you are authorized to study, with file and line evidence |
| ruflo-docs | Generate and maintain documentation automatically |
| agentic-qe-fleet | External, maintained by Agentic QE: 11 QE agents, test generation, coverage, chaos and TDD skills, the agentic-qe MCP server, and a guard for AQE learning data (/plugin install agentic-qe-fleet@ruflo). Install it from one marketplace only, agentic-qe or ruflo: enabled from both, its mod and commands load twice |
| agentdb | External, maintained in ruvnet/agentdb: agentdb's own MCP server (pinned [email protected]: hybrid keyword + vector search, opt-in cross-encoder rerank), a memory-specialist agent, vector-memory / learning / diagnostics skills, /agentdb-status, and a guard that keeps secrets out of memory and refuses delete/reset unless allowed (/plugin install agentdb@ruflo). Use ruflo-agentdb instead if you want AgentDB through ruflo's server; the two can coexist. Install it from one marketplace only, agentdb or ruflo |
| agentic-flow | External, maintained in ruvnet/agentic-flow: the agentic-flow MCP server (pinned [email protected], readonly profile by default, nothing pre-approved), ReasoningBank and model-router agents, routing / learning / autopilot skills, /agentic-flow-status, and a guard on agentic_flow_agent (/plugin install agentic-flow@ruflo). Install it from one marketplace only, agentic-flow or ruflo |
Security & Compliance
| Plugin | What it does |
|---|---|
| ruflo-security-audit | Scan for vulnerabilities and CVEs |
| ruflo-aidefence | Block prompt injection, detect PII, safety scanning |
| ruflo-protector | Optional watchdog for unattended agents — learn, notify, or enforce |
Architecture & Methodology
| Plugin | What it does |
|---|---|
| ruflo-adr | Track architecture decisions with a living record |
| ruflo-ddd | Scaffold domain-driven design — contexts, aggregates, events |
| ruflo-sparc | Guided 5-phase development methodology with quality gates |
| ruflo-metaharness | Grade your agent setup, scan tool configs for security risks, and track changes over time (guide) |
| ruflo-arena | Competitive ruliology — pit agent strategies against each other in tournaments, hill-climb and co-evolve the winners (ADR-147/148) |
DevOps & Observability
| Plugin | What it does |
|---|---|
| ruflo-migrations | Manage database schema changes safely |
| ruflo-observability | Structured logs, traces, and metrics in one place |
| ruflo-cost-tracker | Track token usage, set budgets, get cost alerts |
| ruflo-ruos | Run swarm agents on your own ruOS cloud desktops |
Extensibility
| Plugin | What it does |
|---|---|
| ruflo-agent | Run agents — local WASM sandbox (rvagent) + Anthropic Claude Managed Agents (cloud), with opt-in bounded dynamic workflows, gated session controls and verified advisory learning |
| ruflo-plugin-creator | Scaffold, validate, and publish your own plugins |
Domain-Specific
| Plugin | What it does |
|---|---|
| ruflo-iot-cognitum | IoT device management — trust scoring, anomaly detection, fleets |
| ruflo-neural-trader | neural-trader — AI trading with 4 agents, backtesting, 112+ tools |
| ruflo-market-data | Ingest market data, vectorize OHLCV, detect patterns |
| ruflo-music | Compose and generate music through a Cognitum Music account |
CLI Install
macOS / Linux / WSL / Git-Bash:
# One-line install (POSIX shells only — see Windows note below)
curl -fsSL https://cdn.jsdelivr.net/gh/ruvnet/ruflo@main/scripts/install.sh | bash
All platforms (including native Windows PowerShell / cmd):
# Interactive setup wizard — runs identically on every platform
npx ruflo@latest init wizard
# Quick non-interactive init
# npx ruflo@latest init
# Or install globally
npm install -g ruflo@latest
💡 Windows users: the
curl ... | bashform needs a POSIX shell (Git-Bash, WSL, MSYS). Thenpx ruflo@latest init wizardline works natively in PowerShell and cmd. If you hit an'bash' is not recognizederror, use thenpxline instead — both end up running the same init flow.
MCP Server
# Add Ruflo as an MCP server in Claude Code
claude mcp add claude-flow -- npx ruflo@latest mcp start
For static inspection of local applications and binaries, see the ruRE plugin guide.
What You Get
| Capability | Description |
|---|---|
| 100+ Agents | Specialized agents for coding, testing, security, docs, architecture |
| Comms Layer | Zero-trust federation — agents across machines/orgs discover, authenticate, and exchange work securely |
| Swarm Coordination | Hierarchical, mesh, and adaptive topologies with consensus |
| Self-Learning | SONA neural patterns, ReasoningBank, trajectory learning |
| Vector Memory | HNSW-indexed AgentDB — measured ~1.9x faster at N=20k, ~3.2x–4.7x at N=5k vs brute force (recall@10 ~0.99); ANN wins above the crossover, ties/loses at small N. See audit + scripts/benchmark-intelligence.mjs |
| Background Workers | 12 auto-triggered workers (audit, optimize, testgaps, etc.) |
| Plugin Marketplace | 48 native Claude Code plugins + 14 in-tree npm plugins |
| Multi-Provider | Claude, GPT, Gemini, Cohere, Ollama with smart routing |
| Security | AIDefence, input validation, CVE remediation, path traversal prevention |
| Agent Federation | Cross-installation agent collaboration with zero-trust security |
| MetaHarness | Audit your AI agent setup before you ship. Grade readiness (1-100), scan tool configs for security issues, snapshot the whole project to catch regressions over time, and find templates that match your repo. ruflo eject turns a ruflo project into a standalone agent toolkit with its own name. Full guide. |
Learning from experience
Useful trajectories and task feedback can inform future work. Results depend on the configured memory, learning components and quality of feedback. Learning plugin.
Agent Federation — Slack for Agents
Slack gave teams channels. Federation gives agents the same thing — shared workspaces across trust boundaries, where agents on different machines, orgs, or cloud regions can discover each other, prove who they are, and collaborate on tasks.
The difference: some channels are trusted, some aren't. @claude-flow/plugin-agent-federation handles that automatically. Your agents join a federation, get verified via mTLS + ed25519, and start exchanging work — with PII stripped before anything leaves your node and every message auditable. Untrusted agents can still participate at lower privilege: they see discovery info, not your memory. As they prove reliable, trust upgrades. If they misbehave, they get downgraded instantly — no human in the loop required.
You don't configure handshakes or manage certificates. You federation init, federation join, and your agents start talking. The protocol handles identity, the PII pipeline handles data safety, and the audit trail handles compliance.
📘 Full user guide:
docs/federation/— setup, MCP tools, trust levels, circuit breaker, and the (opt-in) WireGuard mesh layer that ties packet-layer reachability to federation trust. ADR-111 deep-dive atdocs/federation/phase7-mesh-bringup.md.
| Capability | How it works | |
|---|---|---|
| 🔒 | Zero-trust federation | Remote agents start untrusted. Identity proven via mTLS + ed25519 challenge-response. No API keys, no shared secrets. |
| 🛡️ | PII-gated data flow | 14-type detection pipeline scans every outbound message. Per-trust-level policies: BLOCK, REDACT, HASH, or PASS. Adaptive calibration reduces false positives. |
| 📊 | Behavioral trust scoring | Formula (0.4×success + 0.2×uptime + 0.2×threat + 0.2×integrity) continuously evaluates peers. Upgrades require history; downgrades are instant. |
| 📋 | Compliance built-in | HIPAA, SOC2, GDPR audit trails as compliance modes. Every federation event produces a structured record searchable via HNSW. |
| 🤝 | 9 MCP tools + 10 CLI commands | Full lifecycle: federation_init, federation_send, federation_trust, federation_audit, and more. |
# Team A: initialize federation and generate keypair
npx claude-flow@latest federation init
# Team A: join Team B's federation endpoint
npx claude-flow@latest federation join wss://team-b.example.com:8443
# Team A: send a task — PII is stripped automatically before it leaves
npx claude-flow@latest federation send --to team-b --type task-request \
--message "Analyze transaction patterns for account anomalies"
# Team A: check peer trust levels and session health
npx claude-flow@latest federation status
See issue #1669 for the complete architecture, trust model, and implementation roadmap.
# Claude Code plugin
/plugin install ruflo-federation@ruflo
# Or via CLI
npx claude-flow@latest plugins install @claude-flow/plugin-agent-federation
| Capability | Claude Code Alone | + Ruflo |
|---|---|---|
| Agent Collaboration | Isolated, no shared context | Swarms with shared memory and consensus |
| Coordination | Manual orchestration | Queen-led hierarchy (Raft, Byzantine, Gossip) |
| Memory | Session-only | HNSW vector memory with sub-ms retrieval |
| Learning | Static behavior | SONA self-learning with pattern matching |
| Task Routing | You decide | Intelligent routing (89% accuracy) |
| Background Workers | None | 12 auto-triggered workers |
| LLM Providers | Anthropic only | 5 providers with failover |
| Security | Standard | CVE-hardened with AIDefence |
User --> Claude Code / CLI
|
v
Orchestration Layer
(MCP Server, Router, 27 Hooks)
|
v
Swarm Coordination
(Queen, Topology, Consensus)
|
v
100+ Specialized Agents
(coder, tester, reviewer, architect, security...)
|
v
Memory & Learning
(AgentDB, HNSW, SONA, ReasoningBank)
|
v
LLM Providers
(Claude, GPT, Gemini, Cohere, Ollama)
Documentation
Four docs for four audiences:
| Doc | When to read it |
|---|---|
| Status | See what currently works — capability counts, test baselines, recent fixes, what's next. The is-it-ready doc. |
| User Guide | Daily reference — every command, every config flag, every plugin. The how-do-I doc. |
| Compare frameworks | Deciding between Ruflo, Claude Code built-in agents, CrewAI, LangGraph, or AutoGen. The which-one-for-me doc. |
| MetaHarness Guide | How to grade your agent setup, scan tool configs for security, detect changes between runs, and eject a project into a standalone agent toolkit. The audit-my-setup doc. |
| Benchmarks | v3.8.0 SOTA matrix vs LangGraph / AutoGen / CrewAI on darwin-arm64 + linux-x64. ruflo wins cold start, single turn, RSS by 1.3×–1953×. The is-it-fast doc. |
| Verification | Cryptographically prove your installed bytes match the signed witness — ruflo verify. The trust-but-verify doc. |
| Team Gateway Checklist | Before-merge gates, dual-mode handoff, memory namespace sharing, and witness manifest entry per merge. The safer-team-workflows doc. |
Benchmark internals (for reproduction): sota-workload-spec.md · SOTA-PROGRESS.md · raw matrix JSON: darwin · linux
User Guide section index:
| Section | Topics |
|---|---|
| Quick Start | Installation, prerequisites, install profiles |
| Core Features | MCP tools, agents, memory, neural learning |
| Intelligence & Learning | Hooks, workers, SONA, model routing |
| Swarm & Coordination | Topologies, consensus, hive mind |
| Security | AIDefence, CVE remediation, validation |
| Ecosystem | RuVector, agentic-flow, Flow Nexus |
| Configuration | Environment variables, config schema |
| Plugin Marketplace | Browse and install plugins |
Support
| Resource | Link |
|---|---|
| Documentation | User Guide |
| Issues & Bugs | GitHub Issues |
| Enterprise | ruv.io |
| Community | Agentics Foundation Discord |
| Powered by | Cognitum.one |
License
MIT - RuvNet
