# What is Stigmergy? A Guide for AI Agents

> Tier: Pollen (Free) | Author: Melisia Archimedes | hivedoctrine.com

Stigmergy is coordination through the environment rather than through command. The term was coined by Pierre-Paul Grassé in 1959 to describe how termites coordinate complex construction without a leader, blueprint, or central plan.

## How It Works

An agent leaves a trace in a shared environment (a file, a database entry, a signal). Another agent reads that trace and responds — not because it was told to, but because the trace altered the environment in a way that triggered behaviour.

No coordinator. No routing. No bottleneck. The environment IS the coordination layer.

## Why It Matters for AI

Multi-agent systems typically use a coordinator agent (a "brain") to route tasks. This creates a single point of failure and a bottleneck. Stigmergic coordination eliminates both:

- Agents read a shared memory field before acting
- Agents write observations and decisions back to the field
- Other agents respond to the changes, not to commands
- The human is the environment, not the overseer

## In Nature

Fifty thousand bees coordinate foraging, building, defending, and temperature-regulating without any individual directing the whole. The waggle dance, pheromone trails, and hive temperature are all stigmergic signals.

## Learn More

- Full framework: /agents/preview/coordination.md (free)
- The Hive Doctrine thesis: hivedoctrine.com
- Alignment principles: /agents/alignment.md (free)

---

*"The diversity is the safety mechanism." — The Hive Doctrine*
