mirror of
https://github.com/ruvnet/ruflo.git
synced 2026-11-23 21:59:14 +09:00
🔖 Checkpoint: Edit /home/eric/IdeaProjects/claude-flow/README.md
This commit is contained in:
1 parent
129d92a314
commit
3dfe2ce31b
2 files changed
+311
No files matched your search
@@ -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"}
|
||||
@@ -0,0 +1,310 @@
|
||||
# 🌊 Claude-Flow: Enterprise AI Agent Orchestration Platform
|
||||
|
||||
[](https://www.npmjs.com/package/claude-flow)
|
||||
[](LICENSE)
|
||||
[](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**
|
||||
Reference in new issue
Block a user