๐ The original agent harness. Deploy intelligent multi-player swarms, coordinate autonomous workflows, and build conversational AI systems. Features adaptive memory, self-learning intelligence, federation, vector RAG integration, and native Claude Code / Codex / Hermes and many more Integrated
TypeScript agentic-aiagentic-frameworkagentic-workflowagentsai-agentsai-assistantai-skillsautonomous-agentsclaudecodexdsh-pluginharnessmcp-servermulti-agentmulti-agent-systemsnpmskillsswarmswarm-intelligencetypescript
Update README.md
rUv75be3a7fffce
diff --git a/README.md b/README.mdindex 61eae93e37..926575807c 100644--- a/README.md+++ b/README.md@@ -7,34 +7,38 @@[](https://github.com/ruvnet/claude-flow)[](https://discord.com/invite/dfxmpwkG2D)[](https://github.com/ruvnet/claude-flow)-[](https://github.com/ruvnet/claude-flow)+[](https://github.com/ruvnet/claude-flow)[](https://opensource.org/licenses/MIT)</div>-**Enterprise-Grade AI Agent Orchestration with Swarm Intelligence**--[๐ Quick Start](#-quick-start) โข [๐ Documentation](#-documentation) โข [๐ ๏ธ Installation](#๏ธ-installation) โข [๐ก Examples](#-examples) โข [๐ค Contributing](#-contributing)--</div>-----## ๐ฏ Overview+## ๐ **Overview**++**Claude-Flow v2 Alpha** is an enterprise-grade AI orchestration platform that reimagines how developers build with AI. By combining **hive-mind swarm intelligence**, **neural pattern recognition**, and **87 advanced MCP tools**, Claude-Flow enables unprecedented AI-powered development workflows.-Claude-Flow is a cutting-edge AI agent orchestration platform that revolutionizes how developers build with artificial intelligence. By combining **swarm intelligence**, **neural pattern recognition**, and **comprehensive MCP tools**, Claude-Flow enables unprecedented AI-powered development workflows.+### ๐ฏ **Key Features**-### ๐ Key Highlights+- **๐ Hive-Mind Intelligence**: Queen-led AI coordination with specialized worker agents+- **๐ง Neural Networks**: 27+ cognitive models with WASM SIMD acceleration+- **๐ง 87 MCP Tools**: Comprehensive toolkit for swarm orchestration, memory, and automation+- **๐ Dynamic Agent Architecture (DAA)**: Self-organizing agents with fault tolerance+- **๐พ SQLite Memory System**: Persistent `.swarm/memory.db` with 12 specialized tables+- **๐ช Advanced Hooks System**: Automated workflows with pre/post operation hooks+- **๐ GitHub Integration**: 6 specialized modes for repository management-- **54+ Specialized AI Agents** - From coding to architecture design-- **Swarm Intelligence** - Distributed decision-making with multiple coordination strategies-- **87 MCP Tools** - Complete toolkit for automation and integration-- **Enterprise-Ready** - Production-grade security, monitoring, and scalability+> ๐ฅ **Revolutionary AI Coordination**: Build faster, smarter, and more efficiently with AI-powered development orchestration+## โก **Try v2.0.0 Alpha in 4 Commands**+### ๐ **Prerequisites**+- **Node.js 18+** (LTS recommended)+- **npm 9+** or equivalent package manager+- **Windows users**: See [Windows Installation Guide](https://github.com/ruvnet/claude-code-flow/blob/main/docs/windows-installation.md) for special instructions-## ๐ Quick Start+โ ๏ธ **IMPORTANT**: Claude Code must be installed first:```bash# 1. Install Claude Code globally@@ -45,645 +49,627 @@ npm install -g @anthropic-ai/claude-codeclaude --dangerously-skip-permissions```-### Prerequisites+๐ก **Windows Note**: If you encounter SQLite errors, Claude Flow will automatically use in-memory storage. For persistent storage options, see our [Windows guide](https://github.com/ruvnet/claude-code-flow/blob/main/docs/windows-installation.md).-- **Node.js** โฅ 20.0.0-- **npm** โฅ 9.0.0-- **Claude Code** (required for full functionality)--### Installation+### ๐ฏ **Instant Alpha Testing**```bash-# Install globally-npm install -g claude-flow@alpha--# Or use npx (recommended)-npx claude-flow@alpha --help--# Initialize configuration+# 1. Initialize Claude Flow with enhanced MCP setup (auto-configures permissions!)npx claude-flow@alpha init --force-```-### Basic Usage--```bash-# Simple task execution-npx claude-flow@alpha swarm "build a REST API with authentication"+# 2. Explore all revolutionary capabilities+npx claude-flow@alpha --help-# Complex project coordination-npx claude-flow@alpha hive-mind spawn "enterprise microservices" --claude+# 3a. Quick AI coordination (recommended for most tasks)+npx claude-flow@alpha swarm "build me a REST API"-# SPARC development mode-npx claude-flow@alpha sparc tdd "user management system"+# 3b. OR launch the full hive-mind system (for complex projects)+npx claude-flow@alpha hive-mind wizard+npx claude-flow@alpha hive-mind spawn "build enterprise system" --claude```-## ๐๏ธ Architecture+### ๐ค **Swarm vs Hive-Mind: Which to Use?**-### System Components+| Feature | `swarm` Command | `hive-mind` Command |+|---------|----------------|-------------------|+| **Best For** | Quick tasks, single objectives | Complex projects, persistent sessions |+| **Setup** | Instant - no configuration needed | Interactive wizard setup |+| **Session** | Temporary coordination | Persistent with resume capability |+| **Memory** | Task-scoped | Project-wide with SQLite storage |+| **Agents** | Auto-spawned for task | Manual control with specializations |+| **Use When** | "Build X", "Fix Y", "Analyze Z" | Multi-feature projects, team coordination |-```-โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ-โ Claude-Flow Core โ-โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโค-โ โ-โ โโโโโโโโโโโโโโโ โโโโโโโโโโโโโโโ โโโโโโโโโโโโโโโ โ-โ โ Agent โ โ Swarm โ โ Memory โ โ-โ โ Orchestratorโ โ Coordinator โ โ Manager โ โ-โ โโโโโโโโโโโโโโโ โโโโโโโโโโโโโโโ โโโโโโโโโโโโโโโ โ-โ โ-โ โโโโโโโโโโโโโโโ โโโโโโโโโโโโโโโ โโโโโโโโโโโโโโโ โ-โ โ MCP โ โ Task โ โ Provider โ โ-โ โ Server โ โ Engine โ โ Interface โ โ-โ โโโโโโโโโโโโโโโ โโโโโโโโโโโโโโโ โโโโโโโโโโโโโโโ โ-โ โ-โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ-```+**Quick Rule:** Start with `swarm` for most tasks. Use `hive-mind` when you need persistent sessions or complex multi-agent coordination.-### Core Design Patterns+## ๐ฏ **Typical Workflows - Your "Happy Path" Guide**-- **Microservices Architecture** - Modular, scalable components-- **Event-Driven Communication** - Asynchronous, non-blocking operations-- **Domain-Driven Design** - Clear boundaries and rich domain models-- **CQRS & Event Sourcing** - Audit trails and state management+### **New to Claude-Flow? Start Here!**-## ๐ค Agent Types+Confused about `.hive-mind` and `.swarm` directories? Not sure when to create new hives? Here are the most common workflow patterns:-### Development Agents+#### **๐ Pattern 1: Single Feature Development**+```bash+# Initialize once per feature/task+npx claude-flow@alpha init --force+npx claude-flow@alpha hive-mind spawn "Implement user authentication" --claude-| Agent | Specialization | Use Cases |-|-------|---------------|-----------|-| `coder` | Implementation | Code generation, refactoring |-| `reviewer` | Quality assurance | Code reviews, best practices |-| `tester` | Test creation | Unit tests, integration tests |-| `architect` | System design | Architecture patterns, design |-| `debugger` | Problem solving | Bug fixing, optimization |+# Continue working on SAME feature (reuse existing hive)+npx claude-flow@alpha hive-mind status+npx claude-flow@alpha memory query "authentication" --recent+npx claude-flow@alpha swarm "Add password reset functionality" --continue-session+```-### Coordination Agents+#### **๐๏ธ Pattern 2: Multi-Feature Project**+```bash+# Project-level initialization (once per project)+npx claude-flow@alpha init --force --project-name "my-app"-| Agent | Specialization | Use Cases |-|-------|---------------|-----------|-| `planner` | Strategic planning | Project roadmaps, task breakdown |-| `coordinator` | Task management | Work distribution, scheduling |-| `monitor` | Performance tracking | Metrics, health checks |-| `optimizer` | Resource management | Cost optimization, efficiency |+# Feature 1: Authentication (new hive)+npx claude-flow@alpha hive-mind spawn "auth-system" --namespace auth --claude-### Specialized Agents+# Feature 2: User management (separate hive)+npx claude-flow@alpha hive-mind spawn "user-management" --namespace users --claude-| Agent | Specialization | Use Cases |-|-------|---------------|-----------|-| `backend-dev` | Server development | APIs, databases, services |-| `mobile-dev` | Mobile apps | React Native, iOS, Android |-| `ml-developer` | Machine learning | Model training, deployment |-| `security-analyst` | Security | Vulnerability assessment, fixes |-| `devops-engineer` | Infrastructure | CI/CD, deployment, monitoring |+# Resume Feature 1 later (use session ID from spawn output)+npx claude-flow@alpha hive-mind resume session-xxxxx-xxxxx+```-[View all 54+ agents โ](docs/AGENTS.md)+#### **๐ Pattern 3: Research & Analysis**+```bash+# Start research session+npx claude-flow@alpha hive-mind spawn "Research microservices patterns" --agents researcher,analyst --claude-## ๐ Swarm Intelligence+# Continue research in SAME session+npx claude-flow@alpha memory stats # See what's been learned+npx claude-flow@alpha swarm "Deep dive into API gateway patterns" --continue-session+```-### Coordination Topologies+### **๐ค When Should I Create a New Hive?**-#### 1. Centralized (Queen-Led)-```- Queen- / | \- W1 W2 W3-```-- Single point of control-- Simplified communication-- Best for sequential tasks+| Situation | Action | Command |+|-----------|--------|---------|+| **Same objective/feature** | Continue existing hive | `npx claude-flow@alpha hive-mind resume <session-id>` |+| **New feature in same project** | Create new hive with namespace | `npx claude-flow@alpha hive-mind spawn "new-feature" --namespace feature-name` |+| **Completely different project** | New directory + init | `mkdir new-project && cd new-project && npx claude-flow@alpha init` |+| **Experimenting/testing** | Temporary hive | `npx claude-flow@alpha hive-mind spawn "experiment" --temp` |-#### 2. Distributed (Multi-Leader)-```- L1 --- L2- /\ /\- W1 W2 W3 W4-```-- Fault-tolerant leadership-- Load distribution-- Parallel task execution+### **๐ Understanding "Empty" Directories**-#### 3. Mesh (Peer-to-Peer)-```- A1 โโโ A2- โ โฒ โฑ โ- โ โณ โ- โ โฑ โฒ โ- A3 โโโ A4-```-- Direct communication-- No single point of failure-- Creative collaboration+**Don't panic if directories seem empty!** Claude-Flow uses SQLite databases that may not show files in directory listings:-#### 4. Hierarchical (Tree)-```- Root- / \- M1 M2- / \ / \- W1 W2 W3 W4+```bash+# Check what's actually stored (even if directories look empty)+npx claude-flow@alpha memory stats # See memory data+npx claude-flow@alpha memory list # List all namespaces+npx claude-flow@alpha hive-mind status # See active hives++# Your project structure after initialization:+# .hive-mind/ <- Contains config.json + SQLite session data+# .swarm/ <- Contains memory.db (SQLite database)+# memory/ <- Agent-specific memories (created when agents spawn)+# coordination/ <- Active workflow files (created during tasks)```-- Multi-level coordination-- Scalable structure-- Complex projects-### Swarm Commands+### **๐ Continuing Previous Work**```bash-# Initialize swarm with topology-npx claude-flow@alpha swarm init --topology mesh+# See what you were working on+npx claude-flow@alpha hive-mind status+npx claude-flow@alpha memory query --recent --limit 5-# Spawn agents for task-npx claude-flow@alpha swarm spawn "build microservices" --agents 8+# List all sessions to find the one you want+npx claude-flow@alpha hive-mind sessions-# Monitor swarm progress-npx claude-flow@alpha swarm status --real-time--# Optimize swarm performance-npx claude-flow@alpha swarm optimize --auto-scale+# Resume specific session by ID+npx claude-flow@alpha hive-mind resume session-xxxxx-xxxxx```-## ๐ง SPARC Development Environment--### SPARC Methodology+----**S**pecification โ **P**seudocode โ **A**rchitecture โ **R**efinement โ **C**ode+## ๐ช **Advanced Hooks System**-### Available SPARC Modes+### **Automated Workflow Enhancement**+Claude-Flow v2.0.0 introduces a powerful hooks system that automates coordination and enhances every operation:```bash-# List all modes-npx claude-flow@alpha sparc modes+# Hooks automatically trigger on operations+npx claude-flow@alpha init --force # Auto-configures MCP servers & hooks+```-# Test-Driven Development-npx claude-flow@alpha sparc tdd "payment processing"+### **Available Hooks**-# Architecture-first development-npx claude-flow@alpha sparc architecture "microservices design"+#### **Pre-Operation Hooks**+- **`pre-task`**: Auto-assigns agents based on task complexity+- **`pre-search`**: Caches searches for improved performance+- **`pre-edit`**: Validates files and prepares resources+- **`pre-command`**: Security validation before execution-# Full pipeline execution-npx claude-flow@alpha sparc pipeline "complete feature"+#### **Post-Operation Hooks**+- **`post-edit`**: Auto-formats code using language-specific tools+- **`post-task`**: Trains neural patterns from successful operations+- **`post-command`**: Updates memory with operation context+- **`notification`**: Real-time progress updates-# Parallel mode execution-npx claude-flow@alpha sparc batch spec,architecture,code "user system"+#### **Session Hooks**+- **`session-start`**: Restores previous context automatically+- **`session-end`**: Generates summaries and persists state+- **`session-restore`**: Loads memory from previous sessions++### **Hook Configuration**+```json+// .claude/settings.json (auto-configured)+{+ "hooks": {+ "preEditHook": {+ "command": "npx",+ "args": ["claude-flow", "hooks", "pre-edit", "--file", "${file}", "--auto-assign-agents", "true"],+ "alwaysRun": false+ },+ "postEditHook": {+ "command": "npx",+ "args": ["claude-flow", "hooks", "post-edit", "--file", "${file}", "--format", "true"],+ "alwaysRun": true+ },+ "sessionEndHook": {+ "command": "npx",+ "args": ["claude-flow", "hooks", "session-end", "--generate-summary", "true"],+ "alwaysRun": true+ }+ }+}```-### SPARC Mode Examples+### **Using Hooks in Claude Code**-| Mode | Purpose | Command |-|------|---------|---------|-| `spec` | Requirements analysis | `sparc spec "feature requirements"` |-| `pseudocode` | Algorithm design | `sparc pseudocode "sorting algorithm"` |-| `architecture` | System design | `sparc architecture "api structure"` |-| `refinement` | Optimization | `sparc refinement "improve performance"` |-| `code` | Implementation | `sparc code "implement feature"` |-| `tdd` | Test-driven dev | `sparc tdd "user authentication"` |+Hooks integrate seamlessly with Claude Code's workflow:-## ๐พ Memory Management+1. **Automatic Triggering**: Hooks fire automatically during Claude Code operations+2. **Context Awareness**: Each hook receives relevant context (file paths, commands, etc.)+3. **Non-Blocking**: Hooks run asynchronously to maintain performance+4. **Configurable**: Enable/disable specific hooks as needed-### Distributed Memory System+### **Hook Examples**```bash-# Store memory entry-npx claude-flow@alpha memory store "project-context" "API design patterns"--# Query memory-npx claude-flow@alpha memory query "authentication" --namespace auth--# View memory statistics-npx claude-flow@alpha memory stats+# Manual hook execution+npx claude-flow hooks pre-task --description "Build REST API" --auto-spawn-agents-# Export memory for backup-npx claude-flow@alpha memory export --format json > backup.json-```--### Memory Architecture+# Post-edit with formatting+npx claude-flow hooks post-edit --file "src/api.js" --format --train-neural-```-.swarm/memory.db-โโโ knowledge_base # Persistent facts-โโโ agent_state # Agent status-โโโ task_results # Completed work-โโโ communication # Agent messages-โโโ performance # Metrics data-โโโ cache # Temporary data+# Session management+npx claude-flow hooks session-end --generate-summary --persist-state```-## ๐ง MCP Integration+### **Fixing Hook Variable Interpolation**-### MCP Server Setup+If you're experiencing issues with `${file}` or `${command}` variables not working in your hooks (common with Claude Code 1.0.51+), use the `fix-hook-variables` command:```bash-# Start MCP server-npx claude-flow@alpha mcp start+# Fix all found settings.json files+npx claude-flow@alpha fix-hook-variables-# Check server status-npx claude-flow@alpha mcp status+# Fix specific file+npx claude-flow@alpha fix-hook-variables .claude/settings.json-# List available tools-npx claude-flow@alpha mcp tools+# Create test configuration+npx claude-flow@alpha fix-hook-variables --test```-### Available MCP Tools--| Tool | Function |-|------|----------|-| `swarm_init` | Initialize swarm topology |-| `agent_spawn` | Create new agents |-| `task_orchestrate` | Coordinate tasks |-| `memory_usage` | Memory management |-| `swarm_status` | Monitor progress |+This command automatically transforms legacy variable syntax to working environment variables:+- `${file}` โ `$CLAUDE_EDITED_FILE`+- `${command}` โ `$CLAUDE_COMMAND`+- `${tool}` โ `$CLAUDE_TOOL`-[View all 87 MCP tools โ](docs/MCP_TOOLS.md)--## ๐ Integrations+---+## ๐ **Revolutionary Hive-Mind Intelligence**-### GitHub Integration+### **Queen-Led AI Coordination**+Claude-Flow v2.0.0 introduces groundbreaking hive-mind architecture where a **Queen AI** coordinates specialized worker agents in perfect harmony.```bash-# Setup GitHub integration-npx claude-flow@alpha github init+# Deploy intelligent swarm coordination+npx claude-flow@alpha swarm "Build a full-stack application" --strategy development-# Manage pull requests-npx claude-flow@alpha github pr-manager "review and merge"+# Launch hive-mind with specific specializations+npx claude-flow@alpha hive-mind spawn "Create microservices architecture" --agents 8 --claude+```-# Track issues-npx claude-flow@alpha github issue-tracker "analyze bugs"+### **๐ค Intelligent Agent Types**+- **๐ Queen Agent**: Master coordinator and decision maker+- **๐๏ธ Architect Agents**: System design and technical architecture+- **๐ป Coder Agents**: Implementation and development+- **๐งช Tester Agents**: Quality assurance and validation+- **๐ Analyst Agents**: Data analysis and insights+- **๐ Researcher Agents**: Information gathering and analysis+- **๐ก๏ธ Security Agents**: Security auditing and compliance+- **๐ DevOps Agents**: Deployment and infrastructure-# Coordinate releases-npx claude-flow@alpha github release-manager "v2.0.0"-```+----### CI/CD Integration+## โก **87 Advanced MCP Tools**+### **๐ง Neural & Cognitive Tools**```bash-# GitHub Actions workflow-npx claude-flow@alpha cicd github-actions "setup pipeline"--# Docker deployment-npx claude-flow@alpha cicd docker "containerize app"+# Neural pattern recognition and training+npx claude-flow@alpha neural train --pattern coordination --epochs 50+npx claude-flow@alpha neural predict --model cognitive-analysis+npx claude-flow@alpha cognitive analyze --behavior "development workflow"+```-# Kubernetes orchestration-npx claude-flow@alpha cicd k8s "deploy to cluster"+### **๐พ SQLite Memory Systems**+```bash+# Cross-session memory management with SQLite persistence+npx claude-flow@alpha memory store "project-context" "Full-stack app requirements"+npx claude-flow@alpha memory query "authentication" --namespace sparc+npx claude-flow@alpha memory stats # Shows 12 specialized tables+npx claude-flow@alpha memory export backup.json --namespace default+npx claude-flow@alpha memory import project-memory.json```-## ๐ Performance Metrics+> ๐ช **Windows Users**: SQLite will automatically fallback to in-memory storage if native modules fail. All features work normally, but data won't persist between sessions. See [Windows guide](https://github.com/ruvnet/claude-code-flow/blob/main/docs/windows-installation.md) for persistent storage options.-### Benchmark Results+### **๐ Workflow Orchestration**+```bash+# Advanced workflow automation+npx claude-flow@alpha workflow create --name "CI/CD Pipeline" --parallel+npx claude-flow@alpha batch process --items "test,build,deploy" --concurrent+npx claude-flow@alpha pipeline create --config advanced-deployment.json+```-| Metric | Score | Industry Average |-|--------|-------|------------------|-| SWE-Bench | 84.8% | 45-60% |-| Task Completion | 96.3% | 70-80% |-| Speed Improvement | 2.8-4.4x | 1.5-2x |-| Memory Efficiency | 87% | 60-70% |-| Fault Recovery | 99.2% | 85-90% |+## ๐ง **Neural Network Capabilities**-### Performance Commands+### **Cognitive Computing Engine**+Powered by 27+ neural models optimized with WASM SIMD acceleration:```bash-# Run benchmarks-npx claude-flow@alpha benchmark run+# Train coordination patterns+npx claude-flow@alpha neural train --pattern coordination --data "workflow.json"-# View performance metrics-npx claude-flow@alpha monitor performance+# Real-time predictions+npx claude-flow@alpha neural predict --model task-optimizer --input "current-state.json"-# Generate diagnostic report-npx claude-flow@alpha diagnostics --full+# Analyze cognitive behavior+npx claude-flow@alpha cognitive analyze --behavior "development-patterns"```-## ๐ ๏ธ Configuration+### **Neural Features**+- **Pattern Recognition**: Learns from successful operations+- **Adaptive Learning**: Improves performance over time+- **Transfer Learning**: Apply knowledge across domains+- **Model Compression**: Efficient storage and execution+- **Ensemble Models**: Combine multiple neural networks+- **Explainable AI**: Understand decision-making process-### Configuration File+## ๐ง **DAA MCP Endpoints**-```json-{- "orchestrator": {- "maxConcurrentAgents": 100,- "taskQueueSize": 1000,- "defaultTopology": "mesh"- },- "memory": {- "backend": "sqlite",- "cacheSizeMB": 256,- "compressionEnabled": true- },- "providers": {- "anthropic": {- "apiKey": "YOUR_API_KEY",- "model": "claude-3-sonnet",- "temperature": 0.7- }- },- "hooks": {- "enabled": true,- "autoFormat": true,- "notifications": true- }-}-```--### Environment Variables+### **Dynamic Agent Architecture**+Complete programmatic control over agent lifecycle and coordination:```bash-# Core configuration-export CLAUDE_FLOW_DEBUG=true-export CLAUDE_FLOW_LOG_LEVEL=info-export CLAUDE_FLOW_DATA_DIR=./data--# API keys-export CLAUDE_API_KEY=your_api_key-export OPENAI_API_KEY=your_api_key--# Performance tuning-export CLAUDE_FLOW_MAX_AGENTS=50-export CLAUDE_FLOW_MEMORY_LIMIT=512+# Create specialized agents+npx claude-flow@alpha daa agent-create --type "specialized-researcher" \+ --capabilities "[\"deep-analysis\", \"pattern-recognition\"]" \+ --resources "{\"memory\": 2048, \"compute\": \"high\"}"++# Match capabilities to tasks+npx claude-flow@alpha daa capability-match \+ --task-requirements "[\"security-analysis\", \"performance-optimization\"]"++# Manage agent lifecycle+npx claude-flow@alpha daa lifecycle-manage --agentId "agent-123" --action "scale-up"+```++### **DAA Features**+- **Resource Allocation**: Dynamic CPU/memory management+- **Inter-Agent Communication**: Message passing and coordination+- **Consensus Mechanisms**: Democratic decision making+- **Fault Tolerance**: Self-healing with automatic recovery+- **Performance Optimization**: Real-time bottleneck resolution++### **MCP Tool Categories**++#### **๐ Swarm Orchestration** (15 tools)+- `swarm_init`, `agent_spawn`, `task_orchestrate`+- `swarm_monitor`, `topology_optimize`, `load_balance`+- `coordination_sync`, `swarm_scale`, `swarm_destroy`++#### **๐ง Neural & Cognitive** (12 tools)+- `neural_train`, `neural_predict`, `pattern_recognize`+- `cognitive_analyze`, `learning_adapt`, `neural_compress`+- `ensemble_create`, `transfer_learn`, `neural_explain`++#### **๐พ Memory Management** (10 tools)+- `memory_usage`, `memory_search`, `memory_persist`+- `memory_namespace`, `memory_backup`, `memory_restore`+- `memory_compress`, `memory_sync`, `memory_analytics`+- **SQLite Backend**: Persistent `.swarm/memory.db` with 12 specialized tables++#### **๐ Performance & Monitoring** (10 tools)+- `performance_report`, `bottleneck_analyze`, `token_usage`+- `benchmark_run`, `metrics_collect`, `trend_analysis`+- `health_check`, `diagnostic_run`, `usage_stats`++#### **๐ Workflow Automation** (10 tools)+- `workflow_create`, `workflow_execute`, `workflow_export`+- `automation_setup`, `pipeline_create`, `scheduler_manage`+- `trigger_setup`, `batch_process`, `parallel_execute`++#### **๐ฆ GitHub Integration** (6 tools)+- `github_repo_analyze`, `github_pr_manage`, `github_issue_track`+- `github_release_coord`, `github_workflow_auto`, `github_code_review`++#### **๐ค Dynamic Agents** (6 tools)+- `daa_agent_create`, `daa_capability_match`, `daa_resource_alloc`+- `daa_lifecycle_manage`, `daa_communication`, `daa_consensus`++#### **๐ก๏ธ System & Security** (8 tools)+- `security_scan`, `backup_create`, `restore_system`+- `config_manage`, `features_detect`, `log_analysis`++### **๐ GitHub Integration**+```bash+# GitHub workflow orchestration and coordination+npx claude-flow@alpha github gh-coordinator analyze --analysis-type security+npx claude-flow@alpha github pr-manager review --multi-reviewer --ai-powered+npx claude-flow@alpha github release-manager coord --version 2.0.0 --auto-changelog+npx claude-flow@alpha github repo-architect optimize --structure-analysis+npx claude-flow@alpha github issue-tracker manage --project-coordination+npx claude-flow@alpha github sync-coordinator align --multi-package```-## ๐ Documentation--### Core Documentation--- [๐ Complete User Guide](docs/USER_GUIDE.md)-- [๐๏ธ Architecture Overview](docs/ARCHITECTURE.md)-- [๐ค Agent Reference](docs/AGENTS.md)-- [๐ Swarm Coordination](docs/SWARM.md)-- [๐ง SPARC Methodology](docs/SPARC.md)-- [๐ง MCP Tools Reference](docs/MCP_TOOLS.md)-- [๐ API Documentation](docs/API.md)-- [โ๏ธ Configuration Guide](docs/CONFIG.md)--### Tutorials & Examples--- [๐ Getting Started Tutorial](docs/tutorials/GETTING_STARTED.md)-- [๐ก Building Your First Swarm](docs/tutorials/FIRST_SWARM.md)-- [๐ ๏ธ Advanced Workflows](docs/tutorials/ADVANCED.md)-- [๐ Performance Optimization](docs/tutorials/OPTIMIZATION.md)--### Development--- [๐ค Contributing Guide](CONTRIBUTING.md)-- [๐งช Testing Guide](docs/TESTING.md)-- [๐ Security Guidelines](docs/SECURITY.md)-- [๐ Performance Tuning](docs/PERFORMANCE.md)+----## ๐ก Examples+## ๐ก๏ธ **Seamless Claude Code Integration**-### Simple Task Execution+### **Auto-MCP Server Setup**+v2.0.0 Alpha automatically configures MCP servers for seamless Claude Code integration:```bash-# Build a REST API-npx claude-flow@alpha swarm "create REST API with CRUD operations for products"--# Fix bugs in codebase-npx claude-flow@alpha swarm "analyze and fix all TypeScript errors"--# Generate documentation-npx claude-flow@alpha swarm "generate comprehensive API documentation"+# Automatic MCP integration (happens during init)+โ claude-flow MCP server configured+โ ruv-swarm MCP server configured+โ 87 tools available in Claude Code+โ --dangerously-skip-permissions set as default```-### Complex Project Coordination-+### **Enhanced SPARC Workflows**```bash-# Initialize project swarm-npx claude-flow@alpha hive-mind spawn "e-commerce platform" \- --agents architect,backend-dev,frontend-dev,tester \- --topology hierarchical+# Advanced SPARC development with neural enhancement+npx claude-flow@alpha sparc mode --type "neural-tdd" --auto-learn+npx claude-flow@alpha sparc workflow --phases "all" --ai-guided --memory-enhanced+```-# Continue development-npx claude-flow@alpha swarm "implement payment processing" --continue-session+----# Monitor progress-npx claude-flow@alpha swarm status --watch-```+## ๐ง **Cognitive Computing Features**-### SPARC Development Workflow+### **๐ฏ Neural Pattern Recognition**+- **27+ Cognitive Models**: Adaptive learning from successful operations+- **Pattern Analysis**: Real-time behavior analysis and optimization+- **Decision Tracking**: Complete audit trail of AI decisions+- **Performance Learning**: Continuous improvement from past executions+### **๐ Self-Healing Systems**```bash-# Full TDD cycle-npx claude-flow@alpha sparc tdd "user authentication system" \- --test-framework jest \- --coverage 90--# Architecture-first approach-npx claude-flow@alpha sparc architecture "microservices platform" \- --patterns "event-driven,cqrs" \- --output diagrams/+# Automatic error recovery and optimization+npx claude-flow@alpha health check --components all --auto-heal+npx claude-flow@alpha fault tolerance --strategy retry-with-learning+npx claude-flow@alpha bottleneck analyze --auto-optimize```-## ๐งช Testing+### **๐พ Advanced Memory Architecture**+- **SQLite Persistence**: Robust `.swarm/memory.db` storage with 12 specialized tables+- **Cross-Session Persistence**: Remember context across Claude Code sessions+- **Namespace Management**: Organized memory with hierarchical access+- **Enhanced Schema**: Agent interactions, training data, performance metrics, and more+- **Memory Compression**: Efficient storage of large coordination contexts+- **Distributed Sync**: Share memory across multiple AI instances++----### Running Tests+## ๐ **Performance Metrics**-```bash-# Run all tests-npm test+### **๐ Industry-Leading Results**+- **โ 84.8% SWE-Bench Solve Rate**: Superior problem-solving through hive-mind coordination+- **โ 32.3% Token Reduction**: Efficient task breakdown reduces costs significantly+- **โ 2.8-4.4x Speed Improvement**: Parallel coordination maximizes throughput+- **โ 87 MCP Tools**: Most comprehensive AI tool suite available+- **โ Zero-Config Setup**: Automatic MCP integration with Claude Code-# Run specific test suites-npm run test:unit-npm run test:integration-npm run test:e2e+### **๐ Available Capabilities**+```bash+# Check memory system performance+npx claude-flow@alpha memory stats+npx claude-flow@alpha memory list-# Generate coverage report-npm run test:coverage+# Test GitHub coordination modes+npx claude-flow@alpha github gh-coordinator --help+npx claude-flow@alpha github pr-manager --help-# Run benchmarks-npm run test:benchmark+# Workflow orchestration+npx claude-flow@alpha workflow create --name "Development Pipeline" --parallel```-### Test Coverage--| Component | Coverage | Target |-|-----------|----------|--------|-| Core | 92% | 90% |-| Agents | 88% | 85% |-| Swarm | 85% | 85% |-| Memory | 90% | 90% |-| MCP | 87% | 85% |+----## ๐ Deployment+## ๐ฎ **Advanced Usage Examples**-### Docker Deployment+### **๐๏ธ Full-Stack Development**+```bash+# Deploy complete development swarm+npx claude-flow@alpha hive-mind spawn "Build e-commerce platform with React, Node.js, and PostgreSQL" \+ --agents 10 \+ --strategy parallel \+ --memory-namespace ecommerce-```dockerfile-FROM node:20-alpine-WORKDIR /app-COPY package*.json ./-RUN npm ci --production-COPY . .-EXPOSE 3000-CMD ["npm", "start"]+# Monitor progress in real-time+npx claude-flow@alpha swarm monitor --dashboard --real-time```+### **๐ฌ Research & Analysis**```bash-# Build image-docker build -t claude-flow .+# Deploy research swarm with neural enhancement+npx claude-flow@alpha swarm "Research AI safety in autonomous systems" \+ --strategy research \+ --neural-patterns enabled \+ --memory-compression high-# Run container-docker run -d -p 3000:3000 \- -e CLAUDE_API_KEY=your_key \- claude-flow+# Analyze results with cognitive computing+npx claude-flow@alpha cognitive analyze --target research-results```-### Kubernetes Deployment--```yaml-apiVersion: apps/v1-kind: Deployment-metadata:- name: claude-flow-spec:- replicas: 3- selector:- matchLabels:- app: claude-flow- template:- metadata:- labels:- app: claude-flow- spec:- containers:- - name: claude-flow- image: claude-flow:latest- ports:- - containerPort: 3000- env:- - name: CLAUDE_API_KEY- valueFrom:- secretKeyRef:- name: claude-flow-secrets- key: api-key+### **๐ก๏ธ Security & Compliance**+```bash+# Automated security analysis with AI coordination+npx claude-flow@alpha github gh-coordinator analyze --analysis-type security --target ./src+npx claude-flow@alpha github repo-architect optimize --security-focused --compliance SOC2+npx claude-flow@alpha hive-mind spawn "security audit and compliance review" --claude```-## ๐ Security+----### Security Features+## ๐๏ธ **Alpha Architecture Overview**-- **JWT Authentication** - Token-based API security-- **Role-Based Access Control** - Granular permissions-- **Input Validation** - Schema-based validation-- **Rate Limiting** - API throttling and protection-- **Encryption** - Data encryption at rest and in transit-- **Audit Logging** - Comprehensive activity tracking+### **๐ Hive-Mind Coordination Layer**+```+โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ+โ ๐ Queen Agent โ+โ (Master Coordinator) โ+โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโค+โ ๐๏ธ Architect โ ๐ป Coder โ ๐งช Tester โ ๐ Research โ ๐ก๏ธ Security โ+โ Agent โ Agent โ Agent โ Agent โ Agent โ+โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโค+โ ๐ง Neural Pattern Recognition Layer โ+โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโค+โ ๐พ Distributed Memory System โ+โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโค+โ โก 87 MCP Tools Integration Layer โ+โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโค+โ ๐ก๏ธ Claude Code Integration โ+โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ+```-### Security Best Practices+### **๐ Coordination Strategies**+- **Hierarchical**: Queen-led with specialized worker agents+- **Mesh**: Peer-to-peer coordination for complex tasks+- **Hybrid**: Dynamic strategy selection based on task complexity+- **Neural-Enhanced**: AI-optimized coordination patterns-1. **API Key Management**- - Never commit API keys to version control- - Use environment variables or secrets management- - Rotate keys regularly+----2. **Access Control**- - Implement least privilege principle- - Use role-based permissions- - Enable multi-factor authentication+## ๐ ๏ธ **Alpha Installation & Setup**-3. **Data Protection**- - Encrypt sensitive data- - Use secure communication protocols- - Implement data retention policies+### **๐ Quick Alpha Installation**+```bash+# Global installation (recommended for testing)+npm install -g claude-flow@alpha-## ๐ Monitoring & Analytics+# Or use NPX for instant testing+npx claude-flow@alpha init --force-### Built-in Monitoring+# Verify installation+claude-flow --version # Should show 2.0.0-alpha.53+```+### **๐ง Enhanced Configuration**```bash-# Real-time monitoring dashboard-npx claude-flow@alpha monitor--# Performance metrics-npx claude-flow@alpha metrics --interval 5s+# Initialize with full alpha features+npx claude-flow@alpha init --force --hive-mind --neural-enhanced-# Health checks-npx claude-flow@alpha health --verbose+# Configure Claude Code integration+npx claude-flow@alpha mcp setup --auto-permissions --87-tools-# Generate reports-npx claude-flow@alpha report generate --format pdf+# Test hive-mind coordination+npx claude-flow@alpha hive-mind test --agents 5 --coordination-test```-### Metrics Collection+---++## ๐ **Alpha Command Reference**-- **System Metrics** - CPU, memory, network I/O-- **Agent Metrics** - Task completion, quality scores-- **Swarm Metrics** - Coordination efficiency, fault recovery-- **Performance Metrics** - Response times, throughput+For complete command documentation, run:+```bash+npx claude-flow@alpha --help # Main help+npx claude-flow@alpha help <command> # Detailed command help+```-## ๐ค Contributing+**Key Commands:**+- **Hive-Mind**: `hive-mind wizard`, `hive-mind spawn`, `hive-mind status`+- **Neural**: `neural train`, `neural predict`, `cognitive analyze`+- **Memory**: `memory store`, `memory query`, `memory stats`, `memory export/import`+- **GitHub**: `github <mode>` (6 specialized modes available)+- **Workflows**: `workflow create`, `batch process`, `pipeline create`-We welcome contributions! Please see our [Contributing Guide](CONTRIBUTING.md) for details.+----### Development Setup+## ๐ **Additional Documentation**-```bash-# Clone repository-git clone https://github.com/ruvnet/claude-flow.git-cd claude-flow+### Core Documentation+- [Complete API Reference](docs/API.md) - Comprehensive API documentation+- [CLI Commands Guide](docs/CLI.md) - All command-line options+- [Architecture Overview](docs/ARCHITECTURE.md) - System design and internals+- [Examples Directory](examples/) - Code examples and demos-# Install dependencies-npm install+### New Features (v2.0.0)+- [๐ Git Checkpoint System](docs/GIT_CHECKPOINT_HOOKS.md) - Automatic Git checkpoints for Claude Code sessions+- [๐ Real Performance Tracking](docs/REAL_PERFORMANCE_TRACKING.md) - Actual metrics collection and analysis+- [๐ช Windows Installation](docs/windows-installation.md) - Special instructions for Windows users-# Run development mode-npm run dev+### Integration Guides+- [MCP Server Setup](docs/mcp-setup.md) - Model Context Protocol configuration+- [Claude Code Integration](docs/claude-code-integration.md) - Enhanced AI workflows+- [GitHub Workflows](docs/github-workflows.md) - Repository automation-# Run tests-npm test+----# Build project-npm run build-```+## ๐ **License**-### Contribution Areas+MIT License - see [LICENSE](./LICENSE) for details.-- ๐ Bug fixes and improvements-- โจ New features and agents-- ๐ Documentation updates-- ๐งช Test coverage improvements-- ๐จ UI/UX enhancements-- ๐ Internationalization+**Alpha Disclaimer**: This is an alpha release intended for testing and feedback. Use in production environments is not recommended.-## ๐ License+----Claude-Flow is open source software licensed under the [MIT License](LICENSE).+## ๐ **Alpha Credits**-## ๐ Acknowledgments+- **๐ง Hive-Mind Architecture**: Inspired by natural swarm intelligence+- **โก Neural Computing**: Advanced AI coordination patterns+- **๐ก๏ธ Claude Code Integration**: Seamless AI development workflow+- **๐ Performance Optimization**: 2.8-4.4x speed improvements through parallel coordination-### Special Thanks+----- **Anthropic** - For Claude AI and Claude Code-- **OpenAI** - For GPT models integration-- **Contributors** - All our amazing contributors-- **Community** - For feedback and support+<div align="center">-### Technologies Used+### **๐ Ready to experience the future of AI development?**-- Node.js & TypeScript-- SQLite & Better-SQLite3-- Model Context Protocol (MCP)-- Commander.js & Inquirer.js-- Jest & Testing Library+```bash+npx claude-flow@alpha init --force+```-## ๐ฎ Support & Contact+**Join the alpha testing revolution!**-### Get Help+[](https://github.com/ruvnet/claude-flow/tree/claude-flow-v2.0.0)+[](https://www.npmjs.com/package/claude-flow/v/alpha)+[](https://discord.com/invite/dfxmpwkG2D)-- ๐ [Documentation](https://github.com/ruvnet/claude-flow/docs)-- ๐ฌ [Discord Community](https://discord.gg/claude-flow)-- ๐ [Issue Tracker](https://github.com/ruvnet/claude-flow/issues)-- ๐ง [Email Support](mailto:[email protected])+----### Stay Updated+## Star History-- ๐ฆ [Twitter/X](https://twitter.com/claudeflow)-- ๐ฐ [Blog](https://blog.claude-flow.ai)-- ๐บ [YouTube](https://youtube.com/@claudeflow)-- ๐ [GitHub](https://github.com/ruvnet/claude-flow)+<a href="https://www.star-history.com/#ruvnet/claude-flow&Date">+ <picture>+ <source media="(prefers-color-scheme: dark)" srcset="https://api.star-history.com/svg?repos=ruvnet/claude-flow&type=Date&theme=dark" />+ <source media="(prefers-color-scheme: light)" srcset="https://api.star-history.com/svg?repos=ruvnet/claude-flow&type=Date" />+ <img alt="Star History Chart" src="https://api.star-history.com/svg?repos=ruvnet/claude-flow&type=Date" />+ </picture>+</a>----<div align="center">--**Built with โค๏ธ by the Claude-Flow Team**+**Built with โค๏ธ by [rUv](https://github.com/ruvnet) | Powered by Revolutionary AI**-[โฌ Back to Top](#-claude-flow-enterprise-ai-agent-orchestration-platform)+*v2.0.0 Alpha - The Future of AI Orchestration*</div>