From 3dfe2ce31baa4cfca5fb20934ebb4d87b5a240a3 Mon Sep 17 00:00:00 2001 From: Eric Vogt Date: Wed, 13 Aug 2025 20:39:39 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=94=96=20Checkpoint:=20Edit=20/home/eric/?= =?UTF-8?q?IdeaProjects/claude-flow/README.md?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .claude/checkpoints/task-1755110291.json | 1 + README.md | 310 +++++++++++++++++++++++ 2 files changed, 311 insertions(+) create mode 100644 .claude/checkpoints/task-1755110291.json create mode 100644 README.md diff --git a/.claude/checkpoints/task-1755110291.json b/.claude/checkpoints/task-1755110291.json new file mode 100644 index 0000000000..493ebb4895 --- /dev/null +++ b/.claude/checkpoints/task-1755110291.json @@ -0,0 +1 @@ +{"checkpoint": "task-20250813-203811", "task": "nimm die readme-new.md und bau die mal so um, dass es eine kompakte readme ist. sprich oben installa", "timestamp": "2025-08-13T18:38:11Z", "commit": "129d92a314562b6bc34f077f588a756cbfbbe1dd", "github_release": "true"} diff --git a/README.md b/README.md new file mode 100644 index 0000000000..143f5e4ea0 --- /dev/null +++ b/README.md @@ -0,0 +1,310 @@ +# ๐ŸŒŠ 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) + +Enterprise-grade AI agent orchestration platform with **54+ specialized agents**, **swarm intelligence**, and **87 MCP tools** for revolutionary AI-powered development workflows. + +## ๐Ÿ“ฆ Installation + +### Prerequisites +- **Node.js** โ‰ฅ 20.0.0 +- **npm** โ‰ฅ 9.0.0 +- **Claude Code** (required for full functionality) + +### Quick Install + +```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 +``` + +## โš™๏ธ Configuration + +### Configuration File (`.claude-flow/config.json`) + +```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 +``` + +## ๐Ÿš€ Usage Instructions + +### Basic Commands + +```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" +``` + +### Swarm Intelligence Operations + +```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 + +```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" +``` + +### Memory Management + +```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 +``` + +### MCP Server Integration + +```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 +``` + +### 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" +``` + +## ๐Ÿค– 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 + +### 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) + +## ๐Ÿ Swarm Topologies + +- **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 + +## ๐Ÿ“Š Performance Metrics + +| 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% | + +## ๐Ÿ”’ 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 + +## ๐Ÿ“š 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) + +## ๐Ÿงช Testing + +```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 +``` + +## ๐Ÿš€ Deployment + +### Docker + +```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 + +See [deployment guide](docs/DEPLOYMENT.md) for detailed K8s configurations. + +## ๐Ÿค Contributing + +We welcome contributions! Please see our [Contributing Guide](CONTRIBUTING.md) for details. + +```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 +``` + +## ๐Ÿ“ฎ Support + +- ๐Ÿ“– [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) + +## ๐Ÿ“ License + +Claude-Flow is open source software licensed under the [MIT License](LICENSE). + +--- + +**Built with โค๏ธ by the Claude-Flow Team** \ No newline at end of file