---
library: "brainference"
slug: "Stigmergy"
name: "Stigmergy"
ref: "Stigmergy#ab14"
hash: "sema:Stigmergy#mh:SHA-256:ab1447ac1f5d08590757b88844c90007e9d468d673ae340d940a97af8e6d7474"
type: "Coordination"
layer: "Society"
version: "1.0.0"
root: "8d7193fc97804cdc3aa9080728d8094732206c114f34d36b8ca2b89b943b3990"
license: null
url: "https://semahash.org/vocabularies/brainference/patterns/Stigmergy"
---

# Stigmergy

Agents coordinate indirectly by leaving traces in a shared environment that cue later actions

Society · Coordination

## Mechanism

An agent's action modifies the environment (a pheromone mark, a moved grain, an edited file), and the modification becomes a stimulus for later actions by the same or other agents. No message is addressed to anyone; the environment is the communication channel and the memory. With reinforcement, such as successful foragers strengthening a pheromone trail that recruits more foragers who strengthen it further, noisy individual exploration is amplified into coherent structure, an instance of [SelfOrganisation](https://semahash.org/vocabularies/brainference/patterns/SelfOrganisation.md). Each agent still follows a [LocalLearningRule](https://semahash.org/vocabularies/brainference/patterns/LocalLearningRule.md): it reads only the traces where it stands. Cognitively limited agents thereby offload memory to the environment, and the trace field records the collective's history without any agent holding it.

## Invariants

- Agents interact through modifications of a shared medium, not by direct messages
- Traces persist longer than the action that made them
- Each agent responds only to traces available locally

## Failure modes

- Runaway reinforcement: positive feedback locks the collective onto a suboptimal trail unless traces decay
- Trace decay too fast for reinforcement to accumulate, so no structure forms
- Corrupted or spoofed traces mislead every agent that reads them
- Attributing coordination to direct communication when it runs through the environment, or the reverse

## Where this came from

- Thesis: do_2026_ant_collective_behavior (Ch. 1.1.1; Ch. 1.1.2 'Stigmergic processes'; Ch. 1.4.2 foraging trails)

## Builds on

- [SelfOrganisation](https://semahash.org/vocabularies/brainference/patterns/SelfOrganisation.md) (references)
- [LocalLearningRule](https://semahash.org/vocabularies/brainference/patterns/LocalLearningRule.md) (references)

## Used by

- [Superorganism](https://semahash.org/vocabularies/brainference/patterns/Superorganism.md) (composes_with)

## Identity

- Library: brainference 1.0.0 (root 8d7193fc9780)
- Ref: Stigmergy#ab14
- Hash: sema:Stigmergy#mh:SHA-256:ab1447ac1f5d08590757b88844c90007e9d468d673ae340d940a97af8e6d7474

## Links

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