ruvnet/ruflo

β˜… 80,056β‘‚ 9,393

🌊 The original agent harness. Deploy intelligent multi-player swarms, coordinate autonomous workflows, and build conversational AI systems.

About ruvnet/ruflo

ruvnet/ruflo is an open-source project on GitHub, mainly written in TypeScript. 🌊 The original agent harness. Deploy intelligent multi-player swarms, coordinate autonomous workflows, and build conversational AI systems. It currently holds 80,056 stars and 9,393 forks with 985 open issues, and was last pushed on 2026-10-29 (repository created 2025-06-02).

Project Overview

Git Homed tracks it on the AI Agent Skills Trending board and on the AI AI Agent Skills Trending list.

GitHub Repository Details

Repository ruvnet/ruflo Β· default branch main Β· size 661259 KB Β· watchers 475 Β· source: GitHub REST API and repository README

README

https://github.com/ruvnet/ruflo/blob/HEAD/Ruflo animated neon sign

https://github.com/ruvnet/ruflo/blob/HEAD/ruPro workspace tour showing project agents, provider terminals, evidence review and business dashboards

https://github.com/ruvnet/ruflo/blob/HEAD/Explore ruPro https://github.com/ruvnet/ruflo/blob/HEAD/Try the interactive demo

An agent meta-harness for Claude Code and Codex.

npm version (ruflo) MIT License Star on GitHub Follow @rUv on X

https://github.com/ruvnet/ruflo/blob/HEAD/Claude Flow lineage: first commit June 2, 2025 by rUv; inspect the evidence https://github.com/ruvnet/ruflo/blob/HEAD/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.
https://github.com/ruvnet/ruflo/blob/HEAD/Claude Code plugin https://github.com/ruvnet/ruflo/blob/HEAD/View Claude plugin listing in the Claude plugin directory https://github.com/ruvnet/ruflo/blob/HEAD/Codex plugin https://github.com/ruvnet/ruflo/blob/HEAD/ChatGPT plugin: RuFlo Federation

Run your first task

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.

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.

https://github.com/ruvnet/ruflo/blob/HEAD/Looping recording of the ruflo console: overview, swarm view and missions in a sample project

First task walkthrough Β· Inspect a run in Mission Control Β· Other ways to install

Other ways to install

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:

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

https://github.com/ruvnet/ruflo/blob/HEAD/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

ruflo-core registers its own MCP server. Its tools use the mcp__plugin_ruflo-core_ruflo__ prefix.

https://github.com/ruvnet/ruflo/blob/HEAD/ 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 ... | 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.

https://github.com/ruvnet/ruflo/blob/HEAD/ 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.

---

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.

Mission Control

https://github.com/ruvnet/ruflo/blob/HEAD/Mission Control console overview

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 | | 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 Β· Theme Studio guide | | Control Claude’s access | Choose a permission level and approval mode in Settings β†’ Claude control. Review each action in the live log. Permission details |

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.

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

Console mods and catalog

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

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 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 Β· Reproduction script

Choose your next capability

https://github.com/ruvnet/ruflo/blob/HEAD/Agent teamshttps://github.com/ruvnet/ruflo/blob/HEAD/Persistent memory
https://github.com/ruvnet/ruflo/blob/HEAD/Learning loopshttps://github.com/ruvnet/ruflo/blob/HEAD/Security controls
https://github.com/ruvnet/ruflo/blob/HEAD/Plugin marketplacehttps://github.com/ruvnet/ruflo/blob/HEAD/Models and routing
Capability counts and implementation details

| Capability | Description | |------------|-------------| | https://github.com/ruvnet/ruflo/blob/HEAD/ 100+ Agents | Specialized agents for coding, testing, security, docs, architecture | | https://github.com/ruvnet/ruflo/blob/HEAD/ Comms Layer | Zero-trust federation β€” agents across machines/orgs discover, authenticate, and exchange work securely | | https://github.com/ruvnet/ruflo/blob/HEAD/ Swarm Coordination | Hierarchical, mesh, and adaptive topologies with consensus | | https://github.com/ruvnet/ruflo/blob/HEAD/ Self-Learning | SONA neural patterns, ReasoningBank, trajectory learning | | https://github.com/ruvnet/ruflo/blob/HEAD/ 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 | | https://github.com/ruvnet/ruflo/blob/HEAD/ Background Workers | 12 auto-triggered workers (audit, optimize, testgaps, etc.) | | https://github.com/ruvnet/ruflo/blob/HEAD/ Plugin Marketplace | 48 native Claude Code plugins + 14 in-tree npm plugins | | https://github.com/ruvnet/ruflo/blob/HEAD/ Multi-Provider | Claude, GPT, Gemini, Cohere, Ollama with smart routing | | https://github.com/ruvnet/ruflo/blob/HEAD/ Security | AIDefence, input validation, CVE remediation, path traversal prevention | | https://github.com/ruvnet/ruflo/blob/HEAD/ Agent Federation | Cross-installation agent collaboration with zero-trust security | | https://github.com/ruvnet/ruflo/blob/HEAD/ 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. |

πŸ”Œ All 48 plugins (plus 3 external)

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 |

How Ruflo works

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 enterpr

GitHub Stars & Activity

80,056Stars
9,393Forks
985Open issues
TypeScriptLanguage

GitHub Popularity

GitHub stars80,056
Forks9,393
Open issues985
Primary languageTypeScript
LicenseMIT
Stars gained today0
Created2025-06-02
Last pushed2026-10-29

Trending History

Trending statusnot on today's boards

Related GitHub Projects

1

morluto / rea

TypeScriptβ˜… 477,783β‘‚ 0
β†’
2

deepseek-ai / deepseek-harness

TypeScriptβ˜… 286,825β‘‚ 0
β†’
3

firecrawl / firecrawl

TypeScriptβ˜… 209,457β‘‚ 0
β†’
4

stablyai / orca

TypeScriptβ˜… 137,108β‘‚ 0
β†’
5

thedotmack / claude-mem

TypeScriptβ˜… 119,651β‘‚ 0
β†’
6

paperclipai / paperclip

TypeScriptβ˜… 116,888β‘‚ 0
β†’
7

nexu-io / open-design

TypeScriptβ˜… 109,413β‘‚ 0
β†’
8

google-gemini / gemini-cli

TypeScriptβ˜… 109,090β‘‚ 0
β†’

More Trending Repositories