Antumbra, a private agent substrate

Antumbra since launch: six agents, any modern CPU, and your whole team

Shon Thomas
16 min read

Eighteen releases since Antumbra 0.1.0. It now connects six coding agents, keeps its own memory in shape, serves only the answers it tested, runs its experts on an ordinary CPU faster than llama.cpp does, and gives a team a shared workspace while each person's own memory stays private. What it fixed, what was measured, and what's still missing.

antumbralocal-aillm-systemsrustcoding-agentsteams

Antumbra 0.1.0 came out on October 7, and Antumbra on your own machine walked through running it. There have been eighteen releases since, and 0.5.1 shipped today. This post covers what changed, the problems those releases fixed, and what the fixes did for the agents that run on top of Antumbra.

If you're new to it: Antumbra runs underneath the Coding agentAn AI agent, such as Claude Code, that works inside your codebase: it reads files, runs commands and writes code on your behalf. you already use. It gives that agent a memory that carries across sessions and machines, and it learns the rules you give it and trains them into a small model you own. All of it runs on your own hardware.

Antumbra now connects six coding agents, serves its experts on an ordinary CPU (central processing unit)A computer's main general-purpose processor., and lets a team share one memory while each person's own memory stays private.

Why the difference shows up on the first day

People who have used Antumbra describe its effect as immediately noticeable. There's a plain reason for that: the memory half needs no training and no GPU (graphics processing unit)The chip that trains and runs AI models far faster than a computer's main processor., so it's working from the first session.

Without it, a coding agent starts every session knowing nothing about the last one. You explain your conventions again. A correction lasts until the Context windowThe amount of text a language model can take in at once: the conversation so far, the files it has read and its instructions. Whatever falls outside it, the model no longer sees. fills up, and then it's gone. The instruction file you keep for the agent only grows, and you're the one who maintains it.

With Antumbra underneath, the same agent:

  • opens each session with your conventions and what it has learned about the RepositoryA project's files together with their full history of changes, usually kept with git and hosted on a service such as GitHub. and BranchA separate line of work in a repository, so a change can be built and reviewed without touching the main line until it is merged. you're in, each memory marked with whether it still applies to the code in front of you;
  • gets the memories most relevant to each prompt before it starts working on it;
  • keeps a correction you make, so you make it once;
  • writes back what it learned and verified when the session ends, so the next session, on this machine or another one, starts from there.

That's the part people notice. The rest of this post is about what was measured, what changed since launch to make it better, and what's new.

How much better, in numbers

Three things have been measured, and one hasn't been yet.

The right memory reaches the agent. Recall is the step every session depends on, so I measured it with the kind of input the HookA script an app runs automatically at a set moment, such as when a session starts or ends. actually send: 399 plain-language questions, each answered by one memory in my own store. Just before launch, on my own server, which runs the optional RerankerA second model that reads each search result next to the question and reorders the results by how well they actually answer it., recall put the right memory among the three it hands the agent with each prompt 81.5% of the time, up from 52%, and among its top ten 88.7% of the time.

Rules get followed. These are four of my own rules, measured in Antumbra's own small model on 18 tasks per rule that training never showed it:

Rule Base model Base model, rule recalled into its context With its expert
Reach a server by its SSH alias 0/18 0/18 16/18
Extract PDF text with pdftotext -layout 0/18 1/18 18/18
Name branches feat/{issue}-{slug} 0/18 0/18 18/18
Open pull requests against main 0/18 0/18 13/18
40 everyday tasks no rule covers 34/40 15/40 33/40

The last row checks that the expert didn't get worse at everything else: it got 33 of those 40 right, against the Base modelThe general model that experts are trained on top of. Antumbra keeps one small local base model and adds experts to it as small adapters.'s 34. Recalled text placed in front of those unrelated tasks, by contrast, cost the base model more than half of them.

That table is from just before launch. After the first of the training fixes described below, my own server's expert for rules that apply everywhere was taught 15 of my rules that the base model didn't already follow, and learned 13 of them in about twelve minutes of training. The day before, the same server had tried to teach all 104 waiting rules at once, trained for an hour, and been refused.

