Configure the swarm
Pick a topology, a robust aggregator and round limits. Invalid combinations are rejected before any peer starts.
SwarmTorch is a Rust framework for learning across heterogeneous fleets, from GPU workstations to edge boards.
Coordinator
Aggregation round
Collects model updates from every participant and combines them with a Byzantine-robust rule such as Krum or trimmed mean, so a few faulty or hostile peers cannot steer the result.
Maturity · Byzantine-robust aggregation
Select the node to open its status entry
Participant
Learning peer
Trains a model on data that never leaves the device and shares only parameter updates with the round. Six are drawn here; a real fleet can be any size.
Maturity · Reference models, losses and SGD
Select the node to open its status entry
Transport
Zenoh peer
Exchanges updates over Zenoh publish/subscribe on TCP, rejecting isolated peers and bounding every read.
Maturity · Zenoh pub/sub transport
Select the node to open its status entry
Recovery
Checkpoint store
Writes content-addressed checkpoints so an interrupted run resumes from its last committed state without losing track of privacy spending.
Maturity · Content-addressed checkpoints and exact resume
Select the node to open its status entry
Device
Embedded board
A participant without an operating system, using a fixed allocator and a portable runtime. Embedded targets are built in CI; on-device deployment is not yet supported.
Maturity · Portable runtime abstraction
Select the node to open its status entry
Radio link
LoRa transport
Sends updates over long-range, low-bandwidth radio, budgeting time on air and enforcing duty-cycle limits.
Maturity · LoRa packet transport HAL
Select the node to open its status entry
Device
Edge computer
A participant on a standard operating system, such as a single-board computer, gossiping signed updates over TCP or UDP.
Maturity · TCP and UDP gossip transports
Select the node to open its status entry
Accelerator
GPU workstation
Runs the reference models on a GPU through the Burn WGPU backend, with explicit device selection.
Maturity · WGPU model backend
Select the node to open its status entry
Trust
Signed envelopes
Every message carries an Ed25519 signature and replay protection, and only peers on the cohort allowlist are admitted.
Maturity · Authenticated envelopes and replay protection
Select the node to open its status entry
Link layer
Frame chunking
Splits large updates into small frames for constrained links and reassembles them on arrival.
Maturity · Low-MTU chunked framing
Select the node to open its status entry
Radio link
BLE transport
Carries updates over Bluetooth Low Energy within its 512-byte attribute limit.
Maturity · BLE packet transport HAL
Select the node to open its status entry
Bandwidth
Update compression
Shrinks updates with top-K sparsification and quantization, with error feedback so accuracy recovers over later rounds.
Maturity · Communication-efficient updates
Select the node to open its status entry
Transport
Iroh endpoint
Connects peers over QUIC with bounded timeouts and verifies the identity of each remote peer.
Maturity · Iroh QUIC transport
Select the node to open its status entry
Privacy
Differential privacy
Clips updates and adds calibrated noise under the DpFedAvgV1 profile, accounting for the privacy budget before anything is released. Assumes a trusted central coordinator.
Maturity · DpFedAvgV1 client-level differential privacy
Select the node to open its status entry
31
Catalogued capabilities
10
With a recorded maturity tier
7/7
CI jobs passing at the reviewed revision
Source
Only install route today; 0 published releases
Pass the torch
Coordinate useful learning across diverse participants.
Reference models, robust aggregation, staleness-aware FedAsync, LoRA/FLoRA update algebra and Burn/Candle backend bridges.
7 capabilitiesOperate within hardware, memory and link budgets.
Portable no_std crates, Tokio and Embassy runtimes, low-MTU framing, TCP/UDP gossip, Iroh and Zenoh adapters, radio HALs.
10 capabilitiesSelect explicit trust and privacy contracts.
Signed envelopes, replay protection, cohort admission, Byzantine-robust aggregation and a scoped differential privacy profile.
3 capabilitiesResume state and inspect how results were produced.
Signed manifests, content-addressed checkpoints, durable accounting, run graphs, lineage and strict verification.
5 capabilitiesBuild, inspect, integrate and diagnose.
Runnable examples, static reports and read-only MCP inspection today; a local viewer, Python and ONNX boundaries planned.
6 capabilitiesWhich compiler, target and adapter combinations are covered?
See compatibilityHow a round works
Pick a topology, a robust aggregator and round limits. Invalid combinations are rejected before any peer starts.
Each peer runs local steps on its own device. Embedded targets are built in CI; on-device radio deployment is not yet supported.
Signed envelopes, replay protection and Byzantine-robust or privacy-scoped aggregation.
Content-addressed SafeTensors checkpoints with a committed head and exact resume.
Run graphs, signed manifests and static reports record how a run was produced, for inspection after the fact.
Drag to spin. Pick a step or tap a node.
Pick a topology, a robust aggregator and round limits. Invalid combinations are rejected before any peer starts.
Each peer runs local steps on its own device. Embedded targets are built in CI; on-device radio deployment is not yet supported.
Signed envelopes, replay protection and Byzantine-robust or privacy-scoped aggregation.
Content-addressed SafeTensors checkpoints with a committed head and exact resume.
Run graphs, signed manifests and static reports record how a run was produced, for inspection after the fact.
Quickstart
hello_swarm validates a cluster configuration, runs one SGD step on a small linear model and round-trips a SafeTensors checkpoint in memory. It needs Rust 1.81 or newer.
git clone https://github.com/swarmic/SwarmTorch.git
cd SwarmTorch
git checkout --detach 7a75c553c6356f35473d7dbaf6b8e256a86023a7
cargo run -p swarm-torch --example hello_swarm --locked Proof that sticks
Execution profile
QualifiedClient-level privacy for model releases. Fixed clipping, discrete Gaussian noise and durable privacy accounting under a trusted central coordinator, on synchronous, equally weighted FedAvg.
Scope and rejectionsRust CI on public main
PassedRun 44874319830, attempt 1, finished 21 Nov 2026.
What's next
Train over real LoRa and BLE radios on named boards.
Know exactly which run outputs are covered by a privacy claim.
Browse a verified run bundle locally.
Answer what works, where, and with what evidence, from one reviewed catalog.
Start on your own machine, then grow the swarm across the hardware you already run.