---
library: "bootstrap"
slug: "Stigmergy"
name: "Stigmergy"
ref: "Stigmergy#dd4f"
hash: "sema:Stigmergy#mh:SHA-256:dd4f5a60a12b6dbe6e4a9a051189088dc0a73ef18b5ef4d9ecc361215e9551cb"
type: "Protocols"
layer: "Society"
version: "0.11.0"
root: "a6a3d1ff0f982ee30430c5b42f3784c8ec901fd68482cfc1bc30899c1e5e48c5"
license: null
url: "https://semahash.org/vocabularies/bootstrap/patterns/Stigmergy"
---

# Stigmergy

Indirect coordination via environment modification (Ant Colony)

Society · Protocols

## Mechanism

Agents MARK a shared environment with structured [Trace](https://semahash.org/vocabularies/bootstrap/patterns/Trace.md)s instead of sending direct messages. Other agents SENSE traces and respond. Coordination emerges from accumulated trace patterns without any agent-to-agent communication. Persistence is either [Decay](https://semahash.org/vocabularies/bootstrap/patterns/Decay.md) with reinforcement, or versioning — the scheme is declared, not assumed.

## Invariants

- Persistence scheme is declared: either [Decay](https://semahash.org/vocabularies/bootstrap/patterns/Decay.md) with reinforcement, or versioning.
- Locality: sensing is local to the agent's position.
- No direct channel: coordination passes through the environment, never agent to agent.

## Failure modes

- Trace pollution: too many traces, and the signal is lost among them.
- Namespace collision: unrelated agents mark the same medium and read each other's traces as their own.
- Semantic ambiguity: agents interpret the same trace differently.
- Persistence mismatch: traces fade before they coordinate, or persist after they mislead.
- Unattributable trace: a mark cannot be tied to whoever left it.

## Where this came from

—

## Builds on

- [Decay](https://semahash.org/vocabularies/bootstrap/patterns/Decay.md) (references)
- [Trace](https://semahash.org/vocabularies/bootstrap/patterns/Trace.md) (references)

## Used by

- [Gardener](https://semahash.org/vocabularies/bootstrap/patterns/Gardener.md) (references)
- [HypothesisEngine](https://semahash.org/vocabularies/bootstrap/patterns/HypothesisEngine.md) (references)

## Related

- [Signal](https://semahash.org/vocabularies/bootstrap/patterns/Signal.md)

## Identity

- Library: bootstrap 0.11.0 (root a6a3d1ff0f98)
- Ref: Stigmergy#dd4f
- Hash: sema:Stigmergy#mh:SHA-256:dd4f5a60a12b6dbe6e4a9a051189088dc0a73ef18b5ef4d9ecc361215e9551cb

## Links

- Page: https://semahash.org/vocabularies/bootstrap/patterns/Stigmergy
- JSON: https://semahash.org/vocabularies/bootstrap/patterns/Stigmergy.json
- Library: https://semahash.org/vocabularies/bootstrap
- Library index: https://semahash.org/vocabularies/bootstrap/index.json
