π The original agent harness. Deploy intelligent multi-player swarms, coordinate autonomous workflows, and build conversational AI systems. Features adaptive memory, self-learning intelligence, federation, vector RAG integration, and native Claude Code / Codex / Hermes and many more Integrated
TypeScript agentic-aiagentic-frameworkagentic-workflowagentsai-agentsai-assistantai-skillsautonomous-agentsclaudecodexdsh-pluginharnessmcp-servermulti-agentmulti-agent-systemsnpmskillsswarmswarm-intelligencetypescript
Checkpoint: File edits
rUv88843884e030
diff --git a/v3/@claude-flow/cli/.claude/commands/swarm/swarm.md b/v3/@claude-flow/cli/.claude/commands/swarm/swarm.mdindex 6912c41629..8e510e3101 100644--- a/v3/@claude-flow/cli/.claude/commands/swarm/swarm.md+++ b/v3/@claude-flow/cli/.claude/commands/swarm/swarm.md@@ -1,4 +1,4 @@-# swarm+# /swarmMain swarm orchestration command for Claude Flow V3.@@ -8,51 +8,80 @@ Main swarm orchestration command for Claude Flow V3.1. **Spawn ALL agents in background** using `run_in_background: true`2. **Put ALL Task calls in ONE message** for parallel execution-3. **Tell user what's happening** with clear agent list+3. **Display status board** with ASCII table and emojis4. **STOP and WAIT** - don't add more tool calls or poll status+## β CORRECT Spawn Pattern+```javascript-// β CORRECT: Background parallel agents in ONE message+// Spawn ALL agents IN BACKGROUND in ONE messageTask({ prompt: "Research...", subagent_type: "researcher", run_in_background: true })-Task({ prompt: "Code...", subagent_type: "coder", run_in_background: true })+Task({ prompt: "Design...", subagent_type: "architect", run_in_background: true })+Task({ prompt: "Implement...", subagent_type: "coder", run_in_background: true })Task({ prompt: "Test...", subagent_type: "tester", run_in_background: true })--// Then TELL USER and STOP:-"I've launched 3 agents working in parallel. They'll report when done."+Task({ prompt: "Review...", subagent_type: "reviewer", run_in_background: true })```-```javascript-// β WRONG: Don't poll or check status-TaskOutput({ task_id: "..." }) // NO!-swarm status // NO!-"Should I check on the agents?" // NO!+## π Required Status Display (ASCII Table)++**After spawning, Claude Code MUST display this status board:**++```+ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ+β π SWARM LAUNCHED β+β βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ£+β π Task: [user's task description] β+β π Topology: hierarchical β π₯ Agents: 5/15 β+β βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ£+β AGENT β STATUS β TASK β+β βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ£+β π Researcher β π’ ACTIVE β Analyzing requirements β+β ποΈ Architect β π’ ACTIVE β Designing approach β+β π» Coder β π’ ACTIVE β Implementing solution β+β π§ͺ Tester β π’ ACTIVE β Writing tests β+β π Reviewer β π’ ACTIVE β Code review & security β+β βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ£+β β³ Working in parallel... Results will arrive automatically β+ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ```-## Usage-```bash-npx @claude-flow/cli@latest swarm <objective> [options]+## β DO NOT++```+TaskOutput({ task_id: "..." }) // β Don't poll+"Should I check on agents?" // β Don't ask+swarm status // β Don't check repeatedly```-## Options-- `--strategy <type>` - Execution strategy (research, development, analysis, testing)-- `--topology <type>` - Swarm topology (hierarchical, mesh, ring, star)-- `--max-agents <n>` - Maximum number of agents (default: 15)-- `--background` - Run agents in background (default: true)-- `--parallel` - Enable parallel execution (default: true)+## π Agent Types by Task-## Examples+```+βββββββββββββββββββββ¦ββββββββββββββββββββββββββββββββββββββββββββββ+β TASK TYPE β AGENTS β+β ββββββββββββββββββββ¬ββββββββββββββββββββββββββββββββββββββββββββββ£+β π New Feature β researcher, architect, coder, tester, rev β+β π Bug Fix β researcher, coder, tester β+β β»οΈ Refactor β architect, coder, reviewer β+β π Security β security-architect, auditor, reviewer β+β β‘ Performance β researcher, perf-engineer, coder β+β π Documentation β researcher, api-docs β+βββββββββββββββββββββ©ββββββββββββββββββββββββββββββββββββββββββββββ+```++## Usage```bash-# Initialize swarmnpx @claude-flow/cli@latest swarm init --topology hierarchical--# Check status (ONLY when agents complete)-npx @claude-flow/cli@latest swarm status+npx @claude-flow/cli@latest swarm status # Only after completion```-## Agent Types by Task-| Task | Agents |-|------|--------|-| New Feature | researcher, architect, coder, tester, reviewer |-| Bug Fix | researcher, coder, tester |-| Refactor | architect, coder, reviewer |-| Security | security-architect, security-auditor, reviewer |+## Options+```+ββββββββββββββββββββββββββ¦ββββββββββββββββββββββββββββββββββββββββ+β OPTION β DESCRIPTION β+β βββββββββββββββββββββββββ¬ββββββββββββββββββββββββββββββββββββββββ£+β --strategy <type> β research, development, analysis β+β --topology <type> β hierarchical, mesh, ring, star β+β --max-agents <n> β Maximum agents (default: 15) β+β --background β Run in background (default: true) β+ββββββββββββββββββββββββββ©ββββββββββββββββββββββββββββββββββββββββ+```