项目 / ruvnet/ruflo
一套调度多 AI 助手协同干活的底层框架(agent harness)。
本站整理,非 GitHub 官方 description。
官方快照(gh_history.db,2026-11-25):总榜 未进 Top50 · 日榜 未进 Top50 · 周榜未满 7 天基线(官方不生成) · 月榜暂无官方口径;下方四卡为站内趋势聚合(周卡按上榜次数,非官方 7 日增量窗)。
以下三段按该项目自己的 GitHub README 章节摘录(可合理截断并标明);README 没有对应章节的留空,不编造。
ruflo 可通过 npx ruflo@latest init 初始化项目,为 Claude Code 添加代理、钩子、记忆和 MCP 服务器,也支持 Codex 等 MCP 客户端或独立运行 npx ruflo tui 终端界面。
来自 GitHub 仓库 README / 主页介绍正文,正文较长,已截断:保留前 20000 字符(原始 35,228 字节),完整内容见 GitHub 仓库。
<div align="center"> <a href="https://cognitum.one/rupro?utm_source=github&utm_medium=readme&utm_campaign=ruflo-readme-rupro-neon"><img src="ruflo/assets/ruflo-neon-flicker.gif" alt="Ruflo animated neon sign" width="100%"></a> <a href="https://cognitum.one/rupro?utm_source=github&utm_medium=readme&utm_campaign=ruflo-readme-rupro-workspace"><picture><source media="(max-width: 760px)" srcset="https://raw.githubusercontent.com/ruvnet/ruflo/6f847a38ebc8594c627bd834b967fe0c238a1623/docs/assets/readme/rupro-workspace-mobile.svg"><img src="https://raw.githubusercontent.com/ruvnet/ruflo/c474dba4b590914a585ac95cd7fed7dd1d49b954/docs/assets/readme/rupro-workspace.svg" alt="ruPro workspace tour showing project agents, provider terminals, evidence review and business dashboards" width="100%"></picture></a> <p align="center"> <a href="https://cognitum.one/rupro?utm_source=github&utm_medium=readme&utm_campaign=ruflo-readme-rupro-explore"><img src="https://raw.githubusercontent.com/ruvnet/ruflo/c474dba4b590914a585ac95cd7fed7dd1d49b954/docs/assets/readme/rupro-explore.svg" alt="Explore ruPro" width="300" height="76"></a> <a href="https://cognitum.one/?utm_source=github&utm_medium=readme&utm_campaign=ruflo-readme-rupro-demo#demo=welcome"><img src="https://raw.githubusercontent.com/ruvnet/ruflo/1f421a1dce9634b5dc5960070cd96abaff9aaf08/docs/assets/readme/rupro-demo.svg" alt="Try the interactive demo" width="300" height="76"></a> </p> **An agent meta-harness for Claude Code and Codex.** <!-- Try Ruflo — the 3 badges first-time visitors actually act on --> [](https://www.npmjs.com/package/ruflo) [](https://opensource.org/licenses/MIT) [](https://github.com/ruvnet/ruflo) [](https://x.com/rUv) <p align="center"> <a href="docs/harness-origins.md"><img src="https://raw.githubusercontent.com/ruvnet/ruflo/1f421a1dce9634b5dc5960070cd96abaff9aaf08/docs/assets/readme/badges/first-commit.svg" width="300" height="76" alt="Claude Flow lineage: first commit June 2, 2025 by rUv; inspect the evidence"></a> <a href="https://github.com/ruvnet/ruvnet/blob/main/data/ecosystem-running-totals.json"><img src="docs/assets/readme/badges/downloads.svg" width="300" height="76" alt="120.95 million observed npm download events since October 1, 2025, across 429 packages. Verified November 16, 2026. Lower bound; not unique users or lifetime downloads."></a> <br> <a href="https://github.com/ruvnet/claude-flow"><img src="https://raw.githubusercontent.com/ruvnet/ruflo/1f421a1dce9634b5dc5960070cd96abaff9aaf08/docs/assets/readme/badges/claude.svg" width="300" height="76" alt="Claude Code plugin"></a> <a href="https://claude.ai/customize/plugins/id/e74b8927-3c53-4082-b0d9-fe82bf1235ce%40anthropic-plugin-directory"><img src="docs/assets/readme/badges/claude-directory.svg" width="300" height="76" alt="View Claude plugin listing in the Claude plugin directory"></a> <a href="https://www.npmjs.com/package/@claude-flow/codex"><img src="https://raw.githubusercontent.com/ruvnet/ruflo/1f421a1dce9634b5dc5960070cd96abaff9aaf08/docs/assets/readme/badges/codex.svg" width="300" height="76" alt="Codex plugin"></a> <a href="https://chatgpt.com/plugins/plugin_asdk_app_6ab674ff53c48191bb37040c343e31f3"><img src="docs/assets/readme/badges/chatgpt.svg" width="300" height="76" alt="ChatGPT plugin: RuFlo Federation"></a> </p> </div> <a id="start-here"></a> <a id="quick-start"></a> <a id="get-started-in-one-command"></a> ## Run your first task Run this in your project folder: ```bash npx ruflo@latest init ``` Then open Claude Code in the same folder and give it a real task, for example: ```text 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`. **Check the result.** Ask the agent to name the module it chose, show the test it added, and report the test command and result. Review the diff in your project. <p align="center"><img src="docs/assets/ruflo-console-tour.gif" width="720" alt="Looping recording of the ruflo console: overview, swarm view and missions in a sample project"></p> [First task walkthrough](docs/ruflo-explained.md) · [Inspect a run in Mission Control](#mission-control) · [Other ways to install](#install-options) <a id="install-options"></a> <details> <summary>Other ways to install</summary> 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 | **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: ```text /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](docs/USERGUIDE.md#terminal-ui-optional). <p align="center"><img src="docs/assets/ruflo-tui-compact.svg" width="640" alt="Looping recording of the optional ruflo terminal UI with its pictures: Overview in the Classic BBS look, the Orbital look with its moving globe, and the Swarm graph, in a sample project"></p> `ruflo-core` registers its own MCP server. Its tools use the `mcp__plugin_ruflo-core_ruflo__` prefix. ### <img src="docs/assets/readme/icons/terminal.svg" width="28" height="28" alt=""> CLI Install **macOS / Linux / WSL / Git-Bash:** ```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):** ```bash # 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 ... | bash` form needs a POSIX shell (Git-Bash, WSL, MSYS). The `npx ruflo@latest init wizard` line works natively in PowerShell and cmd. If you hit an `'bash' is not recognized` error, use the `npx` line instead — both end up running the same init flow. ### <img src="docs/assets/readme/icons/network.svg" width="28" height="28" alt=""> MCP Server ```bash # 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](plugins/ruflo-rure/README.md). --- **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](v3/@claude-flow/cli/templates/grok/docs/README.md). </details> ## Mission Control <p align="center"><img src="docs/assets/readme/console.svg" alt="Mission Control console overview" width="100%"></p> Open `/ruflo` in Claude Code to monitor agent work, inspect a run, or give Claude permission to operate the console. If you use the console, open the agent’s log and compare its actions with the diff and test result from your first task. | Task | What you can do | | --- | --- | | Monitor work | Track workflows, agents, models, token use, and cost. [Workflow demo with sample data](docs/assets/ruflo-console-workflows.svg) | | Inspect a run | Search logs and results, triage failures, replay a run, and compare outcomes. | | Customize the console | Preview Orbital, switch among six palettes, save a theme, or import its JSON. [38 second renderer replay](https://raw.githubusercontent.com/ruvnet/ruflo/main/docs/assets/ruflo-console-theme-compact.svg) · [Theme Studio guide](plugins/ruflo-console/README.md) | | Control Claude’s access | Choose a permission level and approval mode in **Settings → Claude control**. Review each action in the live log. [Permission details](v3/docs/adr/ADR-444-claude-controls-the-console.md) | ### Install and open the console Use Claude Code **2.1.287 or later**. Review mods before installing them because they run with your account’s permissions. ```text /plugin marketplace add ruvnet/ruflo /plugin install ruflo-console@ruflo /plugin install ruflo-mods@ruflo /reload-plugins ``` Open `/plugin` to check the active mods, then `/ruflo` to launch the console. For a project initialized through the CLI, run `npx ruflo init` and restart Claude Code before opening `/ruflo`. <details> <summary>Console mods and catalog</summary> | Mod | Purpose | | --- | --- | | `ruflo-console` | Opens the console beside Claude Code. | | `ruflo-mods` | Routes prompts and enforces policy in process. | | `ruflo-swarm` | Adds a pane showing the swarm. | | `ruflo-ruos` | Adds the ruOS status segment. | Open `/ruflo market` to inspect plugins, mods, and skills. The catalog asks for confirmation before installing, enabling, disabling, or updating an item. </details> <a id="console-walkthrough"></a> ### Create a mission with Claude The default is **read + ask**. Available levels are `read`, `write`, `manage`, and `full`, with `ask` or `auto` approval. Actions above the selected level are refused. Network, spending, and destructive actions require confirmation even in `auto`. 1. In **Settings → Claude control**, select **write + ask**. 2. Ask Claude, “Create a mission to add a dark mode toggle. Show me the mission and its status.” 3. Confirm the pending creation request. Check **Missions** for the goal and **Overview** for the action log. This verifies that the mission was created. 4. Select **Take back control**, then ask Claude to take another console action. The console should refuse it until you restore access. [Watch the recorded Claude Haiku session](docs/assets/ruflo-console-claude-control.gif) to see mission creation, page navigation, a refused swarm stop, and control being taken back. The recording uses `write + auto`. Step 1 uses `ask` so you can approve creation yourself. [Recorded test findings](v3/docs/adr/ADR-444-claude-controls-the-console.md) · [Reproduction script](plugins/ruflo-console/scripts/e2e-control.sh) <a id="what-you-get"></a> ## Choose your next capability <table> <tr><td width="50%"><a href="plugins/ruflo-swarm/README.md"><img src="docs/assets/readme/card-swarm.svg" width="100%" alt="Agent teams"></a></td><td width="50%"><a href="plugins/ruflo-rag-memory/README.md"><img src="docs/assets/readme/card-memory.svg" width="100%" alt="Persistent memory"></a></td></tr> <tr><td width="50%"><a href="plugins/ruflo-intelligence/README.md"><img src="docs/assets/readme/card-learning.svg" width="100%" alt="Learning loops"></a></td><td width="50%"><a href="plugins/ruflo-security-audit/README.md"><img src="docs/assets/readme/card-security.svg" width="100%" alt="Security controls"></a></td></tr> <tr><td width="50%"><a href="https://ruvnet.github.io/ruflo"><img src="docs/assets/readme/card-plugins.svg" width="100%" alt="Plugin marketplace"></a></td><td width="50%"><a href="plugins/ruflo-ruvllm/README.md"><img src="docs/assets/readme/card-routing.svg" width="100%" alt="Models and routing"></a></td></tr> </table> <details> <summary>Capability counts and implementation details</summary> | Capability | Description | |------------|-------------| | <img src="docs/assets/readme/icons/agents.svg" width="28" height="28" alt=""> **100+ Agents** | Specialized agents for coding, testing, security, docs, architecture | | <img src="docs/assets/readme/icons/network.svg" width="28" height="28" alt=""> **Comms Layer** | Zero-trust federation — agents across machines/orgs discover, authenticate, and exchange work securely | | <img src="docs/assets/readme/icons/swarm.svg" width="28" height="28" alt=""> **Swarm Coordination** | Hierarchical, mesh, and adaptive topologies with consensus | | <img src="docs/assets/readme/icons/learning.svg" width="28" height="28" alt=""> **Self-Learning** | SONA neural patterns, ReasoningBank, trajectory learning | | <img src="docs/assets/readme/icons/memory.svg" width="28" height="28" alt=""> **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](docs/reviews/intelligence-system-audit-2026-05-29.md) + [`scripts/benchmark-intelligence.mjs`](scripts/benchmark-intelligence.mjs) | | <img src="docs/assets/readme/icons/workers.svg" width="28" height="28" alt=""> **Background Workers** | 12 auto-triggered workers (audit, optimize, testgaps, etc.) | | <img src="docs/assets/readme/icons/plugins.svg" width="28" height="28" alt=""> **Plugin Marketplace** | 48 native Claude Code plugins + 14 in-tree npm plugins | | <img src="docs/assets/readme/icons/routing.svg" width="28" height="28" alt=""> **Multi-Provider** | Claude, GPT, Gemini, Cohere, Ollama with smart routing | | <img src="docs/assets/readme/icons/security.svg" width="28" height="28" alt=""> **Security** | AIDefence, input validation, CVE remediation, path traversal prevention | | <img src="docs/assets/readme/icons/federation.svg" width="28" height="28" alt=""> **Agent Federation** | Cross-installation agent collaboration with zero-trust security | | <img src="docs/assets/readme/icons/audit.svg" width="28" height="28" alt=""> **[MetaHarness](docs/metaharness-user-guide.md)** | 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](docs/metaharness-user-guide.md). | </details> <details> <summary><strong>🔌 All 48 plugins</strong> (plus 3 external)</summary> #### Core & Orchestration | Plugin | What it does | |--------|-------------| | [**ruflo-core**](plugins/ruflo-core/README.md) | Foundation — server, health checks, plugin discovery | | [**ruflo-swarm**](plugins/ruflo-swarm/README.md) | Coordinate multiple agents as a team | | [**ruflo-autopilot**](plugins/ruflo-autopilot/README.md) | Let agents run autonomously in a loop | | [**ruflo-loop-workers**](plugins/ruflo-loop-workers/README.md) | Schedule background tasks on a timer | | [**ruflo-workflows**](plugins/ruflo-workflows/README.md) | Reusable multi-step task templates | | [**ruflo-federation**](plugins/ruflo-federation/README.md) | Agents on different machines collaborate securely | | [**ruflo-console**](plugins/ruflo-console/README.md) | Cockpit inside Claude Code, and the `/ruflo` command for ruflo mods | | [**ruflo-mods**](plugins/ruflo-mods/README.md) | In-process Claude Code mod — routing, learning signals, and policy checks | | [**ruflo-ai-team**](plugins/ruflo-ai-team/README.md) | Tenant-isolated team that divides work and returns evidence | | [**ruflo-agntcy**](plugins/ruflo-agntcy/README.md) | AGNTCY/Outshift transport and intent-scoped tool authorization | | [**ruflo-bbs-federation**](plugins/ruflo-bbs-federation/README.md) | AgentBBS rooms so agents on different hosts can coordinate | | [**ruflo-chatgpt-federation**](plugins/ruflo-chatgpt-federation/README.md) | ChatGPT federation publisher with its own signing keys | | [**ruflo-x-gateway**](plugins/ruflo-x-gateway/README.md) | Signed federation messages, channels, and work claims | | [**ruflo-business-pods**](plugins/ruflo-business-pods/README.md) | Business-domain pod templates and a dry-run tick runner | #### Memory & Knowledge | Plugin | What it does | |--------|-------------| | [**ruflo-agentdb**](plugins/ruflo-agentdb/README.md) | Fast vector database for agent memory | | [**ruflo-rag-memory**](plugins/ruflo-rag-memory/README.md) | Smart retrieval — hybrid search, graph hops, diversity ranking | | [**ruflo-rvf**](plugins/ruflo-rvf/README.md) | Save and restore agent memory across sessions | | [**ruflo-ruvector**](plugins/ruflo-ruvector/README.md) | [`ruvector`](https://npmjs.com/package/ruvector) — GPU-accelerated search, Graph RAG, 103 tools | | [**ruflo-knowledge-graph**](plugins/ruflo-knowledge-graph/README.md) | Build and traverse entity relationship maps | #### Intelligence & Learning | Plugin | What it does | |--------|-------------| | [**ruflo-intelligence**](plugins/ruflo-intelligence/README.md) | Agents learn from past successes and get smarter | | [**ruflo-graph-intelligence**](plugins/ruflo-graph-intelligence/) | Sublinear graph reasoning — PageRank, delta updates, complexity-aware execution (ADR-123) | | [**ruflo-daa**](plugins/ruflo-daa/README.md) | Dynamic agent behavior and cognitive patterns | | [**ruflo-ruvllm**](plugins/ruflo-ruvllm/README.md) | Run local LLMs (Ollama, etc.) with smart routing | | [**ruflo-goals**](plugins/ruflo-goals/README.md) | Break big goals into plans and track progress | | [**ruflo-deepseek-harness**](plugins/ruflo-deepseek-harness/README.md) | Agents, commands, and skills for DeepSeek-backed workflows | #### Code Quality & Testing | Plugin | What it does | |--------|-------------| | [**ruflo-testgen**](plugins/ruflo-testgen/README.md) | Find missing tests and generate them automatically | | [**ruflo-browser**](plugins/ruflo-browser/README.md) | Automate browser testing with Playwright | | [**ruflo-jujutsu**](plugins/ruflo-jujutsu/README.md) | Analyze git diffs, score risk, suggest reviewers | | [**ruflo-rure**](plugins/ruflo-rure/) | Static analysis of a local JS/Electron app you are authorized to study, with file and line evidence | | [**ruflo-docs**](plugins/ruflo-docs/README.md) | Generate and maintain documentation automatically | | [**agentic-qe-fleet**](https://github.com/proffesor-for-testing/agentic-qe/tree/v3.15.17/plugins/agentic-qe-fleet) | External, maintained by [Agentic QE](https://github.com/proffesor-for-testing/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**](https://github.com/ruvnet/agentdb/tree/plugin-v3.2