From 0ba96ddd5930c1014c5cf4dbd37bf4aef9a74dcf Mon Sep 17 00:00:00 2001 From: rUv Date: Thu, 19 Nov 2026 17:34:11 -0500 Subject: [PATCH] Organize README around the first task and Mission Control --- README.md | 245 ++++++++++++++++++++++-------------------------------- 1 file changed, 100 insertions(+), 145 deletions(-) diff --git a/README.md b/README.md index 6a330dcd56..cb1112e425 100644 --- a/README.md +++ b/README.md @@ -30,8 +30,10 @@ + + -## Get started in one command +## Run your first task Run this in your project folder: @@ -47,14 +49,26 @@ Use a ruflo swarm to review this repo: find the riskiest module, write tests for `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. +

Looping recording of the ruflo console: overview, swarm view and missions in a sample project

-[First useful task, step by step](docs/ruflo-explained.md) · [User guide](docs/USERGUIDE.md) · [Compare install paths](#quick-start) +[First task walkthrough](docs/ruflo-explained.md) · [Inspect a run in Mission Control](#mission-control) · [Other ways to install](#install-options) -[Optional recipe: local vector search with RVF and MCP](https://github.com/ruvnet/ruflo/blob/main/docs/recipes/rvf-mcp-search.md) · [Ruvnet ecosystem](https://ruv.io) +
-Other ways to install (Claude Code plugins only, MCP-only clients, terminal UI) +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: @@ -75,79 +89,55 @@ From a terminal, on Claude Code 2.1.292 or later: `claude plugin install ruflo-c

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. -
+### CLI Install - -### Optional: ruOS Desktop - -ruOS — A desktop that runs itself - -**Connect ruOS to ChatGPT or Claude via MCP:** - -```text -https://ruos.cognitum.one/mcp -``` - - - - -RuVector: Give your agents memory. Local vector search, persistent context, graph relationships and feedback learning. Explore RuVector. +**macOS / Linux / WSL / Git-Bash:** ```bash -npx ruvector +# 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 -# Ruflo +# Or install globally +npm install -g ruflo@latest +``` -[English](README.md) · [简体中文](README.zh-CN.md) +> 💡 **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. +### MCP Server -[![RuFlo Explained — build an AI team that plans, remembers, tests, and improves](docs/assets/ruflo-explained/ch14.jpg)](docs/ruflo-explained.md) +```bash +# Add Ruflo as an MCP server in Claude Code +claude mcp add claude-flow -- npx ruflo@latest mcp start +``` -**[📖 RuFlo Explained — Build an AI Team That Plans, Remembers, Tests, and Improves](docs/ruflo-explained.md)** -A 14-chapter guide: from the basic idea to a first useful task, then memory, agent teams, plugins, cost and verification. +For static inspection of local applications and binaries, see the [ruRE plugin guide](plugins/ruflo-rure/README.md). -
- -> **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. - -

Ruflo trajectory learning: branching memory paths, outcome feedback, contrastive AI and local learning. No LLM required for local vector retrieval and contrastive updates; agent execution may still use an LLM.

- -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. - -
-Architecture in text - -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. +--- **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). -
-📖 Background — where the name comes from - -> Claude Flow is now Ruflo — named by [`rUv`](https://ruv.io), who loves Rust, flow states, and building things that feel inevitable. The "Ru" is the rUv. The "flo" is working until 3am. Underneath, powered by [`Cognitum.One`](https://cognitum.one/?RuFlo) agentic architecture, running a supercharged Rust-based AI engine, embeddings, memory, and plugin system. -
---- - ## Mission Control

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](docs/assets/ruflo-console-workflows.svg) | @@ -195,34 +185,34 @@ The default is **read + ask**. Available levels are `read`, `write`, `manage`, a [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) -## Quick Start + -

Start building with Ruflo

+## Choose your next capability -There are **two different install paths** with very different surface areas. Pick based on what you need (#1744): + + + + +
Agent teamsPersistent memory
Learning loopsSecurity controls
Plugin marketplaceModels and routing
-| | **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 | +
+Capability counts and implementation details -### Path A — Claude Code Plugins (lite, slash commands only) +| 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](docs/reviews/intelligence-system-audit-2026-05-29.md) + [`scripts/benchmark-intelligence.mjs`](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](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). | -```bash -# 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. +
🔌 All 48 plugins (plus 3 external) @@ -325,74 +315,23 @@ This adds slash commands and agent definitions. `ruflo-core` (installed above) d
-### CLI Install +## How Ruflo works -**macOS / Linux / WSL / Git-Bash:** +> **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. -```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. - -### 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). - ---- - -## What You Get - -

Your agent toolkit

