π 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
rUve3492ca3821f
diff --git a/v3/CLAUDE.md b/v3/CLAUDE.mdindex c3cbd5629a..cc767da833 100644--- a/v3/CLAUDE.md+++ b/v3/CLAUDE.md@@ -23,11 +23,11 @@ When the user requests a complex task (multi-file changes, feature implementatio```bash# STEP 1: Initialize swarm coordination via CLI (in parallel with agent spawning)-Bash("npx claude-flow@v3alpha swarm init --topology hierarchical --max-agents 15 --strategy adaptive")+Bash("npx @claude-flow/cli@latest swarm init --topology hierarchical --max-agents 15 --strategy adaptive")# STEP 2: Spawn agents concurrently using Claude Code's Task tool# ALL Task calls MUST be in the SAME message for parallel execution-Task("Coordinator", "You are the swarm coordinator. Initialize session, coordinate other agents via memory. Run: npx claude-flow@v3alpha hooks session-start", "hierarchical-coordinator")+Task("Coordinator", "You are the swarm coordinator. Initialize session, coordinate other agents via memory. Run: npx @claude-flow/cli@latest hooks session-start", "hierarchical-coordinator")Task("Researcher", "Analyze requirements and existing code patterns. Store findings in memory via hooks.", "researcher")Task("Architect", "Design implementation approach based on research. Document decisions in memory.", "system-architect")Task("Coder", "Implement the solution following architect's design. Coordinate via hooks.", "coder")@@ -45,7 +45,7 @@ TodoWrite({ todos: []})# STEP 4: Store swarm state in memory via CLI-Bash("npx claude-flow@v3alpha memory store --namespace swarm --key current-session --value '{\"task\": \"[user task]\", \"agents\": 6}'")+Bash("npx @claude-flow/cli@latest memory store --namespace swarm --key current-session --value '{\"task\": \"[user task]\", \"agents\": 6}'")```### π Agent Routing by Task Type@@ -156,28 +156,28 @@ This project is configured with Claude Flow V3:```bash# Initialize project-npx claude-flow@v3alpha init --wizard+npx @claude-flow/cli@latest init --wizard# Start daemon with background workers-npx claude-flow@v3alpha daemon start+npx @claude-flow/cli@latest daemon start# Spawn an agent-npx claude-flow@v3alpha agent spawn -t coder --name my-coder+npx @claude-flow/cli@latest agent spawn -t coder --name my-coder# Initialize swarm-npx claude-flow@v3alpha swarm init --v3-mode+npx @claude-flow/cli@latest swarm init --v3-mode# Search memory (HNSW-indexed)-npx claude-flow@v3alpha memory search -q "authentication patterns"+npx @claude-flow/cli@latest memory search -q "authentication patterns"# System diagnostics-npx claude-flow@v3alpha doctor --fix+npx @claude-flow/cli@latest doctor --fix# Security scan-npx claude-flow@v3alpha security scan --depth full+npx @claude-flow/cli@latest security scan --depth full# Performance benchmark-npx claude-flow@v3alpha performance benchmark --suite all+npx @claude-flow/cli@latest performance benchmark --suite all```## π Available Agents (60+ Types)@@ -241,27 +241,27 @@ npx claude-flow@v3alpha performance benchmark --suite all```bash# Core hooks-npx claude-flow@v3alpha hooks pre-task --description "[task]"-npx claude-flow@v3alpha hooks post-task --task-id "[id]" --success true-npx claude-flow@v3alpha hooks post-edit --file "[file]" --train-patterns+npx @claude-flow/cli@latest hooks pre-task --description "[task]"+npx @claude-flow/cli@latest hooks post-task --task-id "[id]" --success true+npx @claude-flow/cli@latest hooks post-edit --file "[file]" --train-patterns# Session management-npx claude-flow@v3alpha hooks session-start --session-id "[id]"-npx claude-flow@v3alpha hooks session-end --export-metrics true-npx claude-flow@v3alpha hooks session-restore --session-id "[id]"+npx @claude-flow/cli@latest hooks session-start --session-id "[id]"+npx @claude-flow/cli@latest hooks session-end --export-metrics true+npx @claude-flow/cli@latest hooks session-restore --session-id "[id]"# Intelligence routing-npx claude-flow@v3alpha hooks route --task "[task]"-npx claude-flow@v3alpha hooks explain --topic "[topic]"+npx @claude-flow/cli@latest hooks route --task "[task]"+npx @claude-flow/cli@latest hooks explain --topic "[topic]"# Neural learning-npx claude-flow@v3alpha hooks pretrain --model-type moe --epochs 10-npx claude-flow@v3alpha hooks build-agents --agent-types coder,tester+npx @claude-flow/cli@latest hooks pretrain --model-type moe --epochs 10+npx @claude-flow/cli@latest hooks build-agents --agent-types coder,tester# Background workers-npx claude-flow@v3alpha hooks worker list-npx claude-flow@v3alpha hooks worker dispatch --trigger audit-npx claude-flow@v3alpha hooks worker status+npx @claude-flow/cli@latest hooks worker list+npx @claude-flow/cli@latest hooks worker dispatch --trigger audit+npx @claude-flow/cli@latest hooks worker status```## π§ Intelligence System (RuVector)@@ -339,7 +339,7 @@ CLAUDE_FLOW_MEMORY_PATH=./data/memory## π Doctor Health Checks-Run `npx claude-flow@v3alpha doctor` to check:+Run `npx @claude-flow/cli@latest doctor` to check:- Node.js version (20+)- npm version (9+)- Git installation@@ -377,12 +377,12 @@ npx @claude-flow/cli@latest doctor --fix- Git operations### CLI Tools Handle Coordination (via Bash):-- **Swarm init**: `npx claude-flow@v3alpha swarm init --topology <type>`-- **Swarm status**: `npx claude-flow@v3alpha swarm status`-- **Agent spawn**: `npx claude-flow@v3alpha agent spawn -t <type> --name <name>`-- **Memory store**: `npx claude-flow@v3alpha memory store --namespace <ns> --key <k> --value <v>`-- **Memory search**: `npx claude-flow@v3alpha memory search -q "<query>"`-- **Hooks**: `npx claude-flow@v3alpha hooks <hook-name> [options]`+- **Swarm init**: `npx @claude-flow/cli@latest swarm init --topology <type>`+- **Swarm status**: `npx @claude-flow/cli@latest swarm status`+- **Agent spawn**: `npx @claude-flow/cli@latest agent spawn -t <type> --name <name>`+- **Memory store**: `npx @claude-flow/cli@latest memory store --namespace <ns> --key <k> --value <v>`+- **Memory search**: `npx @claude-flow/cli@latest memory search -q "<query>"`+- **Hooks**: `npx @claude-flow/cli@latest hooks <hook-name> [options]`**KEY**: CLI coordinates the strategy via Bash, Claude Code's Task tool executes with real agents.