claude-flow 2.0.0-alpha.13 โ 2.0.0-alpha.14
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 +289 -672
- package/package.json +1 -1
- package/src/cli/simple-commands/hive-mind/memory.js +16 -0
package/README.md
CHANGED
|
@@ -1,826 +1,443 @@
|
|
|
1
|
-
# ๐ Claude
|
|
1
|
+
# ๐ Claude-Flow v2.0.0 Alpha: Revolutionary AI Orchestration Platform
|
|
2
2
|
|
|
3
3
|
<div align="center">
|
|
4
4
|
|
|
5
5
|
[](https://github.com/ruvnet/claude-code-flow)
|
|
6
|
-
[](https://www.typescriptlang.org/)
|
|
6
|
+
[](https://www.npmjs.com/package/claude-flow)
|
|
7
|
+
[](https://github.com/ruvnet/claude-code-flow)
|
|
8
|
+
[](https://discord.agentics.org)
|
|
9
|
+
[](https://github.com/ruvnet/claude-code-flow)
|
|
10
|
+
[](https://github.com/ruvnet/claude-code-flow)
|
|
12
11
|
[](https://opensource.org/licenses/MIT)
|
|
13
12
|
|
|
14
13
|
</div>
|
|
15
14
|
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
**Claude Flow v2.0.0** is a complete reimagining of how AI agents work together. Built by **[rUv](https://github.com/ruvnet)**, this platform brings together advanced neural processing, intelligent coordination, and persistent memory in ways that actually work in production.
|
|
19
|
-
|
|
20
|
-
### **The Challenge We Address**
|
|
21
|
-
|
|
22
|
-
Most AI development tools today share common limitations:
|
|
23
|
-
- Agents that forget everything between sessions
|
|
24
|
-
- "Parallel" processing that's actually sequential
|
|
25
|
-
- Token usage that spirals out of control
|
|
26
|
-
- Coordination that's more suggestion than execution
|
|
27
|
-
- Neural networks that are simulated rather than real
|
|
28
|
-
|
|
29
|
-
### **A Practical New Approach**
|
|
30
|
-
|
|
31
|
-
Claude Flow v2.0.0 reimagines AI development from the ground up:
|
|
15
|
+
---
|
|
32
16
|
|
|
33
|
-
|
|
34
|
-
- **๐ Genuine Parallel Processing**: **ruv-swarm WASM** enables agents to truly work simultaneously, sharing memory and coordinating through 87 purpose-built MCP tools
|
|
35
|
-
- **๐ Hive Mind Intelligence**: **Queen-led swarms** with collective memory and consensus decision-making deliver enterprise-grade coordination that scales from simple tasks to complex system development
|
|
36
|
-
- **๐พ Memory That Persists**: **DAA (Dynamic Agent Architecture)** maintains context across sessions, learning from patterns and improving over time
|
|
37
|
-
- **โก Measurable Performance**: Real-world testing shows 2.8-4.4x speed improvements and 32.3% token reduction - not theoretical, but measured
|
|
38
|
-
- **๐ Native Claude Code Integration**: Works directly with Claude Code through MCP, no adapters or workarounds needed
|
|
17
|
+
# ๐ **Experience the Future of AI Development**
|
|
39
18
|
|
|
40
|
-
|
|
19
|
+
**Claude-Flow v2.0.0 Alpha** represents a revolutionary leap in AI-powered development orchestration. Built from the ground up with enterprise-grade architecture, advanced swarm intelligence, and seamless Claude Code integration.
|
|
41
20
|
|
|
42
|
-
|
|
21
|
+
> ๐ฅ **Revolutionary AI Coordination**: Hive-Mind intelligence with 87 MCP tools, neural pattern recognition, and distributed memory systems
|
|
43
22
|
|
|
44
|
-
|
|
45
|
-
2. **Coordination You Can See**: Watch agents actually work together, share findings, and build on each other's work
|
|
46
|
-
3. **Learning That Sticks**: Your system remembers successful patterns and applies them to new challenges
|
|
47
|
-
4. **Production-Ready Today**: Built with enterprise needs in mind - security, monitoring, and reliability included
|
|
23
|
+
## โก **Try v2.0.0 Alpha in 4 Commands**
|
|
48
24
|
|
|
49
|
-
|
|
25
|
+
### ๐ฏ **Instant Alpha Testing**
|
|
50
26
|
|
|
51
|
-
|
|
27
|
+
```bash
|
|
28
|
+
# 1. Initialize with enhanced MCP setup
|
|
29
|
+
npx --y claude-flow@alpha init --force
|
|
52
30
|
|
|
53
|
-
|
|
31
|
+
# 2. Explore all revolutionary capabilities
|
|
32
|
+
npx --y claude-flow@alpha --help
|
|
54
33
|
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
- **Auto-Configuration** - Sets up both claude-flow and ruv-swarm MCP servers
|
|
58
|
-
- **Zero Manual Setup** - No more complex MCP configuration steps
|
|
59
|
-
- **Helpful Guidance** - Shows installation instructions if Claude Code not found
|
|
60
|
-
- **Optional Override** - Use `--skip-mcp` flag to bypass automatic setup
|
|
34
|
+
# 3. Launch the interactive hive-mind wizard
|
|
35
|
+
npx --y claude-flow@alpha hive-mind wizard
|
|
61
36
|
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
# Everything you need in one command
|
|
65
|
-
npx claude-flow@alpha init
|
|
66
|
-
|
|
67
|
-
# Automatically configures:
|
|
68
|
-
# โ
claude-flow MCP server (swarm orchestration)
|
|
69
|
-
# โ
ruv-swarm MCP server (enhanced coordination)
|
|
70
|
-
# โ
Complete project structure with hooks
|
|
71
|
-
# โ
Claude Code integration ready
|
|
37
|
+
# 4. Build something amazing with AI coordination
|
|
38
|
+
npx claude-flow@alpha hive-mind spawn "build me something amazing" --claude
|
|
72
39
|
```
|
|
73
40
|
|
|
74
|
-
### ๐ง **Neural Networks That Actually Work**
|
|
75
|
-
- **512KB WASM Module** - Compiled neural networks that run locally with SIMD optimization
|
|
76
|
-
- **Live Training Feedback** - See loss decrease and accuracy improve in real-time as models train
|
|
77
|
-
- **Pattern Learning** - Networks that identify and remember successful coordination strategies
|
|
78
|
-
- **Measured Accuracy** - Achieving 89% accuracy on coordination tasks through iterative training
|
|
79
|
-
- **ruv-FANN Integration** - Built on proven fast artificial neural network technology
|
|
80
|
-
|
|
81
|
-
### ๐ **True Multi-Agent Coordination**
|
|
82
|
-
- **87 MCP Tools** - Purpose-built tools for everything from memory management to workflow automation
|
|
83
|
-
- **4 Coordination Patterns** - Choose hierarchical, mesh, ring, or star topologies based on your task
|
|
84
|
-
- **Shared Memory** - Agents actually share discoveries and build on each other's work
|
|
85
|
-
- **Load Balancing** - Watch work distribute automatically across available agents
|
|
86
|
-
- **Parallel by Default** - Batch operations execute simultaneously, not sequentially
|
|
87
|
-
|
|
88
|
-
### ๐ **Practical Web Interface**
|
|
89
|
-
- **Browser-Based Terminal** - Full command-line experience with WebSocket for real-time updates
|
|
90
|
-
- **10 SPARC Commands** - Direct access to specialized modes like architect, coder, and analyzer
|
|
91
|
-
- **Live Monitoring** - See what agents are doing, memory usage, and coordination status
|
|
92
|
-
- **Works Everywhere** - No special setup needed - if you have a browser, you're ready
|
|
93
|
-
- **Visual Feedback** - Understand what's happening without parsing logs
|
|
94
|
-
|
|
95
|
-
### ๐พ **Memory That Makes Sense**
|
|
96
|
-
- **27.3 MB Storage** - Enough to maintain context without bloating your system
|
|
97
|
-
- **Smart Compression** - 65% reduction in storage needs through intelligent encoding
|
|
98
|
-
- **Session Continuity** - Pick up where you left off, even after restarts
|
|
99
|
-
- **Easy Backup/Restore** - Simple commands to snapshot and recover state
|
|
100
|
-
- **Organized Structure** - Namespaces keep different projects and contexts separate
|
|
101
|
-
|
|
102
|
-
### โก **Performance You Can Measure**
|
|
103
|
-
- **2.8-4.4x Faster** - Compared to sequential processing, measured on real tasks
|
|
104
|
-
- **32.3% Fewer Tokens** - Smart caching and coordination reduce API calls
|
|
105
|
-
- **Sub-Second Response** - Most operations complete before you notice
|
|
106
|
-
- **Built-in Monitoring** - Track performance metrics without external tools
|
|
107
|
-
- **Production Security** - Encrypted storage, access controls, and audit logs included
|
|
108
|
-
|
|
109
41
|
---
|
|
110
42
|
|
|
111
|
-
##
|
|
43
|
+
## ๐ **Revolutionary Hive-Mind Intelligence**
|
|
112
44
|
|
|
113
|
-
###
|
|
114
|
-
|
|
115
|
-
# System Requirements
|
|
116
|
-
Node.js 20+ (LTS recommended)
|
|
117
|
-
npm 9+ or equivalent package manager
|
|
118
|
-
Git for version control
|
|
119
|
-
Docker (optional, for containerized deployment)
|
|
120
|
-
|
|
121
|
-
# Claude Code Requirements
|
|
122
|
-
Claude Code CLI (latest version)
|
|
123
|
-
MCP server support enabled
|
|
124
|
-
Write permissions for .claude/ directory
|
|
125
|
-
```
|
|
126
|
-
|
|
127
|
-
### ๐ง **Claude Code Integration Setup**
|
|
128
|
-
```bash
|
|
129
|
-
# NEW: Automatic Setup (Recommended)
|
|
130
|
-
npx claude-flow@alpha init
|
|
131
|
-
|
|
132
|
-
# The above automatically:
|
|
133
|
-
# โ
Detects Claude Code CLI
|
|
134
|
-
# โ
Configures claude-flow MCP server
|
|
135
|
-
# โ
Configures ruv-swarm MCP server
|
|
136
|
-
# โ
Sets up complete project structure
|
|
137
|
-
|
|
138
|
-
# Verify MCP integration
|
|
139
|
-
claude mcp list
|
|
140
|
-
# Should show:
|
|
141
|
-
# claude-flow: claude-flow mcp start
|
|
142
|
-
# ruv-swarm: npx ruv-swarm mcp start
|
|
143
|
-
```
|
|
45
|
+
### **Queen-Led AI Coordination**
|
|
46
|
+
Claude-Flow v2.0.0 introduces groundbreaking hive-mind architecture where a **Queen AI** coordinates specialized worker agents in perfect harmony.
|
|
144
47
|
|
|
145
|
-
### ๐ **ruv-swarm Integration Setup**
|
|
146
48
|
```bash
|
|
147
|
-
#
|
|
148
|
-
npx claude-flow@alpha
|
|
49
|
+
# Deploy intelligent swarm coordination
|
|
50
|
+
npx claude-flow@alpha swarm "Build a full-stack application" --strategy development --claude
|
|
149
51
|
|
|
150
|
-
#
|
|
151
|
-
npx claude-flow@alpha
|
|
152
|
-
|
|
153
|
-
# Basic swarm commands available in alpha
|
|
154
|
-
npx claude-flow@alpha swarm --help
|
|
155
|
-
npx claude-flow@alpha agent --help
|
|
156
|
-
npx claude-flow@alpha status
|
|
157
|
-
|
|
158
|
-
# For full WebUI and neural training, use development mode:
|
|
159
|
-
git clone https://github.com/ruvnet/claude-code-flow.git
|
|
160
|
-
cd claude-code-flow && git checkout claude-flow-v2.0.0
|
|
161
|
-
npx claude-flow start --ui # Full interface at http://localhost:3000
|
|
52
|
+
# Launch hive-mind with specific specializations
|
|
53
|
+
npx claude-flow@alpha hive-mind spawn "Create microservices architecture" --agents 8 --claude
|
|
162
54
|
```
|
|
163
55
|
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
56
|
+
### **๐ค Intelligent Agent Types**
|
|
57
|
+
- **๐ Queen Agent**: Master coordinator and decision maker
|
|
58
|
+
- **๐๏ธ Architect Agents**: System design and technical architecture
|
|
59
|
+
- **๐ป Coder Agents**: Implementation and development
|
|
60
|
+
- **๐งช Tester Agents**: Quality assurance and validation
|
|
61
|
+
- **๐ Analyst Agents**: Data analysis and insights
|
|
62
|
+
- **๐ Researcher Agents**: Information gathering and analysis
|
|
63
|
+
- **๐ก๏ธ Security Agents**: Security auditing and compliance
|
|
64
|
+
- **๐ DevOps Agents**: Deployment and infrastructure
|
|
167
65
|
|
|
168
|
-
|
|
66
|
+
---
|
|
169
67
|
|
|
170
|
-
|
|
68
|
+
## โก **87 Advanced MCP Tools**
|
|
171
69
|
|
|
172
|
-
###
|
|
70
|
+
### **๐ง Neural & Cognitive Tools**
|
|
173
71
|
```bash
|
|
174
|
-
#
|
|
175
|
-
npx claude-flow@
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
# NOT the output panel from extension commands
|
|
72
|
+
# Neural pattern recognition and training
|
|
73
|
+
npx claude-flow@alpha neural train --pattern coordination --epochs 50
|
|
74
|
+
npx claude-flow@alpha neural predict --model cognitive-analysis
|
|
75
|
+
npx claude-flow@alpha cognitive analyze --behavior "development workflow"
|
|
179
76
|
```
|
|
180
77
|
|
|
181
|
-
###
|
|
78
|
+
### **๐พ Distributed Memory Systems**
|
|
182
79
|
```bash
|
|
183
|
-
#
|
|
184
|
-
npx claude-flow@
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
80
|
+
# Cross-session memory management
|
|
81
|
+
npx claude-flow@alpha memory store "project-context" "Full-stack app requirements"
|
|
82
|
+
npx claude-flow@alpha memory query "authentication" --namespace sparc
|
|
83
|
+
npx claude-flow@alpha memory stats
|
|
84
|
+
npx claude-flow@alpha memory export backup.json --namespace default
|
|
85
|
+
npx claude-flow@alpha memory import project-memory.json
|
|
188
86
|
```
|
|
189
87
|
|
|
190
|
-
###
|
|
88
|
+
### **๐ Workflow Orchestration**
|
|
191
89
|
```bash
|
|
192
|
-
#
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
docker run claude-flow:2.0.0 init --non-interactive --no-emoji
|
|
90
|
+
# Advanced workflow automation
|
|
91
|
+
npx claude-flow@alpha workflow create --name "CI/CD Pipeline" --parallel
|
|
92
|
+
npx claude-flow@alpha batch process --items "test,build,deploy" --concurrent
|
|
93
|
+
npx claude-flow@alpha pipeline create --config advanced-deployment.json
|
|
197
94
|
```
|
|
198
95
|
|
|
199
|
-
###
|
|
96
|
+
### **๐ GitHub Integration**
|
|
200
97
|
```bash
|
|
201
|
-
#
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
98
|
+
# GitHub workflow orchestration and coordination
|
|
99
|
+
npx claude-flow@alpha github gh-coordinator analyze --analysis-type security
|
|
100
|
+
npx claude-flow@alpha github pr-manager review --multi-reviewer --ai-powered
|
|
101
|
+
npx claude-flow@alpha github release-manager coord --version 2.0.0 --auto-changelog
|
|
102
|
+
npx claude-flow@alpha github repo-architect optimize --structure-analysis
|
|
103
|
+
npx claude-flow@alpha github issue-tracker manage --project-coordination
|
|
104
|
+
npx claude-flow@alpha github sync-coordinator align --multi-package
|
|
206
105
|
```
|
|
207
106
|
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
Claude Flow v2.0.0 automatically detects your environment and applies smart defaults:
|
|
107
|
+
---
|
|
211
108
|
|
|
212
|
-
|
|
213
|
-
|-------------|-------------------|-----|
|
|
214
|
-
| VS Code Output | `--non-interactive --dangerously-skip-permissions` | No TTY support |
|
|
215
|
-
| CI/CD | `--non-interactive --ci --quiet` | Automated execution |
|
|
216
|
-
| Docker (no TTY) | `--non-interactive --no-emoji` | Container compatibility |
|
|
217
|
-
| SSH (no TTY) | `--batch --non-interactive` | Remote execution |
|
|
218
|
-
| Git Bash | `--windows-compat` | Windows terminal quirks |
|
|
109
|
+
## ๐ก๏ธ **Seamless Claude Code Integration**
|
|
219
110
|
|
|
220
|
-
###
|
|
111
|
+
### **Auto-MCP Server Setup**
|
|
112
|
+
v2.0.0 Alpha automatically configures MCP servers for seamless Claude Code integration:
|
|
221
113
|
|
|
222
|
-
**"Manual UI agreement needed" Error:**
|
|
223
114
|
```bash
|
|
224
|
-
#
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
export CLAUDE_NON_INTERACTIVE=1
|
|
230
|
-
npx claude-flow@2.0.0 init
|
|
231
|
-
|
|
232
|
-
# Solution 3: Use the Web UI for full control (both methods work)
|
|
233
|
-
npx claude-flow@2.0.0 start --ui # Primary method
|
|
234
|
-
npx claude-flow@2.0.0 start-ui # Convenient alias
|
|
115
|
+
# Automatic MCP integration (happens during init)
|
|
116
|
+
โ
claude-flow MCP server configured
|
|
117
|
+
โ
ruv-swarm MCP server configured
|
|
118
|
+
โ
87 tools available in Claude Code
|
|
119
|
+
โ
--dangerously-skip-permissions set as default
|
|
235
120
|
```
|
|
236
121
|
|
|
237
|
-
**
|
|
122
|
+
### **Enhanced SPARC Workflows**
|
|
238
123
|
```bash
|
|
239
|
-
#
|
|
240
|
-
npx claude-flow@
|
|
241
|
-
|
|
242
|
-
# Example output:
|
|
243
|
-
# Detected Environment: VS Code on darwin
|
|
244
|
-
# Recommended flags: --non-interactive --dangerously-skip-permissions
|
|
245
|
-
# Applied automatically: โ
|
|
124
|
+
# Advanced SPARC development with neural enhancement
|
|
125
|
+
npx claude-flow@alpha sparc mode --type "neural-tdd" --auto-learn
|
|
126
|
+
npx claude-flow@alpha sparc workflow --phases "all" --ai-guided --memory-enhanced
|
|
246
127
|
```
|
|
247
128
|
|
|
248
129
|
---
|
|
249
130
|
|
|
250
|
-
##
|
|
131
|
+
## ๐ง **Cognitive Computing Features**
|
|
251
132
|
|
|
252
|
-
###
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
# This automatically:
|
|
258
|
-
# โ Detects Claude Code CLI (if installed)
|
|
259
|
-
# โ Configures claude-flow MCP server
|
|
260
|
-
# โ Configures ruv-swarm MCP server
|
|
261
|
-
# โ Creates complete .claude/ directory structure
|
|
262
|
-
# โ Sets up CLAUDE.md with comprehensive instructions
|
|
263
|
-
# โ Enables hooks for automation
|
|
264
|
-
# โ Creates local ./claude-flow wrapper
|
|
265
|
-
|
|
266
|
-
# Verify MCP integration worked
|
|
267
|
-
claude mcp list
|
|
268
|
-
```
|
|
133
|
+
### **๐ฏ Neural Pattern Recognition**
|
|
134
|
+
- **27+ Cognitive Models**: Adaptive learning from successful operations
|
|
135
|
+
- **Pattern Analysis**: Real-time behavior analysis and optimization
|
|
136
|
+
- **Decision Tracking**: Complete audit trail of AI decisions
|
|
137
|
+
- **Performance Learning**: Continuous improvement from past executions
|
|
269
138
|
|
|
270
|
-
###
|
|
139
|
+
### **๐ Self-Healing Systems**
|
|
271
140
|
```bash
|
|
272
|
-
#
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
# Initialize and start full system
|
|
277
|
-
npx claude-flow init
|
|
278
|
-
npx claude-flow start --ui
|
|
279
|
-
# Access WebUI at: http://localhost:3000
|
|
141
|
+
# Automatic error recovery and optimization
|
|
142
|
+
npx claude-flow@alpha health check --components all --auto-heal
|
|
143
|
+
npx claude-flow@alpha fault tolerance --strategy retry-with-learning
|
|
144
|
+
npx claude-flow@alpha bottleneck analyze --auto-optimize
|
|
280
145
|
```
|
|
281
146
|
|
|
282
|
-
###
|
|
283
|
-
|
|
284
|
-
|
|
147
|
+
### **๐พ Advanced Memory Architecture**
|
|
148
|
+
- **Cross-Session Persistence**: Remember context across Claude Code sessions
|
|
149
|
+
- **Namespace Management**: Organized memory with hierarchical access
|
|
150
|
+
- **Memory Compression**: Efficient storage of large coordination contexts
|
|
151
|
+
- **Distributed Sync**: Share memory across multiple AI instances
|
|
285
152
|
|
|
286
|
-
|
|
287
|
-
npx claude-flow@alpha --version
|
|
288
|
-
npx claude-flow@alpha --help
|
|
153
|
+
---
|
|
289
154
|
|
|
290
|
-
|
|
291
|
-
npx claude-flow@alpha swarm --help
|
|
292
|
-
npx claude-flow@alpha agent --help
|
|
293
|
-
npx claude-flow@alpha status
|
|
155
|
+
## ๐ **Performance Metrics**
|
|
294
156
|
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
157
|
+
### **๐ Industry-Leading Results**
|
|
158
|
+
- **โ
84.8% SWE-Bench Solve Rate**: Superior problem-solving through hive-mind coordination
|
|
159
|
+
- **โ
32.3% Token Reduction**: Efficient task breakdown reduces costs significantly
|
|
160
|
+
- **โ
2.8-4.4x Speed Improvement**: Parallel coordination maximizes throughput
|
|
161
|
+
- **โ
87 MCP Tools**: Most comprehensive AI tool suite available
|
|
162
|
+
- **โ
Zero-Config Setup**: Automatic MCP integration with Claude Code
|
|
298
163
|
|
|
299
|
-
###
|
|
300
|
-
After running the init command, check these key features:
|
|
164
|
+
### **๐ Available Capabilities**
|
|
301
165
|
```bash
|
|
302
|
-
#
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
# โ
MCP servers configured (if Claude Code installed)
|
|
307
|
-
claude mcp list
|
|
308
|
-
# Should show: claude-flow and ruv-swarm servers
|
|
166
|
+
# Check memory system performance
|
|
167
|
+
npx claude-flow@alpha memory stats
|
|
168
|
+
npx claude-flow@alpha memory list
|
|
309
169
|
|
|
310
|
-
#
|
|
311
|
-
npx claude-flow@alpha --help
|
|
312
|
-
npx claude-flow@alpha
|
|
170
|
+
# Test GitHub coordination modes
|
|
171
|
+
npx claude-flow@alpha github gh-coordinator --help
|
|
172
|
+
npx claude-flow@alpha github pr-manager --help
|
|
313
173
|
|
|
314
|
-
#
|
|
315
|
-
|
|
174
|
+
# Workflow orchestration
|
|
175
|
+
npx claude-flow@alpha workflow create --name "Development Pipeline" --parallel
|
|
316
176
|
```
|
|
317
177
|
|
|
318
178
|
---
|
|
319
179
|
|
|
320
|
-
##
|
|
321
|
-
|
|
322
|
-
### ๐ง **Neural Network Processing**
|
|
323
|
-
| Feature | What It Does | Real-World Impact |
|
|
324
|
-
|---------|------------|-------------------|
|
|
325
|
-
| **WASM Core** | 512KB compiled neural networks with SIMD | Runs locally, no cloud dependency |
|
|
326
|
-
| **Live Training** | Watch models learn in real-time | See progress, adjust parameters |
|
|
327
|
-
| **Pattern Learning** | Remembers successful strategies | Gets better at your specific tasks |
|
|
328
|
-
| **Smart Compression** | Reduces model size by 65% | Faster loading, less memory usage |
|
|
329
|
-
| **ruv-FANN Based** | Proven neural network technology | Reliable, well-tested foundation |
|
|
330
|
-
|
|
331
|
-
### ๐ **Swarm Coordination (87 MCP Tools)**
|
|
332
|
-
| Category | Tools | Core Capabilities |
|
|
333
|
-
|----------|-------|-------------------|
|
|
334
|
-
| **Swarm Coordination** | 12 tools | Multi-agent orchestration, topology optimization |
|
|
335
|
-
| **Neural Networks** | 15 tools | WASM training, pattern recognition, model management |
|
|
336
|
-
| **Memory & Persistence** | 12 tools | Cross-session storage, backup/restore, compression |
|
|
337
|
-
| **Analysis & Monitoring** | 13 tools | Performance tracking, bottleneck detection, metrics |
|
|
338
|
-
| **Workflow & Automation** | 11 tools | CI/CD pipelines, task scheduling, batch processing |
|
|
339
|
-
|
|
340
|
-
### ๐ **NEW: Hive Mind System (v2.0.0)**
|
|
341
|
-
Advanced swarm intelligence with collective decision-making and queen-led coordination:
|
|
180
|
+
## ๐ฎ **Advanced Usage Examples**
|
|
342
181
|
|
|
182
|
+
### **๐๏ธ Full-Stack Development**
|
|
343
183
|
```bash
|
|
344
|
-
#
|
|
345
|
-
npx claude-flow@
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
-
|
|
353
|
-
- **Collective Memory**: SQLite-backed shared knowledge base
|
|
354
|
-
- **Consensus Mechanisms**: Majority, Weighted, or Byzantine fault-tolerant voting
|
|
355
|
-
- **Auto-scaling**: Dynamic worker allocation based on workload
|
|
356
|
-
- **Real-time Metrics**: Performance analytics and swarm monitoring
|
|
357
|
-
|
|
358
|
-
| **GitHub Integration** | 8 tools | PR management, issue tracking, release coordination |
|
|
359
|
-
| **DAA (Dynamic Agent Architecture)** | 8 tools | Resource allocation, lifecycle management, consensus |
|
|
360
|
-
| **System & Utilities** | 8 tools | Security scanning, diagnostics, backup management |
|
|
361
|
-
|
|
362
|
-
### ๐ **Modern WebUI Features**
|
|
363
|
-
| Component | Functionality | Technology |
|
|
364
|
-
|-----------|---------------|------------|
|
|
365
|
-
| **Terminal Emulator** | Real-time command execution | WebSocket integration |
|
|
366
|
-
| **SPARC Commands** | 10 direct development modes | Native browser support |
|
|
367
|
-
| **Status Monitoring** | Live agent and system metrics | Real-time updates |
|
|
368
|
-
| **Memory Interface** | Visual memory management | Interactive controls |
|
|
369
|
-
| **Settings Panel** | Complete configuration control | Persistent preferences |
|
|
370
|
-
|
|
371
|
-
### ๐พ **Enterprise Memory System**
|
|
372
|
-
| Feature | Specification | Performance |
|
|
373
|
-
|---------|---------------|-------------|
|
|
374
|
-
| **Active Memory** | 27.3 MB with smart compression | 65% efficiency |
|
|
375
|
-
| **Cross-Session** | Persistent context preservation | Zero data loss |
|
|
376
|
-
| **Neural Storage** | Pattern and learning persistence | Continuous adaptation |
|
|
377
|
-
| **Backup System** | Automated backup/restore | Version control |
|
|
378
|
-
| **Namespace Management** | Organized memory structures | Efficient retrieval |
|
|
379
|
-
|
|
380
|
-
---
|
|
381
|
-
|
|
382
|
-
## ๐ฎ **Comprehensive Usage Examples**
|
|
383
|
-
|
|
384
|
-
### ๐ **Basic Coordination Operations**
|
|
385
|
-
```bash
|
|
386
|
-
# System status and health monitoring
|
|
387
|
-
npx claude-flow@2.0.0 swarm status
|
|
388
|
-
npx claude-flow@2.0.0 neural status
|
|
389
|
-
npx claude-flow@2.0.0 health check
|
|
390
|
-
|
|
391
|
-
# Memory management operations
|
|
392
|
-
npx claude-flow@2.0.0 memory usage --action store --key "project_context" --value "API development"
|
|
393
|
-
npx claude-flow@2.0.0 memory search --pattern "auth" --limit 10
|
|
394
|
-
npx claude-flow@2.0.0 memory backup --auto-restore true
|
|
395
|
-
|
|
396
|
-
# Agent coordination
|
|
397
|
-
npx claude-flow@2.0.0 agent list
|
|
398
|
-
npx claude-flow@2.0.0 agent metrics --agent-id coordinator-001
|
|
399
|
-
npx claude-flow@2.0.0 swarm monitor --real-time
|
|
184
|
+
# Deploy complete development swarm
|
|
185
|
+
npx claude-flow@alpha hive-mind spawn "Build e-commerce platform with React, Node.js, and PostgreSQL" \
|
|
186
|
+
--agents 10 \
|
|
187
|
+
--strategy parallel \
|
|
188
|
+
--memory-namespace ecommerce \
|
|
189
|
+
--claude
|
|
190
|
+
|
|
191
|
+
# Monitor progress in real-time
|
|
192
|
+
npx claude-flow@alpha swarm monitor --dashboard --real-time
|
|
400
193
|
```
|
|
401
194
|
|
|
402
|
-
###
|
|
195
|
+
### **๐ฌ Research & Analysis**
|
|
403
196
|
```bash
|
|
404
|
-
#
|
|
405
|
-
npx claude-flow@
|
|
406
|
-
--
|
|
407
|
-
--
|
|
408
|
-
--
|
|
409
|
-
|
|
410
|
-
|
|
411
|
-
|
|
412
|
-
npx claude-flow@
|
|
413
|
-
|
|
414
|
-
# Model management and optimization
|
|
415
|
-
npx claude-flow@2.0.0 model save --model-id neural-coord-001 --path ./models/
|
|
416
|
-
npx claude-flow@2.0.0 neural compress --model-id neural-coord-001 --ratio 0.7
|
|
417
|
-
npx claude-flow@2.0.0 ensemble create --models "model1,model2,model3" --strategy voting
|
|
197
|
+
# Deploy research swarm with neural enhancement
|
|
198
|
+
npx claude-flow@alpha swarm "Research AI safety in autonomous systems" \
|
|
199
|
+
--strategy research \
|
|
200
|
+
--neural-patterns enabled \
|
|
201
|
+
--memory-compression high \
|
|
202
|
+
--claude
|
|
203
|
+
|
|
204
|
+
# Analyze results with cognitive computing
|
|
205
|
+
npx claude-flow@alpha cognitive analyze --target research-results
|
|
418
206
|
```
|
|
419
207
|
|
|
420
|
-
###
|
|
208
|
+
### **๐ก๏ธ Security & Compliance**
|
|
421
209
|
```bash
|
|
422
|
-
#
|
|
423
|
-
npx claude-flow@
|
|
424
|
-
|
|
425
|
-
|
|
426
|
-
{"type": "implementation", "action": "sparc-coder", "task": "build-endpoints"},
|
|
427
|
-
{"type": "testing", "action": "sparc-tester", "task": "comprehensive-tests"},
|
|
428
|
-
{"type": "deployment", "action": "automation-setup", "target": "production"}
|
|
429
|
-
]'
|
|
430
|
-
|
|
431
|
-
# Execute automated workflow with monitoring
|
|
432
|
-
npx claude-flow@2.0.0 workflow execute --workflow-id full-stack-dev --monitor --export-metrics
|
|
433
|
-
|
|
434
|
-
# GitHub integration automation
|
|
435
|
-
npx claude-flow@2.0.0 github repo analyze --repo "my-project" --analysis-type performance
|
|
436
|
-
npx claude-flow@2.0.0 github pr manage --repo "my-project" --action review --pr-number 42
|
|
437
|
-
npx claude-flow@2.0.0 github workflow auto --repo "my-project" --workflow deployment.yml
|
|
438
|
-
```
|
|
439
|
-
|
|
440
|
-
### ๐ **Performance Monitoring & Analytics**
|
|
441
|
-
```bash
|
|
442
|
-
# Comprehensive performance reporting
|
|
443
|
-
npx claude-flow@2.0.0 performance report --timeframe 24h --format detailed
|
|
444
|
-
npx claude-flow@2.0.0 bottleneck analyze --component swarm-coordination
|
|
445
|
-
npx claude-flow@2.0.0 trend analysis --metric "response-time" --period "7d"
|
|
446
|
-
|
|
447
|
-
# Cost and resource analysis
|
|
448
|
-
npx claude-flow@2.0.0 cost analysis --timeframe 30d
|
|
449
|
-
npx claude-flow@2.0.0 usage stats --component neural-processing
|
|
450
|
-
npx claude-flow@2.0.0 quality assess --target coordination-patterns
|
|
451
|
-
|
|
452
|
-
# System diagnostics and optimization
|
|
453
|
-
npx claude-flow@2.0.0 diagnostic run --components "swarm,neural,memory"
|
|
454
|
-
npx claude-flow@2.0.0 topology optimize --swarm-id hierarchical-dev-001
|
|
455
|
-
npx claude-flow@2.0.0 load balance --swarm-id mesh-prod-001 --tasks high-priority.json
|
|
210
|
+
# Automated security analysis with AI coordination
|
|
211
|
+
npx claude-flow@alpha github gh-coordinator analyze --analysis-type security --target ./src
|
|
212
|
+
npx claude-flow@alpha github repo-architect optimize --security-focused --compliance SOC2
|
|
213
|
+
npx claude-flow@alpha hive-mind spawn "security audit and compliance review" --claude
|
|
456
214
|
```
|
|
457
215
|
|
|
458
216
|
---
|
|
459
217
|
|
|
460
|
-
##
|
|
461
|
-
|
|
462
|
-
### **๐๏ธ Core Coordination Commands**
|
|
463
|
-
| Command | Purpose | Example |
|
|
464
|
-
|---------|---------|---------|
|
|
465
|
-
| `swarm-init` | Initialize swarm topology | `--topology mesh --max-agents 8` |
|
|
466
|
-
| `agent-spawn` | Create specialized agents | `--type researcher --name "DataBot"` |
|
|
467
|
-
| `task-orchestrate` | Coordinate complex workflows | `--strategy parallel --share-results` |
|
|
468
|
-
| `swarm-status` | Monitor swarm health | `--detailed --export-metrics` |
|
|
469
|
-
| `coordination-sync` | Synchronize agent coordination | `--swarm-id mesh-dev-001` |
|
|
470
|
-
|
|
471
|
-
### **๐ง Neural Processing Commands**
|
|
472
|
-
| Command | Purpose | Example |
|
|
473
|
-
|---------|---------|---------|
|
|
474
|
-
| `neural-train` | Train patterns with WASM | `--epochs 50 --pattern-type coordination` |
|
|
475
|
-
| `neural-predict` | Make AI predictions | `--model-id coord-001 --input task-data` |
|
|
476
|
-
| `pattern-recognize` | Analyze cognitive patterns | `--data coordination-logs.json` |
|
|
477
|
-
| `model-save` | Save trained models | `--model-id neural-001 --path ./models/` |
|
|
478
|
-
| `neural-explain` | AI explainability | `--model-id coord-001 --prediction results` |
|
|
479
|
-
|
|
480
|
-
### **๐พ Memory & State Management**
|
|
481
|
-
| Command | Purpose | Example |
|
|
482
|
-
|---------|---------|---------|
|
|
483
|
-
| `memory-usage` | Store/retrieve data | `--action store --key context --value data` |
|
|
484
|
-
| `memory-search` | Search memory patterns | `--pattern "auth" --limit 10` |
|
|
485
|
-
| `memory-backup` | Backup memory stores | `--auto-restore true` |
|
|
486
|
-
| `state-snapshot` | Create state snapshots | `--name "milestone-v1"` |
|
|
487
|
-
| `memory-analytics` | Analyze memory usage | `--timeframe 7d` |
|
|
488
|
-
|
|
489
|
-
### **๐ Analysis & Monitoring**
|
|
490
|
-
| Command | Purpose | Example |
|
|
491
|
-
|---------|---------|---------|
|
|
492
|
-
| `performance-report` | Generate performance metrics | `--timeframe 24h --format json` |
|
|
493
|
-
| `bottleneck-analyze` | Identify performance issues | `--component coordination` |
|
|
494
|
-
| `trend-analysis` | Analyze performance trends | `--metric response-time --period 7d` |
|
|
495
|
-
| `health-check` | System health monitoring | `--components "swarm,neural"` |
|
|
496
|
-
| `metrics-collect` | Collect system metrics | `--export-format prometheus` |
|
|
497
|
-
|
|
498
|
-
### **๐ Workflow & Automation**
|
|
499
|
-
| Command | Purpose | Example |
|
|
500
|
-
|---------|---------|---------|
|
|
501
|
-
| `workflow-create` | Create custom workflows | `--name dev-pipeline --steps config.json` |
|
|
502
|
-
| `automation-setup` | Setup automation rules | `--rules deployment-rules.json` |
|
|
503
|
-
| `pipeline-create` | Create CI/CD pipelines | `--config pipeline-config.yml` |
|
|
504
|
-
| `batch-process` | Batch processing | `--items tasks.json --operation execute` |
|
|
505
|
-
| `parallel-execute` | Execute tasks in parallel | `--tasks "task1,task2,task3"` |
|
|
506
|
-
|
|
507
|
-
### **๐ GitHub Integration Commands**
|
|
508
|
-
| Command | Purpose | Example |
|
|
509
|
-
|---------|---------|---------|
|
|
510
|
-
| `github-repo-analyze` | Repository analysis | `--repo my-project --analysis-type security` |
|
|
511
|
-
| `github-pr-manage` | Pull request management | `--action review --pr-number 42` |
|
|
512
|
-
| `github-issue-track` | Issue tracking & triage | `--action auto-assign --labels bug` |
|
|
513
|
-
| `github-release-coord` | Release coordination | `--version v2.1.0 --strategy automated` |
|
|
514
|
-
| `github-metrics` | Repository metrics | `--timeframe 30d --export csv` |
|
|
515
|
-
|
|
516
|
-
### **๐ WebUI & SPARC Commands**
|
|
517
|
-
| Command | Purpose | Example |
|
|
518
|
-
|---------|---------|---------|
|
|
519
|
-
| `start-ui` | Launch UI (alias for start --ui) | `--port 3000 --theme dark` |
|
|
520
|
-
| `sparc-mode` | Execute SPARC modes | `--mode coder --task "build API"` |
|
|
521
|
-
| `terminal-execute` | Execute terminal commands | `--command "npm test" --capture-output` |
|
|
522
|
-
| `config-manage` | Configuration management | `--action update --config ui-settings.json` |
|
|
523
|
-
| `features-detect` | Feature detection | `--component ui --capabilities` |
|
|
524
|
-
|
|
525
|
-
---
|
|
218
|
+
## ๐๏ธ **Alpha Architecture Overview**
|
|
526
219
|
|
|
527
|
-
|
|
528
|
-
|
|
529
|
-
### **๐๏ธ Simple Yet Powerful Architecture**
|
|
220
|
+
### **๐ Hive-Mind Coordination Layer**
|
|
530
221
|
```
|
|
531
|
-
|
|
532
|
-
โ
|
|
533
|
-
|
|
534
|
-
|
|
535
|
-
|
|
536
|
-
โ
|
|
537
|
-
|
|
538
|
-
โ
|
|
539
|
-
|
|
540
|
-
โ
|
|
541
|
-
|
|
542
|
-
โ
|
|
543
|
-
|
|
544
|
-
โ
|
|
545
|
-
|
|
222
|
+
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
|
|
223
|
+
โ ๐ Queen Agent โ
|
|
224
|
+
โ (Master Coordinator) โ
|
|
225
|
+
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโค
|
|
226
|
+
โ ๐๏ธ Architect โ ๐ป Coder โ ๐งช Tester โ ๐ Research โ ๐ก๏ธ Security โ
|
|
227
|
+
โ Agent โ Agent โ Agent โ Agent โ Agent โ
|
|
228
|
+
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโค
|
|
229
|
+
โ ๐ง Neural Pattern Recognition Layer โ
|
|
230
|
+
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโค
|
|
231
|
+
โ ๐พ Distributed Memory System โ
|
|
232
|
+
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโค
|
|
233
|
+
โ โก 87 MCP Tools Integration Layer โ
|
|
234
|
+
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโค
|
|
235
|
+
โ ๐ก๏ธ Claude Code Integration โ
|
|
236
|
+
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
|
|
546
237
|
```
|
|
547
238
|
|
|
548
|
-
###
|
|
549
|
-
- **
|
|
550
|
-
- **
|
|
551
|
-
- **
|
|
552
|
-
- **
|
|
553
|
-
- **Memory System** - 27.3MB of compressed, persistent storage
|
|
554
|
-
- **Performance Monitoring** - Built-in metrics and bottleneck detection
|
|
555
|
-
- **Workflow Engine** - Automate complex tasks with simple commands
|
|
556
|
-
- **QUDAG Foundation** - Efficient Rust-based processing architecture
|
|
239
|
+
### **๐ Coordination Strategies**
|
|
240
|
+
- **Hierarchical**: Queen-led with specialized worker agents
|
|
241
|
+
- **Mesh**: Peer-to-peer coordination for complex tasks
|
|
242
|
+
- **Hybrid**: Dynamic strategy selection based on task complexity
|
|
243
|
+
- **Neural-Enhanced**: AI-optimized coordination patterns
|
|
557
244
|
|
|
558
245
|
---
|
|
559
246
|
|
|
560
|
-
##
|
|
247
|
+
## ๐ ๏ธ **Alpha Installation & Setup**
|
|
561
248
|
|
|
562
|
-
###
|
|
249
|
+
### **๐ Quick Alpha Installation**
|
|
563
250
|
```bash
|
|
564
|
-
#
|
|
565
|
-
npm
|
|
566
|
-
npm run test:mcp # MCP tools testing (87 tools)
|
|
567
|
-
npm run test:neural # Neural network validation
|
|
568
|
-
npm run test:swarm # Swarm coordination testing
|
|
569
|
-
npm run test:ui # WebUI functionality testing
|
|
570
|
-
npm run test:integration # End-to-end integration testing
|
|
571
|
-
|
|
572
|
-
# Performance benchmarking
|
|
573
|
-
npm run benchmark:swarm # Swarm performance testing
|
|
574
|
-
npm run benchmark:neural # Neural processing benchmarks
|
|
575
|
-
npm run benchmark:memory # Memory system performance
|
|
576
|
-
```
|
|
251
|
+
# Global installation (recommended for testing)
|
|
252
|
+
npm install -g claude-flow@alpha
|
|
577
253
|
|
|
578
|
-
|
|
579
|
-
-
|
|
580
|
-
- **โก 2.8-4.4x Performance**: Verified speed improvements with parallel processing
|
|
581
|
-
- **๐ง 89% Neural Accuracy**: Real WASM neural networks with authentic training
|
|
582
|
-
- **๐พ 65% Memory Efficiency**: Advanced compression with zero data loss
|
|
583
|
-
- **๐ Enterprise Security**: Non-root containers, vulnerability scanning, audit trails
|
|
584
|
-
- **๐ Cross-Platform Support**: Windows, macOS, Linux with Node.js 20+ optimization
|
|
254
|
+
# Or use NPX for instant testing
|
|
255
|
+
npx claude-flow@alpha init --force
|
|
585
256
|
|
|
586
|
-
|
|
587
|
-
|
|
588
|
-
|
|
589
|
-
|
|
590
|
-
### โ
**What Works in Alpha**
|
|
591
|
-
- **Basic CLI functionality** - Core commands and help system
|
|
592
|
-
- **Automatic MCP setup** - Detects and configures Claude Code integration
|
|
593
|
-
- **Complete project initialization** - All files, directories, and configurations
|
|
594
|
-
- **Cross-platform support** - Unix, Windows, PowerShell wrappers
|
|
595
|
-
- **Help documentation** - Comprehensive command documentation
|
|
596
|
-
- **Local wrapper** - `./claude-flow` executable for project-specific usage
|
|
257
|
+
# Verify installation
|
|
258
|
+
claude-flow --version # Should show 2.0.0-alpha.x
|
|
259
|
+
```
|
|
597
260
|
|
|
598
|
-
###
|
|
599
|
-
For full functionality, use development mode:
|
|
261
|
+
### **๐ง Enhanced Configuration**
|
|
600
262
|
```bash
|
|
601
|
-
|
|
602
|
-
|
|
603
|
-
npm install && npx claude-flow start --ui
|
|
604
|
-
```
|
|
263
|
+
# Initialize with full alpha features
|
|
264
|
+
npx claude-flow@alpha init --force --hive-mind --neural-enhanced
|
|
605
265
|
|
|
606
|
-
|
|
607
|
-
-
|
|
608
|
-
- **Neural processing** - WASM-based neural networks
|
|
609
|
-
- **Advanced swarm operations** - Complete agent coordination
|
|
610
|
-
- **Real-time monitoring** - Live performance metrics
|
|
611
|
-
- **All 87 MCP tools** - Complete ruv-swarm integration
|
|
266
|
+
# Configure Claude Code integration
|
|
267
|
+
npx claude-flow@alpha mcp setup --auto-permissions --87-tools
|
|
612
268
|
|
|
613
|
-
|
|
614
|
-
-
|
|
615
|
-
|
|
616
|
-
- **Testing**: Report any issues with `npx claude-flow@alpha init`
|
|
269
|
+
# Test hive-mind coordination
|
|
270
|
+
npx claude-flow@alpha hive-mind test --agents 5 --coordination-test
|
|
271
|
+
```
|
|
617
272
|
|
|
618
273
|
---
|
|
619
274
|
|
|
620
|
-
##
|
|
275
|
+
## ๐ **Alpha Command Reference**
|
|
621
276
|
|
|
622
|
-
###
|
|
623
|
-
|
|
624
|
-
|
|
625
|
-
-
|
|
626
|
-
-
|
|
277
|
+
### **๐ Hive-Mind Commands**
|
|
278
|
+
| Command | Description | Example |
|
|
279
|
+
|---------|-------------|---------|
|
|
280
|
+
| `hive-mind wizard` | Interactive hive setup | `npx claude-flow@alpha hive-mind wizard` |
|
|
281
|
+
| `hive-mind spawn` | Deploy intelligent swarm | `npx claude-flow@alpha hive-mind spawn "task" --claude` |
|
|
282
|
+
| `hive-mind status` | Monitor coordination | `npx claude-flow@alpha hive-mind status --real-time` |
|
|
627
283
|
|
|
628
|
-
### **๐ง
|
|
629
|
-
|
|
630
|
-
|
|
631
|
-
|
|
632
|
-
|
|
284
|
+
### **๐ง Neural Commands**
|
|
285
|
+
| Command | Description | Example |
|
|
286
|
+
|---------|-------------|---------|
|
|
287
|
+
| `neural train` | Train coordination patterns | `npx claude-flow@alpha neural train --pattern optimization` |
|
|
288
|
+
| `neural predict` | AI-powered predictions | `npx claude-flow@alpha neural predict --model performance` |
|
|
289
|
+
| `cognitive analyze` | Behavior analysis | `npx claude-flow@alpha cognitive analyze --workflow dev` |
|
|
633
290
|
|
|
634
|
-
###
|
|
635
|
-
|
|
636
|
-
|
|
637
|
-
|
|
638
|
-
|
|
291
|
+
### **๐พ Memory Commands**
|
|
292
|
+
| Command | Description | Example |
|
|
293
|
+
|---------|-------------|---------|
|
|
294
|
+
| `memory store` | Store key-value pair | `npx claude-flow@alpha memory store "context" "data"` |
|
|
295
|
+
| `memory query` | Search memory entries | `npx claude-flow@alpha memory query "auth" --namespace sparc` |
|
|
296
|
+
| `memory stats` | Show memory statistics | `npx claude-flow@alpha memory stats` |
|
|
297
|
+
| `memory export` | Export memory to file | `npx claude-flow@alpha memory export backup.json` |
|
|
298
|
+
| `memory import` | Import memory from file | `npx claude-flow@alpha memory import project.json` |
|
|
299
|
+
| `memory list` | List all namespaces | `npx claude-flow@alpha memory list` |
|
|
300
|
+
|
|
301
|
+
### **๐ Monitoring Commands**
|
|
302
|
+
| Command | Description | Example |
|
|
303
|
+
|---------|-------------|---------|
|
|
304
|
+
| `memory stats` | Memory usage statistics | `npx claude-flow@alpha memory stats` |
|
|
305
|
+
| `workflow create` | Create workflow pipelines | `npx claude-flow@alpha workflow create --name "CI/CD"` |
|
|
306
|
+
| `github <mode>` | GitHub coordination modes | `npx claude-flow@alpha github gh-coordinator` |
|
|
639
307
|
|
|
640
308
|
---
|
|
641
309
|
|
|
642
|
-
##
|
|
310
|
+
## ๐งช **Alpha Testing & Development**
|
|
643
311
|
|
|
644
|
-
|
|
312
|
+
### **๐ Bug Reports & Feedback**
|
|
313
|
+
Found issues with the alpha? We want to hear from you!
|
|
645
314
|
|
|
646
|
-
|
|
647
|
-
|
|
648
|
-
|
|
649
|
-
|
|
315
|
+
- **๐ Report Bugs**: [GitHub Issues](https://github.com/ruvnet/claude-code-flow/issues)
|
|
316
|
+
- **๐ก Feature Requests**: Use the "Alpha Feedback" label
|
|
317
|
+
- **๐ ๏ธ Development**: Check the [`claude-flow-v2.0.0`](https://github.com/ruvnet/claude-code-flow/tree/claude-flow-v2.0.0) branch
|
|
318
|
+
- **๐ Alpha Testing**: Join our alpha testing program
|
|
650
319
|
|
|
651
|
-
|
|
652
|
-
|
|
320
|
+
### **๐ฌ Testing the Alpha**
|
|
321
|
+
```bash
|
|
322
|
+
# Test available GitHub modes
|
|
323
|
+
npx claude-flow@alpha github gh-coordinator --help
|
|
324
|
+
npx claude-flow@alpha github pr-manager --help
|
|
325
|
+
npx claude-flow@alpha github issue-tracker --help
|
|
326
|
+
npx claude-flow@alpha github release-manager --help
|
|
327
|
+
npx claude-flow@alpha github repo-architect --help
|
|
328
|
+
npx claude-flow@alpha github sync-coordinator --help
|
|
329
|
+
|
|
330
|
+
# Test memory functionality
|
|
331
|
+
npx claude-flow@alpha memory stats
|
|
332
|
+
npx claude-flow@alpha memory store "test" "alpha testing data"
|
|
333
|
+
npx claude-flow@alpha memory query "test"
|
|
334
|
+
|
|
335
|
+
# Test workflow execution
|
|
336
|
+
npx claude-flow@alpha workflow create --name "Test Pipeline" --parallel
|
|
653
337
|
```
|
|
654
338
|
|
|
655
|
-
###
|
|
656
|
-
|
|
657
|
-
|
|
658
|
-
-
|
|
659
|
-
- **๐ Real-Time Coordination**: Agents share discoveries and build on each other's work
|
|
660
|
-
- **๐ Progress Visualization**: Watch your project come together in real-time
|
|
661
|
-
- **๐พ Persistent Learning**: The hive remembers and improves with each task
|
|
339
|
+
### **๐ Alpha Metrics Dashboard**
|
|
340
|
+
```bash
|
|
341
|
+
# Check memory usage and statistics
|
|
342
|
+
npx claude-flow@alpha memory stats
|
|
662
343
|
|
|
663
|
-
|
|
664
|
-
|
|
665
|
-
|---------|-------------|---------|
|
|
666
|
-
| **Interactive Wizard** | Step-by-step project setup | Zero learning curve |
|
|
667
|
-
| **Auto-Agent Selection** | Picks the right agents for your task | Optimal team composition |
|
|
668
|
-
| **Parallel Execution** | All agents work simultaneously | 2.8-4.4x faster completion |
|
|
669
|
-
| **Shared Memory** | Agents build on each other's work | No duplicate effort |
|
|
670
|
-
| **Progress Tracking** | Real-time status updates | Always know what's happening |
|
|
344
|
+
# View available GitHub coordination modes
|
|
345
|
+
npx claude-flow@alpha github --help
|
|
671
346
|
|
|
672
|
-
|
|
673
|
-
|
|
674
|
-
# Start Hive Mind wizard
|
|
675
|
-
npx claude-flow@2.0.0 hive-mind
|
|
676
|
-
|
|
677
|
-
# Wizard prompts:
|
|
678
|
-
# 1. Task: "Build a REST API with authentication and React frontend"
|
|
679
|
-
# 2. Complexity: High
|
|
680
|
-
# 3. Timeline: Standard
|
|
681
|
-
# 4. Features: Auth, Database, API, Frontend, Tests
|
|
682
|
-
|
|
683
|
-
# Hive Mind automatically:
|
|
684
|
-
# - Spawns 6 specialized agents
|
|
685
|
-
# - Creates 15+ coordinated tasks
|
|
686
|
-
# - Manages dependencies
|
|
687
|
-
# - Tracks progress
|
|
688
|
-
# - Delivers complete, tested code
|
|
347
|
+
# Test workflow capabilities
|
|
348
|
+
npx claude-flow@alpha workflow --help
|
|
689
349
|
```
|
|
690
350
|
|
|
691
|
-
### **๐จ Hive Mind Use Cases**
|
|
692
|
-
- **Complex System Design**: Architect entire applications with coordinated agents
|
|
693
|
-
- **Rapid Prototyping**: Go from idea to working code in minutes
|
|
694
|
-
- **Code Migration**: Modernize legacy systems with intelligent analysis
|
|
695
|
-
- **Performance Optimization**: Multiple agents analyze and improve code
|
|
696
|
-
- **Documentation Generation**: Comprehensive docs created alongside code
|
|
697
|
-
|
|
698
|
-
### **๐ Learn More**
|
|
699
|
-
- [Hive Mind Overview](./docs/hive-mind/overview.md) - Complete system architecture
|
|
700
|
-
- [CLI Commands Guide](./docs/hive-mind/cli-commands.md) - All Hive Mind commands
|
|
701
|
-
- [Interactive Wizard](./docs/hive-mind/wizard-guide.md) - Step-by-step walkthrough
|
|
702
|
-
- [API Reference](./docs/hive-mind/api-reference.md) - Programmatic usage
|
|
703
|
-
- [Examples](./docs/hive-mind/examples.md) - Real-world usage patterns
|
|
704
|
-
- [Troubleshooting](./docs/hive-mind/troubleshooting.md) - Common issues & solutions
|
|
705
|
-
|
|
706
|
-
### **๐ค Development & Contributing**
|
|
707
|
-
- [๐จโ๐ป Development Setup](./docs/development-setup.md) - Local development guide
|
|
708
|
-
- [๐ MCP Tool Development](./docs/mcp-development.md) - Creating custom tools
|
|
709
|
-
- [๐งช Testing Guidelines](./docs/testing-guide.md) - Quality assurance standards
|
|
710
|
-
- [๐ Contributing Guide](./CONTRIBUTING.md) - How to contribute effectively
|
|
711
|
-
|
|
712
351
|
---
|
|
713
352
|
|
|
714
|
-
##
|
|
715
|
-
|
|
716
|
-
### **๐ฏ
|
|
717
|
-
|
|
718
|
-
|
|
719
|
-
-
|
|
720
|
-
-
|
|
721
|
-
-
|
|
722
|
-
|
|
353
|
+
## ๐ **Roadmap to Stable v2.0.0**
|
|
354
|
+
|
|
355
|
+
### **๐ฏ Alpha Phase (Current)**
|
|
356
|
+
- โ
Hive-mind coordination system
|
|
357
|
+
- โ
87 MCP tools integration
|
|
358
|
+
- โ
Neural pattern recognition
|
|
359
|
+
- โ
Distributed memory architecture
|
|
360
|
+
- โ
Auto-MCP setup for Claude Code
|
|
361
|
+
|
|
362
|
+
### **๐ Beta Phase (Coming Soon)**
|
|
363
|
+
- ๐ Enhanced swarm intelligence algorithms
|
|
364
|
+
- ๐ Advanced cognitive computing features
|
|
365
|
+
- ๐ Enterprise security and compliance
|
|
366
|
+
- ๐ Multi-cloud deployment automation
|
|
367
|
+
- ๐ Real-time collaboration features
|
|
368
|
+
|
|
369
|
+
### **๐ Stable v2.0.0 (Q2 2024)**
|
|
370
|
+
- ๐ฏ Production-ready hive-mind orchestration
|
|
371
|
+
- ๐ฏ Complete neural computing suite
|
|
372
|
+
- ๐ฏ Enterprise-grade security and monitoring
|
|
373
|
+
- ๐ฏ Comprehensive documentation and tutorials
|
|
374
|
+
- ๐ฏ Professional support and training
|
|
723
375
|
|
|
724
|
-
|
|
725
|
-
- **Cloud Integration Tools** (AWS, Azure, GCP) for multi-cloud deployment
|
|
726
|
-
- **Database Management Tools** for automated schema management
|
|
727
|
-
- **API Testing Tools** for comprehensive validation frameworks
|
|
728
|
-
- **Monitoring Tools** for advanced observability and alerting
|
|
729
|
-
|
|
730
|
-
#### **3. WebUI Enhancements**
|
|
731
|
-
- **Mobile Responsiveness** for on-the-go coordination
|
|
732
|
-
- **Accessibility Features** (WCAG compliance) for inclusive design
|
|
733
|
-
- **Real-Time Visualizations** for swarm activity monitoring
|
|
734
|
-
- **Custom Dashboards** for different enterprise use cases
|
|
376
|
+
---
|
|
735
377
|
|
|
736
|
-
|
|
737
|
-
- **Advanced RBAC** for enterprise security and compliance
|
|
738
|
-
- **Multi-Language Support** for international development teams
|
|
739
|
-
- **Plugin Architecture** for third-party integrations
|
|
740
|
-
- **Advanced Analytics** for comprehensive performance insights
|
|
378
|
+
## ๐ค **Contributing to Alpha**
|
|
741
379
|
|
|
742
|
-
###
|
|
380
|
+
### **๐ ๏ธ Alpha Development Setup**
|
|
743
381
|
```bash
|
|
744
|
-
# Clone
|
|
382
|
+
# Clone the alpha development branch
|
|
745
383
|
git clone https://github.com/ruvnet/claude-code-flow.git
|
|
746
384
|
cd claude-code-flow
|
|
747
385
|
git checkout claude-flow-v2.0.0
|
|
748
386
|
|
|
749
|
-
# Install dependencies
|
|
387
|
+
# Install alpha dependencies
|
|
750
388
|
npm install
|
|
751
|
-
npm run build
|
|
752
389
|
|
|
753
|
-
#
|
|
754
|
-
|
|
755
|
-
npx claude-flow@2.0.0 start --ui --dev --port 3000 # Primary method
|
|
756
|
-
# Or use alias: npx claude-flow@2.0.0 start-ui --dev --port 3000
|
|
390
|
+
# Build alpha version
|
|
391
|
+
npm run build:alpha
|
|
757
392
|
|
|
758
|
-
#
|
|
759
|
-
npm run test:
|
|
760
|
-
npm run test:mcp --category neural
|
|
761
|
-
npm run benchmark:performance
|
|
393
|
+
# Test alpha features
|
|
394
|
+
npm run test:alpha
|
|
762
395
|
```
|
|
763
396
|
|
|
764
|
-
###
|
|
765
|
-
|
|
766
|
-
|
|
767
|
-
|
|
768
|
-
|
|
769
|
-
|
|
397
|
+
### **๐ฌ Alpha Testing Guidelines**
|
|
398
|
+
- Focus on hive-mind coordination testing
|
|
399
|
+
- Test neural pattern recognition accuracy
|
|
400
|
+
- Validate memory system persistence
|
|
401
|
+
- Verify Claude Code MCP integration
|
|
402
|
+
- Report performance metrics and bottlenecks
|
|
770
403
|
|
|
771
404
|
---
|
|
772
405
|
|
|
773
|
-
## ๐ **License
|
|
406
|
+
## ๐ **License**
|
|
774
407
|
|
|
775
|
-
|
|
408
|
+
MIT License - see [LICENSE](./LICENSE) for details.
|
|
776
409
|
|
|
777
|
-
This
|
|
410
|
+
**Alpha Disclaimer**: This is an alpha release intended for testing and feedback. Use in production environments is not recommended.
|
|
778
411
|
|
|
779
412
|
---
|
|
780
413
|
|
|
781
|
-
## ๐ **
|
|
782
|
-
|
|
783
|
-
### **๐ Core Technology Partners**
|
|
784
|
-
- **๐ค Anthropic**: For the revolutionary Claude AI that powers intelligent coordination
|
|
785
|
-
- **๐ ruv-swarm**: For the neural network foundation and WASM integration
|
|
786
|
-
- **๐ฆ Rust Community**: For QUDAG architecture and high-performance computing
|
|
787
|
-
- **โก Node.js Community**: For the excellent JavaScript runtime and ecosystem
|
|
788
|
-
- **๐ WebAssembly Team**: For enabling real neural network processing in browsers
|
|
789
|
-
|
|
790
|
-
### **๐ Community Contributors**
|
|
791
|
-
- **๐ Bug Reporters**: Who identified critical issues and helped improve stability
|
|
792
|
-
- **๐ก Feature Requesters**: Who inspired new capabilities and use cases
|
|
793
|
-
- **๐ Security Researchers**: Who helped strengthen platform security
|
|
794
|
-
- **๐งช Early Adopters**: Who provided valuable feedback during development
|
|
414
|
+
## ๐ **Alpha Credits**
|
|
795
415
|
|
|
796
|
-
|
|
797
|
-
- **โก
|
|
798
|
-
-
|
|
799
|
-
-
|
|
800
|
-
- **๐ฏ 100% Test Success Rate** across all 87 MCP tools and integration points
|
|
801
|
-
- **๐ 500+ Active Developers** in the growing Claude Flow community
|
|
416
|
+
- **๐ง Hive-Mind Architecture**: Inspired by natural swarm intelligence
|
|
417
|
+
- **โก Neural Computing**: Advanced AI coordination patterns
|
|
418
|
+
- **๐ก๏ธ Claude Code Integration**: Seamless AI development workflow
|
|
419
|
+
- **๐ Performance Optimization**: 2.8-4.4x speed improvements through parallel coordination
|
|
802
420
|
|
|
803
421
|
---
|
|
804
422
|
|
|
805
423
|
<div align="center">
|
|
806
424
|
|
|
807
|
-
### **๐ Ready to
|
|
425
|
+
### **๐ Ready to experience the future of AI development?**
|
|
808
426
|
|
|
809
427
|
```bash
|
|
810
|
-
npx claude-flow@
|
|
428
|
+
npx --y claude-flow@alpha init --force
|
|
811
429
|
```
|
|
812
430
|
|
|
813
|
-
**
|
|
431
|
+
**Join the alpha testing revolution!**
|
|
814
432
|
|
|
815
|
-
[](https://docs.anthropic.com/en/docs/claude-code)
|
|
433
|
+
[](https://github.com/ruvnet/claude-code-flow/tree/claude-flow-v2.0.0)
|
|
434
|
+
[](https://www.npmjs.com/package/claude-flow/v/alpha)
|
|
435
|
+
[](https://discord.agentics.org)
|
|
819
436
|
|
|
820
437
|
---
|
|
821
438
|
|
|
822
|
-
**Built with โค๏ธ by [rUv](https://github.com/ruvnet) | Powered by
|
|
439
|
+
**Built with โค๏ธ by [rUv](https://github.com/ruvnet) | Powered by Revolutionary AI**
|
|
823
440
|
|
|
824
|
-
|
|
441
|
+
*v2.0.0 Alpha - The Future of AI Orchestration*
|
|
825
442
|
|
|
826
443
|
</div>
|
package/package.json
CHANGED
|
@@ -132,6 +132,22 @@ class OptimizedLRUCache {
|
|
|
132
132
|
}
|
|
133
133
|
}
|
|
134
134
|
|
|
135
|
+
forEach(callback) {
|
|
136
|
+
this.cache.forEach((entry, key) => {
|
|
137
|
+
callback(entry, key);
|
|
138
|
+
});
|
|
139
|
+
}
|
|
140
|
+
|
|
141
|
+
delete(key) {
|
|
142
|
+
if (this.cache.has(key)) {
|
|
143
|
+
const entry = this.cache.get(key);
|
|
144
|
+
this.cache.delete(key);
|
|
145
|
+
this.currentMemory -= entry.size;
|
|
146
|
+
return true;
|
|
147
|
+
}
|
|
148
|
+
return false;
|
|
149
|
+
}
|
|
150
|
+
|
|
135
151
|
getStats() {
|
|
136
152
|
return {
|
|
137
153
|
size: this.cache.size,
|