ruvnet/ruflo

GITHUB中文整理

主语言 TypeScript · 79,810 星 · MIT · 创建于 2025-06-03

智能体编排多智能体记忆系统MCPClaude Code 本周第 7 名
打开 GitHub 仓库

一个基于 TypeScript 的智能体编排工具,用于在 Claude Code 等 MCP 客户端中部署多智能体集群、协调自主工作流并构建对话式 AI 系统。

Stars 79,810 累计 star,越多说明被认可得越广
Watching 472 订阅该仓库变动的人数
Forks 9,203 被派生出去的仓库数
Issues 967 当前开放的 Issue 数
语言 TypeScript GitHub 自动判定的主语言
许可证 MIT 开源协议,用之前先确认能不能商用
24h 增长 +177 1 天前 79,633 星
7 日增长 — 数据积累中
30 日增长 — 数据积累中

仓库健康度

5 个维度
只看客观信号,不构成安全性结论
维护活跃度 数据完整
2026-10-22 05:56 最近推送

最近推送 2026-10-22 05:56(6 天前),属于活跃维护

社区响应 数据完整
967 开放 Issue

开放 Issue 967 个 · Fork 9,203 个

增长趋势 部分数据
+177 7 日新增

24 小时 +177 · 7 日 积累中 · 30 日 积累中

项目规范 数据完整
MIT 许可证

许可证 MIT · 12 个 topics · 开了 Wiki

版本发布 证据不足
— 发布次数

这一项暂无数据,不代表项目没有发布

「证据不足」表示这项数据暂时没有取到,不能读成「项目有问题」;「部分数据」表示只拿到一部分信号。版本发布要额外调 Releases 接口,下一版补。

Star 趋势

6 天记录
最近 90 天站内记录的星数
79,810当前 Star +1,156首尾差值 2026-10-23最早记录 2026-10-28最近记录

横轴 2026-10-23 → 2026-10-28,纵轴按这段时间的最小/最大值拉伸。趋势来自站内每天记录一次的星数,页面打开时不会实时请求 GitHub。

它解决什么问题

据 README 归纳
没有它会怎样

使用 AI 编程助手时,单个模型往往缺乏跨会话记忆、任务规划与结果验证能力,多步骤开发容易脱节。没有它,开发者需要手动串联任务、维护上下文并自行检查产出,效率低且容易遗漏。

核心能力

7 条
归纳自 README,不是功能列表照抄
  1. 1通过 npx ruflo init 初始化后为 Claude Code 注入协调能力
  2. 2让多个智能体自组织成集群并分工协作
  3. 3让智能体从每次任务中学习并跨会话保留记忆
  4. 4通过联邦机制与其他机器上的智能体安全通信且不泄露数据
  5. 5集成向量检索与对比式学习模块以增强记忆
  6. 6提供 CLI 与 MCP 服务器供外部客户端接入
  7. 7内置路由、策略执行与钩子机制来管理执行流程

项目画像

6 个角度
决定要不要用之前,先看这六条

项目定位

一个基于 TypeScript 的智能体编排工具,用于在 Claude Code 等 MCP 客户端中部署多智能体集群、协调自主工作流并构建对话式 AI 系统。

适合谁

适合已在用 Claude Code 或支持 MCP 的编程助手、希望把多步骤开发任务交给智能体协作完成的开发者与团队。

典型场景

在 Claude Code 中初始化后,让多个智能体分工完成编码、测试与改进的循环任务;让智能体跨会话记住项目上下文,减少重复说明背景;通过 MCP 把 Ruflo 接入其他支持本地 stdio 的客户端来协调工作流;在多台机器之间联邦智能体,安全共享协作能力而不外泄数据

部署难度

提供一行安装脚本与 npx 初始化向导;完整功能需先安装 Claude Code 并满足版本要求,再运行初始化命令并配置 MCP 客户端,步骤不算多但涉及多个组件。

风险限制

完整安装需要 Claude Code 2.1.287 或更高版本;向量检索与学习模块需要嵌入模型和已配置的学习组件;联邦通信涉及数据安全需自行评估。

最近维护

