Swarm Orchestration

Orchestrates multi-agent swarms with mesh, hierarchical, and adaptive topologies for parallel task execution.

1|Updated Jun 3, 2026
One-click install
npx skills add https://github.com/KentwareDemo/RuView --skill swarm-orchestration-kentwaredemo
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: Swarm Orchestration
Source: https://github.com/KentwareDemo/RuView/tree/main/.claude/skills/swarm-orchestration
Command: npx skills add https://github.com/KentwareDemo/RuView --skill swarm-orchestration-kentwaredemo

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires agentic-flow.

What problem does it solve? Coordinating multiple AI agents on complex tasks requires manual management of task distribution, communication, and failure handling, which becomes unmanageable as agent count grows. ## Core Features & Use Cases - Topology Management: Configure mesh, hierarchical, or adaptive swarm topologies with automatic task distribution and load balancing. - Execution Modes: Run tasks in parallel, sequential pipelines with dependencies, or let the swarm auto-orchestrate based on goals and constraints. - Shared Memory & Fault Tolerance: Share state across agents via swarm memory and recover from agent failures with retries and task reassignment. - Use Case: Build a REST API by spawning coder, tester, and reviewer agents that work in parallel, share the API schema through swarm memory, and synchronize via coordination hooks. ## Quick Start Initialize a mesh swarm with five agents and orchestrate the task of building a REST API with tests in parallel mode.

Frequently Asked Questions about Swarm Orchestration

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

FAQPage Schema
How do I orchestrate multiple AI agents in parallel?

Initialize a swarm with npx agentic-flow hooks swarm-init, spawn agents with agent-spawn, then run task-orchestrate with --mode parallel. The swarm distributes tasks across agents and aggregates results automatically.

What swarm topology should I use for multi-agent workflows?

Use mesh for peer-to-peer collaboration among equal agents, hierarchical for centralized coordination with a queen agent directing workers, or adaptive to let the swarm switch topology based on task complexity.

What are the requirements for running agentic-flow swarms?

You need agentic-flow v3.0.0-alpha.1 or later and Node.js 18 or higher. Familiarity with distributed systems concepts is helpful but not required.

How do agents share state in a swarm?

Agents share state through swarm memory using swarm.memory.store to write data and swarm.memory.retrieve to read it. This lets agents access shared artifacts like API schemas without direct messaging.

Why are my swarm agents not coordinating properly?

Coordination failures usually stem from missing memory access or disabled hooks. Verify agents can read and write swarm memory, and enable pre-task and post-task hooks for automatic synchronization.

How does a swarm handle agent failures?

Configure resiliency with retry policies using exponential backoff and a fallback strategy that reassigns failed tasks to other agents. Set maxAttempts to control retry behavior before reassignment.