swarm-advanced

Orchestrate distributed agent swarms via MCP tools and CLI commands.

67.5k|8.1k|Updated Jun 2, 2025
One-click install
npx skills add https://github.com/ruvnet/claude-flow --skill swarm-advanced-ruvnet
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: swarm-advanced
Source: https://github.com/ruvnet/claude-flow/tree/main/.claude/skills/swarm-advanced
Command: npx skills add https://github.com/ruvnet/claude-flow --skill swarm-advanced-ruvnet

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires claude-flow@alpha.

What problem does it solve?

This Skill provides advanced patterns and techniques for orchestrating AI agent swarms across diverse applications like research, development, and testing. It enables users to design, deploy, and manage complex distributed workflows with optimal topologies, agent strategies, and robust error handling, maximizing efficiency and reliability.

Core Features & Use Cases

  • Diverse Swarm Topologies: Choose from Mesh, Hierarchical, Star, or Ring architectures for optimal coordination.
  • Specialized Agent Strategies: Adaptive, Balanced, Specialized, and Parallel strategies for task execution.
  • Neural Pattern Learning: Agents learn from successful workflows to continuously improve coordination and performance.
  • Use Case: For a large-scale software development project, use a hierarchical swarm topology with specialized agents (architects, coders, testers). This skill can orchestrate parallel implementation, comprehensive testing, and automated code reviews, ensuring efficient progress and high-quality deliverables.

Quick Start

// 1. Initialize swarm topology mcp__claude-flow__swarm_init({ topology: "mesh", maxAgents: 6 })

// 2. Spawn a specialized researcher agent mcp__claude-flow__agent_spawn({ type: "researcher", name: "Agent 1" })

// 3. Orchestrate a task mcp__claude-flow__task_orchestrate({ task: "research AI trends", strategy: "parallel" })

Frequently Asked Questions about swarm-advanced

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I orchestrate distributed AI agents across multiple tasks?

Orchestrate distributed agents by initializing a swarm topology (mesh, hierarchical, star, or ring), spawning specialized agents with defined roles, and assigning tasks using parallel or adaptive execution strategies. This coordinates complex workflows across research, development, and testing with optimal agent coordination.

What swarm topologies are available for multi-agent workflows?

Swarm topologies include mesh (fully connected), hierarchical (manager-worker), star (hub-spoke), and ring (circular communication). Choose based on your workflow complexity: hierarchical suits large teams with specialized roles; mesh maximizes parallel coordination; star and ring reduce communication overhead.

Can I use specialized agent strategies for different task types?

Yes. Adaptive, balanced, specialized, and parallel strategies let agents adjust behavior per task. Specialized agents (architects, coders, testers) excel in hierarchical topologies for large projects; parallel strategies maximize throughput for independent subtasks.

How does neural pattern learning improve swarm performance?

Agents learn from successful workflows to optimize future coordination and task execution. Neural learning continuously refines agent behavior, reducing coordination overhead and improving efficiency across repeated or similar distributed operations.

What's the difference between mesh and hierarchical swarm topologies?

Mesh topologies enable all agents to communicate directly, maximizing parallelism but increasing complexity. Hierarchical topologies use managers to coordinate workers, reducing direct communication and scaling better for large teams with specialized agent roles.

Do I need existing MCP tools to initialize and manage swarms?

Yes. Swarm initialization, agent spawning, and task orchestration require claude-flow@alpha dependency, which provides MCP tools and CLI commands for topology setup, memory operations, pattern recognition, and knowledge management.