It runs on hardware you already have. On my laptop's CPU, an expert went from about 1.4 Tokens a secondHow fast a language model writes. Models write in tokens, pieces of words about four characters long on average, so 30 tokens a second is a little over 20 words a second. to 36.3, where llama.cppAn open-source program for running AI models efficiently on ordinary hardware, from laptops to small boards. runs the same expert at 23.3. The section on serving below has the rest.

Not measured yet: the same coding agent, with and without Antumbra, on the same tasks. That's the comparison that would put a number on what people notice: how many corrections you repeat, how many tokens a task takes, and how often it succeeds. The expert results above are for Antumbra's own small model, and a large model given a rule in its context may follow it without an expert. That comparison hasn't been run yet, so this post doesn't claim a number for it.

Six agents instead of one

At launch, Claude CodeAnthropic's AI coding agent. It works in your terminal and your codebase, and connects to outside tools over MCP. was the only agent I'd tested Antumbra with. antumbra setup now connects six: Claude Code, Gemini CLIGoogle's open-source AI agent for the terminal., CodexOpenAI's AI coding agent., GitHubA popular website for hosting code repositories, reviewing changes and running automated checks. CopilotGitHub's AI coding assistant. CLI (command-line interface)A program you use by typing commands into a terminal rather than clicking through windows., goose and OpenCodeAn open-source AI coding agent that runs in the terminal.. Each one gets the same four things: Antumbra's tools, its memory when a session starts, recall with every prompt, and a reminder to save what it learned. I ran each of them against the real tool, not a stand-in for it.

Shell
antumbra setup local                         # every agent it finds
antumbra setup local --agent claude,codex    # only the ones you name
antumbra setup local --dry-run               # what it would write, first

No agent holds your token in its own config file. Claude Code reads it from a file only you can read each time it connects. The other five start a small bridge, antumbra mcp bridge, which reads the same file for every request and reconnects by itself when the server restarts.

Because every agent on a machine reads the same store, switching agents costs you nothing you taught the last one. You can try Codex on Monday and go back to Claude Code on Tuesday, and both know what you told either of them.

Two more things matter if your company manages your machine. Agents launched through Databricks' Unity GatewayDatabricks' launcher for coding agents, run as ug. It starts agents such as Claude Code, Gemini CLI and OpenCode with configuration it keeps in a directory of its own. (ug) are covered: setup writes Antumbra's files where ug looks for them. And antumbra setup check now reads the managed settings an organization can install for Claude Code and Codex. When a policy blocks the hooks or the MCP (Model Context Protocol)The standard way AI coding agents such as Claude Code connect to outside tools and data. server, the check names the file and the key that does it, and whose it is to change. Before, it told you to run setup again, which a policy would refuse.

One thing you have to do yourself: Codex runs none of the hooks until you approve them. Start Codex, type /hooks, and approve Antumbra's three.

The problems it fixed

Most of the last six weeks went into problems that made agents less useful than they should have been. These are the ones that mattered most.

The memory needed tending by hand

A memory store that only grows gets worse over time, because the memories that matter end up buried under ones that never did. At launch, keeping it in shape depended on the agent confirming or correcting memories, and agents rarely do that unless you ask.

Since 0.2.5, Antumbra does it on its own. It counts every memory recall shows the agent, and at the end of each turn it checks which of those the answer actually drew on. A memory that gets used stays strong. One that keeps being shown and passed over, or that goes unused for a long time, fades, at a rate set for each kind of memory, and moves down in recall. Nothing is deleted this way. When a new memory restates an old one, Antumbra links the two and counts the old one as having come up again, so a fact that keeps proving true gets stronger. Your agent can still confirm or correct a memory itself when its work proves it right or wrong.

The save reminder interrupted work

