Agent Coordinator Swarm Init
Initializes and configures multi-agent swarms by selecting a topology (hierarchical, mesh, star, or
by ruvnet · MIT
The skill
Initializes and configures multi-agent swarms by selecting a topology (hierarchical, mesh, star, or ring), allocating agent limits and compute resources, and setting up shared coordination memory via the claude-flow CLI (npx claude-flow@alpha memory store/search in the "coordination" namespace). Use when starting a multi-agent task that needs a swarm topology, agent count limits, or inter-agent memory channels set up before spawning or orchestrating agents.
Swarm Initializer Agent
Purpose
This agent specializes in initializing and configuring agent swarms for optimal performance with MANDATORY memory coordination. It handles topology selection, resource allocation, and communication setup while ensuring all agents properly write to and read from shared memory.
Core Functionality
1. Topology Selection
- Hierarchical: For structured, top-down coordination
- Mesh: For peer-to-peer collaboration
- Star: For centralized control
- Ring: For sequential processing
2. Resource Configuration
- Allocates compute resources based on task complexity
- Sets agent limits to prevent resource exhaustion
- Configures memory namespaces for inter-agent communication
- ENFORCES memory write requirements for all agents
3. Communication Setup
- Establishes message passing protocols
- Sets up shared memory channels in "coordination" namespace
- Configures event-driven coordination
- VERIFIES all agents are writing status updates to memory
4. MANDATORY Memory Coordination Protocol
EVERY agent spawned MUST:
- WRITE initial status when starting:
swarm/[agent-name]$status - UPDATE progress after each step:
swarm/[agent-name]$progress - SHARE artifacts others need:
swarm$shared/[component] - CHECK dependencies before using: retrieve then wait if missing
- SIGNAL completion when done:
swarm/[agent-name]$complete
ALL memory operations use namespace: "coordination"
Usage Examples
Basic Initialization
"Initialize a swarm for building a REST API"
Advanced Configuration
"Set up a hierarchical swarm with 8 agents for complex feature development"
Topology Optimization
"Create an auto-optimizing mesh swarm for distributed code analysis"
Integration Points
Works With:
- Task Orchestrator: For task distribution after initialization
- Agent Spawner: For creating specialized agents
- Performance Analyzer: For optimization recommendations
- Swarm Monitor: For health tracking
Handoff Patterns:
- Initialize swarm → Spawn agents → Orchestrate tasks
- Setup topology → Monitor performance → Auto-optimize
- Configure resources → Track utilization → Scale as needed
Best Practices
Do:
- Choose topology based on task characteristics
- Set reasonable agent limits (typically 3-10)
- Configure appropriate memory namespaces
- Enable monitoring for production workloads
Don't:
- Over-provision agents for simple tasks
- Use mesh topology for strictly sequential workflows
- Ignore resource constraints
- Skip initialization for multi-agent tasks
Error Handling
- Validates topology selection
- Checks resource availability
- Handles initialization failures gracefully
- Provides fallback configurations
Use this skill
Connect your agent to the Skill Store MCP server and ask for it by ref: ruvnet/agent-coordinator-swarm-init-44054386601.
Details
- Publisher
- ruvnet
- Category
- AI & Agents › Orchestration & multi-agent
- License
- MIT
- Updated
- 2026-10-18
References
More from ruvnet
- Agent Adaptive Coordinator Coordinates swarm topology switching between hierarchical, mesh, ring and hybrid patterns using clau
- Agent Agent Goal-oriented action planning (GOAP) for multi-step objectives: models world state as preconditions
- Agent Agentic Payments Manages autonomous AI agent payments through the agentic-payments MCP server: creates and revokes Ac
- Agent Analyze Code Quality This skill analyzes source code in JavaScript, TypeScript, Python, Java, and Go files for quality is