swarm

Coordinate parallel AI agents across code graphs using pheromone trails and task queues.

16|3|Updated Jun 22, 2025
One-click install
npx skills add https://github.com/andrew-hernandez-paragon/code-graph-context --skill swarm-andrew-hernandez-paragon
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: swarm
Source: https://github.com/andrew-hernandez-paragon/code-graph-context/tree/main/skills/swarm
Command: npx skills add https://github.com/andrew-hernandez-paragon/code-graph-context --skill swarm-andrew-hernandez-paragon

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Coordinate multiple parallel subagents using stigmergic pheromone trails and/or explicit task queues in the code graph. Use when you need to parallelize work across multiple files or modules, run a swarm of agents, coordinate agents without direct messaging, or manage complex multi-step workflows.

Core Features & Use Cases

  • Pheromones: stigmergy-based indirect coordination to avoid conflicts and guide exploration
  • Task Queue: explicit work items with progress tracking and dependency handling
  • Coordination across files/modules: scalable, multi-agent orchestration for large codebases
  • Use Case: orchestrate a feature across many components without direct messaging, ensuring safe concurrent edits.

Quick Start

Post a swarm task, spawn workers, and let agents coordinate across files to complete the workflow.

Frequently Asked Questions about swarm

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

FAQPage Schema
How do I coordinate parallel AI agents across a code graph without direct messaging?

Parallel AI agents can be coordinated without direct messaging by using stigmergic pheromones and explicit task queues. This approach enables agents to perform multi-file tasks indirectly, avoiding conflicts and managing complex workflows across large codebases.

What is stigmergy and how does it work for multi-agent coordination?

Stigmergy is an indirect coordination mechanism where agents leave pheromone trails in the environment to guide others. In multi-agent coordination, pheromones help agents avoid conflicts and manage task exploration across files without needing direct communication.

How do I orchestrate a feature across multiple components with safe concurrent edits?

To orchestrate features with safe concurrent edits, post a swarm task and spawn workers using a defined lifecycle. Agents coordinate via pheromone states and explicit task queues, ensuring distributed task decomposition and conflict avoidance across modules.

Can I use pheromone-based coordination for multi-step workflows in large codebases?

Pheromone-based coordination is suitable for multi-step workflows in large codebases. The defined swarm lifecycle, task states, and worker protocol support distributed coordination, task decomposition, and dependency handling across multiple files and modules.

When should I use stigmergic coordination instead of direct messaging for parallel agents?

Use stigmergic coordination instead of direct messaging when parallelizing work across multiple files or modules where conflicts are likely. Pheromones provide indirect coordination to guide exploration and ensure safe concurrent edits without direct agent communication.

Does parallel agent coordination support task dependencies and progress tracking?

Parallel agent coordination supports task dependencies and progress tracking through explicit task queues. Work items are managed with defined task states and a worker protocol, allowing agents to handle dependencies and track progress throughout the swarm lifecycle.