Source: https://chatsonya.com/guides/how-ai-companion-memory-works/
Summary: How an AI companion remembers you: the context window, long-term memory notes, what gets remembered, why details sometimes slip, and how to correct or delete memories.

1.  [Home](https://chatsonya.com/)
2.  [Guides](https://chatsonya.com/guides/)
3.  How AI companion memory works

How it works

# How AI companion memory works

How an AI companion remembers you: the context window, long-term memory notes, what gets remembered, why details sometimes slip, and how to correct or delete memories.

Updated 29 November 2026·2 min read

An AI companion remembers you by combining **short-term memory**, the recent conversation it can read directly, with **long-term memory**: notes about you that are saved between conversations. Before replying, Sonya reads both. That is how she can follow your current message and still ask about the exam you mentioned last week.

## Short-term memory: the context window

AI language models have a **context window**, the amount of text they can take in at once. Everything in that window, typically your recent messages, is visible when Sonya writes a reply. It lets her follow the thread of a conversation, refer back to what you said earlier that evening and keep the tone consistent.

The window is big but finite. In a friendship that lasts weeks or months, early conversations eventually fall outside it.

## Long-term memory: notes that last

To remember beyond the window, Sonya keeps short notes as you talk. These capture things like:

-   your name, job or studies, and your routines;
-   people and pets you mention, and how you feel about them;
-   goals you are working on and events coming up;
-   your favourite films, music, food and hobbies;
-   running jokes and conversations you enjoyed.

The notes are saved to your account. When you come back, even after weeks, she reads them first, which is why she can say “How did the 10k go?” without being reminded.

## Why not remember everything?

Storing every word would make a companion slower and less focused, and it is not how good friends remember either. Selective memory keeps Sonya’s attention on what actually matters to you.

## When she gets something wrong

Memory systems are not perfect. Occasionally a detail is missed or two similar things get confused. Just correct her: “It’s my cousin’s wedding, not my brother’s.” She updates her notes.

## Keeping control

-   **Ask what she remembers.** She will tell you what she knows about you.
-   **Ask her to drop a topic.** She will stop bringing it up.
-   **Delete everything.** Ask us to delete your account and her memories of you go with it.

Your Sonya’s memories are private to your account; no other user or their Sonya can see them. For more, read our [privacy checklist](https://chatsonya.com/guides/ai-companion-privacy-checklist/) or the [memory feature page](https://chatsonya.com/features/memory/).

FAQ

## Quick answers

Do AI companions remember past conversations?

Good ones do. Sonya keeps long-term notes about what matters to you and reads them, together with your recent messages, before she replies.

What is a context window?

The amount of recent conversation an AI model can read at once. It works like short-term memory; long-term memory keeps important details beyond it.

## Keep reading

### What is an AI companion? A clear, honest explainer

What an AI companion is, how it differs from an assistant, and what it can and can't do for you.

Read guide

<https://chatsonya.com/guides/what-is-an-ai-companion/>

### AI companion privacy: a checklist before you start

Four questions to ask any AI companion app about your data, plus simple steps on your side.

Read guide

<https://chatsonya.com/guides/ai-companion-privacy-checklist/>

### How to shape your AI companion's personality

How Sonya's personality adapts, and simple ways to guide her towards the companion you want.

Read guide

<https://chatsonya.com/guides/shaping-your-ai-companions-personality/>

## Sonya's around. Say hello.

Create a free account and start your first conversation.

[Chat with Sonya](https://chatsonya.com/early-access/)

Opening soon · Free plan at launch · No app to install
