Co-Pilot
Updated a month ago

claude-flow

Rruvnet
13.1k
ruvnet/claude-flow
82
Agent Score

πŸ’‘ Summary

Claude-Flow is an AI orchestration platform enabling coordinated deployment of specialized agents for software engineering tasks.

🎯 Target Audience

Software EngineersDevOps TeamsAI ResearchersProject ManagersTech Startups

πŸ€– AI Roast: β€œPowerful, but the setup might scare off the impatient.”

Security AnalysisMedium Risk

Risk: Medium. Review: shell/CLI command execution; outbound network access (SSRF, data egress); API keys/tokens handling and storage; filesystem read/write scope and path traversal; dependency pinning and supply-chain risk. Run with least privilege and audit before enabling in production.

🌊 Claude-Flow v3: Enterprise AI Orchestration Platform

Claude-Flow Banner

Star on GitHub Monthly Downloads Total Downloads ruv.io Agentics Foundation Claude Code MIT License

Follow @ruv LinkedIn YouTube

Production-ready multi-agent AI orchestration for Claude Code

Deploy 60+ specialized agents in coordinated swarms with self-learning capabilities, fault-tolerant consensus, and enterprise-grade security.

Getting into the Flow

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

Self-Learning/Self-Optimizing Agent Architecture

User β†’ Claude-Flow (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/>&lt;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 Claude-Flow npx claude-flow@v3alpha hooks intelligence --status

Get Started Fast

# 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 claude-flow@alpha init --wizard

Key Capabilities

πŸ€– 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 claude-flow 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.


A multi-purpose Agent Tool Kit

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:

  • 🐝 Queen Types: Strategic (planning), Tactical (execution), Adaptive (optimization)
  • πŸ‘· 8 Worker Types: Researcher, Coder, Analyst, Tester, Architect, Reviewer, Op
5-Dim Analysis
Clarity8/10
Novelty9/10
Utility9/10
Completeness8/10
Maintainability7/10
Pros & Cons

Pros

  • Supports over 60 specialized agents.
  • Self-learning and optimizing capabilities.
  • Integrates with multiple LLM providers.
  • Extensible plugin system for custom features.

Cons

  • Complex architecture may require steep learning curve.
  • Dependency on external LLM providers.
  • Potential performance overhead with multiple agents.
  • Security concerns if not properly configured.

Related Skills

useful-ai-prompts

A
toolCo-Pilot
88/ 100

β€œA treasure trove of prompts, but don’t expect them to write your novel for you.”

fastmcp

A
toolCo-Pilot
86/ 100

β€œFastMCP: because who doesn't love a little complexity with their AI?”

python-pro

A
toolCo-Pilot
86/ 100

β€œPowerful, but the setup might scare off the impatient.”

Disclaimer: This content is sourced from GitHub open source projects for display and rating purposes only.

Copyright belongs to the original author ruvnet.