Skills Development Initialize Multi-Agent Swarm Workflow

Initialize Multi-Agent Swarm Workflow

v20260707
swarm-init
This tool initializes a structured, anti-drift multi-agent swarm environment. It is designed for coordinating complex, multi-file software development tasks, such as implementing new features, performing cross-module refactoring, or conducting security audits, requiring coordination among three or more specialized agents. It supports various topologies (hierarchical, mesh, etc.) to manage safe and parallel workstreams.
Get Skill
118 downloads
Overview

Initialize a hierarchical swarm for coordinated multi-agent work.

Via MCP: mcp__claude-flow__swarm_init({ topology: "hierarchical", maxAgents: 8, strategy: "specialized" })

Or via CLI:

npx @claude-flow/cli@latest swarm init --topology hierarchical --max-agents 8 --strategy specialized

Then spawn named agents in ONE message via Claude Code's Task tool with name: (for SendMessage addressability) and run_in_background: true (for parallel execution). Use EnterWorktree per agent for git-safe parallel work, and SendMessage for inter-agent coordination.

For larger teams (10+), use hierarchical-mesh topology:

npx @claude-flow/cli@latest swarm init --topology hierarchical-mesh --max-agents 15 --strategy specialized
Info
Category Development
Name swarm-init
Version v20260707
Size 1.21KB
Updated At 2026-07-09
Language