Long-Term Memory

How AI Companion Memory Works: Context Windows, Summaries, Retrieval and Profiles

Short answerAI companions remember you in up to four layers: the context window (recent messages the model reads directly), rolling summaries (condensed notes about older conversation), retrieval (searching saved memories for what's relevant right now, often called RAG), and a profile (stable facts like your name and preferences). Humanistic memory combines these and adds judgment about what matters, what to let fade, and when to bring things up.
On this page
  1. The 4 layers of AI memory
  2. What it looks like in practice
  3. What “humanistic” adds
  4. How to tell which layers an app uses

The 4 layers of AI memory

Layer What it holds Strength Weakness
1. Context window The last chunk of conversation, read directly Perfect recall of recent turns Limited size; old messages fall out
2. Rolling summary Condensed notes on older conversation Keeps the story’s gist Loses specific details
3. Retrieval (RAG) A searchable store of saved memories Can recall specific facts from long ago Can fetch the wrong memory at the wrong time
4. Profile Stable facts: name, job, preferences, boundaries Always available Must be kept up to date and correctable

Most apps use only layer 1, or layers 1 and 2. Apps built around memory, such as ChatBrat, add saved memories you can see and remove, which ChatBrat shows in a memory panel with a per-fact Forget control.

What it looks like in practice

In a published 100-turn memory test, facts were planted before turn 10 and asked for after turn 80, well outside a 20-turn window. ChatBrat recalled the user’s name, job, city and a rescheduled wedding; Character.AI lost the city and the wedding. Both struggled with restraint, knowing when not to press on a painful topic. That shows why storing facts is the easy half of memory.

What “humanistic” adds

Humanistic memory is about judgment on top of storage:

  • Importance: a job interview beats what you had for lunch.
  • Emotion: hard moments are remembered with care, not as trivia.
  • Fading: small details decay instead of crowding recall.
  • Timing: memories surface when relevant, not as recitations.
  • Control: you can see, correct and delete what’s kept.

How to tell which layers an app uses

  1. Chat past ~50 messages, then ask about something from the start (tests layers 1 and 2).
  2. Start a new chat and ask again (tests layers 3 and 4).
  3. Look for a memory page you can edit (a sign of layer 4 with user control).
  4. Delete a memory and check that it’s gone (tests control).

Full checklist: the 10-minute memory test. Related: why AI companions forget · do AI chatbots remember your conversations?

Frequently asked questions

What is a context window in AI chat?

The amount of recent text the model can read at once. It acts like short-term memory: once a chat is longer than the window, the oldest messages are no longer seen unless the app stores and re-inserts them.

What is RAG memory?

Retrieval-augmented generation: the app stores memories, searches them for the ones relevant to your latest message, and adds those to what the model reads before it replies.

Why does AI memory sometimes bring up the wrong thing?

Retrieval can match on surface words instead of meaning, or surface sensitive details at the wrong time. Good memory systems weight importance and know when to hold back, which is the hardest part to get right.

Sources

  1. OpenAI Help Center: Memory FAQ
  2. ChatBrat Research: ChatBrat vs Character.AI 100-Turn Memory Test
About this guide

Written by Garret E. Williams, editor of AI Bot Chatting. App status is checked against the store listing on the date shown. Spot something out of date? Facts are logged in our change tracker; see how we check.

Memory

Do AI Chatbots Remember Your Conversations?

Do ChatGPT, Character AI and AI companions remember past conversations? How chatbot memory works, what is saved, and how to see or delete what an AI remembers.

Updated Nov 26, 2026 · 2 min read
⭐ Our top pick

ChatBrat: AI characters that remember you

Chat, roleplay and play interactive stories with characters who keep your story going. Free to start.

📱 Made for your phone. Open chatbrat.ai in Safari or Chrome and start chatting, no App Store download needed. Add it to your home screen in one tap.

Open ChatBrat
Dex Aleksić, AI character on ChatBrat Fan favorite · Emo musician Dex Aleksić Tattoos, piercings and a guitar. The heartbreaker everyone warns you about. Chat with Dex →

Top female characters

See all →