# swarm-init Initialize a new swarm with specified topology. ## Usage ```bash npx claude-flow swarm init [options] ``` ## Options - `--topology ` - Swarm topology (mesh, hierarchical, ring, star) - `--max-agents ` - Maximum agents - `--strategy ` - Distribution strategy ## Examples ```bash npx claude-flow swarm init --topology mesh npx claude-flow swarm init --topology hierarchical --max-agents 8 ```