diff --git a/README.md b/README.md index 61eae93e37..926575807c 100644 --- a/README.md +++ b/README.md @@ -7,34 +7,38 @@ [![โšก Claude Code](https://img.shields.io/badge/Claude%20Code-Optimized-green?style=for-the-badge&logo=anthropic)](https://github.com/ruvnet/claude-flow) [![๐Ÿ›๏ธ Agentics Foundation](https://img.shields.io/badge/Agentics-Foundation-crimson?style=for-the-badge&logo=openai)](https://discord.com/invite/dfxmpwkG2D) [![๐Ÿ Hive-Mind](https://img.shields.io/badge/Hive--Mind-AI%20Coordination-purple?style=for-the-badge&logo=swarm)](https://github.com/ruvnet/claude-flow) -[![๐Ÿง  Neural](https://img.shields.io/badge/Neural-87%20MCP%20Tools-blue?style=for-the-badge&logo=tensorflow)](https://github.com/ruvnet/claude-flow) +[![๐Ÿง  Neural](https://img.shields.io/badge/Neural-87%20MCP%20Tools-blue?style=for-the-badge&logo=pytorch)](https://github.com/ruvnet/claude-flow) [![๐Ÿ›ก๏ธ MIT License](https://img.shields.io/badge/License-MIT-yellow?style=for-the-badge&logo=opensourceinitiative)](https://opensource.org/licenses/MIT) -**Enterprise-Grade AI Agent Orchestration with Swarm Intelligence** - -[๐Ÿš€ Quick Start](#-quick-start) โ€ข [๐Ÿ“– Documentation](#-documentation) โ€ข [๐Ÿ› ๏ธ Installation](#๏ธ-installation) โ€ข [๐Ÿ’ก Examples](#-examples) โ€ข [๐Ÿค Contributing](#-contributing) - - - --- -## ๐ŸŽฏ Overview +## ๐ŸŒŸ **Overview** -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. +**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. -### ๐ŸŒŸ Key Highlights +### ๐ŸŽฏ **Key Features** -- **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 +- **๐Ÿ 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 +> ๐Ÿ”ฅ **Revolutionary AI Coordination**: Build faster, smarter, and more efficiently with AI-powered development orchestration +## โšก **Try v2.0.0 Alpha in 4 Commands** +### ๐Ÿ“‹ **Prerequisites** -## ๐Ÿš€ Quick Start +- **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 + +โš ๏ธ **IMPORTANT**: Claude Code must be installed first: ```bash # 1. Install Claude Code globally @@ -45,645 +49,627 @@ npm install -g @anthropic-ai/claude-code claude --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 +# 1. Initialize Claude Flow with enhanced MCP setup (auto-configures permissions!) +npx claude-flow@alpha init --force -# Or use npx (recommended) +# 2. Explore all revolutionary capabilities npx claude-flow@alpha --help -# Initialize configuration +# 3a. Quick AI coordination (recommended for most tasks) +npx claude-flow@alpha swarm "build me a REST API" + +# 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 +``` + +### ๐Ÿค” **Swarm vs Hive-Mind: Which to Use?** + +| 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 | + +**Quick Rule:** Start with `swarm` for most tasks. Use `hive-mind` when you need persistent sessions or complex multi-agent coordination. + +## ๐ŸŽฏ **Typical Workflows - Your "Happy Path" Guide** + +### **New to Claude-Flow? Start Here!** + +Confused about `.hive-mind` and `.swarm` directories? Not sure when to create new hives? Here are the most common workflow patterns: + +#### **๐Ÿš€ 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 + +# 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 ``` -### Basic Usage +#### **๐Ÿ—๏ธ Pattern 2: Multi-Feature Project** +```bash +# Project-level initialization (once per project) +npx claude-flow@alpha init --force --project-name "my-app" + +# Feature 1: Authentication (new hive) +npx claude-flow@alpha hive-mind spawn "auth-system" --namespace auth --claude + +# Feature 2: User management (separate hive) +npx claude-flow@alpha hive-mind spawn "user-management" --namespace users --claude + +# Resume Feature 1 later (use session ID from spawn output) +npx claude-flow@alpha hive-mind resume session-xxxxx-xxxxx +``` + +#### **๐Ÿ” Pattern 3: Research & Analysis** +```bash +# Start research session +npx claude-flow@alpha hive-mind spawn "Research microservices patterns" --agents researcher,analyst --claude + +# 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 +``` + +### **๐Ÿค” When Should I Create a New Hive?** + +| Situation | Action | Command | +|-----------|--------|---------| +| **Same objective/feature** | Continue existing hive | `npx claude-flow@alpha hive-mind resume ` | +| **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` | + +### **๐Ÿ“ Understanding "Empty" Directories** + +**Don't panic if directories seem empty!** Claude-Flow uses SQLite databases that may not show files in directory listings: ```bash -# Simple task execution -npx claude-flow@alpha swarm "build a REST API with authentication" +# 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 -# Complex project coordination -npx claude-flow@alpha hive-mind spawn "enterprise microservices" --claude - -# SPARC development mode -npx claude-flow@alpha sparc tdd "user management system" +# 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) ``` -## ๐Ÿ—๏ธ Architecture - -### System Components - -``` -โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ” -โ”‚ Claude-Flow Core โ”‚ -โ”œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ค -โ”‚ โ”‚ -โ”‚ โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ” โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ” โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ” โ”‚ -โ”‚ โ”‚ Agent โ”‚ โ”‚ Swarm โ”‚ โ”‚ Memory โ”‚ โ”‚ -โ”‚ โ”‚ Orchestratorโ”‚ โ”‚ Coordinator โ”‚ โ”‚ Manager โ”‚ โ”‚ -โ”‚ โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜ โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜ โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜ โ”‚ -โ”‚ โ”‚ -โ”‚ โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ” โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ” โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ” โ”‚ -โ”‚ โ”‚ MCP โ”‚ โ”‚ Task โ”‚ โ”‚ Provider โ”‚ โ”‚ -โ”‚ โ”‚ Server โ”‚ โ”‚ Engine โ”‚ โ”‚ Interface โ”‚ โ”‚ -โ”‚ โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜ โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜ โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜ โ”‚ -โ”‚ โ”‚ -โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜ -``` - -### Core Design Patterns - -- **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 - -## ๐Ÿค– Agent Types - -### Development Agents - -| 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 | - -### Coordination Agents - -| 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 | - -### Specialized Agents - -| 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 | - -[View all 54+ agents โ†’](docs/AGENTS.md) - -## ๐Ÿ Swarm Intelligence - -### Coordination Topologies - -#### 1. Centralized (Queen-Led) -``` - Queen - / | \ - W1 W2 W3 -``` -- Single point of control -- Simplified communication -- Best for sequential tasks - -#### 2. Distributed (Multi-Leader) -``` - L1 --- L2 - /\ /\ - W1 W2 W3 W4 -``` -- Fault-tolerant leadership -- Load distribution -- Parallel task execution - -#### 3. Mesh (Peer-to-Peer) -``` - A1 โ”€โ”€โ”€ A2 - โ”‚ โ•ฒ โ•ฑ โ”‚ - โ”‚ โ•ณ โ”‚ - โ”‚ โ•ฑ โ•ฒ โ”‚ - A3 โ”€โ”€โ”€ A4 -``` -- Direct communication -- No single point of failure -- Creative collaboration - -#### 4. Hierarchical (Tree) -``` - Root - / \ - M1 M2 - / \ / \ - W1 W2 W3 W4 -``` -- 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 +## ๐Ÿช **Advanced Hooks System** -**S**pecification โ†’ **P**seudocode โ†’ **A**rchitecture โ†’ **R**efinement โ†’ **C**ode - -### 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 - -# Test-Driven Development -npx claude-flow@alpha sparc tdd "payment processing" - -# Architecture-first development -npx claude-flow@alpha sparc architecture "microservices design" - -# Full pipeline execution -npx claude-flow@alpha sparc pipeline "complete feature" - -# Parallel mode execution -npx claude-flow@alpha sparc batch spec,architecture,code "user system" +# Hooks automatically trigger on operations +npx claude-flow@alpha init --force # Auto-configures MCP servers & hooks ``` -### SPARC Mode Examples +### **Available Hooks** -| 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"` | +#### **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 -## ๐Ÿ’พ Memory Management +#### **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 -### Distributed Memory System - -```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 - -# Export memory for backup -npx claude-flow@alpha memory export --format json > backup.json -``` - -### Memory Architecture - -``` -.swarm/memory.db -โ”œโ”€โ”€ knowledge_base # Persistent facts -โ”œโ”€โ”€ agent_state # Agent status -โ”œโ”€โ”€ task_results # Completed work -โ”œโ”€โ”€ communication # Agent messages -โ”œโ”€โ”€ performance # Metrics data -โ””โ”€โ”€ cache # Temporary data -``` - -## ๐Ÿ”ง MCP Integration - -### MCP Server Setup - -```bash -# Start MCP server -npx claude-flow@alpha mcp start - -# Check server status -npx claude-flow@alpha mcp status - -# List available tools -npx claude-flow@alpha mcp tools -``` - -### 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 | - -[View all 87 MCP tools โ†’](docs/MCP_TOOLS.md) - -## ๐Ÿ”— Integrations - -### GitHub Integration - -```bash -# Setup GitHub integration -npx claude-flow@alpha github init - -# Manage pull requests -npx claude-flow@alpha github pr-manager "review and merge" - -# Track issues -npx claude-flow@alpha github issue-tracker "analyze bugs" - -# Coordinate releases -npx claude-flow@alpha github release-manager "v2.0.0" -``` - -### CI/CD Integration - -```bash -# GitHub Actions workflow -npx claude-flow@alpha cicd github-actions "setup pipeline" - -# Docker deployment -npx claude-flow@alpha cicd docker "containerize app" - -# Kubernetes orchestration -npx claude-flow@alpha cicd k8s "deploy to cluster" -``` - -## ๐Ÿ“Š Performance Metrics - -### Benchmark Results - -| 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% | - -### Performance Commands - -```bash -# Run benchmarks -npx claude-flow@alpha benchmark run - -# View performance metrics -npx claude-flow@alpha monitor performance - -# Generate diagnostic report -npx claude-flow@alpha diagnostics --full -``` - -## ๐Ÿ› ๏ธ Configuration - -### Configuration File +#### **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) { - "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 + "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 + } } } ``` -### Environment Variables +### **Using Hooks in Claude Code** + +Hooks integrate seamlessly with Claude Code's workflow: + +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 + +### **Hook Examples** ```bash -# Core configuration -export CLAUDE_FLOW_DEBUG=true -export CLAUDE_FLOW_LOG_LEVEL=info -export CLAUDE_FLOW_DATA_DIR=./data +# Manual hook execution +npx claude-flow hooks pre-task --description "Build REST API" --auto-spawn-agents -# API keys -export CLAUDE_API_KEY=your_api_key -export OPENAI_API_KEY=your_api_key +# Post-edit with formatting +npx claude-flow hooks post-edit --file "src/api.js" --format --train-neural -# Performance tuning -export CLAUDE_FLOW_MAX_AGENTS=50 -export CLAUDE_FLOW_MEMORY_LIMIT=512 +# Session management +npx claude-flow hooks session-end --generate-summary --persist-state ``` -## ๐Ÿ“š Documentation +### **Fixing Hook Variable Interpolation** + +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 +# Fix all found settings.json files +npx claude-flow@alpha fix-hook-variables + +# Fix specific file +npx claude-flow@alpha fix-hook-variables .claude/settings.json + +# Create test configuration +npx claude-flow@alpha fix-hook-variables --test +``` + +This command automatically transforms legacy variable syntax to working environment variables: +- `${file}` โ†’ `$CLAUDE_EDITED_FILE` +- `${command}` โ†’ `$CLAUDE_COMMAND` +- `${tool}` โ†’ `$CLAUDE_TOOL` + +--- +## ๐Ÿ **Revolutionary Hive-Mind Intelligence** + +### **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 +# Deploy intelligent swarm coordination +npx claude-flow@alpha swarm "Build a full-stack application" --strategy development + +# Launch hive-mind with specific specializations +npx claude-flow@alpha hive-mind spawn "Create microservices architecture" --agents 8 --claude +``` + +### **๐Ÿค– 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 + +--- + +## โšก **87 Advanced MCP Tools** + +### **๐Ÿง  Neural & Cognitive Tools** +```bash +# 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" +``` + +### **๐Ÿ’พ 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 +``` + +> ๐ŸชŸ **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. + +### **๐Ÿ”„ 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 +``` + +## ๐Ÿง  **Neural Network Capabilities** + +### **Cognitive Computing Engine** +Powered by 27+ neural models optimized with WASM SIMD acceleration: + +```bash +# Train coordination patterns +npx claude-flow@alpha neural train --pattern coordination --data "workflow.json" + +# Real-time predictions +npx claude-flow@alpha neural predict --model task-optimizer --input "current-state.json" + +# Analyze cognitive behavior +npx claude-flow@alpha cognitive analyze --behavior "development-patterns" +``` + +### **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 + +## ๐Ÿ”ง **DAA MCP Endpoints** + +### **Dynamic Agent Architecture** +Complete programmatic control over agent lifecycle and coordination: + +```bash +# 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 +``` + +--- + +## ๐Ÿ›ก๏ธ **Seamless Claude Code Integration** + +### **Auto-MCP Server Setup** +v2.0.0 Alpha automatically configures MCP servers for seamless Claude Code integration: + +```bash +# 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 +``` + +### **Enhanced SPARC Workflows** +```bash +# 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 +``` + +--- + +## ๐Ÿง  **Cognitive Computing Features** + +### **๐ŸŽฏ 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 +# 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 +``` + +### **๐Ÿ’พ 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 + +--- + +## ๐Ÿ“Š **Performance Metrics** + +### **๐Ÿ† 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 + +### **๐Ÿš€ Available Capabilities** +```bash +# Check memory system performance +npx claude-flow@alpha memory stats +npx claude-flow@alpha memory list + +# Test GitHub coordination modes +npx claude-flow@alpha github gh-coordinator --help +npx claude-flow@alpha github pr-manager --help + +# Workflow orchestration +npx claude-flow@alpha workflow create --name "Development Pipeline" --parallel +``` + +--- + +## ๐ŸŽฎ **Advanced Usage Examples** + +### **๐Ÿ—๏ธ 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 + +# Monitor progress in real-time +npx claude-flow@alpha swarm monitor --dashboard --real-time +``` + +### **๐Ÿ”ฌ Research & Analysis** +```bash +# 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 + +# Analyze results with cognitive computing +npx claude-flow@alpha cognitive analyze --target research-results +``` + +### **๐Ÿ›ก๏ธ 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 +``` + +--- + +## ๐Ÿ—๏ธ **Alpha Architecture Overview** + +### **๐Ÿ 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 โ”‚ +โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜ +``` + +### **๐Ÿ”„ 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 + +--- + +## ๐Ÿ› ๏ธ **Alpha Installation & Setup** + +### **๐Ÿš€ Quick Alpha Installation** +```bash +# Global installation (recommended for testing) +npm install -g claude-flow@alpha + +# Or use NPX for instant testing +npx claude-flow@alpha init --force + +# Verify installation +claude-flow --version # Should show 2.0.0-alpha.53 +``` + +### **๐Ÿ”ง Enhanced Configuration** +```bash +# Initialize with full alpha features +npx claude-flow@alpha init --force --hive-mind --neural-enhanced + +# Configure Claude Code integration +npx claude-flow@alpha mcp setup --auto-permissions --87-tools + +# Test hive-mind coordination +npx claude-flow@alpha hive-mind test --agents 5 --coordination-test +``` + +--- + +## ๐Ÿ“‹ **Alpha Command Reference** + +For complete command documentation, run: +```bash +npx claude-flow@alpha --help # Main help +npx claude-flow@alpha help # Detailed command help +``` + +**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 ` (6 specialized modes available) +- **Workflows**: `workflow create`, `batch process`, `pipeline create` + +--- + +## ๐Ÿ“š **Additional Documentation** ### 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 -- [๐Ÿ“– 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) +### 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 -### Tutorials & Examples +### 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 -- [๐Ÿš€ 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 +## ๐Ÿ“„ **License** -- [๐Ÿค Contributing Guide](CONTRIBUTING.md) -- [๐Ÿงช Testing Guide](docs/TESTING.md) -- [๐Ÿ”’ Security Guidelines](docs/SECURITY.md) -- [๐Ÿ“ˆ Performance Tuning](docs/PERFORMANCE.md) +MIT License - see [LICENSE](./LICENSE) for details. -## ๐Ÿ’ก Examples +**Alpha Disclaimer**: This is an alpha release intended for testing and feedback. Use in production environments is not recommended. -### Simple Task Execution +--- -```bash -# Build a REST API -npx claude-flow@alpha swarm "create REST API with CRUD operations for products" +## ๐ŸŽ‰ **Alpha Credits** -# 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" -``` - -### Complex Project Coordination - -```bash -# Initialize project swarm -npx claude-flow@alpha hive-mind spawn "e-commerce platform" \ - --agents architect,backend-dev,frontend-dev,tester \ - --topology hierarchical - -# Continue development -npx claude-flow@alpha swarm "implement payment processing" --continue-session - -# Monitor progress -npx claude-flow@alpha swarm status --watch -``` - -### SPARC Development Workflow - -```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/ -``` - -## ๐Ÿงช Testing - -### Running Tests - -```bash -# Run all tests -npm test - -# Run specific test suites -npm run test:unit -npm run test:integration -npm run test:e2e - -# Generate coverage report -npm run test:coverage - -# Run benchmarks -npm run test:benchmark -``` - -### Test Coverage - -| Component | Coverage | Target | -|-----------|----------|--------| -| Core | 92% | 90% | -| Agents | 88% | 85% | -| Swarm | 85% | 85% | -| Memory | 90% | 90% | -| MCP | 87% | 85% | - -## ๐Ÿš€ Deployment - -### Docker Deployment - -```dockerfile -FROM node:20-alpine -WORKDIR /app -COPY package*.json ./ -RUN npm ci --production -COPY . . -EXPOSE 3000 -CMD ["npm", "start"] -``` - -```bash -# Build image -docker build -t claude-flow . - -# Run container -docker run -d -p 3000:3000 \ - -e CLAUDE_API_KEY=your_key \ - claude-flow -``` - -### 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 - -### Security Features - -- **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 - -### Security Best Practices - -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 - -3. **Data Protection** - - Encrypt sensitive data - - Use secure communication protocols - - Implement data retention policies - -## ๐Ÿ“ˆ Monitoring & Analytics - -### Built-in Monitoring - -```bash -# Real-time monitoring dashboard -npx claude-flow@alpha monitor - -# Performance metrics -npx claude-flow@alpha metrics --interval 5s - -# Health checks -npx claude-flow@alpha health --verbose - -# Generate reports -npx claude-flow@alpha report generate --format pdf -``` - -### Metrics Collection - -- **System Metrics** - CPU, memory, network I/O -- **Agent Metrics** - Task completion, quality scores -- **Swarm Metrics** - Coordination efficiency, fault recovery -- **Performance Metrics** - Response times, throughput - -## ๐Ÿค Contributing - -We welcome contributions! Please see our [Contributing Guide](CONTRIBUTING.md) for details. - -### Development Setup - -```bash -# Clone repository -git clone https://github.com/ruvnet/claude-flow.git -cd claude-flow - -# Install dependencies -npm install - -# Run development mode -npm run dev - -# Run tests -npm test - -# Build project -npm run build -``` - -### Contribution Areas - -- ๐Ÿ› Bug fixes and improvements -- โœจ New features and agents -- ๐Ÿ“š Documentation updates -- ๐Ÿงช Test coverage improvements -- ๐ŸŽจ UI/UX enhancements -- ๐ŸŒ Internationalization - -## ๐Ÿ“ License - -Claude-Flow is open source software licensed under the [MIT License](LICENSE). - -## ๐Ÿ™ Acknowledgments - -### Special Thanks - -- **Anthropic** - For Claude AI and Claude Code -- **OpenAI** - For GPT models integration -- **Contributors** - All our amazing contributors -- **Community** - For feedback and support - -### Technologies Used - -- Node.js & TypeScript -- SQLite & Better-SQLite3 -- Model Context Protocol (MCP) -- Commander.js & Inquirer.js -- Jest & Testing Library - -## ๐Ÿ“ฎ Support & Contact - -### Get Help - -- ๐Ÿ“– [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:support@claude-flow.ai) - -### Stay Updated - -- ๐Ÿฆ [Twitter/X](https://twitter.com/claudeflow) -- ๐Ÿ“ฐ [Blog](https://blog.claude-flow.ai) -- ๐Ÿ“บ [YouTube](https://youtube.com/@claudeflow) -- ๐ŸŒŸ [GitHub](https://github.com/ruvnet/claude-flow) +- **๐Ÿง  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 ---
-**Built with โค๏ธ by the Claude-Flow Team** +### **๐Ÿš€ Ready to experience the future of AI development?** -[โฌ† Back to Top](#-claude-flow-enterprise-ai-agent-orchestration-platform) +```bash +npx claude-flow@alpha init --force +``` + +**Join the alpha testing revolution!** + +[![GitHub](https://img.shields.io/badge/GitHub-Alpha%20Branch-blue?style=for-the-badge&logo=github)](https://github.com/ruvnet/claude-flow/tree/claude-flow-v2.0.0) +[![NPM Alpha](https://img.shields.io/badge/NPM-Alpha%20Release-orange?style=for-the-badge&logo=npm)](https://www.npmjs.com/package/claude-flow/v/alpha) +[![Discord](https://img.shields.io/badge/Discord-Agentics%20Community-purple?style=for-the-badge&logo=discord)](https://discord.com/invite/dfxmpwkG2D) + +--- + +## Star History + + + + + + Star History Chart + + + +--- + +**Built with โค๏ธ by [rUv](https://github.com/ruvnet) | Powered by Revolutionary AI** + +*v2.0.0 Alpha - The Future of AI Orchestration*