๐ 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
๐ Task: stop jetzt commit push und stell pr ...
Eric Vogt4c31e2c6503a
diff --git a/.claude-flow/metrics/performance.json b/.claude-flow/metrics/performance.jsonindex c587dd4923..f35cb54094 100644--- a/.claude-flow/metrics/performance.json+++ b/.claude-flow/metrics/performance.json@@ -1,5 +1,5 @@{- "startTime": 1755113201303,+ "startTime": 1755113228860,"totalTasks": 1,"successfulTasks": 1,"failedTasks": 0,diff --git a/.claude-flow/metrics/task-metrics.json b/.claude-flow/metrics/task-metrics.jsonindex 101c0238b9..62ab9e6a80 100644--- a/.claude-flow/metrics/task-metrics.json+++ b/.claude-flow/metrics/task-metrics.json@@ -1,10 +1,10 @@[{- "id": "cmd-hooks-1755113201363",+ "id": "cmd-hooks-1755113228920","type": "hooks","success": true,- "duration": 10.666920000000005,- "timestamp": 1755113201374,+ "duration": 11.627409,+ "timestamp": 1755113228932,"metadata": {}}]\ No newline at end of filediff --git a/README-NEW.md b/README-NEW.mddeleted file mode 100644index 57b78a0ed9..0000000000--- a/README-NEW.md+++ /dev/null@@ -1,674 +0,0 @@-# ๐ Claude-Flow: Enterprise AI Agent Orchestration Platform--<div align="center">---[](https://www.npmjs.com/package/claude-flow)-[](LICENSE)-[](https://github.com/ruvnet/claude-flow/actions)-[](https://codecov.io/gh/ruvnet/claude-flow)--**Enterprise-Grade AI Agent Orchestration with Swarm Intelligence**--[๐ Quick Start](#-quick-start) โข [๐ Documentation](#-documentation) โข [๐ ๏ธ Installation](#๏ธ-installation) โข [๐ก Examples](#-examples) โข [๐ค Contributing](#-contributing)--</div>-------## ๐ฏ 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.--### ๐ Key Highlights--- **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-- **84.8% SWE-Bench Score** - Industry-leading performance metrics--## ๐ Quick Start--### Prerequisites--- **Node.js** โฅ 20.0.0-- **npm** โฅ 9.0.0-- **Claude Code** (required for full functionality)--### Installation--```bash-# Install globally-npm install -g claude-flow@alpha--# Or use npx (recommended)-npx claude-flow@alpha --help--# Initialize configuration-npx claude-flow@alpha init --force-```--### Basic Usage--```bash-# Simple task execution-npx claude-flow@alpha swarm "build a REST API with authentication"--# 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"-```--## ๐๏ธ 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--```bash-# Initialize swarm with topology-npx claude-flow@alpha swarm init --topology mesh--# Spawn agents for task-npx claude-flow@alpha swarm spawn "build microservices" --agents 8--# Monitor swarm progress-npx claude-flow@alpha swarm status --real-time--# Optimize swarm performance-npx claude-flow@alpha swarm optimize --auto-scale-```--## ๐ง SPARC Development Environment--### SPARC Methodology--**S**pecification โ **P**seudocode โ **A**rchitecture โ **R**efinement โ **C**ode--### Available SPARC Modes--```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"-```--### SPARC Mode Examples--| 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"` |--## ๐พ Memory Management--### 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--```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--```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-```--## ๐ 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--### Simple Task Execution--```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"-```--### 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:[email protected])--### 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)-------<div align="center">--**Built with โค๏ธ by the Claude-Flow Team**--[โฌ Back to Top](#-claude-flow-enterprise-ai-agent-orchestration-platform)--</div>\ No newline at end of filediff --git a/README.md b/README.mdindex 143f5e4ea0..57b78a0ed9 100644--- a/README.md+++ b/README.md@@ -1,19 +1,42 @@# ๐ Claude-Flow: Enterprise AI Agent Orchestration Platform-[](https://www.npmjs.com/package/claude-flow)-[](LICENSE)-[](https://github.com/ruvnet/claude-flow/actions)+<div align="center">-Enterprise-grade AI agent orchestration platform with **54+ specialized agents**, **swarm intelligence**, and **87 MCP tools** for revolutionary AI-powered development workflows.++[](https://www.npmjs.com/package/claude-flow)+[](LICENSE)+[](https://github.com/ruvnet/claude-flow/actions)+[](https://codecov.io/gh/ruvnet/claude-flow)-## ๐ฆ Installation+**Enterprise-Grade AI Agent Orchestration with Swarm Intelligence**++[๐ Quick Start](#-quick-start) โข [๐ Documentation](#-documentation) โข [๐ ๏ธ Installation](#๏ธ-installation) โข [๐ก Examples](#-examples) โข [๐ค Contributing](#-contributing)++</div>++---++## ๐ฏ 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.++### ๐ Key Highlights++- **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+- **84.8% SWE-Bench Score** - Industry-leading performance metrics++## ๐ Quick Start### Prerequisites+- **Node.js** โฅ 20.0.0- **npm** โฅ 9.0.0- **Claude Code** (required for full functionality)-### Quick Install+### Installation```bash# Install globally@@ -26,70 +49,130 @@ npx claude-flow@alpha --helpnpx claude-flow@alpha init --force```-## โ๏ธ Configuration+### Basic Usage-### Configuration File (`.claude-flow/config.json`)+```bash+# Simple task execution+npx claude-flow@alpha swarm "build a REST API with authentication"-```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- }-}-```+# Complex project coordination+npx claude-flow@alpha hive-mind spawn "enterprise microservices" --claude-### Environment Variables+# SPARC development mode+npx claude-flow@alpha sparc tdd "user management system"+```-```bash-# Core configuration-export CLAUDE_FLOW_DEBUG=true-export CLAUDE_FLOW_LOG_LEVEL=info-export CLAUDE_FLOW_DATA_DIR=./data+## ๐๏ธ Architecture-# API keys-export CLAUDE_API_KEY=your_api_key-export OPENAI_API_KEY=your_api_key+### System Components-# Performance tuning-export CLAUDE_FLOW_MAX_AGENTS=50-export CLAUDE_FLOW_MEMORY_LIMIT=512+```+โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ+โ Claude-Flow Core โ+โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโค+โ โ+โ โโโโโโโโโโโโโโโ โโโโโโโโโโโโโโโ โโโโโโโโโโโโโโโ โ+โ โ Agent โ โ Swarm โ โ Memory โ โ+โ โ Orchestratorโ โ Coordinator โ โ Manager โ โ+โ โโโโโโโโโโโโโโโ โโโโโโโโโโโโโโโ โโโโโโโโโโโโโโโ โ+โ โ+โ โโโโโโโโโโโโโโโ โโโโโโโโโโโโโโโ โโโโโโโโโโโโโโโ โ+โ โ MCP โ โ Task โ โ Provider โ โ+โ โ Server โ โ Engine โ โ Interface โ โ+โ โโโโโโโโโโโโโโโ โโโโโโโโโโโโโโโ โโโโโโโโโโโโโโโ โ+โ โ+โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ```-## ๐ Usage Instructions+### Core Design Patterns-### Basic Commands+- **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-```bash-# Simple task execution-npx claude-flow@alpha swarm "build a REST API with authentication"+## ๐ค Agent Types-# Complex project coordination-npx claude-flow@alpha hive-mind spawn "enterprise microservices" --claude+### Development Agents-# SPARC development mode-npx claude-flow@alpha sparc tdd "user management system"+| 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-### Swarm Intelligence Operations+#### 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```bash# Initialize swarm with topology@@ -105,7 +188,13 @@ npx claude-flow@alpha swarm status --real-timenpx claude-flow@alpha swarm optimize --auto-scale```-### SPARC Development Environment+## ๐ง SPARC Development Environment++### SPARC Methodology++**S**pecification โ **P**seudocode โ **A**rchitecture โ **R**efinement โ **C**ode++### Available SPARC Modes```bash# List all modes@@ -124,7 +213,20 @@ npx claude-flow@alpha sparc pipeline "complete feature"npx claude-flow@alpha sparc batch spec,architecture,code "user system"```-### Memory Management+### SPARC Mode Examples++| 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"` |++## ๐พ Memory Management++### Distributed Memory System```bash# Store memory entry@@ -140,7 +242,21 @@ npx claude-flow@alpha memory statsnpx claude-flow@alpha memory export --format json > backup.json```-### MCP Server Integration+### 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@@ -153,6 +269,20 @@ npx claude-flow@alpha mcp statusnpx 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@@ -169,39 +299,23 @@ npx claude-flow@alpha github issue-tracker "analyze bugs"npx claude-flow@alpha github release-manager "v2.0.0"```-## ๐ค Agent Types Overview--### Development Agents-- `coder` - Code generation and refactoring-- `reviewer` - Code reviews and best practices-- `tester` - Unit and integration testing-- `architect` - System design and patterns-- `debugger` - Bug fixing and optimization--### Coordination Agents-- `planner` - Strategic planning and roadmaps-- `coordinator` - Task management and scheduling-- `monitor` - Performance tracking and metrics-- `optimizer` - Resource and cost optimization+### CI/CD Integration-### Specialized Agents-- `backend-dev` - Server and API development-- `mobile-dev` - React Native mobile apps-- `ml-developer` - Machine learning models-- `security-analyst` - Security assessments-- `devops-engineer` - CI/CD and infrastructure--[View all 54+ agents โ](docs/AGENTS.md)+```bash+# GitHub Actions workflow+npx claude-flow@alpha cicd github-actions "setup pipeline"-## ๐ Swarm Topologies+# Docker deployment+npx claude-flow@alpha cicd docker "containerize app"-- **Centralized (Queen-Led)** - Single point of control for sequential tasks-- **Distributed (Multi-Leader)** - Fault-tolerant with parallel execution-- **Mesh (Peer-to-Peer)** - Direct communication, no single failure point-- **Hierarchical (Tree)** - Multi-level coordination for complex projects+# 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% |@@ -210,34 +324,142 @@ npx claude-flow@alpha github release-manager "v2.0.0"| Memory Efficiency | 87% | 60-70% || Fault Recovery | 99.2% | 85-90% |-## ๐ Security Features+### Performance Commands-- **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+```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++```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++```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+```## ๐ 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)--### Tutorials-- [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)++- [๐ 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++### Simple Task Execution++```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"+```++### 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 testsnpm test@@ -254,9 +476,29 @@ npm run test:coveragenpm 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+### 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@@ -268,14 +510,95 @@ docker run -d -p 3000:3000 \claude-flow```-### Kubernetes+### 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-See [deployment guide](docs/DEPLOYMENT.md) for detailed K8s configurations.+## ๐ 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## ๐ค ContributingWe welcome contributions! Please see our [Contributing Guide](CONTRIBUTING.md) for details.+### Development Setup+```bash# Clone repositorygit clone https://github.com/ruvnet/claude-flow.git@@ -294,17 +617,58 @@ npm testnpm run build```-## ๐ฎ Support+### 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)-- ๐ [GitHub](https://github.com/ruvnet/claude-flow)+- ๐ง [Email Support](mailto:[email protected])-## ๐ License+### Stay Updated-Claude-Flow is open source software licensed under the [MIT License](LICENSE).+- ๐ฆ [Twitter/X](https://twitter.com/claudeflow)+- ๐ฐ [Blog](https://blog.claude-flow.ai)+- ๐บ [YouTube](https://youtube.com/@claudeflow)+- ๐ [GitHub](https://github.com/ruvnet/claude-flow)----**Built with โค๏ธ by the Claude-Flow Team**\ No newline at end of file+<div align="center">++**Built with โค๏ธ by the Claude-Flow Team**++[โฌ Back to Top](#-claude-flow-enterprise-ai-agent-orchestration-platform)++</div>\ No newline at end of filediff --git a/docs/API_DOCUMENTATION.md b/docs/API_DOCUMENTATION.mdindex 663ccc1253..e45ce7b1ae 100644--- a/docs/API_DOCUMENTATION.md+++ b/docs/API_DOCUMENTATION.md@@ -716,6 +716,6 @@ npx claude-flow@alpha --version*Intelligent AI Agent Orchestration*-[๐ Get Started](../README-NEW.md) | [๐ง Configure](./DEPLOYMENT.md) | [๐ค Contribute](../CONTRIBUTING.md)+[๐ Get Started](../README.md) | [๐ง Configure](./DEPLOYMENT.md) | [๐ค Contribute](../CONTRIBUTING.md)</div>\ No newline at end of filediff --git a/docs/DEVELOPMENT_WORKFLOW.md b/docs/DEVELOPMENT_WORKFLOW.mdindex fa768eae3c..085463c856 100644--- a/docs/DEVELOPMENT_WORKFLOW.md+++ b/docs/DEVELOPMENT_WORKFLOW.md@@ -1328,6 +1328,6 @@ npm update**Claude-Flow Development Workflow v2.0.0-alpha.88**-[Back to README](../README-NEW.md) | [Contributing](../CONTRIBUTING.md) | [Code of Conduct](../CODE_OF_CONDUCT.md)+[Back to README](../README.md) | [Contributing](../CONTRIBUTING.md) | [Code of Conduct](../CODE_OF_CONDUCT.md)</div>\ No newline at end of filediff --git a/docs/INDEX.md b/docs/INDEX.mdindex 266ae372df..b7421c1179 100644--- a/docs/INDEX.md+++ b/docs/INDEX.md@@ -75,7 +75,7 @@ Complete automation toolkit covering file operations, system management, GitHub## ๐ Complete Documentation Suite### ๐โโ๏ธ Getting Started-- **[README-NEW.md](../README-NEW.md)** - Complete project overview and quick start+- **[README-NEW.md](../README.md)** - Complete project overview and quick start- **[DEPLOYMENT.md](DEPLOYMENT.md)** - Installation, setup, and production deployment- **System Requirements**: Node.js v20+, 2GB RAM minimum, 8GB recommended@@ -254,8 +254,8 @@ npx claude-flow@alpha --agents 3 swarm "task description"### ๐ฏ **By User Type**#### ๐จโ๐ป **Developers**-1. [Quick Start Guide](../README-NEW.md#-quick-start) - Get up and running in 5 minutes-2. [SPARC Development](../README-NEW.md#-sparc-development-environment) - Structured development methodology+1. [Quick Start Guide](../README.md#-quick-start) - Get up and running in 5 minutes+2. [SPARC Development](../README.md#-sparc-development-environment) - Structured development methodology3. [API Reference](API_DOCUMENTATION.md) - Complete endpoint documentation4. [Development Workflow](DEVELOPMENT_WORKFLOW.md) - Best practices and standards@@ -267,15 +267,15 @@ npx claude-flow@alpha --agents 3 swarm "task description"#### ๐ **Technical Leaders**1. [System Architecture](ARCHITECTURE.md#system-overview) - High-level system design-2. [Performance Metrics](../README-NEW.md#-performance-metrics) - Benchmarks and optimization-3. [Swarm Intelligence](../README-NEW.md#-swarm-intelligence) - Distributed coordination strategies+2. [Performance Metrics](../README.md#-performance-metrics) - Benchmarks and optimization+3. [Swarm Intelligence](../README.md#-swarm-intelligence) - Distributed coordination strategies4. [Enterprise Features](DEPLOYMENT.md#production-setup) - Production-grade capabilities#### ๐ **Product Managers**-1. [Feature Overview](../README-NEW.md#-key-features) - Complete capability matrix-2. [Use Cases](../README-NEW.md#-use-cases) - Real-world applications-3. [Integration Capabilities](../README-NEW.md#-integration-capabilities) - Platform compatibility-4. [Roadmap](../README-NEW.md#-roadmap) - Future development plans+1. [Feature Overview](../README.md#-key-features) - Complete capability matrix+2. [Use Cases](../README.md#-use-cases) - Real-world applications+3. [Integration Capabilities](../README.md#-integration-capabilities) - Platform compatibility+4. [Roadmap](../README.md#-roadmap) - Future development plans### System Requirements@@ -391,9 +391,9 @@ npx claude-flow@alpha analytics --export-metrics --format prometheus#### **Week 1: Fundamentals**1. **[Installation & Setup](DEPLOYMENT.md#installation-methods)** - Get Claude Flow running-2. **[First Swarm Creation](../README-NEW.md#-quick-start)** - Build your first AI team-3. **[SPARC Methodology](../README-NEW.md#-sparc-development-environment)** - Learn structured development-4. **[Basic Commands](../README-NEW.md#-essential-commands)** - Master core CLI operations+2. **[First Swarm Creation](../README.md#-quick-start)** - Build your first AI team+3. **[SPARC Methodology](../README.md#-sparc-development-environment)** - Learn structured development+4. **[Basic Commands](../README.md#-essential-commands)** - Master core CLI operations#### **Week 2: Advanced Features**1. **[Agent Coordination](ARCHITECTURE.md#agent-architecture)** - Understanding swarm intelligence@@ -557,7 +557,7 @@ npx claude-flow@alpha init --force### **๐ Join Thousands of Developers Building with Claude Flow**-[**๐ Quick Start**](../README-NEW.md#-quick-start) โข [**๐ Documentation**](../README-NEW.md) โข [**๐ฌ Community**](https://discord.gg/claude-flow) โข [**๐ Issues**](https://github.com/ruvnet/claude-flow/issues)+[**๐ Quick Start**](../README.md#-quick-start) โข [**๐ Documentation**](../README.md) โข [**๐ฌ Community**](https://discord.gg/claude-flow) โข [**๐ Issues**](https://github.com/ruvnet/claude-flow/issues)---diff --git a/docs/USER_GUIDE.md b/docs/USER_GUIDE.mdindex 8022551bca..c2c9c08a96 100644--- a/docs/USER_GUIDE.md+++ b/docs/USER_GUIDE.md@@ -1127,7 +1127,7 @@ We welcome contributions! Please see our [Contributing Guide](../CONTRIBUTING.mdYou now have everything you need to master Claude-Flow!-[๐ Start Building](../README-NEW.md#-quick-start) | [๐ API Reference](API_DOCUMENTATION.md) | [๐๏ธ Architecture Guide](ARCHITECTURE.md)+[๐ Start Building](../README.md#-quick-start) | [๐ API Reference](API_DOCUMENTATION.md) | [๐๏ธ Architecture Guide](ARCHITECTURE.md)---