Architecture
Small portable core. Heavy things are opt-in.
Learning, networking and trust logic live in crates that avoid large dependencies. GPU backends, QUIC and pub/sub transports, tooling servers and Wasm sandboxes sit behind separate adapters with their own compiler floors.
Source revision: 7a75c55 Repository metadata checked: Claim reviewed:
Layers
Facade
What applications depend on.
Core crates
Always built; no optional heavy dependencies.
Optional adapters
Opt-in, each with its own compiler floor.
Packages and what they carry
Each capability on the status page names the package that ships it. The compiler floor shown is the highest declared by those capabilities.
-
Traits, robust aggregation, compression, Ed25519 envelopes, replay protection, differential privacy and the run graph.
- Byzantine-robust aggregation No tier recorded
- Communication-efficient updates No tier recorded
- Authenticated envelopes and replay protection No tier recorded
- Run graphs, lineage and physical DataOps No tier recorded
- Byzantine-robust aggregation
-
Allocation-free packet transport traits, frame chunking, TCP and UDP gossip, and hardware-agnostic no_std LoRa and BLE transports.
- Low-MTU chunked framing No tier recorded
- TCP and UDP gossip transports No tier recorded
- LoRa packet transport HAL Simulation verified
- BLE packet transport HAL Simulation verified
- Low-MTU chunked framing
-
SwarmClock and SwarmRuntime traits with Tokio and a deterministic mock runtime; Embassy is feature-gated.
- Portable runtime abstraction No tier recorded
- Portable runtime abstraction
-
Reference LinearModel and two-layer MLP with analytical gradients, LoRA, SGD and in-memory SafeTensors v1 checkpoints with size limits.
- Reference models, losses and SGD No tier recorded
- LoRA and FLoRA update algebra No tier recorded
- SafeTensors v1 checkpoint profile No tier recorded
- Reference models, losses and SGD
-
The facade: SwarmCluster builder, coordinator, FedAsync, DpFedAvgV1, content-addressed artifacts, reports and examples.
- FedAsync staleness handling No tier recorded
- DpFedAvgV1 client-level differential privacy Adversarial conformance passed
- Experimental privacy accounting No tier recorded
- Content-addressed checkpoints and exact resume No tier recorded
- Signed manifests and strict artifact trust No tier recorded
- Runnable examples No tier recorded
- Static run reports No tier recorded
- FedAsync staleness handling
-
Isolated Burn 0.21 and Candle 0.10 CPU bridges, and Burn on WGPU.
- Burn and Candle CPU backends Integration verified
- WGPU model backend Integration verified
- Burn and Candle CPU backends
-
Iroh 1.4 QUIC endpoint bridge with bounded timeouts and remote identity attestation.
- Iroh QUIC transport Integration verified
- Iroh QUIC transport
-
Zenoh 1.10 TCP peer pub/sub bridge with bounded reads and strict topic parity.
- Zenoh pub/sub transport Integration verified
- Zenoh pub/sub transport
-
A zero-port, read-only MCP inspector over stdio.
- Read-only MCP inspector Integration verified
- Read-only MCP inspector
-
Fail-closed extension execution in an isolated wasmi 2.0 executor.
- Sandboxed Wasm extensions Adversarial conformance passed
- Sandboxed Wasm extensions
Deployment profiles
Profiles describe the target class a build is aimed at. They are separate from the execution profiles that scope guarantees.
-
edge_std
SupportedHosted targets with the standard library: laptops, servers, single-board computers.
-
embedded_alloc
Experimentalno_std with an allocator, for larger microcontrollers. Under 256 KB is a design target, not a measurement.
-
embedded_min
Plannedno_std without an allocator, for the smallest radio nodes.
Workstreams
-
Learning and backends
Foundation. Core models, robust aggregation, FedAsync, LoRA/FLoRA, Burn and Candle CPU bridges, WGPU adapter.
Direction. Broader qualified models and target combinations, bounded model-zoo tooling, optional CUDA.
Milestones -
Devices and connectivity
Foundation. Portable crates, low-MTU framing, TCP/UDP, live Iroh and Zenoh adapters, simulated LoRa and BLE HALs.
Direction. Physical radio boards, hardware operating envelopes, WiFi, qualified constrained deployments.
Milestones -
Trust and privacy
Foundation. Authentication, replay recovery, cohort admission, scoped DpFedAvgV1, durable accounting.
Direction. Reviewed output policies, assurance records, compatible profiles, additional privacy mechanisms.
Milestones -
Recovery and DataOps
Foundation. CAS, exact resume, signed manifests, run DAGs, physical data operations, reports.
Direction. More qualified recovery environments, operator preflight, retained evidence and integration maturity.
Milestones -
Developer experience
Foundation. Runnable examples, static report generation, read-only MCP.
Direction. Local viewer, bounded Python interfaces, inference interchange and an eventual desktop surface.
Milestones