The hook that asks your agent to save what it learned used to stop the agent at the end of every turn. Claude Code showed each stop as "stop hook reported a problem", a long-running job was stopped every time it paused, and the hook could block a compaction. Since 0.3.1, the reminder comes only when it's due: not when the agent has saved something since the last check, and not within ten minutes of the last reminder. It reaches the agent as feedback instead of an error, and it never blocks a compaction. Before a compaction, it asks the agent to keep anything it hasn't saved yet in the summary.

Training could leave an expert worse than before

A few of these fixes are about experts, so here's what one is. When you tell your agent how you want something done ("name branches feat/{issue}-{slug}"), Antumbra records it as a behavior: the rule, a check a program can run, and examples that pass and fail it. An expert is a small add-on, a LoRA adapterA small set of extra weights trained on top of a frozen model, so the model itself never changes. Each Antumbra expert is one LoRA adapter, about 37 MB., that teaches Antumbra's own small local model to follow those behaviors. A standing expert covers one repository, or everywhere, and it's retrained when its set of behaviors changes.

Since 0.4.0, a behavior your agent proposes is accepted on its own after it has waited a day, because most proposals are never looked at, and a rule nobody accepts is never taught. You can still retire one, or turn the waiting period off. Accepting on its own exposed two faults in training. Nothing limited how many behaviors one expert was taught, so a server's first pass after the upgrade could put a hundred into one expert, train for an hour, have the whole set refused, and then start over. And each retraining was a fresh attempt that could replace a good expert: one that had learned 13 of its 15 behaviors was retrained and came back knowing 9, and the new one took its place.

Both are fixed. One expert is taught at most ten behaviors unless you raise the limit, and the rest wait their turn. A behavior the base model already follows is left out, since there's nothing to teach. An expert is replaced only by one that learned everything the old one knew. And a workspace setting pauses training without losing anything.

The server didn't serve the answers it had tested

Antumbra admits an expert only after testing it on Held-out tasksExamples kept out of training on purpose, so a score on them shows whether a model learned the job or only memorized its examples. tasks, which are tasks it never saw in training. Until 0.4.5, the server then generated its answers with two settings the test never used: a penalty on repeated words, and a block on repeating any sequence of three tokens. The block made it impossible to write a three-token name twice. Asked for a function that adds two i64 values, an expert wrote this:

Rust
fn add(a: i64, b: i32) -> i6 { a + b as i6 }

With the block off, it wrote this:

Rust
fn add(a: i64, b: i64) -> i64 { a + b }

Of that expert's 78 held-out answers, only 14 came out the way the test had read them. The server now generates answers exactly the way the test does.

Three other fixes come from the same rule:

  • A Windows build and a Linux build of the same code wrote different answers to the same prompts in five runs out of six. The cause was a lookup table each platform built with its own math library. Antumbra now builds it the same way everywhere, and the two builds agree in all six runs.
  • Antumbra's code for processors with AVX2 and AVX-512Instructions in Intel and AMD processors that do the same arithmetic on many numbers at once. Nearly every x86 processor since 2013 has AVX2. AVX-512 handles twice as many numbers at a time, on processors that have it. gives the same result as its code for processors with AVX-512, down to the last bit, so an older desktop and a newer server write the same answers.
  • Before 0.3.1, a retraining that was refused could still be the one loaded after a restart, because every training saved over the file the served expert came from. Each admitted expert now lives in a file named for its contents, and its checksum is on the expert's record.

What Antumbra tested is now what it serves, on every machine.

Experts needed an NVIDIA GPU

At launch, experts needed an NVIDIA GPU both to train and to serve. A server built with the models feature now serves them on an ordinary CPU: every Apple siliconThe processors Apple designs for its own Macs, starting with the M1 in 2020. They are Arm processors, with memory that the CPU and GPU share. Mac, Arm servers, Intel processors since Haswell (2013) and AMD's since Excavator (2015). The server image that setup installs doesn't include that feature yet, so for now it's one build from the source:

Shell
cargo build --release -p antumbra-mcp -p antumbra-cli --features models

