Blog ·
Antumbra 0.3.1: experts on more than one machine, and a hardening pass
An expert trained on one machine is served on another, a machine with no GPU included: its adapter is sealed when it is admitted, pulled by the server that needs it, and its row travels with sync. Around that, the server, the store, the control server and setup refuse a list of things they used to accept.
Antumbra 0.3.1 is available. An expert trained on one machine can now be served on another, one with no GPU included, and the server, the store, the control server and setup refuse a list of things they used to accept: a short signing secret, a mailer that would log sign-in links, a cleartext workspace address, an oversized document, a share of a compartment that is not yours. A few of those stop a server that was running from starting, so read “Before you upgrade” first.
Install or upgrade
Run the installer again to get the 0.3.1 antumbra command. The command now names the release rather than latest, so what it runs is a published, unchanging script; it carries the sha256 of every archive it may download and refuses a mismatch before unpacking.
# macOS and Linux
curl --proto '=https' --tlsv1.2 -LsSf https://github.com/albedosehen/antumbra/releases/download/v0.3.1/antumbra-cli-installer.sh | sh
# Windows
irm https://github.com/albedosehen/antumbra/releases/download/v0.3.1/antumbra-cli-installer.ps1 | iex
Then run antumbra setup local (or antumbra setup hosted) again. It moves a local stack to the 0.3.1 server and writes this release’s hooks, which changed in the ways listed below; antumbra setup check says whether the hooks on your machine are the ones this build ships. A hosted workspace at a plain http:// address that is not this machine’s is refused now: use its https:// address, or pass --allow-http for a lab you vouch for.
Before you upgrade
- The server needs an HS256 secret of 32 bytes or more. With a shorter one, or the
.env.exampleplaceholder,--httpdoes not start and--mint-tokendoes not sign.openssl rand -base64 32makes one. - The control server needs a mailer. It no longer falls back to logging sign-in links: configure
SMTP_*, or setANTUMBRA_DEV_MAILER=1for development. - Hosted tokens last 7 days by default, down from 30, unless
--token-ttl-dayssays otherwise. - A copal archive over plain
http://off this machine needs--copal-allow-http, and a tenancy named in a header needs--copal-trust-headers. A barehost:portoff this machine now meanshttps://. - The networked server has limits it did not have: 16 sessions an identity, a 2-minute request timeout, budgets on the public relic routes, and documents capped at 512 KiB and 1,024 chunks.
- Upgrade the servers that share a store together. The first upgraded server or CLI to open a store moves experts’ rows and their status changes to records of their own; a server from before this release writes them the old way until it is upgraded.
- An agent older than Claude Code 2.1.163 is not reminded by the capture hook unless
ANTUMBRA_CAPTURE_NUDGE=blockis set.
What’s new
Experts on more than one machine
- An admitted adapter is sealed. Admission moves it to a file named for its contents,
<expert id>.<sha256>.safetensors, and records the sha256 and size on the expert’s card. A refused retraining no longer replaces the adapter that is served, and an admitted one is served without a restart. - A server told where the training server is (
--expert-source) pulls an expert’s adapter the first time it routes to the expert, checks it against the card, and serves it from then on without the training server. Each pull is signed for the user being answered and is good for a minute; the training server gives an adapter only to its owner, or to anyone for a shared expert. - A server that keeps a copal archive puts a second copy of every admitted adapter there. A server missing an adapter looks on its own disk, then asks its expert source, then the archive, and keeps only the bytes the expert’s row names.
- Sync carries an expert’s row and each change of its status, so a machine with its own store learns that an expert was trained from its memories. A server on an embedded store now runs the sync itself (
--sync-remote), holding the store only to read it and to write a batch, so it goes on answering while it syncs.
Experts on a machine without a GPU
- A build with no GPU backend answers from a quantized base.
--serve-quanttakesauto(Q8_0 on a CPU build, the dense base on acudaormetalone),off,q8_0orq4_k; Q8_0 decodes at about six times the dense base’s speed on a CPU. - The difference is measured, not assumed. Over 113 held-out examples of two experts, Q8_0 ranks another token first at 3.6% of positions and Q4_K at 14.4%, which is why Q8_0 is the default. A training that admits an expert now records that comparison under
drifton the expert’s card; nothing acts on it yet.
Hardening
- On an embedded store, a tool call carried by
POST /mcpruns as its own caller. It ran after the request that carried it had been answered, by which time the shared connection could have been signed in as another identity. The connection is now signed in immediately before each tool runs and held until the tool returns. - A grant written in another workspace opens nothing in this one; only a compartment’s owner can write its row; a member can hard-delete only what they can write; a workspace’s embedder key is read by the owner view alone;
share_compartmentandrevoke_compartmentact only on your own compartment and report what the store did. - A token can be revoked by its id.
antumbra revoke-tokenends one before it expires, and every server refuses it within 30 seconds.antumbra setup checkwarns three days before the saved token expires. - One identity may hold 16 sessions at once; a request has 2 minutes to begin its response; a connection has 30 seconds to send its headers; the public relic routes and the control server’s sign-in links have budgets per client and for everyone;
ingest_documentrefuses an oversized document before any work. - Secrets come from files where they did not:
--magic-secret-fileand--db-pass-file. The token file is written whole, readable by you alone, in a directory only you can enter. The hooks hand the token tocurlon stdin rather than on its command line. A relic’s references to private addresses are made inert before it prints.
Hooks
- The reminder at a turn’s end comes only when one is due: a stop goes through when the transcript holds a
store_memoryorrecord_behaviorsince the hook last looked, or the session was reminded withinANTUMBRA_CAPTURE_EVERY_SECS(600). It reaches the agent as feedback rather than a block, so Claude Code no longer reports “stop hook reported a problem”, and a compaction is never blocked.
Under the hood
unwrapis denied, andexpectandpanicwarned, in every crate’s code and tests, and CI’s-D warningsmakes all three errors. Every test returnsResult, so a failing fixture reports its error instead of a panic.- Issues and pull requests have forms, security reports go to a private advisory, and
CONTRIBUTING.mdsays how a change lands. - Both lockfiles are clear of the open advisories (rmcp 3.10, ammonia 4.2.5, quinn-udp 0.5.16), and CI audits both.
Known limits
- Only a standing expert carries the sha256 of its adapter, so only standing experts are pulled, archived and served on a second machine. One admitted before this release gets its sha256, and its copy in copal, at its next admitted retraining.
- Serving an expert on a second machine is new. The pull and the archive are tested against a source and an archive stood up inside the tests; they have not yet been run between two machines or against a deployed copal.
- A sync that signs in as a user, not as the owner, does not carry experts or their status.
- Training experts still needs an NVIDIA GPU.
Get started, or read the 0.3.1 release notes and the changelog.