by ruvnet
๐ The leading agent orchestration platform for Claude. Deploy intelligent multi-agent swarms, coordinate autonomous workflows, and build conversational AI systems. Features enterprise-grade architecture, distributed swarm intelligence, RAG integration, and native Claude Code / Codex Integration
# Add to your Claude Code skills
git clone https://github.com/ruvnet/claude-flowDeploy 60+ specialized agents in coordinated swarms with self-learning capabilities, fault-tolerant consensus, and enterprise-grade security.
Ruflo is a comprehensive AI agent orchestration framework that transforms Claude Code into a powerful multi-agent development platform. It enables teams to deploy, coordinate, and optimize specialized AI agents working together on complex software engineering tasks.
User โ Ruflo (CLI/MCP) โ Router โ Swarm โ Agents โ Memory โ LLM Providers
โ โ
โโโโโ Learning Loop โโโโโโโโ
flowchart TB
subgraph USER["๐ค User Layer"]
U[User]
end
subgraph ENTRY["๐ช Entry Layer"]
CLI[CLI / MCP Server]
AID[AIDefence Security]
end
subgraph ROUTING["๐งญ Routing Layer"]
QL[Q-Learning Router]
MOE[MoE - 8 Experts]
SK[Skills - 42+]
HK[Hooks - 17]
end
subgraph SWARM["๐ Swarm Coordination"]
TOPO[Topologies<br/>mesh/hier/ring/star]
CONS[Consensus<br/>Raft/BFT/Gossip/CRDT]
CLM[Claims<br/>Human-Agent Coord]
end
subgraph AGENTS["๐ค 60+ Agents"]
AG1[coder]
AG2[tester]
AG3[reviewer]
AG4[architect]
AG5[security]
AG6[...]
end
subgraph RESOURCES["๐ฆ Resources"]
MEM[(Memory<br/>AgentDB)]
PROV[Providers<br/>Claude/GPT/Gemini/Ollama]
WORK[Workers - 12<br/>ultralearn/audit/optimize]
end
subgraph RUVECTOR["๐ง RuVector Intelligence Layer"]
direction TB
subgraph ROW1[" "]
SONA[SONA<br/>Self-Optimize<br/><0.05ms]
EWC[EWC++<br/>No Forgetting]
FLASH[Flash Attention<br/>2.49-7.47x]
end
subgraph ROW2[" "]
HNSW[HNSW<br/>150x-12,500x faster]
RB[ReasoningBank<br/>Pattern Store]
HYP[Hyperbolic<br/>Poincarรฉ]
end
subgraph ROW3[" "]
LORA[LoRA/Micro<br/>128x compress]
QUANT[Int8 Quant<br/>3.92x memory]
RL[9 RL Algos<br/>Q/SARSA/PPO/DQN]
end
end
subgraph LEARNING["๐ Learning Loop"]
L1[RETRIEVE] --> L2[JUDGE] --> L3[DISTILL] --> L4[CONSOLIDATE] --> L5[ROUTE]
end
U --> CLI
CLI --> AID
AID --> QL & MOE & SK & HK
QL & MOE & SK & HK --> TOPO & CONS & CLM
TOPO & CONS & CLM --> AG1 & AG2 & AG3 & AG4 & AG5 & AG6
AG1 & AG2 & AG3 & AG4 & AG5 & AG6 --> MEM & PROV & WORK
MEM --> SONA & EWC & FLASH
SONA & EWC & FLASH --> HNSW & RB & HYP
HNSW & RB & HYP --> LORA & QUANT & RL
LORA & QUANT & RL --> L1
L5 -.->|loops back| QL
style RUVECTOR fill:#1a1a2e,stroke:#e94560,stroke-width:2px
style LEARNING fill:#0f3460,stroke:#e94560,stroke-width:2px
style USER fill:#16213e,stroke:#0f3460
style ENTRY fill:#1a1a2e,stroke:#0f3460
style ROUTING fill:#1a1a2e,stroke:#0f3460
style SWARM fill:#1a1a2e,stroke:#0f3460
style AGENTS fill:#1a1a2e,stroke:#0f3460
style RESOURCES fill:#1a1a2e,stroke:#0f3460
RuVector Components (npx ruvector):
| Component | Purpose | Performance | |-----------|---------|-------------| | SONA | Self-Optimizing Neural Architecture - learns optimal routing | <0.05ms adaptation | | EWC++ | Elastic Weight Consolidation - prevents catastrophic forgetting | Preserves 95%+ knowledge | | Flash Attention | Optimized attention computation | 2.49x-7.47x speedup | | HNSW | Hierarchical Navigable Small World vector search | 150x-12,500x faster | | ReasoningBank | Pattern storage with trajectory learning | RETRIEVEโJUDGEโDISTILL | | Hyperbolic | Poincarรฉ ball embeddings for hierarchical data | Better code relationships | | LoRA/MicroLoRA | Low-Rank Adaptation for efficient fine-tuning | <3ฮผs adaptation, 383k ops/sec | | Int8 Quantization | Memory-efficient weight storage | 3.92x memory reduction | | SemanticRouter | Semantic task routing with cosine similarity | 34,798 routes/s, 0.029ms | | 9 RL Algorithms | Q-Learning, SARSA, A2C, PPO, DQN, Decision Transformer, etc. | Task-specific learning |
# Install RuVector standalone
npx ruvector
# Or use via Ruflo
npx ruflo@v3alpha hooks intelligence --status
# One-line install (recommended)
curl -fsSL https://cdn.jsdelivr.net/gh/ruvnet/claude-flow@main/scripts/install.sh | bash
# Or full setup with MCP + diagnostics
curl -fsSL https://cdn.jsdelivr.net/gh/ruvnet/claude-flow@main/scripts/install.sh | bash -s -- --full
# Or via npx
npx ruflo@alpha init --wizard
๐ค 60+ Specialized Agents - Ready-to-use AI agents for coding, code review, testing, security audits, documentation, and DevOps. Each agent is optimized for its specific role.
๐ Coordinated Agent Teams - Run unlimited agents simultaneously in organized swarms. Agents spawn sub-workers, communicate, share context, and divide work automatically using hierarchical (queen/workers) or mesh (peer-to-peer) patterns.
๐ง Learns From Your Workflow - The system remembers what works. Successful patterns are stored and reused, routing similar tasks to the best-performing agents. Gets smarter over time.
๐ Works With Any LLM - Switch between Claude, GPT, Gemini, Cohere, or local models like Llama. Automatic failover if one provider is unavailable. Smart routing picks the cheapest option that meets quality requirements.
โก Plugs Into Claude Code - Native integration via MCP (Model Context Protocol). Use ruflo commands directly in your Claude Code sessions with full tool access.
๐ Production-Ready Security - Built-in protection against prompt injection, input validation, path traversal prevention, command injection blocking, and safe credential handling.
๐งฉ Extensible Plugin System - Add custom capabilities with the plugin SDK. Create workers, hooks, providers, and security modules. Share plugins via the decentralized IPFS marketplace.
Every request flows through four layers: from your CLI or Claude Code interface, through intelligent routing, to specialized agents, and finally to LLM providers for reasoning.
| Layer | Components | What It Does | |-------|------------|--------------| | User | Claude Code, CLI | Your interface to control and run commands | | Orchestration | MCP Server, Router, Hooks | Routes requests to the right agents | | Agents | 60+ types | Specialized workers (coder, tester, reviewer...) | | Providers | Anthropic, OpenAI, Google, Ollama | AI models that power reasoning |
Agents organize into swarms led by queens that coordinate work, prevent drift, and reach consensus on decisionsโeven when some agents fail.
| Layer | Components | What It Does | |-------|------------|--------------| | Coordination | Queen, Swarm, Consensus | Manages agent teams (Raft, Byzantine, Gossip) | | Drift Control | Hierarchical topology, Checkpoints | Prevents agents from going off-task | | Hive Mind | Queen-led hierarchy, Collective memory | Strategic/tactical/adaptive queens coordinate workers | | Consensus | Byzantine, Weighted, Majority | Fault-tolerant decisions (2/3 majority for BFT) |
Hive Mind Capabilities:
No comments yet. Be the first to share your thoughts!