๐ 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
๐ Checkpoint: Edit /workspaces/claude-code-flow/README.md
rUva5e55624902a
diff --git a/.claude/checkpoints/task-1758234117.json b/.claude/checkpoints/task-1758234117.jsonnew file mode 100644index 0000000000..782610bdf4--- /dev/null+++ b/.claude/checkpoints/task-1758234117.json@@ -0,0 +1 @@+{"checkpoint": "task-20250918-222156", "task": "clean update readme.md everything after ### **Using Hooks in Claude Code** and refer to the wiki wit", "timestamp": "2025-09-18T22:21:57Z", "commit": "0389c7350f716379beabf84965c3747268b143ff", "github_release": "true"}diff --git a/README.md b/README.mdindex 181b4e8e6c..af4c9b8901 100644--- a/README.md+++ b/README.md@@ -248,440 +248,53 @@ npx claude-flow@alpha init --force # Auto-configures MCP servers & hooks}```-### **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-# Manual hook execution-npx claude-flow hooks pre-task --description "Build REST API" --auto-spawn-agents--# Post-edit with formatting-npx claude-flow hooks post-edit --file "src/api.js" --format --train-neural--# Session management-npx claude-flow hooks session-end --generate-summary --persist-state-```--### **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**+## ๐ **Complete Documentation**-### **๐ 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+For detailed information about all features, advanced usage, and comprehensive guides, visit our **[GitHub Wiki](https://github.com/ruvnet/claude-flow/wiki)**:-### **๐ Available Capabilities**-```bash-# Check memory system performance-npx claude-flow@alpha memory stats-npx claude-flow@alpha memory list+### ๐ค **Core Features**+- **[Neural Module](https://github.com/ruvnet/claude-flow/wiki/Neural-Module)** - SAFLA self-learning systems with 4-tier memory architecture+- **[Goal Module](https://github.com/ruvnet/claude-flow/wiki/Goal-Module)** - GOAP intelligent planning with A* pathfinding+- **[Agent System Overview](https://github.com/ruvnet/claude-flow/wiki/Agent-System-Overview)** - Complete catalog of all 64 agents+- **[Hive-Mind Intelligence](https://github.com/ruvnet/claude-flow/wiki/Hive-Mind-Intelligence)** - Queen-led AI coordination patterns-# Test GitHub coordination modes-npx claude-flow@alpha github gh-coordinator --help-npx claude-flow@alpha github pr-manager --help+### โก **Advanced Topics**+- **[Memory System](https://github.com/ruvnet/claude-flow/wiki/Memory-System)** - SQLite-based persistent memory+- **[MCP Tools Reference](https://github.com/ruvnet/claude-flow/wiki/MCP-Tools)** - Complete guide to all 87 tools+- **[GitHub Integration](https://github.com/ruvnet/claude-flow/wiki/GitHub-Integration)** - Repository management automation+- **[Performance Benchmarking](https://github.com/ruvnet/claude-flow/wiki/Performance-Benchmarking)** - Optimization strategies-# 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-```+### ๐ **Configuration & Templates**+- **[CLAUDE.md Templates](https://github.com/ruvnet/claude-flow/wiki/CLAUDE-MD-Templates)** - Project-specific configurations+- **[SPARC Methodology](https://github.com/ruvnet/claude-flow/wiki/SPARC-Methodology)** - Test-driven development patterns+- **[Development Patterns](https://github.com/ruvnet/claude-flow/wiki/Development-Patterns)** - Best practices-### **๐ก๏ธ 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-```+### ๐ ๏ธ **Setup & Troubleshooting**+- **[Installation Guide](https://github.com/ruvnet/claude-flow/wiki/Installation-Guide)** - Detailed setup instructions+- **[Windows Installation](https://github.com/ruvnet/claude-flow/wiki/Windows-Installation)** - Windows-specific setup+- **[Troubleshooting](https://github.com/ruvnet/claude-flow/wiki/Troubleshooting)** - Common issues and solutions+- **[Non-Interactive Mode](https://github.com/ruvnet/claude-flow/wiki/Non-Interactive-Mode)** - CI/CD automation----## ๐๏ธ **Alpha Architecture Overview**+## ๐ค **Community & Support**-### **๐ 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+- **GitHub Issues**: [Report bugs or request features](https://github.com/ruvnet/claude-flow/issues)+- **Discord**: [Join the Agentics Foundation community](https://discord.com/invite/dfxmpwkG2D)+- **Wiki**: [Comprehensive documentation](https://github.com/ruvnet/claude-flow/wiki)+- **Examples**: [Real-world usage patterns](https://github.com/ruvnet/claude-flow/tree/main/examples)----## ๐ ๏ธ **Alpha Installation & Setup**--### **๐ Quick Alpha Installation**-```bash-# Global installation (recommended for testing)-npm install -g claude-flow@alpha+## ๐ **Performance & Stats**-# 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 <command> # 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 <mode>` (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--### 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--### 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-------## ๐ **License**--MIT License - see [LICENSE](./LICENSE) for details.--**Alpha Disclaimer**: This is an alpha release intended for testing and feedback. Use in production environments is not recommended.-------## ๐ **Alpha Credits**--- **๐ง 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-------<div align="center">--### **๐ Ready to experience the future of AI development?**--```bash-npx claude-flow@alpha init --force-```--**Join the alpha testing revolution!**--[](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)+- **84.8% SWE-Bench solve rate** - Industry-leading problem-solving capability+- **32.3% token reduction** - Efficient context management+- **2.8-4.4x speed improvement** - Parallel coordination strategies+- **64 specialized agents** - Complete development ecosystem+- **87 MCP tools** - Comprehensive automation toolkit---@@ -701,4 +314,4 @@ npx claude-flow@alpha init --force*v2.0.0 Alpha - The Future of AI Orchestration*-</div>+</div>\ No newline at end of file