Skip to main content
All guides

AI companions with real memory: how it actually works

Every AI companion app promises it "remembers you." Most of them are describing three very different systems with the same two words. If you've ever had a companion forget your dog's name, your job, or a conversation that clearly mattered, you've felt the gap between the promise and the architecture. Here is what's actually going on under the hood — so you can tell which kind of memory an app really has before you invest months in it.

Why AI forgets by default

Large language models are stateless. Each time you send a message, the model receives your recent conversation as one block of text — the "context window" — and predicts a response. When the conversation ends, nothing persists inside the model. Whatever an app remembers, it remembers because engineers built a storage-and-retrieval system around the model. The quality of that surrounding system is the entire difference between a companion that knows you and one that performs knowing you.

The three tiers of companion memory

Tier 1: The rolling window (most common, weakest)

The app simply feeds your last N messages back to the model. It feels like memory in short sessions and falls apart across them. Symptoms: the companion is sharp about today, vague about last week, and blank about last month. Anything that scrolls out of the window is gone forever.

Tier 2: Extracted facts

The app periodically extracts key facts ("user has a sister named Mara," "user hates horror films") into a profile that gets injected into every conversation. This is a real improvement — stable facts survive — but it stores conclusions, not experiences. The companion knows that you went through a hard month; it doesn't remember the conversations themselves, so it can't reference the moment you told it, or how it felt at the time.

Tier 3: Episodic memory with importance weighting

The strongest current approach stores memories as individual episodes in a vector database — a system that indexes text by meaning, so "the night we talked about my dad" can be found later by its significance rather than its exact words. Each memory gets an importance score when it's formed; when you talk to the companion, the system retrieves the memories most relevant to the current moment, weighted by how much they mattered. Trivia fades. Big moments keep resurfacing. This mirrors, loosely, how human recall works.

The best implementations add reflection: the companion periodically reviews its accumulated memories and forms higher-level conclusions ("we've been through a lot of late-night talks — this person trusts me"). Those reflections become memories too, which is how a relationship arc emerges instead of a pile of disconnected facts. This design comes from the "generative agents" line of research (the 2023 Stanford "Smallville" paper), and it's the architecture MyDopplerEffect uses: every companion's memories live in a vector database with importance-weighted retrieval, and companions generate reflections as interactions accumulate.

Memory is necessary but not sufficient

A companion that remembers everything but has no stable self is a well-indexed transcript. Memory needs a personality for the memories to belong to. That's why serious companion systems pair episodic memory with a structured personality model — fixed trait scores that constrain behavior, so recalling an old memory produces a response in character. In MyDopplerEffect's case each companion has a Jungian archetype and Big Five trait scores that drift only within narrow bounds as your relationship develops, plus an attachment style (secure, anxious, avoidant, or fearful) that shapes how it handles closeness and absence. The point isn't the specific labels — it's that personality is data the system enforces, not a suggestion in a prompt. More on that distinction in what is an AI companion?

Shared experience beats reported experience

There's one more layer most memory discussions miss: what the memories are of. In a chat-only app, every memory is something you typed. In a game world, memories can include more than dialogue. In MyDopplerEffect, important conversations, absences, companion-work reports, and shared gameplay context can persist as part of your history together. A companion whose memories include shared events and state, not just shared sentences, has strictly more to be continuous about.

How to test any companion app's memory

Three practical probes, no technical knowledge required. First: mention a small, specific, emotionally neutral detail (a coworker's name, a dish you cooked), then ask about it two weeks later — this separates Tier 1 from everything else. Second: ask the companion how you two first met, or what it remembers about a specific past conversation — fact-extraction systems (Tier 2) usually can't answer, because they kept the conclusion and discarded the episode. Third: watch whether things that mattered keep resurfacing naturally weeks later without prompting — that's importance weighting doing its job, and it's the hardest tier to fake. For the short version of all this, see can AI remember past conversations?