Skip to content

armgit / ruflo

Public Imported from GitHub
0

๐ŸŒŠ 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

๐Ÿ”– Task: stop jetzt commit push und stell pr ...

Eric Vogt4c31e2c6503a
diff --git a/.claude-flow/metrics/performance.json b/.claude-flow/metrics/performance.json
index 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.json
index 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 file
diff --git a/README-NEW.md b/README-NEW.md
deleted file mode 100644
index 57b78a0ed9..0000000000
--- a/README-NEW.md
+++ /dev/null
@@ -1,674 +0,0 @@
-# ๐ŸŒŠ Claude-Flow: Enterprise AI Agent Orchestration Platform
-
-<div align="center">
-
-![Claude-Flow Banner](https://img.shields.io/badge/Claude--Flow-v2.0.0-blue?style=for-the-badge&logo=ai&logoColor=white)
-[![NPM Version](https://img.shields.io/npm/v/claude-flow/alpha?style=for-the-badge&logo=npm&color=orange&label=Alpha)](https://www.npmjs.com/package/claude-flow)
-[![License](https://img.shields.io/badge/License-MIT-green?style=for-the-badge)](LICENSE)
-[![Build Status](https://img.shields.io/github/actions/workflow/status/ruvnet/claude-flow/ci.yml?style=for-the-badge)](https://github.com/ruvnet/claude-flow/actions)
-[![Coverage](https://img.shields.io/codecov/c/github/ruvnet/claude-flow?style=for-the-badge)](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 file
diff --git a/README.md b/README.md
index 143f5e4ea0..57b78a0ed9 100644
--- a/README.md
+++ b/README.md
@@ -1,19 +1,42 @@
# ๐ŸŒŠ Claude-Flow: Enterprise AI Agent Orchestration Platform
-[![NPM Version](https://img.shields.io/npm/v/claude-flow/alpha?style=flat-square&logo=npm&color=orange&label=Alpha)](https://www.npmjs.com/package/claude-flow)
-[![License](https://img.shields.io/badge/License-MIT-green?style=flat-square)](LICENSE)
-[![Build Status](https://img.shields.io/github/actions/workflow/status/ruvnet/claude-flow/ci.yml?style=flat-square)](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.
+![Claude-Flow Banner](https://img.shields.io/badge/Claude--Flow-v2.0.0-blue?style=for-the-badge&logo=ai&logoColor=white)
+[![NPM Version](https://img.shields.io/npm/v/claude-flow/alpha?style=for-the-badge&logo=npm&color=orange&label=Alpha)](https://www.npmjs.com/package/claude-flow)
+[![License](https://img.shields.io/badge/License-MIT-green?style=for-the-badge)](LICENSE)
+[![Build Status](https://img.shields.io/github/actions/workflow/status/ruvnet/claude-flow/ci.yml?style=for-the-badge)](https://github.com/ruvnet/claude-flow/actions)
+[![Coverage](https://img.shields.io/codecov/c/github/ruvnet/claude-flow?style=for-the-badge)](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 --help
npx 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-time
npx 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 stats
npx 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 status
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
@@ -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 tests
npm test
@@ -254,9 +476,29 @@ npm run test:coverage
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
+### 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
## ๐Ÿค 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
@@ -294,17 +617,58 @@ npm test
npm 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 file
diff --git a/docs/API_DOCUMENTATION.md b/docs/API_DOCUMENTATION.md
index 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 file
diff --git a/docs/DEVELOPMENT_WORKFLOW.md b/docs/DEVELOPMENT_WORKFLOW.md
index 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 file
diff --git a/docs/INDEX.md b/docs/INDEX.md
index 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 methodology
3. [API Reference](API_DOCUMENTATION.md) - Complete endpoint documentation
4. [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 strategies
4. [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.md
index 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.md
You 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)
---