Training ground · Protocol · swarm-routing/Q-Swarm

Q-Swarm

Q-routing with energy-aware updates and Boltzmann next-hop selection: a learned comparator.

Under construction: no release, 1 epic in progress, 1 planned Computed from its 2 epics, as they stood on .

RepositoryPlan Q-Swarm#3ROADMAP: architecture and migration

What it does

Q-Swarm brings lightweight on-node reinforcement learning into the colony: Q-routing with energy-aware Bellman updates and Boltzmann next-hop selection, bridging classic pheromone tables with learning, so the swarm protocols are benchmarked against a learned comparator.

Planned and deferred (ROADMAP decision 23, phase 3b): nothing is built yet, and a fidelity sheet may come first, with no code. Like every protocol here it will be a simulator-free core/ on swarm-core (MIT OR GPL-2.0-only) with its ns-3 module (GPL-2.0-only).

Diagrams

No diagram of its own yet. Where it sits in the colony is drawn below.

Package structure

The repository's layout, its licence per directory (LICENSING.md) and what exists today.

Directories of swarm-routing/Q-Swarm
PathWhatLicenceState
core/the simulator-free algorithm on swarm-coreMIT OR GPL-2.0-onlyplanned
docs/adr/, development.md, rcapa/, references.bibGPL-2.0-onlypresent

Where it sits in the colony

The swarm-routing organisation: who depends on whomDependency graph of the swarm-routing organisation, in the colony map's six regions: Protocols on top (AntHocNet, ARA, BeeAdHoc, Termite, HOPNET, and the deferred POSANT, BeeSensor and Q-Swarm); Core (swarm-core) and Adapters (swarm-adapter-ns3, and the deferred swarm-routingd and swarm-adapter-omnet) below them; then Infra (vcpkg-registry, benchmarks, the deferred swarm-web-ui, sim-containers, sim-tools); Others (this site, ns3-upstream-report, .github) and AI (swarm-mcp, skills) at the bottom. The five released protocols link the ns-3 module of swarm-adapter-ns3, which builds on swarm-core's release, and register as arms in sim-tools (AntHocNet runs its benchmarks on its harness); swarm-routingd and swarm-adapter-omnet will use swarm-core's ports; vcpkg-registry ports swarm-core; swarm-adapter-ns3 and sim-tools build and run inside the sim-containers images, where swarm-web-ui will run scenarios too; sim-tools writes verdicts into benchmarks; ns3-upstream-report carries sim-tools' register of ns-3 bugs upstream; the Colony Arena site builds AntHocNet's core to WebAssembly and will render the benchmarks leaderboard; the .github repository's reusable CI runs inside the sim-containers images; swarm-mcp, the org's MCP server, runs the .github repository's scripts, and the skills plugin bundles it.ProtocolsCoreAdaptersInfraOthersAIlinkslinkslinkslinkslinksarmbenchbuilds inruns inverdictscore/ → WASMleaderboard (planned)CI imagesruns its scriptsbundlesbuilds onportsruns in (planned)registerAntHocNetprotocol · liveARAprotocolBeeAdHocprotocolTermiteprotocolHOPNETprotocolPOSANTprotocol · deferredBeeSensorprotocol · deferredQ-Swarmprotocol · deferredswarm-coreports · primitivesswarm-adapter-ns3module swarm-coreswarm-routingdLinux daemon · deferredswarm-adapter-omnetOMNeT++ · deferredvcpkg-registryports of the coresbenchmarksdatasets · verdictsswarm-web-uiworkbench · deferredsim-containersns3-dev imagessim-toolsharness · readersColony Arenathis sitens3-upstream-reportbridge to ns-3.githubreusable CI · templatesswarm-mcpMCP server · read-onlyskillsagent skills · plugindashed arrow: «use» dependency (UML); highlighted: this project and its neighbours
Q-Swarm and its neighbours in the organisation.

Quests

The repository's epics and their sub-issues, as the issues stood on 2026-11-30: 1 of 3 sub-issues closed.

Cite this project

Using Q-Swarm in a paper? Cite the project as below, and the works it rests on from its references.

Text

Joppi, Daniel Henrique (n.d.). Q-Swarm (version 0.0.0) [Computer software]. https://github.com/swarm-routing/Q-Swarm

BibTeX

@software{qswarm,
  author  = {Joppi, Daniel Henrique},
  title   = {Q-Swarm},
  version = {0.0.0},
  url     = {https://github.com/swarm-routing/Q-Swarm}
}

Version
0.0.0
Author
Daniel Henrique Joppi · ORCID
DOI
None: its CITATION.cff gives no DOI. Cite the repository.
Licence
GPL-2.0-only

Read from CITATION.cff at main when this site was built.

References

The 6 works docs/references.bib lists, read at main when this site was built. Each links its DOI; a work with none links its publisher's or institution's page.

Implemented

Compared against

Software it builds on

Background

Sources

The status and the quests come from the repository's issues and releases (2026-11-30); the other facts on this page are kept by hand from its AGENTS.md (as of 2026-11-08).