AI Companion Memory Explained: Why Yours Keeps Forgetting
The architectural reason companions forget, and which memory approaches actually work.
In this guide
Context windows are finite
A language model can only see a fixed amount of text at once. Once your conversation exceeds it, the earliest messages fall out. Nothing the model does can recover them, which is why a companion can forget something you said an hour ago.
Conversational memory: the common approach
Most platforms simply feed the recent conversation back in, sometimes with a rolling summary of older parts. It is cheap and it works within a session. It does not survive across weeks.
Structured memory: the better approach
A minority of platforms extract facts into a database with categories and importance ratings, then retrieve the relevant ones per message. This survives indefinitely because it is not competing for context space.
Entry-based memory: the current best
The most advanced approach we have documented stores memory as versioned entries organised into sections for cast, world, relationship, facts and chronicle, with keyword triggers deciding what loads. The user can audit and edit the entries directly, which is the part that matters, because it means you can correct a companion that has learned something wrong.
Secrets AI
★★★★★The deepest feature set in the category, and the only one whose memory architecture is genuinely novel.
More guides
About the author
M. Khan
M. Khan is the editor of CompanionRank. He has spent the last two years taking apart AI companion platforms, reading their shipped client code, their public API responses and the company filings behind them, because almost nothing in this category can be taken at face value.
More about our team