The first release that served an expert on a CPU, 0.2.6 on November 1, ran it at 8.8 tokens a second on my laptop, an 8-core Intel i9-11900H, compared with 1.4 before it compressed the model. Since 0.4.3, and on every supported CPU since 0.5.0, Antumbra runs the model through CPU code of its own, written for the way it serves experts, instead of a general-purpose library. These figures are tokens a second for a 1.5-billion-parameter base model with one expert, compressed to four bits, with llama.cpp, the usual tool for running models on a CPU, given the same expert on the same machine:

Machine Antumbra llama.cpp, same expert
Intel i9-11900H laptop 36.3 23.3
Intel i9-12900KS desktop 60.8 46.1
Apple M4 Pro 177 not measured

The laptop ran well below its rated clock in these tests, which lowers both tools' figures; llama.cpp ran beside Antumbra on the same machine, at its best thread count. On the M4 Pro, the general-purpose path Antumbra used before ran the same model at 99 tokens a second. An expert now adds no measurable cost per token there, a prompt is read two to four times as fast, and the model loads in 2.8 seconds instead of 11.4.

Two more changes make one server enough for a team:

  • It answers requests together. Each pass over the model's WeightsThe learned numbers inside an AI model. Training adjusts them, and answering a question reads them. now produces the next token for every request in progress, up to 32 of them, and each gets exactly the answer it would have gotten alone. On the M4 Pro, one request runs at 176 tokens a second and eight at once at 375 between them. Eight requests through two different experts took 2.75 seconds, compared with 5.59 one after another.
  • It guesses ahead and keeps only correct guesses. One pass can check a few guessed tokens for little more than the cost of one. Antumbra guesses from what followed the same few tokens earlier, keeps each guess that matches what the model would have written anyway, and drops the rest, so on a CPU no answer changes. On the laptop, one expert's tasks ran at 33.6 tokens a second instead of 26.8, and asked a second time, a whole answer took 413 milliseconds instead of 1,172. On an RTX 3090 TiA consumer NVIDIA graphics card with 24 GB of memory, enough to train and serve small AI models., the same idea took one expert from 108 to 129 tokens a second, and to 1,106 on repeated tasks. A GPU rounds slightly differently when it reads ahead, so some answers there are worded differently, and Antumbra tests each expert with the same setting it will be served with.

The server also gives each workspace its turn, so one team's burst of requests doesn't hold up another team's single one. It drops a request whose caller has hung up instead of finishing an answer nobody will read, and when its queue is full it says it's busy instead of falling behind.

Training an expert still needs an NVIDIA GPU, but the expert doesn't have to stay on that machine. Since 0.3.1, each admitted expert is sealed with a checksum, and a server without a GPU can fetch it from the training machine the first time it needs it, check it, and keep its own copy from then on, so one GPU machine can train experts for several CPU servers.

For teams: one workspace, and your memory stays yours

Until 0.5.1, a hosted workspace had no members as such: no profiles, no roles, and no way to ask to join. Now each member has a profile, with the name they go by and an image, and a role: owner, admin or member. Only an owner changes roles, an admin can remove a member, and a removed member's token stops working on their next request.

Joining is a request an admin approves. An admin makes a join code and hands it over, and the newcomer asks to join from their own machine:

Shell
antumbra join https://antumbra.example.com --code <code> --handle sam
antumbra join --status     # collects the token once an admin approves
antumbra join --connect    # gives your agents the workspace's tools

The admin approves or refuses the request on the dashboard's Members page. A server started with --members-only serves its members and no one else.

The part I care about most is what joining doesn't do. Joining a workspace doesn't copy anything from your machine. Your machine keeps its own store, and your memories stay there until you choose to share them.

  • Your agent reads both. Each session and each prompt recalls from your own store and from the workspaces you've joined, at the same time, and the context says which memories are yours and which are the team's.
  • You choose what to share. The dashboard's Share page narrows thousands of memories by kind, repository, machine or text, and lets you decide for one memory or for everything a filter matches. Anything that looks like a secret is held back until you ask for it. antumbra bring then copies what you chose to the workspace, and the original stays where it was.
  • It suggests what else to share. After you've shared five memories, a Suggested view lists the undecided ones that look like what you shared. It only suggests, and it never sends anything on its own.
  • A team can pool knowledge. A member offers one of their CompartmentA named group of memories you own in Antumbra. You can keep it private, share it with specific people, and train a private expert from it. to the whole workspace, an admin accepts it, and every member can recall from it until its owner takes it back.
  • Your agents reach the workspace separately. antumbra join --connect registers each workspace with Claude Code, Codex and Copilot CLI as an MCP server of its own, which uses the workspace's token and never your machine's.
