Lunelle ← Back to home
Guides

Why do AI characters forget? (And how to fix it)

Updated

AI characters forget because the model behind them can read only a limited amount of text at a time. In a long story the oldest messages stop fitting, and anything that wasn’t saved or summarized is gone as far as the character is concerned.

You usually notice it a few hundred messages in. A character calls you by the wrong name, forgets a promise from yesterday, or asks a question you answered an hour ago.

What the model sees when it replies

Each time a character replies, the app sends the model a block of text. It usually contains the character definition (personality, backstory, rules), any memories or summaries the app has saved, and as many recent messages as still fit. The size limit of that block is called the context window.

The model writes its reply from that block and nothing else, which has four consequences:

Signs that memory is slipping

Names and relationships get mixed up. The character asks about something you already settled. A wound, a promise, or an item disappears from the story without explanation. Over time, the personality drifts toward a generic, overly polite assistant.

How to keep a long story on track

These work in any app.

  1. Save what the story depends on. If your app lets you pin or save facts, use it for names, relationships, promises, and secrets.
  2. State important facts once, in plain words, for example “You swore to return the map by the full moon.” Hints buried in long paragraphs are easy to lose.
  3. Use one name for each person, place, and object, and keep using it.
  4. Put permanent traits in the character definition, which is sent with every reply.
  5. Fix mistakes right away. Correct or redo a wrong reply before you continue, so the error doesn’t settle into the story.
  6. Recap when you come back after a break. One or two lines are enough: “We’re still at the harbor. Mara doesn’t trust the captain.”
  7. When a thread gets very long or tangled, start a new chapter with a short summary of what has happened so far.
  8. Keep your own messages focused. Very long messages push older context out sooner.

What to look for in an app built for long stories

Look for memory that carries over between sessions as well as within a single chat, and for characters that still match their definition after hundreds of messages. Good memory also covers relationships and consequences.

Lunelle AI is built around this problem. Characters remember events, choices, and how their relationship with you has changed, across sessions. See long-term memory in Lunelle AI.