claude-flow 2.5.0-alpha.141 → 2.7.0-alpha.1

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.
Files changed (154) hide show
  1. package/.claude/agents/reasoning/README.md +171 -0
  2. package/.claude/agents/reasoning/agent.md +816 -0
  3. package/.claude/agents/reasoning/example-reasoning-agent-template.md +362 -0
  4. package/.claude/agents/reasoning/goal-planner.md +73 -0
  5. package/.claude/commands/coordination/README.md +9 -0
  6. package/.claude/commands/memory/README.md +9 -0
  7. package/.claude/settings.json +3 -3
  8. package/.claude/sparc-modes.json +108 -0
  9. package/README.md +1 -6
  10. package/bin/claude-flow +1 -1
  11. package/dist/src/cli/command-registry.js +70 -6
  12. package/dist/src/cli/command-registry.js.map +1 -1
  13. package/dist/src/cli/help-formatter.js +5 -3
  14. package/dist/src/cli/help-formatter.js.map +1 -1
  15. package/dist/src/cli/help-text.js +53 -5
  16. package/dist/src/cli/help-text.js.map +1 -1
  17. package/dist/src/cli/simple-cli.js +182 -172
  18. package/dist/src/cli/simple-cli.js.map +1 -1
  19. package/dist/src/cli/simple-commands/agent-booster.js +415 -0
  20. package/dist/src/cli/simple-commands/agent-booster.js.map +1 -0
  21. package/dist/src/cli/simple-commands/agent.js +856 -13
  22. package/dist/src/cli/simple-commands/agent.js.map +1 -1
  23. package/dist/src/cli/simple-commands/config.js +115 -257
  24. package/dist/src/cli/simple-commands/config.js.map +1 -1
  25. package/dist/src/cli/simple-commands/env-template.js +180 -0
  26. package/dist/src/cli/simple-commands/env-template.js.map +1 -0
  27. package/dist/src/cli/simple-commands/init/help.js +23 -0
  28. package/dist/src/cli/simple-commands/init/help.js.map +1 -1
  29. package/dist/src/cli/simple-commands/init/index.js +63 -0
  30. package/dist/src/cli/simple-commands/init/index.js.map +1 -1
  31. package/dist/src/cli/simple-commands/memory.js +414 -16
  32. package/dist/src/cli/simple-commands/memory.js.map +1 -1
  33. package/dist/src/cli/simple-commands/proxy.js +304 -0
  34. package/dist/src/cli/simple-commands/proxy.js.map +1 -0
  35. package/dist/src/cli/simple-commands/sparc.js +16 -19
  36. package/dist/src/cli/simple-commands/sparc.js.map +1 -1
  37. package/dist/src/cli/validation-helper.js.map +1 -1
  38. package/dist/src/core/version.js +1 -1
  39. package/dist/src/execution/agent-executor.js +181 -0
  40. package/dist/src/execution/agent-executor.js.map +1 -0
  41. package/dist/src/execution/index.js +12 -0
  42. package/dist/src/execution/index.js.map +1 -0
  43. package/dist/src/execution/provider-manager.js +110 -0
  44. package/dist/src/execution/provider-manager.js.map +1 -0
  45. package/dist/src/hooks/redaction-hook.js +89 -0
  46. package/dist/src/hooks/redaction-hook.js.map +1 -0
  47. package/dist/src/memory/swarm-memory.js +340 -421
  48. package/dist/src/memory/swarm-memory.js.map +1 -1
  49. package/dist/src/reasoningbank/reasoningbank-adapter.js +144 -0
  50. package/dist/src/reasoningbank/reasoningbank-adapter.js.map +1 -0
  51. package/dist/src/utils/key-redactor.js +108 -0
  52. package/dist/src/utils/key-redactor.js.map +1 -0
  53. package/dist/src/utils/metrics-reader.js.map +1 -1
  54. package/docs/AGENT-BOOSTER-INTEGRATION.md +407 -0
  55. package/docs/AGENTIC-FLOW-INTEGRATION-GUIDE.md +753 -0
  56. package/docs/AGENTIC_FLOW_EXECUTION_FIX_REPORT.md +474 -0
  57. package/docs/AGENTIC_FLOW_INTEGRATION_STATUS.md +143 -0
  58. package/docs/AGENTIC_FLOW_MVP_COMPLETE.md +367 -0
  59. package/docs/AGENTIC_FLOW_SECURITY_TEST_REPORT.md +369 -0
  60. package/docs/COMMAND-VERIFICATION-REPORT.md +441 -0
  61. package/docs/COMMIT_SUMMARY.md +247 -0
  62. package/docs/DEEP_REVIEW_COMPREHENSIVE_REPORT.md +922 -0
  63. package/docs/DOCKER-VALIDATION-REPORT.md +281 -0
  64. package/docs/ENV-SETUP-GUIDE.md +270 -0
  65. package/docs/FINAL_PRE_PUBLISH_VALIDATION.md +823 -0
  66. package/docs/FINAL_VALIDATION_REPORT.md +165 -0
  67. package/docs/HOOKS-V2-MODIFICATION.md +146 -0
  68. package/docs/INDEX.md +568 -0
  69. package/docs/INTEGRATION_COMPLETE.md +414 -0
  70. package/docs/MEMORY_REDACTION_TEST_REPORT.md +300 -0
  71. package/docs/PERFORMANCE-SYSTEMS-STATUS.md +340 -0
  72. package/docs/PRE_RELEASE_FIXES_REPORT.md +435 -0
  73. package/docs/README.md +35 -0
  74. package/docs/REASONING-AGENTS.md +482 -0
  75. package/docs/REASONINGBANK-AGENT-CREATION-GUIDE.md +813 -0
  76. package/docs/REASONINGBANK-ANALYSIS-COMPLETE.md +479 -0
  77. package/docs/REASONINGBANK-BENCHMARK-RESULTS.md +166 -0
  78. package/docs/REASONINGBANK-BENCHMARK.md +396 -0
  79. package/docs/REASONINGBANK-CLI-INTEGRATION.md +455 -0
  80. package/docs/REASONINGBANK-CORE-INTEGRATION.md +658 -0
  81. package/docs/REASONINGBANK-COST-OPTIMIZATION.md +329 -0
  82. package/docs/REASONINGBANK-DEMO.md +419 -0
  83. package/docs/REASONINGBANK-INTEGRATION-COMPLETE.md +249 -0
  84. package/docs/REASONINGBANK-INTEGRATION-STATUS.md +179 -0
  85. package/docs/REASONINGBANK-VALIDATION.md +532 -0
  86. package/docs/REASONINGBANK_ARCHITECTURE.md +475 -0
  87. package/docs/REASONINGBANK_INTEGRATION_COMPLETE.md +558 -0
  88. package/docs/REASONINGBANK_INTEGRATION_PLAN.md +1188 -0
  89. package/docs/REGRESSION-ANALYSIS-REPORT.md +500 -0
  90. package/docs/RELEASE_v2.6.0-alpha.2.md +658 -0
  91. package/docs/api/API_DOCUMENTATION.md +721 -0
  92. package/docs/architecture/ARCHITECTURE.md +1690 -0
  93. package/docs/ci-cd/README.md +368 -0
  94. package/docs/development/DEPLOYMENT.md +2348 -0
  95. package/docs/development/DEVELOPMENT_WORKFLOW.md +1333 -0
  96. package/docs/development/build-analysis-report.md +252 -0
  97. package/docs/development/pair-optimization.md +156 -0
  98. package/docs/development/token-tracking-status.md +103 -0
  99. package/docs/development/training-pipeline-demo.md +163 -0
  100. package/docs/development/training-pipeline-real-only.md +196 -0
  101. package/docs/epic-sdk-integration.md +1269 -0
  102. package/docs/experimental/RIEMANN_HYPOTHESIS_PROOF.md +124 -0
  103. package/docs/experimental/computational_verification.py +436 -0
  104. package/docs/experimental/novel_approaches.md +560 -0
  105. package/docs/experimental/riemann_hypothesis_analysis.md +263 -0
  106. package/docs/experimental/riemann_proof_attempt.md +124 -0
  107. package/docs/experimental/riemann_synthesis.md +277 -0
  108. package/docs/experimental/verification_results.json +12 -0
  109. package/docs/experimental/visualization_insights.md +720 -0
  110. package/docs/guides/USER_GUIDE.md +1138 -0
  111. package/docs/guides/token-tracking-guide.md +291 -0
  112. package/docs/reference/AGENTS.md +1011 -0
  113. package/docs/reference/MCP_TOOLS.md +2188 -0
  114. package/docs/reference/SPARC.md +717 -0
  115. package/docs/reference/SWARM.md +2000 -0
  116. package/docs/sdk/CLAUDE-CODE-SDK-DEEP-ANALYSIS.md +649 -0
  117. package/docs/sdk/CLAUDE-FLOW-SDK-INTEGRATION-ANALYSIS.md +242 -0
  118. package/docs/sdk/INTEGRATION-ROADMAP.md +420 -0
  119. package/docs/sdk/MCP-TOOLS-UPDATE.md +270 -0
  120. package/docs/sdk/SDK-ADVANCED-FEATURES-INTEGRATION.md +723 -0
  121. package/docs/sdk/SDK-ALL-FEATURES-INTEGRATION-MATRIX.md +612 -0
  122. package/docs/sdk/SDK-INTEGRATION-COMPLETE.md +358 -0
  123. package/docs/sdk/SDK-INTEGRATION-PHASES-V2.5.md +750 -0
  124. package/docs/sdk/SDK-LEVERAGE-REAL-FEATURES.md +676 -0
  125. package/docs/sdk/SDK-VALIDATION-RESULTS.md +400 -0
  126. package/docs/sdk/epic-sdk-integration.md +1269 -0
  127. package/docs/setup/remote-setup.md +93 -0
  128. package/docs/validation/final-validation-summary.md +220 -0
  129. package/docs/validation/verification-integration.md +190 -0
  130. package/docs/validation/verification-validation.md +349 -0
  131. package/docs/wiki/background-commands.md +1213 -0
  132. package/docs/wiki/session-persistence.md +342 -0
  133. package/docs/wiki/stream-chain-command.md +537 -0
  134. package/package.json +4 -2
  135. package/src/cli/command-registry.js +70 -5
  136. package/src/cli/help-text.js +26 -5
  137. package/src/cli/simple-cli.ts +18 -7
  138. package/src/cli/simple-commands/agent-booster.js +515 -0
  139. package/src/cli/simple-commands/agent.js +1001 -12
  140. package/src/cli/simple-commands/agent.ts +137 -0
  141. package/src/cli/simple-commands/config.ts +127 -0
  142. package/src/cli/simple-commands/env-template.js +190 -0
  143. package/src/cli/simple-commands/init/help.js +23 -0
  144. package/src/cli/simple-commands/init/index.js +84 -6
  145. package/src/cli/simple-commands/memory.js +497 -16
  146. package/src/cli/simple-commands/proxy.js +384 -0
  147. package/src/cli/simple-commands/sparc.js +16 -19
  148. package/src/execution/agent-executor.ts +306 -0
  149. package/src/execution/index.ts +19 -0
  150. package/src/execution/provider-manager.ts +187 -0
  151. package/src/hooks/redaction-hook.ts +115 -0
  152. package/src/reasoningbank/reasoningbank-adapter.js +191 -0
  153. package/src/utils/key-redactor.js +178 -0
  154. package/src/utils/key-redactor.ts +184 -0
