Termite mound · Protocol · swarm-routing/Termite
Termite
Routing by stigmergy: the pheromone rides inside the data packets themselves.
Locked: Phase 5: bootstrapped, explain the anchor miss first
What it does
Termite (Roth & Wicker; GLOBECOM 2003, SIDM 2005, Roth's 2005 dissertation) has no control ants. Every data packet carries routing state: as a packet arrives, the receiving node strengthens its pheromone towards the packet's source through the neighbour it came from. Traffic in one direction builds the routes for traffic in the other.
Forwarding is randomised multipath: the next hop is drawn in proportion to pheromone, and pheromone decays with time, so the table tracks a moving topology without beacons of its own. What a node does with a packet for a destination it holds no pheromone for is one of the questions the fidelity sheet settles from the dissertation.
AntHocNet's Termite arm passed the delivery smoke but missed its anchor in v2.5.0 (trend right, confidence intervals spanning zero). Whether that was the arm, the scenario or statistical power is pre-registered in an issue before core/ is written.
Diagrams
opt, loop, alt). Drawn from the paper; the repository's fidelity sheet is the authority once written.core/ includes no simulator header; time, randomness, neighbours and timers arrive through ports, and every adapter only carries out the core's decisions. Dashed: planned.core to GPL-only code. Dashed outlines: planned.Package structure
The repository's layout, its licence per directory (LICENSING.md) and what exists today.
| Path | What | Licence | State |
|---|---|---|---|
core/ | simulator-agnostic algorithm + unit tests | MIT OR GPL-2.0-only | planned |
ns3/ | contrib module termite: header codec, adapter, helper, examples, test suite | GPL-2.0-only | planned |
docs/ | fidelity sheet, parameters with sources, the anchor-miss analysis | GPL-2.0-only | planned |
docs/adr/ | architecture decisions (template) | GPL-2.0-only | present |
Makefile | the org's standard targets: build, test, lint, format, check | GPL-2.0-only | present |
Where it sits in the colony
Quests
- Done: Repository created and bootstrapped (Termite#1)
- Open: Fidelity sheet with every parameter sourced or marked
- Open: The anchor miss explained in an issue before code
- Open: Module green in CI; three gates recorded, or an infeasibility verdict
Sources
- M. Roth, S. Wicker, Termite: ad-hoc networking with stigmergy, IEEE GLOBECOM 2003; M. Roth, PhD dissertation, Cornell University, 2005.
Facts as of 2026-11-08, from the repository's AGENTS.md and the org ROADMAP.