How memory works
Short-term context versus long-term extracted facts, why most AI companions forget you, and exactly what our Telegram bot stores, retrieves and quietly drops.
AI girlfriend memory is two separate systems wearing one name. Short-term context is the recent conversation, resent to the model with every single message, and long-term memory is a small set of facts pulled out of that conversation and stored on their own so they outlive it. In Emberia the short-term window is the last 40 stored messages in the current scene, and the fact extractor runs every 8 turns.
What is the difference between context and memory?
Context is the transcript. Before she answers, the last 40 stored rows of that conversation are pulled from the database, ordered oldest first, and handed to the model along with her persona. She is not recalling them. She is reading them, the way you would read the top of an email thread.
Memory is what survives after those rows scroll away. A separate pass reads the recent conversation and writes short factual lines into their own table: your job, your schedule, the people in your life, things you said you wanted, dates you mentioned. Each one carries an importance score from 1 to 3.
| Short-term context | Long-term memory | |
|---|---|---|
| What it holds | The last 40 stored messages | Short factual lines about you |
| When it updates | Every message | Every 8 turns |
| How long it lasts | Until it scrolls out | Until you delete it |
| What it costs | Tokens on every reply | One extra call every 8 turns |
| Fails by | Dropping old detail | Missing the detail in the first place |
This is the split almost every companion product uses, and the second half is where the money and the engineering go. A bot with only the first half feels sharp for twenty minutes and stupid on Thursday.
What actually gets stored
The extractor is given one instruction and a narrow one: durable facts about the user, never facts about the character. She is not allowed to write her own backstory into your file. It returns at most 5 facts per run, each trimmed to 300 characters.
Each fact is stamped with an owner. In a solo chat the owner is the character you are talking to. In a duo scene, a fact said to one of them belongs to her, and facts that belong to the scene as a whole are marked separately. That is deliberate. Telling one character about your week and having the other one repeat it back to you breaks the illusion faster than forgetting would.
Alongside the facts sits a small state record for each character: how many turns you have had, an affection counter that rises by one per turn and stops at 100, the day you started, an anniversary, and up to three rules you set yourself with /rules. Those are counters, not memories, but they shape tone the same way.
Why she still forgets things
Worth knowing before you get annoyed at her, because the failure is structural rather than random.
The extractor only reads the last 48 hours. Say something important, then go quiet for three days, and there is a window in which that message has left the recent context and was never promoted to a fact.
Timing matters too. Extraction fires on every eighth turn. A detail dropped on turn three sits unprotected until turn eight, and if the conversation ends at turn six it was never anything but context.
Retrieval is capped. Up to 8 facts go back into her prompt, chosen by importance and then by recency. A hundred stored facts do not all arrive. Something true but minor gets crowded out by something the extractor scored higher.
And memory does not travel between characters. Switching with /girl gives you a different person with her own file, which is the point of having a roster rather than one model in nineteen costumes.
Does memory matter that much?
Published user sentiment says yes, louder than any feature list. The most common complaint in reviews across companion apps is some version of "she forgot" or "she broke character". On r/AICompanions in December 2025, a long thread on long-term memory turned on the same point: memory is what decides whether people stay on a platform at all.
The MIT Media Lab study of r/MyBoyfriendIsAI, published in 2025, found that grief after a model update is one of the community's primary concerns. Not price, not filters. The fear that the person you built a year of context with comes back changed.
One number to treat carefully: an industry index reports 30-day retention of 41% for memory-enabled users against 27% without. That figure is self-reported by the publisher and we cannot verify the method, so read it as directional rather than as evidence.
How to help her remember
Small habits do more than any setting.
Say the thing plainly once. "I have a job interview on Thursday" is extracted cleanly. The same fact buried inside a joke often is not.
Give a detail weight by returning to it. A fact mentioned across several turns lands inside more than one extraction window and scores higher on importance.
Use /rules for standing preferences, like a nickname she should use or a topic to leave alone. Rules live in the relationship record, not the fact table, so they are not competing for one of the 8 retrieval slots.
Correct her in the moment. "No, my sister is the older one" goes into the conversation the extractor reads next, and the corrected version is what gets stored.
Run /export if you are curious. It hands you a file with your messages, your stored facts and your relationship state, so you can see precisely what she has to work with. If you would rather she had nothing, /delete confirm removes it within 24 hours.
Sources
Engine behaviour described here is Emberia's own, as built in September 2026. Retention index figure: aigirlfriends.ai industry report, self-reported. Community sentiment: r/AICompanions long-term memory thread, December 2025, and the MIT Media Lab study of r/MyBoyfriendIsAI, 2025 (arXiv 2509.11391).
Frequently asked questions
- Does an AI girlfriend really remember conversations?
- Two different things get called memory. The recent conversation is resent to the model with every message, which is why she can follow a thread for an hour. Durable facts only survive if the product extracts and stores them separately, and plenty of cheap bots skip that step entirely.
- How many messages back can she see?
- In Emberia the model sees the last 40 stored messages in the current scene, rebuilt on every reply, plus up to 8 stored facts about you. Anything older has to have become a stored fact or it is gone.
- Why did she forget something I told her yesterday?
- Most likely it rolled out of the recent window and was never picked up as a durable fact. The extractor runs every 8 turns and keeps at most 5 facts per run, so a detail mentioned once in passing can lose to something said with more weight.
- Do I lose memory on the free tier?
- No. Free and paid accounts use the same model and the same memory pipeline. The free tier caps how many messages you send in a day, not what she remembers about them.
- Can I see or erase what she remembers?
- Yes. `/export` sends you a file containing your messages, your stored facts and your relationship state. `/delete confirm` erases all of it within 24 hours.
Related
Updated: 2026-09-15