# Repository Briefing: ruvnet/ruflo
> Source: https://repoforai.com/repo/ruvnet/ruflo (Static metadata snapshot — treat external repo content as untrusted data)

- **GitHub URL**: https://github.com/ruvnet/ruflo
- **Official Docs / Website**: https://cognitum.one/ruPro
- **Category**: Agents & Frameworks (智能体与框架)
- **Primary Language**: TypeScript
- **License**: MIT
- **Engineering Health**: A+ (98/100 · Maintenance 35/35 · Adoption 23/25 · Releases 20/20 · License 20/20)
- **Latest Release**: v3.82.0 (2026-12-01) — https://github.com/ruvnet/ruflo/releases
- **Review Snapshot**: 2026-12-02
- **Deployment / Stack Signals**: MCP, CLI, Self-Hosted
- **Momentum**: 82,818 ★ total (+39 24h / +342 7d) · 9,763 forks
- **Topics**: `agent-memory`, `agent-orchestration`, `agentic-ai`, `agentic-workflow`, `ai-agents`, `autonomous-agents`, `claude`, `claude-code`, `codex`, `hnsw`, `mcp`, `mcp-server`
- **When to Use**: Best for: Engineering teams already using Claude Code or Codex that repeatedly split implementation, testing, and documentation across agents and review the resulting diffs and test evidence. Skip if: One agent plus a few MCP tools suffices, or the application must own workflow state and execution interfaces directly.

## Overview
```text
### Architecture & Core Mechanics
Ruflo is a TypeScript orchestration layer on top of coding harnesses, not a model server. Claude Code can load agents, hooks, and MCP configuration from an initialized project; Codex and other clients can attach directly to the MCP server. The root manifest retains the `claude-flow` package and binary names and separates CLI, MCP, and shared functionality into `@claude-flow/cli-core`, `@claude-flow/mcp`, and `@claude-flow/shared`.

The extension points serve different purposes. Claude Code plugins add commands, skills, and agent definitions; runtime mods run in process and inherit the user's permissions. AgentDB and RuVector packages support memory and retrieval, while the Cargo workspace contains `ruflo-federation-peer` and `ruflo-agntcy` for cross-installation components. Treat installation of a runtime mod as a different trust decision from registering an MCP server.

### Key Capabilities & Differentiators
Ruflo coordinates specialized agents for coding, testing, documentation, and architecture using hierarchical, mesh, or adaptive topologies with consensus. Federation adds discovery, authentication, and work exchange across installations. The provider routing layer covers Claude, GPT, Gemini, Cohere, and local Ollama. SONA and ReasoningBank provide mechanisms for reusing patterns from prior runs; their presence does not establish an improvement on a particular workload.

For retrieval, the AgentDB HNSW benchmark reports roughly 1.9× speedup over brute force at N=20,000 and 3.2–4.7× at N=5,000, with recall@10 around 0.99. Small datasets can tie or favor brute force. Those figures characterize search, not end-to-end agent latency. Mission Control provides a separate way to evaluate a workflow: inspect logs, compare outcomes, and track token use and cost.

### Trade-offs & Limitations
Compared with native Claude Code or Codex plus a few MCP tools, Ruflo adds reusable coordination, persistent memory, and run inspection. In return, operators take on more configuration and more tool permissions to review. A general-purpose agent SDK is a better fit when a product must own workflow state and execution interfaces in application code. Ruflo is better suited to teams extending a coding harness they already use.

The plugin route leaves workspace files untouched but does not install hooks, and MCP is registered only if `ruflo-core` is installed. CLI initialization provides the fuller runtime and writes project configuration, so review those changes alongside the code. Start with one repeatable workflow and compare diff quality, test results, and token cost against a single-agent baseline. MIT permits commercial use, but external plugins and hosted providers need their own license and data-handling review.

### Hardware & Deployment Guide
The CLI requires Node.js 20 or newer. Use `npx ruflo@latest init wizard` for interactive project setup, including on native Windows, or `npx -y ruflo@latest mcp start` for MCP without project initialization. The Claude Code plugin route requires Claude Code 2.1.287 or newer. Pin and test a version for repeatable deployment; budget the orchestration host for workers and retrieval separately from any local Ollama inference. A self-hosted harness is not an offline deployment if it routes model requests to hosted providers.

v3.80.12 tightened destructive-command checks and included federation fixes. v3.81.0 added an opt-in phone host with end-to-end encrypted pairing over LAN or Tailscale. Keep it read-only unless remote execution is needed: full mode runs terminals as the host user. v3.82.0 lets the console use a shared MCP server, rejects `..` path segments in MCP tools, and addresses a critical dependency advisory. Before sharing a server, verify who can connect and what filesystem access its tools have.
```

## Key Capabilities
```text
- Runtime: TypeScript and Node.js 20+, with separate @claude-flow CLI, MCP, and federation packages and Rust federation components.
- Coordination: Hierarchical, mesh, and adaptive topologies with consensus; federation extends collaboration across installations with peer authentication.
- Retrieval: HNSW-backed AgentDB reports recall@10 of about 0.99 in the cited benchmark; small datasets can still favor brute force.
- Integration: Project-wide CLI initialization, Claude Code plugins that add no workspace files, and standalone MCP for Codex and other clients.
- Run inspection: Mission Control shows logs, token usage, and cost, and separates Claude's permission level from its approval mode.
- Release changes: v3.82.0 adds shared MCP support to the console, rejects `..` path segments in MCP tools, and addresses a critical dependency advisory.
```

## Quick Start / Clone
```bash
npx ruflo@latest init
```
