Engineering

Governed memory for AI agents:
the write path is the product

Most agent memory stacks are an append-only log with no gate. Anything the agent produces goes in, nothing checks it, and when something goes wrong months later there is no way to answer the only questions that matter: what went in, who judged it, and can I prove it? This article walks the write path we built instead — end to end, no hand-waving.

1 · The failure mode: unexamined memory compounds

An agent that remembers is an agent that accumulates. Its conclusions, its mistakes, and anything an attacker typed into a form all land in the same store. Three failure classes follow:

Storage is not the problem. Governance is: the write path itself needs a gate.

2 · The Umplitize write path

Every write — whether it arrives over HTTP, MCP, or the CLI — runs the same pipeline:

# the base-memory creation verb (amend/tombstone extend or
# retire records — see the governance ops below). kind is a
# non-empty string; content is capped at 64 KB; the field
# list is closed — an unknown field is rejected, not dropped
curl -X POST https://<instance-url>/ump/remember \
  -H "Content-Type: application/json" \
  -d '{"kind":"episodic","content":"We ship Fridays before 15:00.","tags":["ops"]}'
  1. License and quota gate. A lapsed license or an exhausted free tier refuses the write before anything touches disk — a refused write burns no quota and leaves zero chain evidence.
  2. Validation. The field allowlist fails closed: missing fields, oversized content, unknown fields, malformed tags — each rejection carries a machine-readable error code, so the agent can fix and resubmit.
  3. Grading. A policy grader judges the content — including secret-shaped-content rejection (credentials that look like real keys do not enter memory). The verdict is not a boolean: it is a graded record with its own identifier, urn:ump:grade:….
  4. Chain append. The accepted write becomes a frame in an append-only hash chain — sequence number and digest — then the store row links to that exact chain entry.

The result: every record in memory carries where it came from, what judged it, and its position in a tamper-evident chain. Recall returns that provenance with every hit — the URN is the audit citation.

3 · Correction without rewriting history

Memory that cannot be corrected gets abandoned; memory that gets edited in place cannot be trusted. Umplitize resolves this with thread semantics:

One pipeline, no side doors: the HTTP routes and the MCP tools — all eight operations — call the same governed closures, and the CLI's client verbs (remember, recall, capabilities) ride the same path for the L1 set. There is exactly one writer, behind a cross-process lock.

4 · What this is not (yet)

Honest limits, same list we publish on the security page: records are not individually signed yet; per-agent scoping and revocation are on the roadmap — today one instance shares one recall set; retention and decay are not shipped. The public demo runs an isolated sample ledger with a subset of the surface, precisely so strangers can poke it without touching anything real.

5 · Run it on your own box

The 24-hour self-hosted trial is one command, no card, no key — the trial process is the engine on your machine, and after 24 hours it keeps going at 50 writes/day, free. When you want it as production memory, a licensed instance is $200/mo on a 6-month term, on your server — we license the engine and run the license service and the off-box anchor, never your box.

Start the 24-hour trial Read the docs Read the threat model