Stratum is a small, self-hosted node that several people share without sharing authority. One administrator runs the host, approves software and admits members by invitation. Each member owns a Solid pod, holds their own keys, and decides which approved applications and agents may read or write their data.
It is the multi-tenant sibling of Agentbox, which gives one operator a sovereign agent container. Agentbox answers "how does one person run their agents on their own terms?" Stratum asks the next question: how do a handful of people do that on one machine, when none of them should have to trust the others, and the operator's power should be stated plainly instead of hidden.
What works today · Quick start · Architecture · Security · Roadmap · Crates · Documents
Warning
Stratum is a pre-release. The current release is 0.1.0-alpha.4, and it runs on loopback only: there is no public origin yet. What is built is listed under What works today; each part passes end to end against the real binaries, has had an independent code review answered, and has run on the target host. Build the images from main, not from the v0.1.0-alpha.4 tag: the host run found three deployment defects, fixed since. Everything else in this document is design: sections describing later steps say what the design commits to building, and interfaces may change.
A node you can start, claim, configure, back up and restore; members admitted by invitation, each with a pod only they can reach; suspension and departure without a member's key; keys held by an isolated signer; and approved applications run as locked-down jobs on a separate rootless daemon. All of it is reachable only from the machine it runs on.
stratumd |
The node daemon. Serves a setup page and a small HTTP API on loopback, keeps its state in SQLite with a tamper-evident audit log, and holds no private key material (all signing goes over signer-admin.sock). |
stratum |
The operator's and member's command-line client. Generates keys, claims a fresh node with a one-time bootstrap token, previews and applies configuration changes, manages members and applications, backs up the node, and reads/writes/exports pods (retrying 429 Retry-After with a fresh nonce up to five times). |
| Signed requests | Every administrative and tenant request is signed with NIP-98 (did:nostr) and checked by the node or gate. There are no passwords and no sessions. |
| Configuration | Changes are previewed as a diff, applied as numbered revisions, and written back to a commented stratum.toml without losing the comments. |
| Backup and restore | A backup is a signed manifest with the database, the configuration and the pod data each age-encrypted to the node's backup recipients, and the v2 keystore encrypted by stratum-signer to its own post-quantum age recipients. Restore is given both identities. Restore is offline and stratumd verify-restore challenges the node key and every restored application key before the node is trusted again. |
The second build step: members and their pods, released in 0.1.0-alpha.2.
| Invitations | The administrator invites one public identity. Only that key can redeem the invitation, with a signed request; there is no secret to leak. |
| Pods | Each member gets a Solid pod on an unmodified upstream solid-pod-rs server, pinned to an exact version (0.5.0-alpha.26) and started through stratum-pod-launch so open registration cannot be switched on. |
stratum-gate |
The only door to the pods. It serves pod paths and admission routes and nothing else, checks membership on every request, and holds no key and no database. The pod server checks every signature and access rule again. |
| Isolation | A member reads and writes their own pod with requests signed by their own key. Another member is refused unless the owner writes a grant naming them. |
| Export | stratum export walks a member's own pod and writes an archive with a manifest of hashes. |
| Backups with pods | A backup briefly pauses pod writes, waits for the gate to drain, and takes the database, keystore and every pod together, encrypted to post-quantum recipients. |
What Step 2 must do is in the Step 2 contract, with the independent reviews of its design and its code.
Released in 0.1.0-alpha.3, built to the Step 3a contract and independently code-reviewed.
| Suspend & resume | stratum member suspend blocks a member at the gate without needing their key and tracks enforcement against the active gate boot ID; resume restores their remembered state. |
| Archive & remove | stratum member archive pauses pod writes and exports one suspended member's pod to an encrypted archive verifiable offline with stratumd verify-archive. member remove frees the slot while keeping data on disk until the grace period expires. |
| Offline purge | stratumd purge deletes a removed or cancelled member's pod data by descriptor after membership.removal_grace_days, never following symlinks or crossing mount boundaries, under an exclusive state lock shared with serve and restore. |
| Soft pod quotas | Background per-pod measurement against limits.pod_bytes_per_tenant (default 10 GiB); over-quota pods return 507 on writes while reads and deletes stay available. |
| Public profile | Each member's /pods/<pk>/profile/card is served read-only even to unsigned callers and stays readable during suspension. |
The first part of the Step 3b contract (after its independent design review), released in 0.1.0-alpha.3 and passing end to end against all real binaries.
stratum-signer |
Dedicated networkless daemon (network_mode: none) holding the node key and every per-installation application key in keystore v2 (keys volume) behind two Unix sockets: signer-admin.sock (controller only) and signer-app.sock (pod proxy only). |
| Migration & recipients | stratum-signer keymove migrates a Step 3a v1 keystore in place and is idempotent; stratumd refuses to start while legacy node-key material remains in state. stratum-signer recipients manages the post-quantum age export recipients solely inside the signer's volume. |
| Windows & custody | Application signing requires both a durable enabled key state and an in-memory lease window; restarting the signer clears windows and rotates its boot identifier, and the controller reconciles keys and reopens live windows on boot change. |
| Restore safety | Backups verify signer-vs-store application-key consistency (409 keys_inconsistent on mismatch). Restored application keys start disabled with reason restore (omitted from app_keys), and stratumd verify-restore challenges the node key and every restored application key over signer-admin.sock. |
| Gate confinement & rate limits | stratum-gate serves app_keys on a separate proxy-gate listener (--proxy-listen, 16 connections, 128 MiB body budget), refuses cross-pod requests and byte-exact .acl paths with 403 app_forbidden even when another member's ACL names the key, and enforces token-bucket signed-pod rate limits (10/s burst 20 per principal, 20/s burst 20 all app keys, 40/s burst 40 node; 429 Retry-After) to keep the pod server's replay cache from filling. |
| Schema v4 & readiness | In-place SQLite migration from Steps 1, 2 and 3a creates all Step 3b tables. /readyz reports signer: { reachable, boot } and marks the node degraded if the signer stops, while stratum-gate keeps serving member pod traffic unaffected. |
The second part of the Step 3b contract, released in 0.1.0-alpha.4, passing end to end against the real binaries and run on the target host on two separate rootless daemons.
| Applications | The administrator approves an application by image ID from a manifest (stratum application add). A member installs it and consents by writing the ACLs the manifest renders (stratum app install); the client refuses any ACL that would give an application Control. |
| Jobs | Run on request or on a schedule, one per period, with up to three attempts. A result is recorded once: a crash after the result write recovers to one result. |
| Containers | stratum-runner creates each job on a separate rootless tenant daemon from a fixed profile: UID 65532, read-only root, every capability dropped, no network, logging off, one read-only mount. CPU, memory, process and /tmp limits are verified on the cgroup before the job may sign anything. |
| The pod, and nothing else | A job reaches its owner's pod only through a per-lease Unix socket to stratum-pod-proxy, which asks the signer to sign and forwards through the gate's proxy listener. Another member's pod, an ACL, an undeclared container or method are refused. |
| Withdrawal and suspension | Withdrawing an installation, or suspending its owner, disables the key, stops the container and cancels the job. Authorisation ends within 310 s whatever else fails. |
| Host preparation | deploy/host/stratum-host.sh checks and prepares the tenant daemon user, its rootless daemon and the socket bridges, and undoes what it created. |
Not here yet: Step 3b-3 (workspace slots), federation, agent sessions/memory/model routing, Obsidian sync, TLS or any remote access. See the roadmap.
The setup page of a fresh node, served on loopback. It never handles a private key: it describes each field and prints the stratum commands to run. The same page after the node is claimed.
Five small containers on one machine (node, signer, gate, pod and proxy), and a sixth (runner) on a second, rootless Docker daemon that exists only to run members' jobs. Everything is driven from a terminal, so it works over SSH on a headless host. You need Linux with cgroup v2 and systemd, Docker with Compose (rootless, under a dedicated user), git, jq, age 1.3 or later, and root once, to prepare the host. The steps below were run from a fresh clone on a real host, start to finish; the captures are from that run, with identifiers shortened. Nothing here opens a port to the network: node and gate answer on the host's loopback address only, pod and proxy sit on internal networks only, and signer and runner have no network at all.
1. Prepare the host. Root creates the tenant daemon user, its rootless daemon and two socket directories (the bridges) that join the two daemons. The script checks before it changes anything, shows a dry run, and can undo what it created. It reads its settings from the environment: copy deploy/examples/host.env.example and fill it in. It always needs Docker's rootless extras archive and a static slirp4netns, each with its published SHA-256, even where the tenant daemon is already installed, because it verifies the installed files against them (deploy/host/README.md).
git clone https://github.com/DreamLab-AI/stratum && cd stratum
cp deploy/examples/host.env.example ~/stratum-host.env # then edit it
set -a; . ~/stratum-host.env; set +a
sudo -E deploy/host/stratum-host.sh check
sudo -E deploy/host/stratum-host.sh prepare --dry-run
sudo -E deploy/host/stratum-host.sh prepare
sudo -E deploy/host/stratum-host.sh check # every item passes2. Start the node. The Compose file needs the two bridge paths, which are <bridge-parent>/<project>/runner and <bridge-parent>/<project>/lease. Keep them in an env file outside the repository, starting from deploy/examples/node.env.example; every docker compose -f deploy/compose.yml command below needs --env-file with it, so set an alias. The first build takes a few minutes.
cp deploy/examples/node.env.example ~/stratum-node.env # then edit it
alias dc='docker compose -f deploy/compose.yml --env-file ~/stratum-node.env'
dc up -d --buildA second node on a host that already runs one needs its own project name and ports: the example file has the three lines, and host preparation must be run for the same project name. The client then needs STRATUM_URL and STRATUM_CONNECT set to those ports.
3. Get the client. It is in the image; copy it onto your path.
mkdir -p ~/.local/bin
dc cp node:/usr/local/bin/stratum ~/.local/bin/stratum
export PATH="$HOME/.local/bin:$PATH"4. Choose the administrator key. This key will own the node. Either generate one:
mkdir -p -m 700 ~/.config/stratum
stratum key generate --out ~/.config/stratum/operator.nsecor use a Nostr key you already hold, by putting its nsec1… line in that file yourself (chmod 600 it; paste it into an editor, not onto a command line). Then:
export STRATUM_KEY_FILE=~/.config/stratum/operator.nsec5. Claim the node. A fresh node writes a one-time token and prints its own identity. Fetch both, then claim:
(umask 077; dc cp node:/var/lib/stratum/state/bootstrap-token ~/.config/stratum/bootstrap-token)
NODE=$(dc logs node | grep -o 'did:nostr:[0-9a-f]\{64\}' | head -1)
echo "$NODE"
stratum setup --token-file ~/.config/stratum/bootstrap-token --expect-node "$NODE" --set node.name=my-nodesetup shows the configuration change and the claim it is about to sign, and asks you to confirm before sending. (In a script, where there is no terminal to ask on, add --yes.) The token is now spent, so remove your copy: rm ~/.config/stratum/bootstrap-token.
6. Name the node. Pods are addressed under one canonical name, fixed when the first member joins. Until a public origin exists (a later step) the name is only a label that clients send while connecting to loopback, so choose the name you intend to serve from. Set it, then restart the node so the pod server starts:
stratum config apply --set "node.canonical_origin=https://stratum.example"
dc restart nodeconfig apply shows the change and asks before applying.
7. Start the runner. It runs on the tenant daemon, as the tenant daemon user, and needs the node's identity. Build its image and the report application's, and save both where the tenant daemon user can read them:
docker build -f deploy/Dockerfile --target runner -t stratum-runner:0.1.0-alpha.4 .
docker build -f deploy/Dockerfile --target report -t stratum-report:0.1.0-alpha.4 .
docker save -o <archives>/images.tar stratum-runner:0.1.0-alpha.4 stratum-report:0.1.0-alpha.4
cp deploy/tenant-compose.yml deploy/examples/tenant.env.example <archives>/Then, as the tenant daemon user (with DOCKER_HOST pointing at that user's own daemon), load them, fill in the env file and start the runner:
docker load -i <archives>/images.tar
cp <archives>/tenant-compose.yml <archives>/tenant.env.example . && mv tenant.env.example tenant.env # then edit it
docker compose -f tenant-compose.yml --env-file tenant.env up -d
docker image inspect --format '{{.Id}}' stratum-report:0.1.0-alpha.4 # keep this for step 10Until the runner answers, the node reports degraded: that is expected. Now, back as the node's administrator, check:
stratum status8. Set up backups. A backup encrypts pod archives to the node's backup.age_recipients and the v2 keystore inside stratum-signer to the signer's own post-quantum age recipients (age 1.3 or later); a backup is refused until both are configured.
age-keygen -pq -o ~/.config/stratum/backup-identity.txt
RECIPIENT=$(age-keygen -y ~/.config/stratum/backup-identity.txt)
dc --profile signer-recipients run --rm signer-recipients \
recipients --keys /keys set "$RECIPIENT"
stratum config apply --set "backup.age_recipients=$RECIPIENT"
stratum backupMove backup-identity.txt off this machine: it is what decrypts the keystore and pod archive in every backup.
9. Admit a tenant. A tenant is any Nostr key you invite. Here it is a second key on the same machine:
stratum key generate --out ~/.config/stratum/tenant.nsec
TENANT=$(stratum --key-file ~/.config/stratum/tenant.nsec key show | grep -o 'did:nostr:[0-9a-f]\{64\}')
stratum invite create "$TENANT" # prints the invitationThe tenant joins through the gate, reads the node's admission notice, and gets a pod only they can read and write:
export STRATUM_ORIGIN=https://stratum.example STRATUM_CONNECT=127.0.0.1:7461
stratum --key-file ~/.config/stratum/tenant.nsec join --invitation <invitation> --node "$NODE"
echo "hello from my pod" > hello.txt
stratum --key-file ~/.config/stratum/tenant.nsec pod put notes/hello.txt ./hello.txt
stratum --key-file ~/.config/stratum/tenant.nsec pod ls
stratum --key-file ~/.config/stratum/tenant.nsec export -o my-pod.tarstratum member list shows who is admitted. From now on stratum backup also archives every pod.
10. Run an application. The repository ships one, stratum-report, which lists a container in the member's pod and writes a digest of the listing back. Step 7 built it and loaded it into the tenant daemon. An application is approved by image ID, so put the ID step 7 printed into its manifest, then approve it as the administrator:
jq --arg id <image ID> '.image_id = $id' crates/stratum-report/manifests/report.json > report.manifest.json
stratum application add report.manifest.json # prints the application's IDThe tenant installs it, which shows the two access-control documents it will write to their own pod and asks before writing them, then runs it:
alias me='stratum --key-file ~/.config/stratum/tenant.nsec'
me pod put reports-input/data.txt ./hello.txt
me app install <application> # prints the installation's ID
me app run <installation> --period 1
me app jobs <installation>
me pod get reports/<installation>-1.jsonme app withdraw <installation> stops any running job, destroys the application's key and removes its access.
From here. stratum config show, stratum config preview --set path=value and stratum config apply --set path=value change the configuration; stratum audit checkpoint shows the head of the audit log. deploy/README.md covers restore, upgrades and the start order, and the client's README lists every command.
The setup page, from a headless host
The node also serves a read-only setup page that describes every field and prints the commands to run. It is on loopback, so from another machine forward the port over SSH and open http://127.0.0.1:7460/setup locally:
ssh -L 7460:127.0.0.1:7460 you@the-hostIt never handles a key, and nothing in the quick start needs it.
Starting again, or running from source
To throw the node away, including its identity and state:
dc down -vThe tenant project is stopped the same way with its own file, and stratum-host.sh undo removes what host preparation created.
Without a container (Rust 1.89 or later):
cargo build --release
mkdir -p -m 700 ./keys ./run
./target/release/stratum-signer serve \
--keys ./keys \
--admin-socket ./run/signer-admin.sock \
--app-socket ./run/signer-app.sock &
./target/release/stratumd serve \
--state-dir ./state \
--signer-admin-socket ./run/signer-admin.sock \
--listen 127.0.0.1:7460The bootstrap token is then at ./state/bootstrap-token and the client at ./target/release/stratum. Started this way there is no gate, pod server, proxy or runner: it is enough to claim and configure a node, not to admit members.
| Rule | What it means in practice |
|---|---|
| Tenant keys never leave the tenant | The node holds its own key and one key per installed application. It never holds a member's private key. |
| Every grant is signed by the owner | Access to a pod is a Web Access Control document the member signs from their own client, after seeing the exact change. |
| Platform services are guests too | The session plane, memory export, vault sync and federation inbox each get their own identity and need the same owner-signed grant as any application. Nothing has ambient access to a pod. |
| Suspension needs no tenant key | The administrator can block a member at the gate. They cannot impersonate one. |
| Operator trust is stated, not implied | The administrator has root on the host and holds the backups. Ownership is enforced by policy, key custody and a tamper-evident audit trail; it is not encryption against the operator. Members are told this when invited. |
| No home-made cryptography | Established primitives and formats only: BIP-340 Schnorr, NIP-98, NIP-59, JWS, age. No bespoke token or envelope format is published. |
flowchart TB
subgraph clients["Member devices"]
C1["Client and keys<br/>(did:nostr)"]
C2["Obsidian vault<br/>(planned)"]
end
CF["Cloudflare Tunnel (planned)<br/>TLS 1.3, hybrid ML-KEM"]
subgraph node["Node daemon"]
direction TB
GATE["stratum-gate<br/>membership, confinement, rate limits"]
CTRL["stratum-controller<br/>admission, lifecycle, jobs"]
POD[("solid-pod-rs<br/>internal only")]
SIGN["stratum-signer<br/>node and app keys, no network"]
PROXY["stratum-pod-proxy<br/>one socket per lease"]
SESS["Agent sessions, memory,<br/>model gateway (planned)"]
FED["stratum-federation<br/>(planned)"]
end
subgraph tenant["Tenant daemon (rootless, separate user)"]
RUN["stratum-runner<br/>no network"]
JOB["Job containers<br/>no network, read-only, no capabilities"]
end
PEER["Agentbox peer<br/>(deferred)"]
C1 --> CF
C2 -.-> CF
CF --> GATE
CF --> CTRL
GATE --> POD
CTRL -- "runner.sock" --> RUN
RUN --> JOB
JOB -- "lease socket" --> PROXY
PROXY -. "sign as the app key" .-> SIGN
PROXY -- "proxy-gate" --> GATE
CTRL -. "node key" .-> SIGN
CTRL -.-> SESS
CTRL -.-> FED
FED <-. "NIP-59, node to node" .-> PEER
Today the member's client reaches the gate and the controller on loopback; the tunnel, sessions, federation and vault sync are design. A job never holds a key and never reaches the pod server or the signer itself: it holds a lease secret and one Unix socket, and the proxy signs and forwards on its behalf.
The gate and the controller are separate processes on purpose. The gate carries pod traffic; the controller carries administration. Restarting or upgrading the controller therefore never interrupts a member's pod or their Obsidian sync.
| Component | Role |
|---|---|
stratum-gate |
Pod data plane. Checks membership and application-key confinement (.acl and cross-pod refusals), enforces per-principal/app/node rate limits, strips administrative headers, and serves members on the edge listener and applications on the internal proxy-gate listener. |
stratum-controller |
Setup, invitations, provisioning, suspension/archive/removal lifecycle, soft pod quotas, backup/restore orchestration, signer key reconciliation, application approval, installations, job scheduling and leases, and (later) the attach relay. |
solid-pod-rs |
The unmodified upstream pod server (0.5.0-alpha.26), launched by stratum-pod-launch, reachable only from inside the node, with open registration disabled. |
stratum-signer |
Networkless isolated key custody (network_mode: none) for the node key and per-installation application keys in keystore v2 behind signer-admin.sock and signer-app.sock. |
stratum-pod-proxy |
Per-lease pod proxy bridging job containers' Unix sockets to stratum-signer's signer-app.sock and stratum-gate's proxy-gate listener. |
stratum-runner |
Creates each job container on the rootless tenant daemon from one fixed profile and verifies its limits on the cgroup. (Step 3b-3) Isolated workspace slots. |
stratum-sessions |
(Step 4b) Per-member agent sessions in tmux, with layered instructions and three tiers of skills. |
stratum-memory |
(Step 4c) One memory sidecar per member, over that member's own database. |
stratum-model-gateway |
(Step 4c) Authorises model routes by member, provider and data class, and enforces budgets on the routes it carries. |
stratum-federation |
(Step 4a) Node-to-node message exchange using the same wire profile as Agentbox's nostr-pod-bridge. |
stratum-vault-sync |
(Step 5) Obsidian-facing sync adapter and change feed for VisionClaw. |
Stratum is part of the VisionFlow estate: a set of projects for governed agent meshes with shared semantics, self-sovereign data and human judgement in the loop. Stratum is the piece that lets more than one person live on a node.
| Project | What it is | How Stratum relates |
|---|---|---|
| VisionFlow | Distributed coordination platform for governed agent meshes | The estate Stratum belongs to; Stratum supplies multi-tenant nodes for it. |
| Agentbox | Nix-built sovereign agent container for a single operator | Sibling and federation peer. Stratum reuses its protocols and several of its design lessons; it makes no feature-parity promise. |
| solid-pod-rs | Rust-native Solid pod server with NIP-98 authentication | Runs unmodified inside every Stratum node as the pod store. |
| VisionClaw | Obsidian-vault knowledge graph engine with 3D and XR | Consumes each member's vault changes, isolated per member. |
| nostr-rust-forum | Decentralised Nostr forum in Rust | Carries the governance decisions that approve shared ontology changes. |
| ontomark | Ontologies in Markdown with OWL 2 EL reasoning | The format for the formal knowledge a node's members agree on. |
| loom | Ontology node for the estate | A model endpoint a node can route to. |
| visioncraft | Engineering guidance and evidence-bound quality gates | The quality bar Stratum's code will be built to. |
| Agentbox | Stratum | |
|---|---|---|
| Who it serves | One operator | One administrator and several invited members |
| Trust model | The operator trusts themselves | Members do not need to trust each other |
| Pod access | Operator-wide | Per member, by owner-signed grant |
| Key custody | Operator and agent keys on the box | Member keys stay on member devices |
| Build | Nix flake | Digest-pinned OCI images and Compose |
| Status | Running | Steps 1 to 3b-2 released as 0.1.0-alpha.4 |
Federation with Agentbox is deferred. Stratum's side is designed and will be proved against a fixture peer running Agentbox's unmodified bridge binary. The live exchange waits for changes on the Agentbox side: a peer relay, client mesh mode and an allowlist that can be reloaded at runtime.
- Transport (planned). The public origin is a Cloudflare Tunnel with TLS 1.3 and hybrid X25519 + ML-KEM-768 key exchange. The host opens no inbound listener for Stratum. Cloudflare terminates TLS and can therefore read pod traffic in transit; members are told this.
- Identity.
did:nostron secp256k1 Schnorr, which has no post-quantum form. The design records a key suite on every principal so a later migration can run two suites side by side, and it states the residual risk instead of papering over it. - Backups. Signing keys are archived only as
age-encrypted files to post-quantum hybrid recipients. A restore is not accepted until every restored key answers a signing challenge. - Audit. Records are hash-chained, and the chain's tail is pinned in each backup so truncation shows.
- Workers. Job containers run on a rootless daemon reserved for tenant workloads, under a different user from the node, with no network, no capabilities, a read-only root and no Docker socket anywhere a tenant process can reach. Built, and checked from inside a job on the target host.
- Model traffic (planned). API-key providers and local models go through the gateway with budgets. Subscription logins such as Claude Code talk to their vendor directly; the design confines them with an egress allowlist and reports them as unmetered.
The full reasoning is in ADR.md, decisions D12 to D14.
Each step ends with an acceptance run on the target host, and is ticked only after that run.
- Step 0 · Preflight. Storage, ports and a rootless Docker daemon on the target host. The canonical name is chosen; serving it publicly is its own item below.
- Step 1 · Fresh install. Boot an unconfigured, supply-chain-pinned Compose project and configure it only through the setup interface and CLI. Minimal backup and restore.
- Step 2 · Membership and pods. Admit two test members by invitation behind the gate and prove they cannot reach each other's data. Released in
0.1.0-alpha.2: contract. - Public origin. Serve the canonical name through a tunnel with TLS, and give the client a TLS transport. Until then everything runs on loopback.
- Step 3a · Suspension and departure. Suspend, resume, archive and remove a member without their key; a public profile document per pod; a size limit per pod. Released in
0.1.0-alpha.3: contract, independent code review answered, run on the target host. - Step 3b · Isolated work and revocation. Run the same application image for both members on a separate tenant daemon under owner-signed grants. Prove crash recovery, mid-flight grant withdrawal and that suspension stops running work. The contract is settled after an independent design review and measurements on the host:
- 3b-1 · Keys behind the signer: Released in
0.1.0-alpha.3, passing end to end against all real binaries (stratum-signer,stratumd,stratum-gate,solid-pod-rs-server,stratum), with an independent code review answered. Run on the target host, including the upgrade from a Step 2 deployment. - 3b-2 · Isolated work:
stratum-pod-proxy,stratum-runner, the installation, job and lease flows and the rootless tenant daemon. Released in0.1.0-alpha.4, passing end to end against the real binaries, with an independent code review answered. Run on the target host against a real tenant daemon: two members at once, the container profile, each limit attributed, isolation from inside a job, three crash points, withdrawal and suspension mid-job. - 3b-3 · Workspace slots: Fixed ext4 loopback slots and wipe-workspace — follows 3b-2.
- 3b-1 · Keys behind the signer: Released in
- Step 4a · Federation transport. Exchange messages node to node with a fixture peer; test outage, replay and trust withdrawal.
- Step 4b · Sessions, instructions and skills. Per-member agent sessions with
stratum attachover an authenticated stream. - Step 4c · Memory and model routing. One memory sidecar per member; the model gateway with budgets.
- Step 4e · Memory access from a federated node. A member grants a named principal on a trusted peer access to chosen memory collections, carried over the federation transport. Needs 4a and 4c.
- Step 4f · Scheduled jobs with egress and secrets. Calendar schedules, signer-held secrets released per lease, and network egress to destinations the administrator approves per application (LAN and external separately, both off by default), for every member. Needs 4b and 4c.
- Guided setup (optional). A model in the operator's own harness proposes configuration from the schema; a dry run validates it and the operator applies the plan. Stratum embeds no model client. Next after Step 3b.
- Step 4d · Optional sidecars. Opt-in skill picker and context compactors, each fail-open. Includes cost-aware route selection: MetaHarness's router with Retort's measurements, choosing only among routes a member has already authorised.
- Step 5 · Knowledge and full restore. Obsidian sync, per-member VisionClaw isolation, forum-governed ontology changes and a full-stack restore test.
- Step 4a-live · Agentbox exchange. Deferred until the Agentbox-side federation work lands. Blocks nothing above.
Three crates are on crates.io at 0.1.0-alpha.4. The others are internal to the node.
| Crate | Purpose | |
|---|---|---|
stratum-node-core |
did:nostr identity, typed identifiers, shared .acl path check, signed-request signing and verification, application manifests, error codes, bootstrap claim types |
crates.io · docs.rs |
stratum-node-config |
Versioned stratum.toml schema, validation, change preview and public-config hash |
crates.io · docs.rs |
stratum-node-cli |
The stratum command-line client (operator and tenant flows, 429 Retry-After fresh-nonce retry) |
crates.io · docs.rs |
stratum-store |
SQLite state (schema v4): configuration revisions, memberships, application keys, replay table, hash-chained audit log, snapshots | Internal |
stratum-signer |
The stratum-signer daemon and one-offs (keymove, recipients): keystore v2, purpose-bound signing, lease windows, two Unix sockets, encrypted export |
Internal |
stratum-controller |
The stratumd daemon and offline commands (restore, verify-restore, purge, verify-archive, audit verify) |
Internal |
stratum-gate |
The gate in front of the pods: member and proxy-gate listeners, app_keys confinement, token-bucket rate limits, write pause |
Internal |
stratum-pod-launch |
Starts the upstream pod server under a fixed eight-variable environment | Internal |
stratum-work-wire |
The wire types the controller, proxy and runner share, and a scripted runner for tests | Internal |
stratum-pod-proxy |
The stratum-pod-proxy daemon: a Unix socket per lease, grant checks, signing through the signer, forwarding through proxy-gate |
Internal |
stratum-runner |
The stratum-runner daemon: the fixed container profile, cgroup verification, reconciliation against the tenant daemon |
Internal |
stratum-node-sdk |
What a job links against: the lease client and the job's environment | Internal |
stratum-report |
The report application and the test probe, with their manifests | Internal |
stratum-fake-docker |
A scripted Docker engine API for the end-to-end suites | Internal |
stratum-e2e |
Real-binary end-to-end test suite exercising stratum-signer, stratumd, stratum-gate, stratum-pod-launch, solid-pod-rs-server, stratum-pod-proxy, stratum-runner and stratum together |
Internal |
These are design records, contracts and evidence, not user documentation. The operator's guide so far is deploy/README.md, with deploy/host/README.md for host preparation.
| Document | Contents |
|---|---|
| scope.md | What is being built, component ownership and the build order |
| PRD.md | People, journeys, release requirements and acceptance tests |
| ADR.md | Architecture decisions D01 to D14 |
| DDD.md | Domain model, aggregates and lifecycles |
| agent-runtime.md | Agent sessions, instruction tiers, skills, memory and model routing |
| knowledge-and-history.md | Vault sync, graph projection, ontology governance and history |
| inventory.md | Source inventory of Agentbox components and protocol edges |
| diagram-review.md | Review notes on the design diagrams |
| step-1.md | What the first build step must do, and its HTTP interface |
| step-2.md | What the second step must do: invitations, pods behind the gate, isolation, export. Released |
| step-3a.md | Step 3a contract: suspension, archive, removal, offline purge, soft pod quotas, public profiles (code review) |
| step-3b.md | Step 3b contract: isolated signer (3b-1), proxy and rootless worker daemon (3b-2), workspace slots (3b-3) (design review) |
| docs/crates/ | One page per crate: what it is for, what it promises, what it leaves out |
| docs/diagrams/ | Diagrams of everything built so far, each citing the code it was drawn from, with a register of known limits |
| docs/evidence/ | Build reports, the independent review answers and the runs on the target host (Steps 3a and 3b-1, Step 3b-2) |
Some links inside these documents point at sibling checkouts on the author's machine and will not resolve on GitHub.
It is early. The most useful contribution right now is a challenge to the design: open an issue naming the decision (for example "ADR D07") and what you think is wrong with it. Security reports go through private vulnerability reporting.
AGPL-3.0-only, matching solid-pod-rs, which every node runs.
Stratum stands on Solid, Nostr and its NIP-98 and NIP-59 specifications, and the work already done in Agentbox and solid-pod-rs.