最近一次推送是 2026-10-22 05:56。 实现方式:用户通过 CLI 或 MCP 与系统交互,请求经路由分发给智能体集群,智能体执行任务并写入记忆,记忆再反馈到后续路由;本地向量检索与对比更新可在无大模型参与时运行。

README 原文细节

2 个板块
项目自己写的功能与用法,原文照录

怎么安装从零跑起来的步骤

Quick Start

There are two different install paths with very different surface areas. Pick based on what you need (#1744):

  • 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

CLI Install

# One-line install (POSIX shells only — see Windows note below)
curl -fsSL https://cdn.jsdelivr.net/gh/ruvnet/ruflo@main/scripts/install.sh | bash

其它说明README 里剩下的内容

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.

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):

  • 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.

Path A — Claude Code Plugins (lite, slash commands only)

This adds slash commands and agent definitions. ruflo-core (installed above) does register its own MCP server on install — its tools are callable as mcppluginruflo-coreruflo (e.g. mcppluginruflo-coreruflomemorystore), not the bare memorystore/swarminit/agentspawn 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.

  • 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-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
  • 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

What You Get

  • 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/ben
  • Background Workers — 12 auto-triggered workers (audit, optimize, testgaps, etc.)
  • Plugin Marketplace — 33 native Claude Code plugins + 21 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 t

关于 ruflo 的常见问题

7 个问题
答案来自 README 归纳与 GitHub 实时数据
ruflo 是做什么的?

一个基于 TypeScript 的智能体编排工具,用于在 Claude Code 等 MCP 客户端中部署多智能体集群、协调自主工作流并构建对话式 AI 系统。 使用 AI 编程助手时,单个模型往往缺乏跨会话记忆、任务规划与结果验证能力,多步骤开发容易脱节。没有它,开发者需要手动串联任务、维护上下文并自行检查产出,效率低且容易遗漏。

ruflo 有哪些功能?

核心能力:通过 npx ruflo init 初始化后为 Claude Code 注入协调能力;让多个智能体自组织成集群并分工协作;让智能体从每次任务中学习并跨会话保留记忆;通过联邦机制与其他机器上的智能体安全通信且不泄露数据;集成向量检索与对比式学习模块以增强记忆;提供 CLI 与 MCP 服务器供外部客户端接入;内置路由、策略执行与钩子机制来管理执行流程。

ruflo 适合谁用?

适合已在用 Claude Code 或支持 MCP 的编程助手、希望把多步骤开发任务交给智能体协作完成的开发者与团队。

ruflo 是怎么工作的?

用户通过 CLI 或 MCP 与系统交互,请求经路由分发给智能体集群,智能体执行任务并写入记忆,记忆再反馈到后续路由;本地向量检索与对比更新可在无大模型参与时运行。

怎么安装 ruflo?

按项目 README 的说明:What it gives you — Slash commands + a few skills + agent definitions per-plugin — Full Ruflo loop — 98 agents, 60+ commands, 30 skills, MCP;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。完整命令见下方「怎么安装」一节或 GitHub 仓库的 README。

用 ruflo 有什么门槛或限制?

完整安装需要 Claude Code 2.1.287 或更高版本;向量检索与学习模块需要嵌入模型和已配置的学习组件;联邦通信涉及数据安全需自行评估。

ruflo 现在还在维护吗?数据怎么样?

目前 79,810 星,9,203 个 Fork,主语言 TypeScript,创建于 2025-06-03,最近一次推送 2026-10-22 05:56,许可证 MIT。星数、Fork、推送时间都是 GitHub 返回的实时数据,「最近推送」离现在越近说明越活跃;长期不动要留意是否已停止维护。

这些内容来自哪

读法说明
中文整理据 README 归纳,数据取自 GitHub
中文说明据项目 README 归纳只写 README 能确认的内容,不替作者补功能与数字
关键数据与 GitHub 页面一致星数、Fork、语言与时间都不做二次加工
数据日期2026-10-23 17:48星数与介绍这份数据是哪一天的

项目数据取自 GitHub 官方接口与项目 README;星数、Fork、语言与时间以 GitHub 页面为准,档案更新于 2026-10-23 17:48。