--- title: "Engineering guides for AI agent memory" description: "Problem-space guides: changing facts, audit trails, retention, erasure, and entity resolution, each answered directly." canonical: https://past.dev/guides --- # Engineering guides for AI agent memory > Problem-space guides: changing facts, audit trails, retention, erasure, and entity resolution, each answered directly. Append .md to any URL below for that page in Markdown. ## Facts that change over time - [How to handle facts that change over time](https://past.dev/guides/facts-that-change-over-time): How a memory system stores facts that change over time: overwrite vs append-only vs supersession, with a worked example and an evaluation checklist. - [Bitemporal data, explained for AI systems](https://past.dev/guides/bitemporal-data): Bitemporal data tracks valid time and transaction time. What each axis records, the four query types they answer, and why agent memory needs both. - [Temporal databases and AI agent memory](https://past.dev/guides/temporal-database): What a temporal database records beyond current state, the main implementations, and what AI agent memory needs on top of temporal tables. - [Event time vs ingestion time in AI memory](https://past.dev/guides/event-time-vs-ingestion-time): Event time vs ingestion time: why AI memory must order facts by when things happened rather than when they were imported, and how to backfill history safely. - [When an AI agent holds contradictory facts](https://past.dev/guides/contradictory-facts): Contradictory facts in AI memory come in two kinds: a value that changed, and sources that disagree. How to detect each case and resolve it without guessing. - [Data provenance for AI agents](https://past.dev/guides/data-provenance): Data provenance records where a piece of data came from, who held it, and what transformed it. Why agent memory needs it for citation, audit, and deletion. ## Audit, retention, and erasure - [Audit trail for AI agent decisions](https://past.dev/guides/ai-audit-trail): An AI audit trail records what an agent knew when it acted: facts, sources, dates. What to log, and how to reconstruct a past knowledge state. - [EU AI Act record-keeping for AI agents](https://past.dev/guides/eu-ai-act-record-keeping): The EU AI Act requires record keeping for high-risk AI systems. What Articles 12, 19 and 26 ask for, and what agent memory must support to answer them. - [The right to be forgotten in AI agent memory](https://past.dev/guides/gdpr-memory-deletion): GDPR Article 17 gives people the right to be forgotten. What erasure means for AI agent memory, where derived facts hide, and how deletion by source works. - [Data retention policies for AI memory](https://past.dev/guides/ai-data-retention): A data retention policy states how long an AI system keeps each class of stored information and what happens at expiry. How to classify, enforce, and verify. - [Designing a forgetting policy for AI agents](https://past.dev/guides/forgetting-policy): A forgetting policy decides what an AI agent forgets, and how: supersession, decay or eviction, retention expiry, or erasure, chosen per data type. ## Entity resolution - [Entity resolution for AI agent memory](https://past.dev/guides/entity-resolution): What entity resolution is, how deterministic and probabilistic entity matching work, and why agent memory must resolve entities at ingestion. - [Identity resolution across sessions and channels](https://past.dev/guides/identity-resolution): How identity resolution joins emails, phone numbers, user ids and anonymous sessions into one profile, so an AI assistant keeps cross-channel context. - [How to merge duplicate profiles in AI memory](https://past.dev/guides/merge-duplicate-profiles): How to merge duplicate profiles without losing history: merge vs link, survivorship rules, provenance for undo, and monitoring after the merge. - [Testing entity resolution in agent memory](https://past.dev/guides/testing-entity-resolution): A working method for testing entity resolution: a gold set built from your identifier matrix, five standard cases, and an end-to-end assertion. ## Choosing and running memory - [How to build a company brain](https://past.dev/guides/build-a-company-brain): To build a company brain, connect the tools where work happens, resolve identities, track facts as they change, and answer with evidence. The architecture. - [How to choose a memory system for AI agents](https://past.dev/guides/choose-memory-system): A rubric to choose a memory system for AI agents: the five tests to run on your own data, the criteria that separate architectures, and when to buy nothing. - [Building an AI assistant that remembers users](https://past.dev/guides/ai-assistant-that-remembers): An AI assistant that remembers users needs identity resolution, facts that update, and deletion that holds. The architecture, and the two calls that run it. - [Memory observability for AI agents](https://past.dev/guides/memory-observability): Memory observability answers why an agent retrieved what it did: what to log at ingestion and recall, how to trace a wrong answer, and what to alert on.