Daniel Dizon

← Writings

Append-only memory for multi-agent systems

As AI agents write more of what organisations remember, provenance becomes the scarce property. Why a memory format needs authorship, append-only history and scope, and what happens to institutions whose memory lacks them.

Daniel Dizon · 4 min read

“Buy the truth, and sell it not”

Proverbs 23:23

The first generation of AI memory treated remembering as a convenience feature: the assistant notes a preference, recalls it later, and the user is spared repetition. That framing is already obsolete. In organisations adopting AI agents, a growing share of institutional knowledge, such as decisions, conventions, the reasons a system is built the way it is, is now written by machines, read by machines and acted on by machines. Memory is becoming infrastructure, and infrastructure has to answer questions that convenience features never face. Who wrote this? When? Was it true then, and is it still true now?

The failure mode of overwriting

The simplest memory design is a key-value store: each topic has one entry, and a new write replaces the old one. It is easy to build and quietly corrosive.

Overwriting destroys three kinds of information. It destroys history: the organisation no longer knows what it previously believed, or when it changed its mind. It destroys accountability: there is no record of who replaced a fact, or whether that party was a person exercising judgement or an agent misreading a conversation. And it destroys the ability to recover from error: a bad write by an agent silently erases the good fact it replaced, and nothing remains to compare against.

These failures compound as agents multiply. A system in which several AI tools read and write a shared memory, each with its own error rate, is a system in which errors propagate. Without provenance, a mistaken memory written by one agent becomes an instruction followed by the next, and nobody can trace the chain back to its origin. This is the organisational equivalent of a corrupted ledger with no transaction history.

Provenance and scope in shared memory Three kinds of source write into a shared, versioned memory: a person, an AI agent or an import from another system. Each memory then has a scope: team, visible to everyone, or private, visible only to its author. Secrets are refused at write time. source: persontyped by a humansource: agentwritten by an AI toolsource: importfrom another systemShared memoryversioned, attributedscope: teameveryone sees itscope: privateauthor onlySecrets such as keys and passwords are refused at write time.
Every memory records who wrote it and who may see it.

Lessons from ledgers and version control

Two older disciplines solved this problem long ago, and their solutions converge.

Double-entry bookkeeping never erases. An error is corrected by a new entry that reverses it, so the books show both the mistake and its correction. Version control systems such as git work on the same principle: a change is a new commit referencing its parent, and the full history remains available for inspection, comparison and rollback. In both cases the design choice is the same: state is derived from an append-only record, and the record itself carries authorship and time.

The reason both disciplines arrived there is incentive-compatible auditing. When every change is attributable and nothing can be silently removed, the cost of careless or dishonest edits rises, because they remain visible. The system does not depend on every participant behaving well; it makes misbehaviour detectable.

The design in practice

Multitude AI, a project incubated by Rejoice that gives a person one memory shared across the AI tools they use, publishes an open memory format. That format applies the same discipline to AI memory, and its specific choices are worth reading as answers to the failure modes above.

Each memory is one plain sentence with a short topic key. Memories that share a key are versions of one fact, and at most one may be current at a time. Writing to an existing key does not overwrite: it creates a new memory and marks the previous one superseded, with a pointer to its replacement. History is kept by rule.

Every memory carries a source. The source records whether it was typed by a person, written by an AI agent, or imported from another system, and if written by an agent, which one. That single field changes how memory can be governed. A team can review agent-written memories before trusting them, weight human-written conventions differently, or trace a bad instruction to the tool that produced it.

Each memory also carries a scope: shared with the team or private to its author, and readers importing into multi-person systems must keep private memories private. And the format forbids secrets outright. API keys, passwords, private keys and tokens must not be stored, and writers should refuse text that looks like one, because a memory store that is read by many agents is the worst possible place for a credential to leak.

None of these choices is technically demanding. They are discipline, encoded in a specification so that every compliant tool enforces the same discipline, regardless of who built it.

A supersession chain in append-only memory Two memory records with the same key, release-cadence. The older record, written by a person, says the team releases every two weeks and is marked superseded. An arrow labelled superseded_by points to the newer record, written by an AI agent, which says the team releases weekly and is marked current. History and authorship are kept. m_101 · release-cadence"We release every two weeks."source: personstatus: supersededm_188 · release-cadence"We release weekly, on Tuesdays."source: agent (claude-code)status: currentsuperseded_byA new write never overwrites. The old fact stays, with who wrote it and when.
A write to an existing key supersedes the old memory, keeping both history and authorship.

Why provenance is the scarce property

The economic argument is straightforward. As the cost of generating text falls toward zero, the volume of machine-written content inside every organisation will grow without limit. What becomes scarce is trustworthy content: facts whose origin is known, whose history is inspectable and whose authority can be judged. Provenance is how an organisation tells the difference between a decision its leadership made and a plausible sentence an agent hallucinated last Tuesday.

Systems without provenance will still function, until an error matters. Then they will discover that they cannot answer the most basic questions: where did this come from, what did we believe before, and who changed it. Systems with provenance can answer all three, which is the difference between a memory and a rumour.

Truth bought and kept

Proverbs tells its reader to buy the truth and not sell it, which assumes that truth has a cost and is easily lost. The cost of keeping it in institutions has always been discipline: ledgers that do not erase, records that name their authors, archives that preserve what was superseded. AI makes that discipline more necessary, because the volume of writing that institutions depend on is about to exceed what any person can check.

The principle in the title is the whole design in three words. Facts change, and memory must change with them. But a fact that has been replaced should be superseded and kept, so that the organisation always knows what it knew, when it knew it, and who told it.