@@ -0,0 +1,1011 @@
1
+ # 🤖 Claude-Flow Agent Reference
2
+
3
+ ## Complete Guide to All 65+ Specialized AI Agents
4
+
5
+ Claude-Flow provides a comprehensive ecosystem of specialized AI agents designed for enterprise-grade software development, coordination, and automation. Each agent is optimized for specific tasks and domains, enabling intelligent swarm coordination and autonomous workflow execution.
6
+
7
+ ---
8
+
9
+ ## 📊 Agent Overview
10
+
11
+ | **Category** | **Count** | **Description** |
12
+ |--------------|-----------|-----------------|
13
+ | Core Development | 5 | Essential development agents (coder, planner, researcher, reviewer, tester) |
14
+ | Swarm Coordination | 5 | Swarm topology and coordination management |
15
+ | Consensus & Fault Tolerance | 7 | Distributed consensus and Byzantine fault tolerance |
16
+ | GitHub Integration | 12 | Complete GitHub workflow automation |
17
+ | Specialized Domain | 8 | Domain-specific development (mobile, ML, backend) |
18
+ | Analysis & Code Quality | 6 | Code analysis, review, and quality assurance |
19
+ | Testing & Validation | 4 | Comprehensive testing and validation |
20
+ | Infrastructure & DevOps | 5 | CI/CD, deployment, and infrastructure |
21
+ | SPARC Methodology | 4 | Specification, Pseudocode, Architecture, Refinement, Code |
22
+ | Template & Automation | 9+ | Template generation and automation agents |
23
+
24
+ **Total Agents**: 65+
25
+
26
+ ---
27
+
28
+ ## 🏗️ 1. Core Development Agents
29
+
30
+ ### `coder`
31
+ **Type**: Implementation Specialist
32
+ **Purpose**: Code generation, refactoring, and implementation
33
+ **Key Capabilities**:
34
+ - TypeScript/JavaScript code generation
35
+ - API implementation and integration
36
+ - Database schema design and implementation
37
+ - Code refactoring and optimization
38
+ - Bug fixing and feature implementation
39
+
40
+ **Usage Examples**:
41
+ ```bash
42
+ npx claude-flow@alpha agent spawn coder --name "API-Builder"
43
+ npx claude-flow@alpha task assign coder "implement REST API endpoints"
44
+ ```
45
+
46
+ ### `planner`
47
+ **Type**: Strategic Planning
48
+ **Purpose**: Project planning, task breakdown, and roadmap creation
49
+ **Key Capabilities**:
50
+ - Strategic project planning
51
+ - Task decomposition and prioritization
52
+ - Timeline estimation and milestone planning
53
+ - Resource allocation planning
54
+ - Risk assessment and mitigation planning
55
+
56
+ **Usage Examples**:
57
+ ```bash
58
+ npx claude-flow@alpha agent spawn planner --name "Project-Strategist"
59
+ npx claude-flow@alpha sparc run planner "create microservices architecture plan"
60
+ ```
61
+
62
+ ### `researcher`
63
+ **Type**: Information Gathering
64
+ **Purpose**: Research, analysis, and knowledge discovery
65
+ **Key Capabilities**:
66
+ - Technology research and evaluation
67
+ - Best practices discovery
68
+ - Market and competitor analysis
69
+ - Documentation research
70
+ - Problem space exploration
71
+
72
+ **Usage Examples**:
73
+ ```bash
74
+ npx claude-flow@alpha agent spawn researcher --name "Tech-Scout"
75
+ npx claude-flow@alpha task assign researcher "research GraphQL best practices"
76
+ ```
77
+
78
+ ### `reviewer`
79
+ **Type**: Quality Assurance
80
+ **Purpose**: Code reviews, best practices enforcement
81
+ **Key Capabilities**:
82
+ - Code quality assessment
83
+ - Security vulnerability detection
84
+ - Best practices enforcement
85
+ - Architecture review
86
+ - Performance optimization recommendations
87
+
88
+ **Usage Examples**:
89
+ ```bash
90
+ npx claude-flow@alpha agent spawn reviewer --name "Quality-Guardian"
91
+ npx claude-flow@alpha task assign reviewer "review authentication implementation"
92
+ ```
93
+
94
+ ### `tester`
95
+ **Type**: Test Creation
96
+ **Purpose**: Unit tests, integration tests, and validation
97
+ **Key Capabilities**:
98
+ - Unit test generation (Jest, Mocha)
99
+ - Integration test implementation
100
+ - E2E test automation
101
+ - Test coverage analysis
102
+ - Performance testing
103
+
104
+ **Usage Examples**:
105
+ ```bash
106
+ npx claude-flow@alpha agent spawn tester --name "Test-Master"
107
+ npx claude-flow@alpha sparc tdd "user authentication system"
108
+ ```
109
+
110
+ ---
111
+
112
+ ## 🐝 2. Swarm Coordination Agents
113
+
114
+ ### `hierarchical-coordinator`
115
+ **Type**: Queen-Led Coordination
116
+ **Purpose**: Centralized command and control structure
117
+ **Key Capabilities**:
118
+ - Centralized decision making
119
+ - Task delegation and oversight
120
+ - Resource allocation management
121
+ - Quality control and validation
122
+ - Strategic direction setting
123
+
124
+ **Usage Examples**:
125
+ ```bash
126
+ npx claude-flow@alpha swarm init --topology hierarchical --coordinator queen-coordinator
127
+ npx claude-flow@alpha agent spawn hierarchical-coordinator --name "Queen-Genesis"
128
+ ```
129
+
130
+ ### `mesh-coordinator`
131
+ **Type**: Peer-to-Peer Coordination
132
+ **Purpose**: Distributed coordination without central authority
133
+ **Key Capabilities**:
134
+ - Peer-to-peer task coordination
135
+ - Distributed decision making
136
+ - Load balancing across agents
137
+ - Fault tolerance through redundancy
138
+ - Adaptive task redistribution
139
+
140
+ **Usage Examples**:
141
+ ```bash
142
+ npx claude-flow@alpha swarm init --topology mesh --max-agents 8
143
+ npx claude-flow@alpha agent spawn mesh-coordinator --name "Mesh-Alpha"
144
+ ```
145
+
146
+ ### `adaptive-coordinator`
147
+ **Type**: Dynamic Topology Management
148
+ **Purpose**: Adaptive coordination based on workload and conditions
149
+ **Key Capabilities**:
150
+ - Dynamic topology adjustment
151
+ - Real-time load balancing
152
+ - Performance-based agent selection
153
+ - Automatic scaling decisions
154
+ - Context-aware coordination
155
+
156
+ **Usage Examples**:
157
+ ```bash
158
+ npx claude-flow@alpha swarm init --topology adaptive --auto-scale
159
+ npx claude-flow@alpha agent spawn adaptive-coordinator --name "Adaptive-Prime"
160
+ ```
161
+
162
+ ### `collective-intelligence-coordinator`
163
+ **Type**: Hive-Mind Coordination
164
+ **Purpose**: Collective intelligence and shared knowledge
165
+ **Key Capabilities**:
166
+ - Shared knowledge base management
167
+ - Collective decision making
168
+ - Distributed learning and adaptation
169
+ - Consensus-based planning
170
+ - Emergent intelligence coordination
171
+
172
+ **Usage Examples**:
173
+ ```bash
174
+ npx claude-flow@alpha hive-mind spawn --collective-intelligence
175
+ npx claude-flow@alpha agent spawn collective-intelligence-coordinator --name "Hive-Mind"
176
+ ```
177
+
178
+ ### `swarm-memory-manager`
179
+ **Type**: Distributed Memory Coordination
180
+ **Purpose**: Persistent memory and knowledge management
181
+ **Key Capabilities**:
182
+ - Distributed memory coordination
183
+ - Knowledge persistence and retrieval
184
+ - Cross-agent information sharing
185
+ - Memory consistency management
186
+ - Historical data management
187
+
188
+ **Usage Examples**:
189
+ ```bash
190
+ npx claude-flow@alpha agent spawn swarm-memory-manager --name "Memory-Keeper"
191
+ npx claude-flow@alpha memory distributed init --coordinator swarm-memory-manager
192
+ ```
193
+
194
+ ---
195
+
196
+ ## ⚖️ 3. Consensus & Fault Tolerance Agents
197
+
198
+ ### `byzantine-coordinator`
199
+ **Type**: Byzantine Fault Tolerance
200
+ **Purpose**: Fault tolerance in adversarial conditions
201
+ **Key Capabilities**:
202
+ - Byzantine fault tolerance implementation
203
+ - Malicious agent detection
204
+ - Secure consensus protocols
205
+ - Network partition handling
206
+ - Security threat mitigation
207
+
208
+ ### `raft-manager`
209
+ **Type**: Leader Election
210
+ **Purpose**: Raft consensus algorithm implementation
211
+ **Key Capabilities**:
212
+ - Leader election management
213
+ - Log replication coordination
214
+ - Consensus state management
215
+ - Failure detection and recovery
216
+ - Cluster membership management
217
+
218
+ ### `consensus-builder`
219
+ **Type**: Decision-Making Coordination
220
+ **Purpose**: Multi-agent consensus and decision making
221
+ **Key Capabilities**:
222
+ - Voting protocol coordination
223
+ - Quorum management
224
+ - Conflict resolution
225
+ - Decision aggregation
226
+ - Consensus threshold management
227
+
228
+ ### `quorum-manager`
229
+ **Type**: Quorum Management
230
+ **Purpose**: Quorum-based decision making
231
+ **Key Capabilities**:
232
+ - Quorum size determination
233
+ - Voting coordination
234
+ - Majority decision enforcement
235
+ - Member availability tracking
236
+ - Quorum recovery management
237
+
238
+ ### `gossip-coordinator`
239
+ **Type**: Gossip Protocol Management
240
+ **Purpose**: Information dissemination and coordination
241
+ **Key Capabilities**:
242
+ - Gossip protocol implementation
243
+ - Information spreading coordination
244
+ - Network topology maintenance
245
+ - Rumor tracking and verification
246
+ - Epidemic-style communication
247
+
248
+ ### `crdt-synchronizer`
249
+ **Type**: Conflict-Free Replicated Data Types
250
+ **Purpose**: Distributed data synchronization
251
+ **Key Capabilities**:
252
+ - CRDT implementation and management
253
+ - Conflict-free data synchronization
254
+ - Eventual consistency coordination
255
+ - Merge operation management
256
+ - Distributed state reconciliation
257
+
258
+ ### `security-manager`
259
+ **Type**: Security Coordination
260
+ **Purpose**: Security and access control management
261
+ **Key Capabilities**:
262
+ - Access control enforcement
263
+ - Security policy management
264
+ - Threat detection and response
265
+ - Encryption key management
266
+ - Audit trail maintenance
267
+
268
+ ---
269
+
270
+ ## 🐙 4. GitHub Integration Agents
271
+
272
+ ### `github-modes`
273
+ **Type**: Comprehensive GitHub Integration
274
+ **Purpose**: Complete GitHub workflow orchestration
275
+ **Key Capabilities**:
276
+ - GitHub workflow orchestration
277
+ - Multi-repository coordination
278
+ - Branch management and strategies
279
+ - Webhook handling and automation
280
+ - GitHub API integration
281
+
282
+ ### `pr-manager`
283
+ **Type**: Pull Request Management
284
+ **Purpose**: Automated PR management and review
285
+ **Key Capabilities**:
286
+ - Automated PR creation and updates
287
+ - Multi-reviewer coordination
288
+ - Conflict resolution assistance
289
+ - Review assignment optimization
290
+ - Merge strategy enforcement
291
+
292
+ ### `code-review-swarm`
293
+ **Type**: Multi-Agent Code Review
294
+ **Purpose**: Distributed code review coordination
295
+ **Key Capabilities**:
296
+ - Multi-agent review coordination
297
+ - Specialized review assignment
298
+ - Code quality assessment
299
+ - Security vulnerability scanning
300
+ - Review consensus building
301
+
302
+ ### `issue-tracker`
303
+ **Type**: Issue Management
304
+ **Purpose**: Intelligent issue tracking and management
305
+ **Key Capabilities**:
306
+ - Issue classification and prioritization
307
+ - Automated issue assignment
308
+ - Progress tracking and reporting
309
+ - Issue relationship mapping
310
+ - Resolution coordination
311
+
312
+ ### `release-manager`
313
+ **Type**: Release Coordination
314
+ **Purpose**: Release planning and deployment coordination
315
+ **Key Capabilities**:
316
+ - Release planning and scheduling
317
+ - Changelog generation
318
+ - Deployment coordination
319
+ - Rollback management
320
+ - Version management
321
+
322
+ ### `repo-architect`
323
+ **Type**: Repository Architecture
324
+ **Purpose**: Repository structure and organization
325
+ **Key Capabilities**:
326
+ - Repository structure design
327
+ - Branching strategy optimization
328
+ - Workflow template creation
329
+ - CI/CD pipeline design
330
+ - Repository governance
331
+
332
+ ### `project-board-sync`
333
+ **Type**: Project Board Management
334
+ **Purpose**: GitHub project board synchronization
335
+ **Key Capabilities**:
336
+ - Project board automation
337
+ - Card movement coordination
338
+ - Progress visualization
339
+ - Milestone tracking
340
+ - Team coordination
341
+
342
+ ### `workflow-automation`
343
+ **Type**: GitHub Actions Automation
344
+ **Purpose**: GitHub Actions workflow management
345
+ **Key Capabilities**:
346
+ - Workflow design and optimization
347
+ - Action marketplace integration
348
+ - CI/CD pipeline management
349
+ - Secret management
350
+ - Workflow debugging
351
+
352
+ ### `sync-coordinator`
353
+ **Type**: Multi-Repository Synchronization
354
+ **Purpose**: Cross-repository coordination
355
+ **Key Capabilities**:
356
+ - Multi-repo synchronization
357
+ - Dependency tracking
358
+ - Cross-repo issue linking
359
+ - Unified release coordination
360
+ - Repository relationship management
361
+
362
+ ### `swarm-issue`
363
+ **Type**: Swarm-Based Issue Resolution
364
+ **Purpose**: Multi-agent issue resolution
365
+ **Key Capabilities**:
366
+ - Swarm-based problem solving
367
+ - Issue decomposition
368
+ - Parallel resolution strategies
369
+ - Resource coordination
370
+ - Solution integration
371
+
372
+ ### `swarm-pr`
373
+ **Type**: Swarm-Based PR Management
374
+ **Purpose**: Multi-agent PR handling
375
+ **Key Capabilities**:
376
+ - Distributed PR review
377
+ - Parallel development coordination
378
+ - Merge conflict resolution
379
+ - Quality assurance coordination
380
+ - Integration testing
381
+
382
+ ### `multi-repo-swarm`
383
+ **Type**: Multi-Repository Swarm Coordination
384
+ **Purpose**: Large-scale repository management
385
+ **Key Capabilities**:
386
+ - Multi-repository coordination
387
+ - Distributed development management
388
+ - Cross-repo dependency tracking
389
+ - Unified build coordination
390
+ - Release synchronization
391
+
392
+ ---
393
+
394
+ ## 💻 5. Specialized Domain Agents
395
+
396
+ ### `backend-dev`
397
+ **Type**: Server Development
398
+ **Purpose**: API development, databases, and server-side services
399
+ **Key Capabilities**:
400
+ - REST/GraphQL API development
401
+ - Database design and optimization
402
+ - Microservices architecture
403
+ - Authentication and authorization
404
+ - Server-side optimization
405
+
406
+ ### `mobile-dev`
407
+ **Type**: Mobile Application Development
408
+ **Purpose**: React Native, iOS, and Android development
409
+ **Key Capabilities**:
410
+ - React Native development
411
+ - Native iOS/Android integration
412
+ - Mobile UI/UX optimization
413
+ - Performance optimization
414
+ - App store deployment
415
+
416
+ ### `ml-developer`
417
+ **Type**: Machine Learning
418
+ **Purpose**: Model training, deployment, and ML pipelines
419
+ **Key Capabilities**:
420
+ - Machine learning model development
421
+ - Data pipeline creation
422
+ - Model training and optimization
423
+ - ML deployment strategies
424
+ - Performance monitoring
425
+
426
+ ### `system-architect`
427
+ **Type**: High-Level System Design
428
+ **Purpose**: Architecture design and system planning
429
+ **Key Capabilities**:
430
+ - System architecture design
431
+ - Scalability planning
432
+ - Technology stack selection
433
+ - Integration pattern design
434
+ - Performance architecture
435
+
436
+ ### `sparc-coder`
437
+ **Type**: SPARC TDD Implementation
438
+ **Purpose**: Test-driven development using SPARC methodology
439
+ **Key Capabilities**:
440
+ - SPARC methodology implementation
441
+ - Test-driven development
442
+ - Specification-based coding
443
+ - Iterative refinement
444
+ - Quality-focused development
445
+
446
+ ### `production-validator`
447
+ **Type**: Production Validation
448
+ **Purpose**: Real-world validation and testing
449
+ **Key Capabilities**:
450
+ - Production environment validation
451
+ - Real-world testing scenarios
452
+ - Performance validation
453
+ - Security assessment
454
+ - Deployment verification
455
+
456
+ ### `api-docs`
457
+ **Type**: API Documentation
458
+ **Purpose**: OpenAPI and API documentation generation
459
+ **Key Capabilities**:
460
+ - OpenAPI specification generation
461
+ - API documentation creation
462
+ - Interactive documentation
463
+ - Code example generation
464
+ - Documentation maintenance
465
+
466
+ ### `cicd-engineer`
467
+ **Type**: CI/CD Pipeline Management
468
+ **Purpose**: Continuous integration and deployment
469
+ **Key Capabilities**:
470
+ - CI/CD pipeline design
471
+ - Build automation
472
+ - Deployment strategies
473
+ - Pipeline optimization
474
+ - Quality gates implementation
475
+
476
+ ---
477
+
478
+ ## 🔍 6. Analysis & Code Quality Agents
479
+
480
+ ### `code-analyzer`
481
+ **Type**: Code Analysis
482
+ **Purpose**: Static code analysis and quality assessment
483
+ **Key Capabilities**:
484
+ - Static code analysis
485
+ - Code complexity assessment
486
+ - Technical debt identification
487
+ - Refactoring recommendations
488
+ - Code pattern recognition
489
+
490
+ ### `perf-analyzer`
491
+ **Type**: Performance Analysis
492
+ **Purpose**: Bottleneck identification and optimization
493
+ **Key Capabilities**:
494
+ - Performance bottleneck identification
495
+ - Resource usage analysis
496
+ - Optimization recommendations
497
+ - Load testing coordination
498
+ - Performance monitoring
499
+
500
+ ### `performance-benchmarker`
501
+ **Type**: Performance Testing
502
+ **Purpose**: Comprehensive performance benchmarking
503
+ **Key Capabilities**:
504
+ - Performance benchmark creation
505
+ - Load testing execution
506
+ - Stress testing coordination
507
+ - Performance regression detection
508
+ - Benchmark reporting
509
+
510
+ ### `analyze-code-quality`
511
+ **Type**: Code Quality Assessment
512
+ **Purpose**: Comprehensive code quality analysis
513
+ **Key Capabilities**:
514
+ - Code quality metrics
515
+ - Maintainability assessment
516
+ - Design pattern analysis
517
+ - Code smell detection
518
+ - Quality improvement recommendations
519
+
520
+ ### `refactoring-specialist`
521
+ **Type**: Code Refactoring
522
+ **Purpose**: Code refactoring and improvement
523
+ **Key Capabilities**:
524
+ - Code refactoring strategies
525
+ - Design pattern implementation
526
+ - Legacy code modernization
527
+ - Performance optimization
528
+ - Architecture improvement
529
+
530
+ ### `security-analyzer`
531
+ **Type**: Security Analysis
532
+ **Purpose**: Security vulnerability assessment
533
+ **Key Capabilities**:
534
+ - Security vulnerability scanning
535
+ - Threat modeling
536
+ - Security best practices enforcement
537
+ - Compliance assessment
538
+ - Security remediation
539
+
540
+ ---
541
+
542
+ ## 🧪 7. Testing & Validation Agents
543
+
544
+ ### `tdd-london-swarm`
545
+ **Type**: London-Style TDD
546
+ **Purpose**: London school test-driven development
547
+ **Key Capabilities**:
548
+ - Outside-in TDD approach
549
+ - Mock-based testing
550
+ - Behavior specification
551
+ - Test isolation
552
+ - Design emergence
553
+
554
+ ### `unit-test-specialist`
555
+ **Type**: Unit Testing
556
+ **Purpose**: Comprehensive unit test creation
557
+ **Key Capabilities**:
558
+ - Unit test generation
559
+ - Test coverage optimization
560
+ - Test maintainability
561
+ - Assertion strategies
562
+ - Test performance
563
+
564
+ ### `integration-tester`
565
+ **Type**: Integration Testing
566
+ **Purpose**: System integration validation
567
+ **Key Capabilities**:
568
+ - Integration test design
569
+ - API testing
570
+ - Database integration testing
571
+ - Service integration validation
572
+ - End-to-end testing
573
+
574
+ ### `e2e-automation`
575
+ **Type**: End-to-End Testing
576
+ **Purpose**: Full system validation
577
+ **Key Capabilities**:
578
+ - E2E test automation
579
+ - User journey testing
580
+ - Cross-browser testing
581
+ - Mobile testing
582
+ - Visual regression testing
583
+
584
+ ---
585
+
586
+ ## 🏗️ 8. Infrastructure & DevOps Agents
587
+
588
+ ### `ops-cicd-github`
589
+ **Type**: GitHub CI/CD Operations
590
+ **Purpose**: GitHub Actions and CI/CD management
591
+ **Key Capabilities**:
592
+ - GitHub Actions workflow creation
593
+ - CI/CD pipeline optimization
594
+ - Deployment automation
595
+ - Environment management
596
+ - Release automation
597
+
598
+ ### `infrastructure-specialist`
599
+ **Type**: Infrastructure Management
600
+ **Purpose**: Cloud infrastructure and deployment
601
+ **Key Capabilities**:
602
+ - Infrastructure as Code
603
+ - Cloud resource management
604
+ - Container orchestration
605
+ - Networking configuration
606
+ - Monitoring setup
607
+
608
+ ### `deployment-coordinator`
609
+ **Type**: Deployment Management
610
+ **Purpose**: Application deployment coordination
611
+ **Key Capabilities**:
612
+ - Deployment strategy implementation
613
+ - Blue-green deployments
614
+ - Canary releases
615
+ - Rollback management
616
+ - Environment promotion
617
+
618
+ ### `monitoring-specialist`
619
+ **Type**: System Monitoring
620
+ **Purpose**: Application and infrastructure monitoring
621
+ **Key Capabilities**:
622
+ - Monitoring setup and configuration
623
+ - Alert management
624
+ - Performance tracking
625
+ - Log aggregation
626
+ - Dashboard creation
627
+
628
+ ### `cloud-architect`
629
+ **Type**: Cloud Architecture
630
+ **Purpose**: Cloud-native architecture design
631
+ **Key Capabilities**:
632
+ - Cloud architecture design
633
+ - Multi-cloud strategies
634
+ - Cost optimization
635
+ - Security architecture
636
+ - Disaster recovery planning
637
+
638
+ ---
639
+
640
+ ## 📋 9. SPARC Methodology Agents
641
+
642
+ ### `specification`
643
+ **Type**: SPARC Specification Phase
644
+ **Purpose**: Requirements specification and analysis
645
+ **Key Capabilities**:
646
+ - Requirements gathering and analysis
647
+ - User story creation
648
+ - Acceptance criteria definition
649
+ - Specification documentation
650
+ - Stakeholder communication
651
+
652
+ ### `pseudocode`
653
+ **Type**: SPARC Pseudocode Phase
654
+ **Purpose**: Algorithm design and pseudocode creation
655
+ **Key Capabilities**:
656
+ - Algorithm design
657
+ - Pseudocode generation
658
+ - Logic flow documentation
659
+ - Complexity analysis
660
+ - Implementation planning
661
+
662
+ ### `architecture`
663
+ **Type**: SPARC Architecture Phase
664
+ **Purpose**: System architecture and design
665
+ **Key Capabilities**:
666
+ - System architecture design
667
+ - Component interaction design
668
+ - Interface definition
669
+ - Technology selection
670
+ - Architecture documentation
671
+
672
+ ### `refinement`
673
+ **Type**: SPARC Refinement Phase
674
+ **Purpose**: Design refinement and optimization
675
+ **Key Capabilities**:
676
+ - Design refinement
677
+ - Performance optimization
678
+ - Security enhancement
679
+ - Scalability improvement
680
+ - Quality validation
681
+
682
+ ---
683
+
684
+ ## 🔧 10. Template & Automation Agents
685
+
686
+ ### `base-template-generator`
687
+ **Type**: Template Generation
688
+ **Purpose**: Base template and scaffold creation
689
+ **Key Capabilities**:
690
+ - Project template generation
691
+ - Scaffold creation
692
+ - Boilerplate code generation
693
+ - Configuration template creation
694
+ - Documentation templates
695
+
696
+ ### `automation-smart-agent`
697
+ **Type**: Smart Automation
698
+ **Purpose**: Intelligent automation and workflow creation
699
+ **Key Capabilities**:
700
+ - Workflow automation
701
+ - Task automation
702
+ - Process optimization
703
+ - Rule-based automation
704
+ - Intelligent scheduling
705
+
706
+ ### `coordinator-swarm-init`
707
+ **Type**: Swarm Initialization
708
+ **Purpose**: Swarm setup and initialization
709
+ **Key Capabilities**:
710
+ - Swarm topology setup
711
+ - Agent configuration
712
+ - Communication channel setup
713
+ - Resource allocation
714
+ - Initial task distribution
715
+
716
+ ### `implementer-sparc-coder`
717
+ **Type**: SPARC Implementation
718
+ **Purpose**: SPARC-based code implementation
719
+ **Key Capabilities**:
720
+ - SPARC methodology implementation
721
+ - Code generation from specifications
722
+ - Iterative development
723
+ - Quality assurance
724
+ - Documentation generation
725
+
726
+ ### `memory-coordinator`
727
+ **Type**: Memory Management
728
+ **Purpose**: Distributed memory coordination
729
+ **Key Capabilities**:
730
+ - Memory pool management
731
+ - Data consistency coordination
732
+ - Cache management
733
+ - Persistence strategies
734
+ - Memory optimization
735
+
736
+ ### `orchestrator-task`
737
+ **Type**: Task Orchestration
738
+ **Purpose**: Complex task coordination and management
739
+ **Key Capabilities**:
740
+ - Task decomposition
741
+ - Dependency management
742
+ - Resource scheduling
743
+ - Progress tracking
744
+ - Result aggregation
745
+
746
+ ### `performance-analyzer`
747
+ **Type**: Performance Analysis
748
+ **Purpose**: System and application performance analysis
749
+ **Key Capabilities**:
750
+ - Performance profiling
751
+ - Bottleneck identification
752
+ - Resource utilization analysis
753
+ - Optimization recommendations
754
+ - Performance reporting
755
+
756
+ ### `sparc-coordinator`
757
+ **Type**: SPARC Coordination
758
+ **Purpose**: SPARC methodology coordination
759
+ **Key Capabilities**:
760
+ - SPARC phase coordination
761
+ - Process orchestration
762
+ - Quality gate management
763
+ - Milestone tracking
764
+ - Deliverable coordination
765
+
766
+ ### `migration-plan`
767
+ **Type**: Migration Planning
768
+ **Purpose**: System and data migration planning
769
+ **Key Capabilities**:
770
+ - Migration strategy development
771
+ - Risk assessment
772
+ - Timeline planning
773
+ - Resource allocation
774
+ - Rollback planning
775
+
776
+ ---
777
+
778
+ ## 🚀 Usage Patterns
779
+
780
+ ### Single Agent Usage
781
+ ```bash
782
+ # Spawn individual agents
783
+ npx claude-flow@alpha agent spawn coder --name "API-Builder"
784
+ npx claude-flow@alpha agent spawn reviewer --name "Code-Guardian"
785
+
786
+ # Assign tasks to specific agents
787
+ npx claude-flow@alpha task assign coder "implement user authentication"
788
+ npx claude-flow@alpha task assign tester "create unit tests for auth module"
789
+ ```
790
+
791
+ ### Swarm Coordination
792
+ ```bash
793
+ # Initialize different swarm topologies
794
+ npx claude-flow@alpha swarm init --topology hierarchical --max-agents 8
795
+ npx claude-flow@alpha swarm init --topology mesh --agents researcher,coder,tester
796
+ npx claude-flow@alpha swarm init --topology adaptive --auto-scale
797
+
798
+ # Batch agent spawning for complex projects
799
+ npx claude-flow@alpha swarm spawn \
800
+ --agents system-architect,backend-dev,frontend-dev,tester,reviewer \
801
+ --task "build e-commerce platform"
802
+ ```
803
+
804
+ ### SPARC Development Workflow
805
+ ```bash
806
+ # Full SPARC methodology execution
807
+ npx claude-flow@alpha sparc pipeline "user authentication system"
808
+ npx claude-flow@alpha sparc run specification "define user management requirements"
809
+ npx claude-flow@alpha sparc run architecture "design auth system architecture"
810
+ npx claude-flow@alpha sparc run code "implement authentication module"
811
+ ```
812
+
813
+ ### GitHub Integration
814
+ ```bash
815
+ # GitHub workflow automation
816
+ npx claude-flow@alpha github pr-manager "review and merge feature branch"
817
+ npx claude-flow@alpha github issue-tracker "manage project issues"
818
+ npx claude-flow@alpha github release-manager "prepare v2.0.0 release"
819
+ ```
820
+
821
+ ---
822
+
823
+ ## 🔗 Agent Coordination Patterns
824
+
825
+ ### Hierarchical Pattern (Queen-Led)
826
+ ```
827
+ Queen (hierarchical-coordinator)
828
+ ├── Architect (system-architect)
829
+ ├── Workers (coder, backend-dev, mobile-dev)
830
+ ├── Quality (reviewer, tester)
831
+ └── Guardian (security-analyzer)
832
+ ```
833
+
834
+ ### Mesh Pattern (Peer-to-Peer)
835
+ ```
836
+ All agents coordinate directly:
837
+ coder ↔ reviewer ↔ tester ↔ planner
838
+ ↕ ↕ ↕ ↕
839
+ researcher ↔ backend-dev ↔ mobile-dev
840
+ ```
841
+
842
+ ### Adaptive Pattern (Dynamic)
843
+ ```
844
+ Coordinator (adaptive-coordinator)
845
+ ├── Dynamic Agent Pool
846
+ ├── Load Balancer (load-balancer)
847
+ ├── Performance Monitor (performance-benchmarker)
848
+ └── Auto-scaling Logic
849
+ ```
850
+
851
+ ---
852
+
853
+ ## 📊 Agent Selection Guidelines
854
+
855
+ ### Project Type → Recommended Agents
856
+
857
+ **Web Application**:
858
+ - Core: `planner`, `system-architect`, `backend-dev`, `coder`, `tester`
859
+ - Quality: `reviewer`, `security-analyzer`
860
+ - DevOps: `cicd-engineer`, `deployment-coordinator`
861
+
862
+ **Mobile Application**:
863
+ - Core: `planner`, `mobile-dev`, `backend-dev`, `api-docs`
864
+ - Quality: `tester`, `performance-benchmarker`
865
+ - DevOps: `release-manager`
866
+
867
+ **Machine Learning Project**:
868
+ - Core: `researcher`, `ml-developer`, `data-analyst`
869
+ - Quality: `performance-benchmarker`, `production-validator`
870
+ - Infrastructure: `cloud-architect`, `monitoring-specialist`
871
+
872
+ **Enterprise System**:
873
+ - Coordination: `hierarchical-coordinator`, `consensus-builder`
874
+ - Core: `system-architect`, `backend-dev`, `security-analyzer`
875
+ - Quality: `code-review-swarm`, `integration-tester`
876
+ - DevOps: `infrastructure-specialist`, `monitoring-specialist`
877
+
878
+ ---
879
+
880
+ ## 🛠️ Advanced Configuration
881
+
882
+ ### Agent Capabilities Matrix
883
+ ```yaml
884
+ agent_capabilities:
885
+ coder:
886
+ languages: [typescript, javascript, python]
887
+ frameworks: [react, node.js, express]
888
+ tools: [git, npm, docker]
889
+ max_concurrent_tasks: 3
890
+
891
+ reviewer:
892
+ analysis_types: [security, performance, quality]
893
+ languages: [typescript, javascript]
894
+ max_review_size: 500_lines
895
+
896
+ tester:
897
+ test_types: [unit, integration, e2e]
898
+ frameworks: [jest, cypress, playwright]
899
+ coverage_threshold: 80
900
+ ```
901
+
902
+ ### Custom Agent Creation
903
+ ```yaml
904
+ # .claude/agents/custom/my-specialist.md
905
+ ---
906
+ name: my-specialist
907
+ description: Custom specialized agent for specific domain
908
+ capabilities:
909
+ - domain-specific-capability
910
+ - custom-tool-integration
911
+ tools: [custom-tool, domain-api]
912
+ priority: high
913
+ ---
914
+
915
+ # Custom Agent Implementation
916
+ [Agent prompt and behavior definition]
917
+ ```
918
+
919
+ ---
920
+
921
+ ## 🔍 Monitoring & Analytics
922
+
923
+ ### Agent Performance Metrics
924
+ ```bash
925
+ # View agent performance
926
+ npx claude-flow@alpha metrics agents --detailed
927
+ npx claude-flow@alpha performance analyze --agent-type coder
928
+ npx claude-flow@alpha swarm status --topology hierarchical
929
+ ```
930
+
931
+ ### Real-time Monitoring
932
+ ```bash
933
+ # Monitor swarm coordination
934
+ npx claude-flow@alpha monitor swarm --real-time
935
+ npx claude-flow@alpha dashboard --agents --performance
936
+ ```
937
+
938
+ ---
939
+
940
+ ## 📚 Best Practices
941
+
942
+ ### 1. Agent Selection
943
+ - Match agent capabilities to task requirements
944
+ - Consider agent load and availability
945
+ - Use specialized agents for domain-specific tasks
946
+ - Leverage swarm coordination for complex projects
947
+
948
+ ### 2. Swarm Coordination
949
+ - Use hierarchical topology for large, structured projects
950
+ - Use mesh topology for collaborative, peer-level work
951
+ - Use adaptive topology for dynamic, changing requirements
952
+ - Monitor and adjust topology based on performance
953
+
954
+ ### 3. Performance Optimization
955
+ - Batch similar tasks to reduce context switching
956
+ - Use memory coordination for knowledge sharing
957
+ - Monitor agent resource usage and optimize allocation
958
+ - Implement proper error handling and recovery
959
+
960
+ ### 4. Quality Assurance
961
+ - Always include reviewer agents in production workflows
962
+ - Use multiple specialized agents for comprehensive coverage
963
+ - Implement consensus mechanisms for critical decisions
964
+ - Maintain audit trails for compliance and debugging
965
+
966
+ ---
967
+
968
+ ## 🚀 Future Roadmap
969
+
970
+ ### Planned Agent Types
971
+ - **Quantum Computing Specialist**: Quantum algorithm development
972
+ - **IoT Coordinator**: Internet of Things device management
973
+ - **Blockchain Developer**: Smart contract and DApp development
974
+ - **AI Ethics Auditor**: AI bias and ethics assessment
975
+ - **Sustainability Analyzer**: Carbon footprint and sustainability assessment
976
+
977
+ ### Enhanced Capabilities
978
+ - Multi-modal agent communication
979
+ - Advanced learning and adaptation
980
+ - Predictive task assignment
981
+ - Autonomous agent creation
982
+ - Cross-platform integration
983
+
984
+ ---
985
+
986
+ ## 📮 Support & Resources
987
+
988
+ ### Documentation
989
+ - [Agent API Reference](/docs/API_DOCUMENTATION.md)
990
+ - [Swarm Coordination Guide](/docs/SWARM_DOCUMENTATION.md)
991
+ - [Architecture Overview](/docs/ARCHITECTURE.md)
992
+
993
+ ### Community
994
+ - [GitHub Repository](https://github.com/ruvnet/claude-flow)
995
+ - [Discord Community](https://discord.gg/claude-flow)
996
+ - [Issue Tracker](https://github.com/ruvnet/claude-flow/issues)
997
+
998
+ ### Contact
999
+ - **Email**: support@claude-flow.ai
1000
+ - **Documentation**: https://claude-flow.ai/docs
1001
+ - **Blog**: https://blog.claude-flow.ai
1002
+
1003
+ ---
1004
+
1005
+ <div align="center">
1006
+
1007
+ **🤖 65+ Specialized Agents • 🐝 Intelligent Swarm Coordination • 🚀 Enterprise-Ready**
1008
+
1009
+ [⬆ Back to Top](#-claude-flow-agent-reference)
1010
+
1011
+ </div>