Daniel Arcé

Design Technologist — AI products, complex systems, accessible interaction

The Economics of Remembering

experimentregistered

Danica Phelps, stripe drawing, 2013. Graphite and watercolor on paper. © Danica Phelps.
Danica Phelps, stripe drawing, 2013. Graphite and watercolor on paper. © Danica Phelps.

The claim

Durable memory outside the model reduces the tokens an agent spends to reach the same outcome. Tokens are the metered unit of model work; everything an agent reads or writes is counted in them. This entry registers that claim before measuring it. Everything below is argument, not measurement. The status on this page stays registered until the measurement in the last section has been run; it then moves to measured if the claim survives, or to closed if it does not.

The argument

The mechanisms below are ordered by my confidence in them. Together they are why I put p ≈ 0.7 on the criterion at the end of this page being met.

Repeated mistakes are pure token cost

A mistake an agent cannot see is a mistake it will re-make at full price: the exploration, the wrong fix, the failing review, the retry. The interrogation note shows the record holds exactly this class of information, failed reviews stored together with their resolutions. Each one retrieved replaces a full re-derivation; the saving is that re-derivation's tokens, net of the injected packet's own cost. Settling that balance is what the measurement below is for.

The memory outlives the context window

Context is a per-session budget; the database is cumulative. Re-establishing project state at the top of every session is a recurring tax, and a bounded projection from durable state replaces it at a fraction of the size.

Vendor-agnostic memory is paid for once

Because the record is plain SQLite, every agent tool reads the same accumulated state. Work done under one vendor's pricing stays legible to all of them, and switching agents does not forfeit the memory.

Subscription seats change where waste lands

Agent work is billed two ways. Through a metered API, every token appears on the bill, so every exploration, wrong turn, and retry costs real money. On a subscription seat, the same work is prepaid: the monthly price is fixed whether the agent works efficiently or wastefully, up to the plan's limits. The tokens are never free. What differs is whether waste shows up as a larger bill or as less useful work extracted from a fixed one. The observed anchor: a fleet of small subordinate agents in one repository moved hundreds of millions of tokens on flat-rate seats, traffic that would have cost several times the seat price if metered. Durable memory helps under either scheme. On a meter it takes re-exploration off the bill; on a seat it stretches how much finished work fits inside the same fixed price and plan limits.

What would settle it

The measurement is cheap because the instrumentation already exists: every orchestrated turn writes its token counts to a metrics table, tagged by task and source.

Design: ten task pairs in the same repository, matched at assignment on task type and the expected size of the change, before any outcome is visible. One arm receives the memory packet described in Memory Outside the Model at session start; the control arm starts cold. Fixed N; no early stopping. Pairs share one repository and one accumulating record; each memory arm reads the record as it stood at assignment, and the interference that remains is stated here rather than modeled. Primary metric: total tokens per completed task, read directly from the metrics table. Secondary: repeats of review failures already present in the record. Pre-stated success criterion: the claim survives if the memory arm spends at least 20% fewer tokens at an equal or better review pass rate. Anything less, and this entry closes negative. The readout will report the confidence interval on the token difference, not only pass or fail against the criterion.

If the measurement has not run by 2026-12-31, this entry closes unresolved. Publishing the design first is the point: the number, when it arrives, has to live with the criterion written here.