Why does AI forget what you said? (And how to fix it)
It's not being careless. A language model doesn't have the kind of memory you'd expect, and once you see how it works, the fixes are straightforward.
Short answer: AI models are stateless: they keep nothing between requests. A chat app sends your conversation back with each message, and that text has a size limit called the context window. When a chat outgrows it, older parts get cut or summarized, and new chats start empty unless a memory feature adds something back.
You told it your name an hour ago, and now it's asking. You spent a whole chat explaining your project, opened a new one, and it knows nothing about it. It feels like a bug, but it's how these systems work.
Reason 1: the model keeps nothing between messages
A language model doesn't sit there holding your conversation in mind. Every reply is a separate calculation. To make it look like a continuous chat, the app sends the whole conversation back to the model each time you press send.
So its "memory" is a transcript handed over with each message. Anything not in that transcript doesn't exist for the model.
Reason 2: the context window fills up
That transcript has a size limit, called the context window, and it's measured in tokens. A token is a piece of a word, and in English a rough rule is about four characters per token. Everything counts toward the limit: the app's instructions, your messages, its replies, and any files you attached.
When a conversation grows past the limit, something has to give. Depending on the app, older messages are dropped or compressed into a summary, and details get lost either way. That's why it can recall what you said two messages ago but not what you said at the start.
Reason 3: a new chat starts from nothing
A new conversation has an empty transcript, so the model has no idea what you discussed elsewhere. Memory features exist to fix this. They save some facts outside the chat and add the relevant ones back into later conversations. That has limits too, because they save selectively, can be turned off, and only bring back what seems relevant at the time.
Reason 4: it does have the information, but gets it wrong
Sometimes the detail is right there in the chat and the model still misses it or invents something. That's a separate problem. It can happen in a very long conversation, or when instructions and details conflict. A model will also often guess confidently rather than say it doesn't remember, so a wrong answer doesn't always mean the information is gone.
What to do as a user
| Problem | Try this |
|---|---|
| It forgot something mid-chat | Repeat the key detail, or ask for a summary and correct it. |
| A long chat has gone downhill | Ask for a summary of decisions so far, and paste that into a new chat. |
| It forgets you between chats | Check that memory is on, or use custom instructions or a project for facts it should always have. |
| It needs a big document | Share only the relevant sections, or use a project or file feature. |
| You always repeat the same context | Keep a short "about me" note and paste it in, or save it to custom instructions. |
Feature names and limits vary between apps and change often, so check your app's current help pages.
What to do if you're building an AI app
If this is your product, memory is your job. There are four things to get right:
- Budget the context. Decide what's always sent, and trim the oldest conversation first, keeping the instructions.
- Add long-term memory. Store useful facts outside the chat and retrieve what's relevant. Our long-term memory tutorial includes working Python.
- Be selective. Saving everything makes results worse. Here's what to save and what to forget.
- Keep identity separate. If your AI has a personality, send it on every turn rather than leaving it in the history.
Frequently asked questions
Why does ChatGPT forget what I told it?
Usually because the chat has grown past its context limit, you're in a new conversation, or the detail was never saved to memory. If it also seems to have a different personality, see why ChatGPT's personality changes.
Does AI remember me between conversations?
The model itself doesn't. An app can create that effect by saving information and adding it to later chats, so it depends on the app and your settings.
Does a bigger context window solve this?
It delays the problem but doesn't remove it. A bigger window holds a longer chat, but new conversations still start empty, and larger inputs usually cost more and can run slower.
Can AI have a permanent memory?
The memory lives in the software around the model, and that can last as long as you keep the data. The SoulScript Engine keeps a searchable memory vault for each agent, so what it learns carries across every conversation, separately from the identity it starts from.
