Agent memory as data architecture
We cannot trust what the agent remembers
Memory is governed data with multiple schemas and lifecycles—not an embedding store with a prompt.
Similarity retrieval can return a relevant past fragment. It cannot tell you whether that fragment was eligible to persist, who may retrieve it, when it was true, what superseded it, or whether every derived copy was deleted.
Trustworthy memory separates recoverable session state from governed long-term records and makes scope, provenance, correction, retention, and deletion part of the schema before retrieval ranking.
See the Agent Memory as Data Architecture pillar →
Decisions that make memory trustworthy
- Lifecycle: Separate exact session recovery from selective long-term reuse; they require different schemas and retention rules.
- Admission: Type each durable record and capture its source, subject, authority, validity, and retention basis when it is written.
- Scope: Make organization, team, user, task, and purpose boundaries structural so retrieval cannot cross them accidentally.
- Change: Preserve temporal versions and supersession so the system can reconstruct what it believed when a decision was made.
- Forgetting: Propagate correction and deletion through records, indexes, caches, summaries, and other derived substrates.
Read the memory path
- Session state and long-term memory are different schemas — separate exact recovery from selective reuse.
- Agent memory needs governance before it needs embeddings — enforce admission, provenance, scope, correction, and deletion before ranking.
- Memory scope is a schema axis, not metadata — make ownership and tenancy structural.
- Slowly changing dimensions already solved memory versioning — preserve what was believed when a decision was made.
- Agent state needs schema migrations too — evolve stored state without silently changing meaning.
Proof and limits
Review the memory boundary in your system
A focused architecture review traces one consequential memory path through admission, scope, temporal change, retrieval, correction, and deletion to identify the missing contracts and sequence remediation.