claude-flow 1.0.42 → 1.0.43
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +361 -189
- package/package.json +1 -1
- package/src/agents/agent-manager.ts +1244 -0
- package/src/cli/cli-core.ts +1 -1
- package/src/cli/command-registry.js +13 -0
- package/src/cli/commands/start/event-emitter.ts +41 -0
- package/src/cli/commands/start/index.ts +10 -0
- package/src/cli/commands/start/process-manager.ts +346 -0
- package/src/cli/commands/start/process-ui-simple.ts +384 -0
- package/src/cli/commands/start/process-ui.ts +5 -0
- package/src/cli/commands/start/start-command.ts +189 -0
- package/src/cli/commands/start/system-monitor.ts +309 -0
- package/src/cli/commands/start/types.ts +66 -0
- package/src/cli/commands/start.ts +2 -152
- package/src/cli/commands/swarm-new.ts +756 -0
- package/src/cli/commands/swarm.ts +174 -42
- package/src/cli/index-remote.ts +1 -1
- package/src/cli/index.ts +1 -1
- package/src/cli/main.ts +1 -1
- package/src/cli/simple-cli.js +38 -9
- package/src/cli/simple-cli.ts +1 -1
- package/src/cli/simple-commands/config.js +1 -1
- package/src/cli/simple-commands/init/README.md +99 -0
- package/src/cli/simple-commands/init/claude-commands/claude-flow-commands.js +183 -0
- package/src/cli/simple-commands/init/claude-commands/slash-commands.js +35 -0
- package/src/cli/simple-commands/init/claude-commands/sparc-commands.js +96 -0
- package/src/cli/simple-commands/init/executable-wrapper.js +112 -0
- package/src/cli/simple-commands/init/help.js +49 -0
- package/src/cli/simple-commands/init/index.js +198 -0
- package/src/cli/simple-commands/init/sparc/roo-readme.js +61 -0
- package/src/cli/simple-commands/init/sparc/roomodes-config.js +80 -0
- package/src/cli/simple-commands/init/sparc/workflows.js +36 -0
- package/src/cli/simple-commands/init/sparc-structure.js +65 -0
- package/src/cli/simple-commands/init/templates/claude-md.js +341 -0
- package/src/cli/simple-commands/init/templates/coordination-md.js +106 -0
- package/src/cli/simple-commands/init/templates/memory-bank-md.js +77 -0
- package/src/cli/simple-commands/init/templates/readme-files.js +72 -0
- package/src/cli/simple-commands/init.js +2 -1084
- package/src/cli/simple-commands/process-ui-enhanced.js +730 -0
- package/src/cli/simple-commands/process-ui.js +263 -0
- package/src/cli/simple-commands/sparc-modes/index.js +2 -0
- package/src/cli/simple-commands/sparc-modes/swarm.js +436 -0
- package/src/cli/simple-commands/start-ui.js +45 -0
- package/src/cli/simple-commands/start-wrapper.js +228 -0
- package/src/cli/simple-commands/start.js +2 -182
- package/src/cli/simple-commands/status.js +1 -1
- package/src/cli/simple-commands/swarm-ui.js +662 -0
- package/src/cli/simple-commands/swarm.js +118 -0
- package/src/communication/message-bus.ts +1431 -0
- package/src/coordination/advanced-task-executor.ts +631 -0
- package/src/coordination/background-executor.ts +478 -0
- package/src/coordination/load-balancer.ts +985 -0
- package/src/coordination/swarm-coordinator.ts +728 -0
- package/src/coordination/swarm-monitor.ts +6 -6
- package/src/core/logger.ts +28 -2
- package/src/mcp/client.ts +80 -0
- package/src/mcp/server.ts +34 -0
- package/src/mcp/swarm-tools.ts +724 -79
- package/src/mcp/transports/base.ts +3 -0
- package/src/mcp/transports/http.ts +32 -33
- package/src/mcp/transports/stdio.ts +35 -17
- package/src/memory/distributed-memory.ts +995 -0
- package/src/memory/swarm-memory.ts +600 -0
- package/src/monitoring/real-time-monitor.ts +1108 -0
- package/src/resources/resource-manager.ts +1865 -0
- package/src/swarm/coordinator.ts +1664 -0
- package/src/swarm/executor.ts +1044 -0
- package/src/swarm/memory.ts +1456 -0
- package/src/swarm/types.ts +1093 -0
package/README.md
CHANGED
|
@@ -12,24 +12,44 @@
|
|
|
12
12
|
|
|
13
13
|
</div>
|
|
14
14
|
|
|
15
|
-
##
|
|
15
|
+
## 🎯 **Transform Your Development Workflow**
|
|
16
|
+
|
|
17
|
+
**Claude-Flow** is the ultimate multi-terminal orchestration platform that revolutionizes how you work with Claude Code. Imagine coordinating **dozens of AI agents** simultaneously, each working on different aspects of your project while sharing knowledge through an intelligent memory bank.
|
|
18
|
+
|
|
19
|
+
> 🔥 **One command to rule them all**: `npx claude-flow` - Deploy a full AI agent coordination system in seconds!
|
|
16
20
|
|
|
17
|
-
|
|
21
|
+
|
|
22
|
+
## 🎉 **What's New in v1.0.43**
|
|
23
|
+
|
|
24
|
+
### 🚀 **Major Release: Enterprise-Grade Swarm System**
|
|
25
|
+
- **🐝 Advanced Swarm Orchestration**: Complete multi-agent coordination system with timeout-free execution
|
|
26
|
+
- **🧠 Distributed Memory Sharing**: Cross-agent knowledge sharing with persistent state management
|
|
27
|
+
- **⚡ Intelligent Task Scheduling**: 7+ scheduling algorithms with dependency resolution and load balancing
|
|
28
|
+
- **🔄 Work Stealing & Load Balancing**: Automatic workload distribution across agents
|
|
29
|
+
- **🛡️ Circuit Breaker Patterns**: Enterprise fault tolerance with retry and recovery mechanisms
|
|
30
|
+
- **📊 Real-Time Monitoring**: Comprehensive metrics, health checks, and performance tracking
|
|
31
|
+
- **🔒 Security & Validation**: Encryption, access control, audit logging, and input validation
|
|
32
|
+
- **🎯 Comprehensive CLI**: 30+ options for swarm configuration and management
|
|
33
|
+
|
|
34
|
+
### 🆕 **Enhanced User Experience**
|
|
35
|
+
- **🚀 Text-Based Process Management UI**: New `--ui` flag for `start` command provides interactive process control
|
|
36
|
+
- **🎯 Simplified SPARC Syntax**: `npx claude-flow sparc "build app"` (no more double sparc!)
|
|
18
37
|
- **⚡ Auto-Skip Permissions**: `--dangerously-skip-permissions` by default (use `--enable-permissions` to restore prompts)
|
|
19
|
-
- **🤖 Non-Interactive Mode**: JSON output with `--non-interactive` flag for automation
|
|
38
|
+
- **🤖 Non-Interactive Mode**: JSON output with `--non-interactive` flag for automation
|
|
20
39
|
- **📁 Directory Safety**: Enhanced guidance to prevent files in node_modules
|
|
21
40
|
- **🎯 17+ SPARC Modes**: Including new `sparc-orchestrator` for complex workflows
|
|
22
41
|
- **📂 Local Executable**: `init` now creates `./claude-flow` wrapper to ensure correct working directory
|
|
23
42
|
- **🔧 Fixed SPARC Path Resolution**: `.roomodes` now correctly found in project directory
|
|
24
|
-
-
|
|
25
|
-
-
|
|
43
|
+
- **📝 Claude Code Slash Commands**: `init --sparc` now creates `.claude/commands/` with slash commands for all SPARC modes
|
|
44
|
+
- **🏗️ Modular Init Structure**: Refactored init command into clean, maintainable modules for better extensibility
|
|
26
45
|
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
46
|
+
### 🐝 **Swarm System Features**
|
|
47
|
+
- **Timeout-Free Execution**: Background Claude processes that never timeout
|
|
48
|
+
- **Agent Specialization**: 9 agent types (coordinator, developer, researcher, analyzer, tester, reviewer, documenter, monitor, specialist)
|
|
49
|
+
- **Multiple Coordination Modes**: Centralized, distributed, hierarchical, mesh, hybrid
|
|
50
|
+
- **Advanced Scheduling**: FIFO, priority, deadline, shortest-job, critical-path, resource-aware, adaptive
|
|
51
|
+
- **Fault Tolerance**: Retry, redundancy, checkpoint, circuit-breaker, bulkhead, timeout, graceful-degradation
|
|
52
|
+
- **Communication Patterns**: Direct, broadcast, publish-subscribe, request-response, event-driven, gossip, hierarchical
|
|
33
53
|
|
|
34
54
|
### 🌟 **Why Claude-Flow?**
|
|
35
55
|
|
|
@@ -40,40 +60,49 @@
|
|
|
40
60
|
- **🤖 VSCode Native**: Seamless integration with your favorite IDE
|
|
41
61
|
- **🔒 Enterprise Ready**: Production-grade security, monitoring, and scaling
|
|
42
62
|
- **🌐 MCP Compatible**: Full Model Context Protocol support for tool integration
|
|
63
|
+
- **🐝 Swarm Intelligence**: Advanced multi-agent coordination with timeout-free execution
|
|
43
64
|
|
|
44
65
|
## 📦 **Installation**
|
|
45
66
|
|
|
67
|
+
### 🚀 Get started in 30 seconds
|
|
68
|
+
```bash
|
|
69
|
+
# Initialize with SPARC development environment
|
|
70
|
+
npx -y claude-flow@latest init --sparc
|
|
46
71
|
|
|
47
|
-
#
|
|
48
|
-
-
|
|
49
|
-
-
|
|
50
|
-
-
|
|
51
|
-
|
|
72
|
+
# Use the local wrapper after init
|
|
73
|
+
./claude-flow start --ui # Interactive process management
|
|
74
|
+
./claude-flow sparc "build and test my project" # SPARC development
|
|
75
|
+
./claude-flow swarm "Build a REST API" --strategy development --monitor # Swarm coordination
|
|
76
|
+
```
|
|
52
77
|
|
|
53
78
|
```bash
|
|
54
79
|
# ⚡ SPARC Development Workflow (NEW: Simplified!)
|
|
55
80
|
npx claude-flow sparc "build a todo app" # Orchestrator mode (default)
|
|
56
81
|
npx claude-flow sparc modes # List 17+ development modes
|
|
57
82
|
npx claude-flow sparc tdd "user auth" # Run TDD workflow
|
|
58
|
-
npx claude-flow sparc run code "API" # Specific mode execution
|
|
59
83
|
|
|
60
|
-
#
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
84
|
+
# 🐝 Advanced Swarm System (NEW!)
|
|
85
|
+
./claude-flow swarm "Build a REST API" --strategy development --parallel --monitor
|
|
86
|
+
./claude-flow swarm "Research AI trends" --strategy research --distributed --ui
|
|
87
|
+
./claude-flow swarm "Optimize performance" --strategy optimization --background
|
|
88
|
+
|
|
89
|
+
# 🎯 Run specific SPARC modes
|
|
90
|
+
npx claude-flow sparc run code "implement API" # Code generation
|
|
91
|
+
npx claude-flow sparc run tdd "auth tests" # Test-driven development
|
|
92
|
+
npx claude-flow sparc run architect "system" # Architecture design
|
|
64
93
|
|
|
65
94
|
# 🤖 Spawn a research team
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
95
|
+
./claude-flow agent spawn researcher --name "Senior Researcher"
|
|
96
|
+
./claude-flow agent spawn analyst --name "Data Analyst"
|
|
97
|
+
./claude-flow agent spawn implementer --name "Code Developer"
|
|
69
98
|
|
|
70
99
|
# 📋 Create and execute tasks
|
|
71
|
-
|
|
72
|
-
|
|
100
|
+
./claude-flow task create research "Research AI optimization techniques"
|
|
101
|
+
./claude-flow task list
|
|
73
102
|
|
|
74
103
|
# 📊 Monitor in real-time
|
|
75
|
-
|
|
76
|
-
|
|
104
|
+
./claude-flow status
|
|
105
|
+
./claude-flow monitor
|
|
77
106
|
```
|
|
78
107
|
|
|
79
108
|
## 🏗️ **Core Features**
|
|
@@ -82,20 +111,20 @@ npx claude-flow monitor
|
|
|
82
111
|
<tr>
|
|
83
112
|
<td width="33%" align="center">
|
|
84
113
|
|
|
85
|
-
###
|
|
86
|
-
|
|
114
|
+
### 🐝 **Advanced Swarm Orchestration**
|
|
115
|
+
Enterprise-grade multi-agent coordination with timeout-free execution, distributed memory sharing, and intelligent load balancing across specialized AI agents.
|
|
87
116
|
|
|
88
117
|
</td>
|
|
89
118
|
<td width="33%" align="center">
|
|
90
119
|
|
|
91
120
|
### 🧠 **Intelligent Memory Bank**
|
|
92
|
-
Advanced CRDT-based memory system with SQLite performance and Markdown readability. Agents learn and share knowledge across sessions.
|
|
121
|
+
Advanced CRDT-based memory system with SQLite performance and Markdown readability. Agents learn and share knowledge across sessions with cross-agent collaboration.
|
|
93
122
|
|
|
94
123
|
</td>
|
|
95
124
|
<td width="33%" align="center">
|
|
96
125
|
|
|
97
126
|
### ⚡ **SPARC Development**
|
|
98
|
-
Systematic AI-assisted development using Specification → Pseudocode → Architecture → Refinement → Completion methodology with
|
|
127
|
+
Systematic AI-assisted development using Specification → Pseudocode → Architecture → Refinement → Completion methodology with 17+ specialized modes.
|
|
99
128
|
|
|
100
129
|
</td>
|
|
101
130
|
</tr>
|
|
@@ -103,19 +132,19 @@ Systematic AI-assisted development using Specification → Pseudocode → Archit
|
|
|
103
132
|
<td width="33%" align="center">
|
|
104
133
|
|
|
105
134
|
### 🎯 **Smart Task Scheduling**
|
|
106
|
-
|
|
135
|
+
7+ scheduling algorithms with dependency resolution, deadlock detection, work stealing, load balancing, and automatic retry with exponential backoff.
|
|
107
136
|
|
|
108
137
|
</td>
|
|
109
138
|
<td width="33%" align="center">
|
|
110
139
|
|
|
111
140
|
### 🔒 **Enterprise Security**
|
|
112
|
-
Token-based authentication, rate limiting, circuit breakers, audit logging, and role-based
|
|
141
|
+
Token-based authentication, encryption, rate limiting, circuit breakers, audit logging, access control, and role-based permissions.
|
|
113
142
|
|
|
114
143
|
</td>
|
|
115
144
|
<td width="33%" align="center">
|
|
116
145
|
|
|
117
146
|
### 🌐 **MCP Integration**
|
|
118
|
-
Full Model Context Protocol support with stdio and HTTP transports, enabling seamless integration with external tools.
|
|
147
|
+
Full Model Context Protocol support with stdio and HTTP transports, enabling seamless integration with external tools and services.
|
|
119
148
|
|
|
120
149
|
</td>
|
|
121
150
|
</tr>
|
|
@@ -135,13 +164,10 @@ claude-flow --version
|
|
|
135
164
|
|
|
136
165
|
### 🦕 **Option 2: Deno (For Developers)**
|
|
137
166
|
```bash
|
|
138
|
-
#
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
# Or run directly
|
|
143
|
-
deno run --allow-all \
|
|
144
|
-
https://raw.githubusercontent.com/ruvnet/claude-code-flow/main/src/cli/index.ts
|
|
167
|
+
# Clone and run from source
|
|
168
|
+
git clone https://github.com/ruvnet/claude-code-flow.git
|
|
169
|
+
cd claude-code-flow
|
|
170
|
+
./bin/claude-flow --version
|
|
145
171
|
```
|
|
146
172
|
|
|
147
173
|
### 🔧 **Option 3: From Source (For Contributors)**
|
|
@@ -151,6 +177,75 @@ cd claude-code-flow
|
|
|
151
177
|
deno task build && deno task install
|
|
152
178
|
```
|
|
153
179
|
|
|
180
|
+
## 🐝 **Swarm System Usage**
|
|
181
|
+
|
|
182
|
+
### **🚀 Basic Swarm Commands**
|
|
183
|
+
```bash
|
|
184
|
+
# Initialize with swarm support
|
|
185
|
+
npx claude-flow init --sparc
|
|
186
|
+
|
|
187
|
+
# Start a basic development swarm
|
|
188
|
+
./claude-flow swarm "Build a REST API" --strategy development
|
|
189
|
+
|
|
190
|
+
# Research-focused swarm with UI
|
|
191
|
+
./claude-flow swarm "Research AI trends" --strategy research --distributed --ui
|
|
192
|
+
|
|
193
|
+
# Background optimization swarm
|
|
194
|
+
./claude-flow swarm "Optimize performance" --strategy optimization --background --monitor
|
|
195
|
+
|
|
196
|
+
# Testing swarm with review
|
|
197
|
+
./claude-flow swarm "Test application" --strategy testing --review --verbose
|
|
198
|
+
```
|
|
199
|
+
|
|
200
|
+
### **🎛️ Advanced Swarm Configuration**
|
|
201
|
+
```bash
|
|
202
|
+
# Full-featured swarm with all options
|
|
203
|
+
./claude-flow swarm "Complex project development" \
|
|
204
|
+
--strategy development \
|
|
205
|
+
--mode distributed \
|
|
206
|
+
--max-agents 10 \
|
|
207
|
+
--parallel \
|
|
208
|
+
--monitor \
|
|
209
|
+
--review \
|
|
210
|
+
--testing \
|
|
211
|
+
--encryption \
|
|
212
|
+
--verbose
|
|
213
|
+
|
|
214
|
+
# Dry run to see configuration
|
|
215
|
+
./claude-flow swarm "Test task" --dry-run --strategy development
|
|
216
|
+
|
|
217
|
+
# Get comprehensive help
|
|
218
|
+
./claude-flow swarm --help
|
|
219
|
+
```
|
|
220
|
+
|
|
221
|
+
### **🤖 Swarm Agent Types**
|
|
222
|
+
- **Coordinator**: Plans and delegates tasks to other agents
|
|
223
|
+
- **Developer**: Writes code and implements solutions
|
|
224
|
+
- **Researcher**: Gathers and analyzes information
|
|
225
|
+
- **Analyzer**: Identifies patterns and generates insights
|
|
226
|
+
- **Tester**: Creates and runs tests for quality assurance
|
|
227
|
+
- **Reviewer**: Performs code and design reviews
|
|
228
|
+
- **Documenter**: Creates documentation and guides
|
|
229
|
+
- **Monitor**: Tracks performance and system health
|
|
230
|
+
- **Specialist**: Domain-specific expert agents
|
|
231
|
+
|
|
232
|
+
### **🔄 Coordination Strategies**
|
|
233
|
+
- **Centralized**: Single coordinator manages all agents (default)
|
|
234
|
+
- **Distributed**: Multiple coordinators share management
|
|
235
|
+
- **Hierarchical**: Tree structure with nested coordination
|
|
236
|
+
- **Mesh**: Peer-to-peer agent collaboration
|
|
237
|
+
- **Hybrid**: Mixed coordination strategies
|
|
238
|
+
|
|
239
|
+
### **📊 Swarm Features**
|
|
240
|
+
- **Timeout-Free Execution**: Background Claude processes that never timeout
|
|
241
|
+
- **Work Stealing**: Automatic load balancing across agents
|
|
242
|
+
- **Circuit Breakers**: Fault tolerance with automatic recovery
|
|
243
|
+
- **Real-Time Monitoring**: Live metrics and progress tracking
|
|
244
|
+
- **Distributed Memory**: Cross-agent knowledge sharing
|
|
245
|
+
- **Quality Controls**: Configurable thresholds and validation
|
|
246
|
+
- **Background Mode**: Long-running swarms with persistent state
|
|
247
|
+
- **Interactive UI**: Terminal-based swarm management interface
|
|
248
|
+
|
|
154
249
|
## 📚 **Documentation**
|
|
155
250
|
|
|
156
251
|
Comprehensive documentation is available to help you get the most out of Claude-Flow:
|
|
@@ -163,9 +258,10 @@ Comprehensive documentation is available to help you get the most out of Claude-
|
|
|
163
258
|
- **[Memory Bank Usage](./docs/06-memory-bank-usage.md)** - Persistent memory system
|
|
164
259
|
- **[MCP Integration](./docs/07-mcp-integration.md)** - Model Context Protocol tools
|
|
165
260
|
- **[Terminal Management](./docs/08-terminal-management.md)** - Terminal pooling and sessions
|
|
166
|
-
- **[
|
|
167
|
-
- **[
|
|
168
|
-
- **[
|
|
261
|
+
- **[Swarm System Guide](./docs/09-swarm-system.md)** - Advanced multi-agent coordination
|
|
262
|
+
- **[Troubleshooting](./docs/10-troubleshooting.md)** - Common issues and solutions
|
|
263
|
+
- **[Advanced Usage](./docs/11-advanced-usage.md)** - Power user features
|
|
264
|
+
- **[Claude Spawning](./docs/12-claude-spawning.md)** - Spawning Claude instances
|
|
169
265
|
- **[CLI Reference](./docs/cli-reference.md)** - Complete command documentation
|
|
170
266
|
|
|
171
267
|
## 💡 **Quick Start Guide**
|
|
@@ -180,6 +276,7 @@ npx claude-flow init --sparc
|
|
|
180
276
|
```
|
|
181
277
|
The `--sparc` flag creates:
|
|
182
278
|
- `CLAUDE.md` - SPARC-enhanced Claude Code configuration
|
|
279
|
+
- `.claude/commands/` - Claude Code slash commands for all SPARC modes
|
|
183
280
|
- `memory-bank.md` - Memory system documentation
|
|
184
281
|
- `coordination.md` - Agent coordination documentation
|
|
185
282
|
- `.roomodes` - SPARC development mode configurations
|
|
@@ -187,6 +284,13 @@ The `--sparc` flag creates:
|
|
|
187
284
|
- Memory folder structure with placeholders
|
|
188
285
|
- `./claude-flow` - Local executable wrapper (use instead of npx)
|
|
189
286
|
|
|
287
|
+
Claude Code slash commands available after init:
|
|
288
|
+
- `/sparc` - Execute SPARC methodology workflows
|
|
289
|
+
- `/sparc-<mode>` - Run specific SPARC modes (e.g., /sparc-architect)
|
|
290
|
+
- `/claude-flow-help` - Show all claude-flow commands
|
|
291
|
+
- `/claude-flow-memory` - Interact with memory system
|
|
292
|
+
- `/claude-flow-swarm` - Coordinate multi-agent swarms
|
|
293
|
+
|
|
190
294
|
### 2. **Start the Orchestrator**
|
|
191
295
|
```bash
|
|
192
296
|
# After init, use the local wrapper:
|
|
@@ -195,66 +299,66 @@ The `--sparc` flag creates:
|
|
|
195
299
|
# Or run as daemon
|
|
196
300
|
./claude-flow start --daemon
|
|
197
301
|
|
|
198
|
-
#
|
|
199
|
-
|
|
302
|
+
# With interactive UI
|
|
303
|
+
./claude-flow start --ui
|
|
200
304
|
```
|
|
201
305
|
|
|
202
306
|
### 3. **Spawn Agents**
|
|
203
307
|
```bash
|
|
204
308
|
# Spawn different agent types with specific capabilities
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
309
|
+
./claude-flow agent spawn researcher --name "Research Assistant" --priority 8
|
|
310
|
+
./claude-flow agent spawn implementer --name "Code Developer" --priority 7
|
|
311
|
+
./claude-flow agent spawn analyst --name "Data Analyst" --priority 6
|
|
312
|
+
./claude-flow agent spawn coordinator --name "Project Manager" --priority 9
|
|
209
313
|
|
|
210
314
|
# List all active agents
|
|
211
|
-
|
|
315
|
+
./claude-flow agent list
|
|
212
316
|
|
|
213
317
|
# Get detailed information about an agent
|
|
214
|
-
|
|
318
|
+
./claude-flow agent info agent-123
|
|
215
319
|
```
|
|
216
320
|
|
|
217
321
|
### 4. **Create and Manage Tasks**
|
|
218
322
|
```bash
|
|
219
323
|
# Create tasks with different priorities
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
324
|
+
./claude-flow task create research "Analyze authentication best practices" --priority 8
|
|
325
|
+
./claude-flow task create implementation "Build JWT authentication" --priority 9
|
|
326
|
+
./claude-flow task create analysis "Review security vulnerabilities" --priority 10
|
|
223
327
|
|
|
224
328
|
# Create task with dependencies
|
|
225
|
-
|
|
329
|
+
./claude-flow task create implementation "Build user management" \
|
|
226
330
|
--priority 7 --deps task-123,task-456
|
|
227
331
|
|
|
228
332
|
# Assign tasks to agents
|
|
229
|
-
|
|
333
|
+
./claude-flow task assign task-123 agent-456
|
|
230
334
|
|
|
231
335
|
# List all tasks
|
|
232
|
-
|
|
233
|
-
|
|
336
|
+
./claude-flow task list
|
|
337
|
+
./claude-flow task list --verbose # Show detailed task information
|
|
234
338
|
|
|
235
339
|
# Check specific task status
|
|
236
|
-
|
|
340
|
+
./claude-flow task status task-123
|
|
237
341
|
|
|
238
342
|
# Cancel a task
|
|
239
|
-
|
|
343
|
+
./claude-flow task cancel task-789
|
|
240
344
|
```
|
|
241
345
|
|
|
242
346
|
### 5. **Spawn Claude Instances** 🆕
|
|
243
347
|
```bash
|
|
244
348
|
# Spawn Claude with enhanced Claude-Flow guidance
|
|
245
|
-
|
|
349
|
+
./claude-flow claude spawn "implement user authentication" --research --parallel
|
|
246
350
|
|
|
247
351
|
# Backend-only mode with high coverage
|
|
248
|
-
|
|
352
|
+
./claude-flow claude spawn "create REST API" --mode backend-only --coverage 95
|
|
249
353
|
|
|
250
354
|
# Frontend development with feature commits
|
|
251
|
-
|
|
355
|
+
./claude-flow claude spawn "build React components" --mode frontend-only --commit feature
|
|
252
356
|
|
|
253
357
|
# Full stack with all options
|
|
254
|
-
|
|
358
|
+
./claude-flow claude spawn "build complete app" --research --parallel --coverage 90 --verbose
|
|
255
359
|
|
|
256
|
-
# Execute
|
|
257
|
-
|
|
360
|
+
# Execute workflow
|
|
361
|
+
./claude-flow claude batch workflow.json --dry-run
|
|
258
362
|
```
|
|
259
363
|
|
|
260
364
|
**Enhanced Claude Instances receive:**
|
|
@@ -267,13 +371,13 @@ npx claude-flow claude batch examples/claude-workflow.json --dry-run
|
|
|
267
371
|
### 6. **Monitor System Status**
|
|
268
372
|
```bash
|
|
269
373
|
# Check system health
|
|
270
|
-
|
|
374
|
+
./claude-flow status
|
|
271
375
|
|
|
272
376
|
# Real-time monitoring
|
|
273
|
-
|
|
377
|
+
./claude-flow monitor
|
|
274
378
|
|
|
275
379
|
# View MCP tools
|
|
276
|
-
|
|
380
|
+
./claude-flow mcp tools
|
|
277
381
|
```
|
|
278
382
|
|
|
279
383
|
## 🚀 **SPARC Development Methodology**
|
|
@@ -283,7 +387,7 @@ Claude-Flow integrates the **SPARC** (Specification, Pseudocode, Architecture, R
|
|
|
283
387
|
### **Available SPARC Modes**
|
|
284
388
|
```bash
|
|
285
389
|
# List all development modes
|
|
286
|
-
|
|
390
|
+
./claude-flow sparc modes
|
|
287
391
|
|
|
288
392
|
# Key modes include:
|
|
289
393
|
# 🏗️ architect - System design and architecture
|
|
@@ -297,53 +401,34 @@ npx claude-flow sparc modes
|
|
|
297
401
|
### **SPARC Workflow**
|
|
298
402
|
```bash
|
|
299
403
|
# Simplified orchestration (NEW!)
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
# Or use specific modes:
|
|
303
|
-
# 1. Specification - Define requirements
|
|
304
|
-
npx claude-flow sparc run spec-pseudocode "user authentication system"
|
|
404
|
+
./claude-flow sparc "build complete authentication system"
|
|
305
405
|
|
|
306
|
-
#
|
|
307
|
-
|
|
406
|
+
# Run specific SPARC modes:
|
|
407
|
+
./claude-flow sparc run code "implement API" # Code generation
|
|
408
|
+
./claude-flow sparc run tdd "auth tests" # Test-driven development
|
|
409
|
+
./claude-flow sparc run architect "system" # Architecture design
|
|
308
410
|
|
|
309
|
-
#
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
# 4. Integration - Connect components
|
|
313
|
-
npx claude-flow sparc run integration "auth with user management"
|
|
314
|
-
|
|
315
|
-
# 5. Completion - Documentation and validation
|
|
316
|
-
npx claude-flow sparc run docs-writer "authentication API docs"
|
|
411
|
+
# TDD shorthand
|
|
412
|
+
./claude-flow sparc tdd "implement JWT authentication"
|
|
317
413
|
```
|
|
318
414
|
|
|
319
|
-
### **
|
|
415
|
+
### **Non-Interactive Mode**
|
|
320
416
|
|
|
321
|
-
|
|
417
|
+
The `--non-interactive` flag outputs JSON for integration with CI/CD pipelines and automation tools:
|
|
322
418
|
|
|
323
419
|
```bash
|
|
324
|
-
#
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
"npx claude-flow sparc run code 'user service' --non-interactive" \
|
|
328
|
-
"npx claude-flow sparc run code 'auth service' --non-interactive" \
|
|
329
|
-
"npx claude-flow sparc run tdd 'test suite' --non-interactive"
|
|
330
|
-
|
|
331
|
-
# Or use any parallel execution tool like GNU Parallel:
|
|
332
|
-
parallel -j 3 npx claude-flow sparc run {} --non-interactive ::: \
|
|
333
|
-
"code 'user service'" \
|
|
334
|
-
"code 'auth service'" \
|
|
335
|
-
"tdd 'test suite'"
|
|
420
|
+
# Run SPARC modes with JSON output
|
|
421
|
+
./claude-flow sparc run code "user service" --non-interactive
|
|
422
|
+
./claude-flow sparc run tdd "test suite" --non-interactive
|
|
336
423
|
```
|
|
337
424
|
|
|
338
|
-
**Note**: `batchtool` is not included with claude-flow. The `--non-interactive` flag outputs JSON for integration with your preferred orchestration tools.
|
|
339
|
-
|
|
340
425
|
### **SPARC Features**
|
|
341
426
|
- **17+ Specialized AI Modes** for different development phases
|
|
342
427
|
- **Memory Persistence** across SPARC sessions with namespaced storage
|
|
343
428
|
- **TDD Enforcement** with Red-Green-Refactor cycle automation
|
|
344
429
|
- **Modular Design** with <500 line file constraints
|
|
345
430
|
- **Environment Safety** preventing credential exposure
|
|
346
|
-
- **
|
|
431
|
+
- **CI/CD Integration** via `--non-interactive` flag for automation
|
|
347
432
|
- **Non-Interactive Mode** for automation and CI/CD integration
|
|
348
433
|
- **Auto-Skip Permissions** by default (use --enable-permissions to prompt)
|
|
349
434
|
- **Quality Gates** with automated code analysis and security review
|
|
@@ -353,6 +438,7 @@ parallel -j 3 npx claude-flow sparc run {} --non-interactive ::: \
|
|
|
353
438
|
Claude-Flow uses a modular architecture with the following components:
|
|
354
439
|
|
|
355
440
|
- **Orchestrator**: Central coordinator managing all system components
|
|
441
|
+
- **Swarm System**: Advanced multi-agent coordination with timeout-free execution
|
|
356
442
|
- **Terminal Manager**: Handles terminal sessions with pooling and recycling
|
|
357
443
|
- **Memory Manager**: Persistent storage with caching and indexing
|
|
358
444
|
- **Coordination Manager**: Task scheduling and resource management
|
|
@@ -370,6 +456,15 @@ Default configuration file (`claude-flow.config.json`):
|
|
|
370
456
|
"healthCheckInterval": 30000,
|
|
371
457
|
"shutdownTimeout": 30000
|
|
372
458
|
},
|
|
459
|
+
"swarm": {
|
|
460
|
+
"maxAgents": 10,
|
|
461
|
+
"defaultStrategy": "auto",
|
|
462
|
+
"defaultMode": "centralized",
|
|
463
|
+
"timeoutMinutes": 60,
|
|
464
|
+
"qualityThreshold": 0.8,
|
|
465
|
+
"enableMonitoring": true,
|
|
466
|
+
"enableEncryption": false
|
|
467
|
+
},
|
|
373
468
|
"terminal": {
|
|
374
469
|
"type": "auto",
|
|
375
470
|
"poolSize": 5,
|
|
@@ -412,6 +507,12 @@ Claude-Flow supports multiple agent types:
|
|
|
412
507
|
- **Researcher**: Gathers and analyzes information
|
|
413
508
|
- **Implementer**: Writes code and creates solutions
|
|
414
509
|
- **Analyst**: Identifies patterns and generates insights
|
|
510
|
+
- **Developer**: Full-stack development capabilities
|
|
511
|
+
- **Tester**: Quality assurance and testing
|
|
512
|
+
- **Reviewer**: Code and design review
|
|
513
|
+
- **Documenter**: Documentation creation
|
|
514
|
+
- **Monitor**: System monitoring and health checks
|
|
515
|
+
- **Specialist**: Domain-specific expertise
|
|
415
516
|
- **Custom**: User-defined agent types
|
|
416
517
|
|
|
417
518
|
## 🛠️ **CLI Commands**
|
|
@@ -437,7 +538,7 @@ npx claude-flow@latest init [options]
|
|
|
437
538
|
|
|
438
539
|
**Recommended first-time setup:**
|
|
439
540
|
```bash
|
|
440
|
-
npx claude-flow@latest init --sparc
|
|
541
|
+
npx -y claude-flow@latest init --sparc
|
|
441
542
|
```
|
|
442
543
|
|
|
443
544
|
Creates:
|
|
@@ -452,6 +553,45 @@ Creates:
|
|
|
452
553
|
npx claude-flow start [options]
|
|
453
554
|
-d, --daemon Run as daemon in background
|
|
454
555
|
-p, --port <port> MCP server port (default: 3000)
|
|
556
|
+
-u, --ui Launch interactive process management UI
|
|
557
|
+
-v, --verbose Show detailed system activity
|
|
558
|
+
```
|
|
559
|
+
|
|
560
|
+
**Process Management UI Features (--ui flag):**
|
|
561
|
+
- Start/stop individual components (press 1-6 to toggle)
|
|
562
|
+
- Real-time status monitoring
|
|
563
|
+
- Process health visualization
|
|
564
|
+
- Commands: A (start all), Z (stop all), R (restart all), Q (quit)
|
|
565
|
+
|
|
566
|
+
#### `swarm` - Advanced Multi-Agent Coordination 🆕
|
|
567
|
+
```bash
|
|
568
|
+
npx claude-flow swarm <objective> [options]
|
|
569
|
+
--strategy <type> Execution strategy (auto/research/development/analysis/testing/optimization/maintenance)
|
|
570
|
+
--mode <type> Coordination mode (centralized/distributed/hierarchical/mesh/hybrid)
|
|
571
|
+
--max-agents <n> Maximum agents (default: 5)
|
|
572
|
+
--timeout <minutes> Timeout in minutes (default: 60)
|
|
573
|
+
--parallel Enable parallel execution
|
|
574
|
+
--distributed Enable distributed coordination
|
|
575
|
+
--monitor Enable real-time monitoring
|
|
576
|
+
--ui Launch terminal UI interface
|
|
577
|
+
--background Run in background mode
|
|
578
|
+
--review Enable peer review
|
|
579
|
+
--testing Enable automated testing
|
|
580
|
+
--encryption Enable encryption
|
|
581
|
+
--verbose Enable detailed logging
|
|
582
|
+
--dry-run Show configuration without executing
|
|
583
|
+
```
|
|
584
|
+
|
|
585
|
+
**Swarm Examples:**
|
|
586
|
+
```bash
|
|
587
|
+
# Basic development swarm
|
|
588
|
+
./claude-flow swarm "Build a REST API" --strategy development
|
|
589
|
+
|
|
590
|
+
# Research swarm with UI
|
|
591
|
+
./claude-flow swarm "Research AI trends" --strategy research --distributed --ui
|
|
592
|
+
|
|
593
|
+
# Background optimization
|
|
594
|
+
./claude-flow swarm "Optimize performance" --strategy optimization --background --monitor
|
|
455
595
|
```
|
|
456
596
|
|
|
457
597
|
#### `status` - Show System Status
|
|
@@ -547,14 +687,14 @@ npx claude-flow claude <subcommand>
|
|
|
547
687
|
--no-permissions Use --dangerously-skip-permissions flag
|
|
548
688
|
-c, --config <file> MCP config file path
|
|
549
689
|
-m, --mode <mode> Development mode (full/backend-only/frontend-only/api-only)
|
|
550
|
-
--parallel Enable
|
|
551
|
-
--research Enable web research
|
|
690
|
+
--parallel Enable multi-agent support
|
|
691
|
+
--research Enable web research capabilities
|
|
552
692
|
--coverage <n> Test coverage target percentage (default: 80)
|
|
553
693
|
--commit <freq> Commit frequency (phase/feature/manual)
|
|
554
694
|
-v, --verbose Enable verbose output
|
|
555
695
|
-d, --dry-run Show what would be executed without running
|
|
556
696
|
|
|
557
|
-
batch <workflow-file> Execute
|
|
697
|
+
batch <workflow-file> Execute workflow configuration
|
|
558
698
|
--dry-run Show what would be executed without running
|
|
559
699
|
```
|
|
560
700
|
|
|
@@ -602,30 +742,43 @@ npx claude-flow help [command]
|
|
|
602
742
|
**Complete Agent & Task Workflow:**
|
|
603
743
|
```bash
|
|
604
744
|
# Initialize and start the system
|
|
605
|
-
npx claude-flow init
|
|
606
|
-
|
|
745
|
+
npx claude-flow init --sparc
|
|
746
|
+
./claude-flow start --ui # Use interactive UI for process management
|
|
747
|
+
|
|
748
|
+
# In another terminal, spawn agents
|
|
749
|
+
./claude-flow agent spawn researcher --name "Senior Researcher" --priority 8
|
|
750
|
+
./claude-flow agent spawn analyst --name "Data Analyst" --priority 7
|
|
751
|
+
./claude-flow agent spawn implementer --name "Lead Developer" --priority 9
|
|
607
752
|
|
|
608
|
-
#
|
|
609
|
-
|
|
610
|
-
|
|
611
|
-
|
|
753
|
+
# Create and manage tasks
|
|
754
|
+
./claude-flow task create research "Analyze authentication patterns" --priority 8
|
|
755
|
+
./claude-flow task create analysis "Security audit findings" --priority 7
|
|
756
|
+
./claude-flow task create implementation "Build secure auth system" --priority 9
|
|
757
|
+
|
|
758
|
+
# Monitor the workflow
|
|
759
|
+
./claude-flow monitor
|
|
760
|
+
```
|
|
612
761
|
|
|
613
|
-
|
|
614
|
-
|
|
762
|
+
**Advanced Swarm Workflows:**
|
|
763
|
+
```bash
|
|
764
|
+
# Initialize swarm system
|
|
765
|
+
npx claude-flow init --sparc
|
|
615
766
|
|
|
616
|
-
#
|
|
617
|
-
|
|
767
|
+
# Development swarm with parallel execution
|
|
768
|
+
./claude-flow swarm "Build microservices architecture" \
|
|
769
|
+
--strategy development --parallel --monitor --review
|
|
618
770
|
|
|
619
|
-
#
|
|
620
|
-
|
|
771
|
+
# Research swarm with distributed coordination
|
|
772
|
+
./claude-flow swarm "Analyze blockchain technologies" \
|
|
773
|
+
--strategy research --distributed --ui --verbose
|
|
621
774
|
|
|
622
|
-
#
|
|
623
|
-
|
|
624
|
-
|
|
625
|
-
npx claude-flow task assign $TASK3 $(npx claude-flow agent list | grep implementer | awk '{print $2}')
|
|
775
|
+
# Background optimization swarm
|
|
776
|
+
./claude-flow swarm "Optimize application performance" \
|
|
777
|
+
--strategy optimization --background --testing --encryption
|
|
626
778
|
|
|
627
|
-
#
|
|
628
|
-
|
|
779
|
+
# Quality assurance swarm
|
|
780
|
+
./claude-flow swarm "Comprehensive security audit" \
|
|
781
|
+
--strategy testing --review --verbose --max-agents 8
|
|
629
782
|
```
|
|
630
783
|
|
|
631
784
|
**Code Development Workflow:**
|
|
@@ -660,32 +813,32 @@ npx claude-flow sparc run docs-writer "API documentation"
|
|
|
660
813
|
**Enhanced Claude Spawn Examples:**
|
|
661
814
|
```bash
|
|
662
815
|
# Backend API development with high test coverage
|
|
663
|
-
|
|
816
|
+
./claude-flow claude spawn "build REST API with authentication" \
|
|
664
817
|
--mode backend-only --coverage 95 --commit feature
|
|
665
818
|
|
|
666
819
|
# Frontend development with research capabilities
|
|
667
|
-
|
|
820
|
+
./claude-flow claude spawn "create responsive dashboard" \
|
|
668
821
|
--mode frontend-only --research --verbose
|
|
669
822
|
|
|
670
823
|
# Full-stack development with parallel execution
|
|
671
|
-
|
|
824
|
+
./claude-flow claude spawn "implement user management system" \
|
|
672
825
|
--parallel --coverage 90 --commit phase
|
|
673
826
|
|
|
674
827
|
# API design focus with custom tools
|
|
675
|
-
|
|
828
|
+
./claude-flow claude spawn "design GraphQL schema" \
|
|
676
829
|
--mode api-only --tools "View,Edit,GrepTool,LS"
|
|
677
830
|
```
|
|
678
831
|
|
|
679
832
|
**Workflow Execution:**
|
|
680
833
|
```bash
|
|
681
|
-
# Execute a
|
|
682
|
-
|
|
683
|
-
|
|
684
|
-
# Execute workflow with monitoring
|
|
685
|
-
npx claude-flow workflow examples/research-workflow.json --watch
|
|
834
|
+
# Execute a workflow file
|
|
835
|
+
./claude-flow workflow my-workflow.json
|
|
686
836
|
|
|
687
837
|
# Validate workflow before execution
|
|
688
|
-
|
|
838
|
+
./claude-flow workflow my-workflow.json --validate
|
|
839
|
+
|
|
840
|
+
# Execute with monitoring
|
|
841
|
+
./claude-flow workflow my-workflow.json --watch
|
|
689
842
|
```
|
|
690
843
|
|
|
691
844
|
## Workflow Example
|
|
@@ -722,20 +875,21 @@ Create a workflow file (`example-workflow.json`):
|
|
|
722
875
|
|
|
723
876
|
Execute the workflow:
|
|
724
877
|
```bash
|
|
725
|
-
claude-flow
|
|
878
|
+
./claude-flow workflow example-workflow.json
|
|
726
879
|
```
|
|
727
880
|
|
|
728
881
|
## Development
|
|
729
882
|
|
|
730
883
|
### Prerequisites
|
|
731
|
-
- Deno 1.
|
|
884
|
+
- Deno 1.40+ (Install: https://deno.land/#installation)
|
|
885
|
+
- Node.js 16+ (for npm wrapper)
|
|
732
886
|
- Git
|
|
733
887
|
|
|
734
888
|
### Setup
|
|
735
889
|
```bash
|
|
736
890
|
git clone https://github.com/ruvnet/claude-code-flow.git
|
|
737
|
-
cd claude-flow
|
|
738
|
-
|
|
891
|
+
cd claude-code-flow
|
|
892
|
+
./bin/claude-flow --version # Verify installation
|
|
739
893
|
```
|
|
740
894
|
|
|
741
895
|
### Testing
|
|
@@ -748,31 +902,47 @@ deno task test
|
|
|
748
902
|
deno task build
|
|
749
903
|
```
|
|
750
904
|
|
|
905
|
+
### Running from source
|
|
906
|
+
```bash
|
|
907
|
+
./bin/claude-flow --help # Use the binary wrapper
|
|
908
|
+
```
|
|
909
|
+
|
|
751
910
|
## API Usage
|
|
752
911
|
|
|
753
912
|
Claude-Flow can also be used programmatically:
|
|
754
913
|
|
|
755
914
|
```typescript
|
|
756
|
-
import { Orchestrator } from 'claude-flow';
|
|
915
|
+
import { Orchestrator, SwarmCoordinator } from 'claude-flow';
|
|
757
916
|
|
|
917
|
+
// Basic orchestrator
|
|
758
918
|
const orchestrator = new Orchestrator(config);
|
|
759
919
|
await orchestrator.initialize();
|
|
760
920
|
|
|
761
|
-
//
|
|
762
|
-
const
|
|
763
|
-
|
|
764
|
-
|
|
765
|
-
|
|
766
|
-
|
|
921
|
+
// Advanced swarm coordination
|
|
922
|
+
const swarm = new SwarmCoordinator({
|
|
923
|
+
strategy: 'development',
|
|
924
|
+
mode: 'distributed',
|
|
925
|
+
maxAgents: 10,
|
|
926
|
+
monitoring: { metricsEnabled: true }
|
|
767
927
|
});
|
|
768
928
|
|
|
769
|
-
|
|
770
|
-
|
|
771
|
-
|
|
772
|
-
|
|
773
|
-
|
|
774
|
-
|
|
775
|
-
|
|
929
|
+
await swarm.initialize();
|
|
930
|
+
|
|
931
|
+
// Create objective and agents
|
|
932
|
+
const objectiveId = await swarm.createObjective(
|
|
933
|
+
'API Development',
|
|
934
|
+
'Build a scalable REST API',
|
|
935
|
+
'development'
|
|
936
|
+
);
|
|
937
|
+
|
|
938
|
+
const agentId = await swarm.registerAgent(
|
|
939
|
+
'Lead Developer',
|
|
940
|
+
'developer',
|
|
941
|
+
{ codeGeneration: true, testing: true }
|
|
942
|
+
);
|
|
943
|
+
|
|
944
|
+
// Execute with timeout-free background processing
|
|
945
|
+
await swarm.executeObjective(objectiveId);
|
|
776
946
|
```
|
|
777
947
|
|
|
778
948
|
## Contributing
|
|
@@ -791,30 +961,39 @@ Claude-Flow seamlessly integrates with Claude Code through the `CLAUDE.md` file
|
|
|
791
961
|
- **Build Command Integration**: All build/test commands are available to Claude
|
|
792
962
|
- **Memory Persistence**: Claude remembers context across sessions
|
|
793
963
|
- **Enhanced Guidance**: Spawned Claude instances receive detailed Claude-Flow instructions
|
|
794
|
-
- **SPARC Methodology**: Built-in support for systematic development with
|
|
964
|
+
- **SPARC Methodology**: Built-in support for systematic development with 17+ specialized AI modes
|
|
965
|
+
- **Swarm Integration**: Claude Code SDK used for timeout-free multi-agent execution
|
|
795
966
|
|
|
796
967
|
Use with Claude Code:
|
|
797
968
|
```bash
|
|
798
|
-
# Initialize integration
|
|
799
|
-
npx claude-flow init
|
|
969
|
+
# Initialize integration with SPARC and swarm support
|
|
970
|
+
npx -y claude-flow@latest init --sparc
|
|
800
971
|
|
|
801
|
-
#
|
|
802
|
-
|
|
972
|
+
# Use local wrapper after initialization
|
|
973
|
+
./claude-flow start --ui # Interactive process management
|
|
974
|
+
|
|
975
|
+
# Spawn Claude with enhanced guidance
|
|
976
|
+
./claude-flow claude spawn "your task here" --research --parallel
|
|
977
|
+
|
|
978
|
+
# Use advanced swarm system
|
|
979
|
+
./claude-flow swarm "Build a REST API" --strategy development --monitor
|
|
803
980
|
|
|
804
981
|
# Claude receives:
|
|
805
982
|
# - Instructions on using npx claude-flow commands
|
|
806
983
|
# - Memory operations (store/query)
|
|
807
984
|
# - Agent coordination capabilities
|
|
808
985
|
# - Mode-specific development guidance
|
|
986
|
+
# - Swarm system access for complex workflows
|
|
809
987
|
```
|
|
810
988
|
|
|
811
989
|
## 🏢 **Enterprise Features**
|
|
812
990
|
|
|
813
|
-
- **🔐 Security**: Token-based auth, rate limiting, audit logging
|
|
991
|
+
- **🔐 Security**: Token-based auth, encryption, rate limiting, audit logging
|
|
814
992
|
- **📊 Monitoring**: Real-time metrics, performance tracking, health checks
|
|
815
993
|
- **🔄 Reliability**: Circuit breakers, automatic retries, graceful degradation
|
|
816
994
|
- **📈 Scalability**: Horizontal scaling, load balancing, resource pooling
|
|
817
995
|
- **🛡️ Compliance**: Audit trails, data retention policies, access controls
|
|
996
|
+
- **🐝 Swarm Intelligence**: Advanced multi-agent coordination with enterprise fault tolerance
|
|
818
997
|
|
|
819
998
|
## 📖 **Resources**
|
|
820
999
|
|
|
@@ -823,41 +1002,34 @@ npx claude-flow claude spawn "your task here" --research --parallel
|
|
|
823
1002
|
- **[API Documentation](./docs/api/)** - Programmatic usage
|
|
824
1003
|
- **[Examples](./examples/)** - Sample configurations and workflows
|
|
825
1004
|
- **[Memory System Docs](./memory/docs/)** - In-depth memory bank documentation
|
|
1005
|
+
- **[Swarm System Guide](./docs/swarm-system.md)** - Advanced multi-agent coordination
|
|
826
1006
|
|
|
827
1007
|
### Community & Support
|
|
828
1008
|
- **[GitHub Issues](https://github.com/ruvnet/claude-code-flow/issues)** - Bug reports and feature requests
|
|
829
1009
|
- **[GitHub Discussions](https://github.com/ruvnet/claude-code-flow/discussions)** - Community forum
|
|
830
|
-
- **[Discord Server](https://discord.gg/claude-flow)** - Real-time chat and support
|
|
831
|
-
- **[Stack Overflow](https://stackoverflow.com/questions/tagged/claude-flow)** - Q&A
|
|
832
|
-
|
|
833
|
-
### Tutorials & Guides
|
|
834
|
-
- **[Video Tutorials](https://youtube.com/claude-flow)** - Step-by-step video guides
|
|
835
|
-
- **[Blog Posts](https://claude-flow.dev/blog)** - Tips, tricks, and use cases
|
|
836
|
-
- **[Case Studies](https://claude-flow.dev/case-studies)** - Real-world implementations
|
|
837
1010
|
|
|
838
1011
|
## 🚀 **Roadmap**
|
|
839
1012
|
|
|
840
|
-
###
|
|
841
|
-
-
|
|
842
|
-
-
|
|
843
|
-
-
|
|
844
|
-
-
|
|
845
|
-
-
|
|
846
|
-
-
|
|
847
|
-
|
|
848
|
-
|
|
849
|
-
-
|
|
850
|
-
-
|
|
851
|
-
-
|
|
852
|
-
|
|
853
|
-
|
|
854
|
-
|
|
855
|
-
|
|
856
|
-
-
|
|
857
|
-
-
|
|
858
|
-
-
|
|
859
|
-
-
|
|
860
|
-
- [ ] Mobile app for monitoring
|
|
1013
|
+
### Current Features
|
|
1014
|
+
- ✅ Core orchestration with multi-agent support
|
|
1015
|
+
- ✅ Enterprise-grade swarm system with timeout-free execution
|
|
1016
|
+
- ✅ CRDT-based memory bank with SQLite backend
|
|
1017
|
+
- ✅ MCP server integration (stdio transport)
|
|
1018
|
+
- ✅ Claude Code integration via `init` command
|
|
1019
|
+
- ✅ Text-based process management UI
|
|
1020
|
+
- ✅ 17+ SPARC development modes
|
|
1021
|
+
- ✅ Comprehensive CLI with 15+ commands
|
|
1022
|
+
- ✅ Advanced multi-agent coordination
|
|
1023
|
+
- ✅ Distributed memory sharing
|
|
1024
|
+
- ✅ Real-time monitoring and metrics
|
|
1025
|
+
|
|
1026
|
+
### Planned Features
|
|
1027
|
+
- Web UI for visual orchestration
|
|
1028
|
+
- Plugin system for custom agent types
|
|
1029
|
+
- Enhanced monitoring dashboard
|
|
1030
|
+
- Workflow templates library
|
|
1031
|
+
- Advanced swarm visualization
|
|
1032
|
+
- Multi-language support for agents
|
|
861
1033
|
|
|
862
1034
|
## 🤝 **Contributing**
|
|
863
1035
|
|
|
@@ -887,4 +1059,4 @@ MIT License - see [LICENSE](LICENSE) file for details.
|
|
|
887
1059
|
|
|
888
1060
|
---
|
|
889
1061
|
|
|
890
|
-
Built with ❤️ by [rUv](https://github.com/ruvnet) for the Claude community
|
|
1062
|
+
Built with ❤️ by [rUv](https://github.com/ruvnet) for the Claude community
|