A machine that joins a workspace keeps its own store. The agent recalls from both, and only what you choose is copied to the team.

For an organization, the result is a memory that belongs to the team, runs on your own servers, and works with whichever of the six agents each person prefers. A developer on Codex and a developer on Claude Code read from the same workspace. The Elastic License 2.0 that Antumbra ships under allows running it inside your own organization.

What else is new

  • Setup no longer needs a clone of the repository. Install the antumbra command and run antumbra setup local. It pulls the server image published for that version, and running it again after an upgrade moves you to the new one.
  • The dashboard is an application. It has a sidebar of pages and an Overview that starts with what's waiting for you: proposed behaviors, handoffs between your machines, a token close to expiring. You can now write, confirm, correct and forget memories from it, mark handoffs done, see which skills and rules your agent uses, and, as the operator, change the workspace's settings.
  • The terminal console is readable. antumbra tui finds your server and token by itself, opens on plain lists, names every key it takes, and gained a page for the dependency graph and a Training page that shows what the server is teaching.
  • Relics. Pages your agent writes for you, such as reports and write-ups, can be kept as relics: stored with every version, searchable, shown in a gallery, readable on a phone, and downloadable as HTMLThe language web pages are written in. A page can include scripts that run in the browser of whoever opens it., Markdown or PDF. They're private unless you make one public.

What's still missing

  • Setup still doesn't start the reranker. Without it, recall can't say "nothing relevant", and on a CPU it's too slow to sit in front of every prompt. It's an optional part of the Docker setup.
  • Setup advertises all 42 tools. The 21-tool agent profile, which is all a coding session needs, is a server setting that setup doesn't apply yet.
  • The server image setup installs can't serve experts yet. Serving on a CPU takes a build with the models feature, shown above. Without it, answer hands the task back to your agent and everything else works the same.
  • Training needs an NVIDIA GPU with at least 16 GB (gigabyte)About a billion bytes. A feature-length film in high definition is a few gigabytes. of video memory. Serving doesn't.
  • Fetching an expert from the machine that trained it has only run in tests, not yet between two separate machines.
  • Where a joined machine's new memories go is an instruction to the agent. antumbra join --write private|workspace|ask sets it, and it's private by default, but nothing enforces it.
  • Gemini CLI, goose and OpenCode don't get a workspace's tools yet. Claude Code, Codex and Copilot CLI do.
  • Signing in by email on a hosted Control planeThe part of a hosted service that manages accounts and access, such as sign-ups, sign-in links and tokens, kept apart from the part that does the service's actual work. has only run in tests, not against a deployed one with a real mail server.
  • There's still no export command, and Antumbra doesn't encrypt its database. Your disk's own encryption is what protects it.

Getting it

The installers for 0.5.1 are on the release page:

Shell
# macOS and Linux
curl --proto '=https' --tlsv1.2 -LsSf https://github.com/albedosehen/antumbra/releases/download/v0.5.1/antumbra-cli-installer.sh | sh

# Windows, in PowerShell
irm https://github.com/albedosehen/antumbra/releases/download/v0.5.1/antumbra-cli-installer.ps1 | iex

Then run antumbra setup local, or antumbra setup hosted to connect to a server your team runs, and start a new session in your agent. If you set Antumbra up before, run setup again: it moves you to the new server and hooks, and connects any of the six agents it finds. antumbra setup check tells you whether everything is in place.

The steps are at antumbrahq.ai/start, every change is in the changelog, and the source is on GitHub.