- - - - - -
Agent teamsPersistent memory
Learning loopsSecurity controls
Plugin marketplaceModels and routing
- -| 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](docs/reviews/intelligence-system-audit-2026-05-29.md) + [`scripts/benchmark-intelligence.mjs`](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](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). | - -### Learning from experience +### What can the next run reuse?

Recall, execute, evaluate, store, adapt and reuse: an illustrative agent learning cycle.

Useful trajectories and task feedback can inform future work. Results depend on the configured memory, learning components and quality of feedback. [Learning plugin](plugins/ruflo-intelligence/README.md). -### Agent Federation — Slack for Agents +[Watch the learning walkthrough](docs/assets/readme/learning-cinematic-compact.svg) · [Local RVF search recipe](docs/recipes/rvf-mcp-search.md) -

Connected intelligence across machines

+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. + + + +### How do two teams exchange work?

Outbound agent, data filtering, signing and encryption, identity verification, input checks and receiving agent.

@@ -492,13 +431,24 @@ User --> Claude Code / CLI ---- +## Explore the ecosystem + +| Project | What it adds | Get started | +| --- | --- | --- | +| [ruOS](https://ruos.cognitum.one) | A desktop that connects to Claude or ChatGPT through MCP. | Connect to `https://ruos.cognitum.one/mcp` | +| [RuVector](https://github.com/ruvnet/ruvector) | Local vector search and persistent context for agents. | Run `npx ruvector` | +| [Cognitum](https://cognitum.one) | Edge infrastructure for ambient intelligence. | [Explore Cognitum One](https://cognitum.one) | + +[See the ruOS desktop](ruflo/assets/ruos-animated.svg) · [Watch the RuVector overview](docs/assets/readme/ruvector-promo-depth.svg) · [Ruvnet ecosystem](https://ruv.io) ## Documentation

Guides, architecture and verification

-Four docs for four audiences: +[English](README.md) · [简体中文](README.zh-CN.md) + +**[📖 RuFlo Explained — Build an AI Team That Plans, Remembers, Tests, and Improves](docs/ruflo-explained.md)** +A 14-chapter guide: from the basic idea to a first useful task, then memory, agent teams, plugins, cost and verification. | Doc | When to read it | |-----|-----------------| @@ -512,10 +462,12 @@ Four docs for four audiences: Benchmark internals (for reproduction): [`sota-workload-spec.md`](https://github.com/ruvnet/ruflo/blob/perf/sota-comparator-benchmarks/docs/benchmarks/sota-workload-spec.md) · [`SOTA-PROGRESS.md`](https://github.com/ruvnet/ruflo/blob/perf/sota-comparator-benchmarks/docs/benchmarks/SOTA-PROGRESS.md) · [raw matrix JSON: darwin](https://github.com/ruvnet/ruflo/blob/perf/sota-comparator-benchmarks/docs/benchmarks/sota-matrix.json) · [linux](https://github.com/ruvnet/ruflo/blob/perf/sota-comparator-benchmarks/docs/benchmarks/sota-matrix-linux.json) -User Guide section index: +
+User Guide section index + +| Guide section | Topics | +| --- | --- | -| Section | Topics | -|---------|--------| | [Quick Start](docs/USERGUIDE.md#quick-start) | Installation, prerequisites, install profiles | | [Core Features](docs/USERGUIDE.md#-core-features) | MCP tools, agents, memory, neural learning | | [Intelligence & Learning](docs/USERGUIDE.md#-intelligence--learning) | Hooks, workers, SONA, model routing | @@ -525,7 +477,14 @@ User Guide section index: | [Configuration](docs/USERGUIDE.md#%EF%B8%8F-configuration--reference) | Environment variables, config schema | | [Plugin Marketplace](https://ruvnet.github.io/ruflo) | Browse and install plugins | ---- +
+ +
+📖 Background — where the name comes from + +> Claude Flow is now Ruflo — named by [`rUv`](https://ruv.io), who loves Rust, flow states, and building things that feel inevitable. The "Ru" is the rUv. The "flo" is working until 3am. Underneath, powered by [`Cognitum.One`](https://cognitum.one/?RuFlo) agentic architecture, running a supercharged Rust-based AI engine, embeddings, memory, and plugin system. + +
## Support @@ -539,10 +498,6 @@ User Guide section index: | Community | [Agentics Foundation Discord](https://discord.com/invite/dfxmpwkG2D) | | Powered by | [Cognitum.one](https://cognitum.one) | -

Ruflo

- ## License MIT - [RuvNet](https://github.com/ruvnet) - -Cognitum One: Ambient Intelligence at the edge of the Physical World. Explore cognitum.one.