One diagram per view.
Each diagram shows a part of Open Swarm as it runs today: the Rust kernel, how a person’s data stays theirs, how model calls are routed, how devices are reached and audited, how trading approvals are bound to code, and how a change reaches production. The first prototype’s architecture is summarized at the end.
The kernel
What the Rust kernel holds, and what sits around it.
View diagram ->Data & access
Roles checked on every call; tables private to each person.
View diagram ->Inference routing
A model order with fallback for each kind of work.
View diagram ->Devices & audit
Control only when the owner allows it; a signed, chained record.
View diagram ->Trading approvals
An owner’s approval is bound to the code that decides orders.
View diagram ->Releases
Local gates, blue then green, a receipt for every delivery.
View diagram ->A 34-crate Rust kernel at the center.
The kernel (Tokio, Axum, PostgreSQL) covers identity, people and roles, application packages, inference, orchestration, connectors, egress control, knowledge, device nodes and the API. Applications are store packages, each in its own Bubblewrap sandbox. One container image holds the kernel, the browser platform and pinned runtimes.
The production installation is reached through a Cloudflare Tunnel. The design is recorded in 200+ architecture decision records.
Every call checked; every table private by default.
The kernel checks every call against the person’s application assignment and named roles. A package’s tables are private to each person by default and are shared only through a relationship policy the application declares and an administrator installs, such as a school’s classes.
Connection credentials are sealed in the kernel’s vault and never handed to a model.
Local first, with a fallback for each kind of work.
vLLM serves a local 35B mixture-of-experts model (200K context) on an NVIDIA DGX Spark, alongside account-based Claude, Codex and Gemini relays. The operator sets a separate model order, with fallback, for conversations, background jobs, pictures and application concierges.
In Jarvis, a model menu also lets the person choose per request.
Control only when the owner allows it, and a record of every hand-off.
Orbit brings the swarm to a person’s devices: an Electron desktop app for Windows and Linux, plus Android phone and Fire TV builds. Jarvis runs tasks on an enrolled computer only while its owner has control switched on, and each device hand-off writes a signed, hash-chained audit record that the kernel verifies link by link.
An approval is bound to the code that decides orders.
An owner’s approval of financial orders is bound to a digest of the code that decides orders, so a change to that code needs a fresh approval.
More on the Trading page.
From a branch to production.
Blue/green slots for the kernel and the application bundles, local release gates with no hosted CI, and per-package delivery with receipts and rollback copies. Each change lands on a branch through the local gates with its own regression test.
The platform also runs a customer’s CRM installation, whose staging is a single-node k3s blue/green stack.
The first prototype (2024–2025).
The first prototype was TypeScript on Docker, with a Redis Streams agent mesh, PostgreSQL with forced row-level security, ChromaDB retrieval and YAML application manifests. It is public on GitHub under AGPL-3.0. The Rust kernel replaced it in 2026; the June and July 2026 blog posts describe the prototype.
Want a walk-through?
Happy to go through any layer in depth: the kernel, the data model, inference routing, devices, or the release process.