Guide · How-to

How to make AI remember Keep the story it already told.

Step-by-step habits that keep an AI character from losing names and plot threads in a long roleplay. They work on Character.AI, Janitor AI, SillyTavern, or anywhere else, and the last part shows what LoreWeaver does for you so you can skip most of them.

Written by
The LoreWeaver team
Updated
November 16, 2026
Reading time
7 minutes
An elderly porter behind a lamplit hotel desk looks up from an open guest ledger at a man in a snow-dusted fur coat, the grand lobby’s furniture under dust sheets and snow beyond the revolving door

The short answer

How do I make an AI character remember things?

Put what matters where the AI reads it on every reply. Say people’s names instead of “he” or “she,” keep a short pinned note of facts that must hold right now, save a corrected summary of the story so far into the app’s memory or notes box, give recurring people and places their own lorebook entries, keep the character definition short so the recent story has room, and regenerate any reply that gets a fact wrong before you answer it. On LoreWeaver, memories are saved every few replies and a running recap is kept for you, and you can still pin and edit both.

Updated

memories per story LoreWeaver saves for you on Free
30
tokens of LoreWeaver session notes, read on every reply
500

Why this works

An AI character doesn’t remember a story the way you do. Before each reply, the app sends the model a bundle of text, and the model writes from that alone. Once a roleplay is longer than the bundle can hold, the oldest messages stop being sent. Why AI roleplay forgets explains the causes in detail, and how AI memory works explains the machinery apps build around it.

Every step below does one of two things. It puts an important fact somewhere that is sent with every reply, or it makes the text that is sent shorter and clearer so more of the story fits.

Step 1: Use names, every time

“I hand Mara the letter from her brother Tomas” gives the AI two names to hold on to. “I hand her the letter” gives it none. Lorebooks trigger on names, and memory search matches them.

  • Use a person’s name at least once in any message where they matter.
  • Name places and objects that will come back: the inn, the ship, the sword.
  • When the AI invents someone you like, use the name in your next message so it sticks.
  • Keep names distinct. Two characters called Mara and Maren will get swapped.

Step 2: Keep a pinned note of what’s true right now

Most apps have a box the AI reads on every reply, whatever it’s called. Character.AI lets you pin messages to Story Memory, with 15 pins on the free plan and 30 on (c.ai) lite and c.ai+ (plan table). Janitor AI has a Chat Memory box you keep up to date yourself. SillyTavern has an Author’s Note. LoreWeaver has session notes and pinned memories.

Use it for the facts that change scene to scene and would hurt to lose:

  • Injuries, disguises, what someone is carrying.
  • Who knows which secret.
  • Where everyone is and what time it is.
  • The promise or deadline the scene is building toward.

Write short, plain lines, such as “Mara’s left arm is broken and in a sling.” Delete lines when they stop being true, because an old note the AI keeps reading is as bad as a missing one.

Step 3: Save a summary every so often

On apps without automatic memory, a summary is how the early story stays in view. After a big scene, or whenever the chat starts to feel long:

  1. Step out of the story and ask for a summary, for example “(OOC: Summarize the story so far in ten bullet points, with names, places, and any open promises.)”
  2. Read it and correct it. A summary with a wrong fact will spread that fact everywhere.
  3. Paste it into the memory or notes box from Step 2, replacing the previous summary.
  4. Delete the summary request and reply from the chat if your app allows it, so they don’t take up room.

Keep the summary to what still matters. Ten lines that cover the open threads do more than a long retelling.

Step 4: Move side characters and places into a lorebook

A lorebook entry is read only when its keywords come up, so it can hold far more than a pinned note without costing room on every reply. Give each recurring person, place, and faction its own entry, keyed to names, nicknames, and titles. Lorebooks explained covers how entries fire, and if you’re on Character.AI, its Lorebook works the same way with a few limits.

A good test of whether something belongs in a lorebook is whether the story needs it in every scene. If not, take it out of the definition and give it an entry.

Step 5: Keep the character definition short

The character definition is sent with every reply, and every word in it is a word of recent story that doesn’t fit. A long backstory full of side characters and history leaves little room for what just happened, which is exactly what the character forgets.

  • Keep who the character is, how they talk, and what they want.
  • Move history, side characters, and places into lorebook entries.
  • Replace long example conversations with one or two short ones.

How to write an AI character shows what a lean definition looks like.

Step 6: Know your context size

The context window is the cap on what’s sent with each reply, and it varies a lot. Janitor AI’s free tier, for example, has a context limit of around 9,000 tokens. On LoreWeaver, context runs from 6,400 tokens on the free plan to 100,000 on Legendary.

A bigger window keeps more of the recent story word for word, which helps most in busy scenes. It doesn’t replace the steps above, because a long story eventually outgrows any window. Context windows explained shows what fits in each size.

Step 7: Fix mistakes before you answer them

When a reply gets something wrong, such as a dead character walking in or a name changing, regenerate it or edit it before you reply. If you play on, the wrong version becomes part of the story, and from then on the AI reads its own mistake as fact.

A few more habits help:

  • Restate a fact inside the scene when it’s about to matter. “I remind Mara of the oath she swore at the river” works better than hoping the AI recalls it.
  • Don’t repeat the same reminder every message. It crowds out the story, and the character may start repeating it back.
  • Keep one story in one chat. Starting a new chat to clear confusion usually clears everything.

How LoreWeaver does this for you

LoreWeaver does most of these steps automatically, so you can play and step in only when something needs fixing:

The manual stepWhat LoreWeaver does
Asking for summariesSaves memories from the story every few replies, and keeps a running recap of the story so far that you can read, edit, or lock
Pasting summaries back inPicks the memories that fit each moment and sends them with the reply
A pinned noteSession notes of up to 500 tokens, plus pinned memories that reach every reply
A lorebookLore cards that join a reply when pinned, or when your message or the recent story names their title or a tag
Checking what the AI sawA context inspector on the latest reply, listing the memories and lore cards it used

Each plan sets how many memories a story keeps: 30 memories per story on Free, 300 on Plus, 1,200 on Pro, and every one on Ultra and Legendary. Memories belong to the story they were saved in, so keep one campaign in one session and branch it for what-ifs. You can also press Remember now to save the latest replies right away, or write a memory yourself.

You can try it without an account: play any Hub world as a guest for 20 replies. The free plan adds 25 premium replies a day on top of the fast free storyteller.

Sources

All checked November 16, 2026.

Questions

Making AI remember, answered.

01How do I make Character.AI remember things?

Pin the messages that matter to Story Memory (15 pins on the free plan, 30 on lite and c.ai+), use names in every message, keep the character definition short, and give side characters lorebook entries if you have c.ai+. Regenerate any reply that gets a fact wrong before you answer it.

02Why does my AI forget things after a while?

Because each reply is written only from the text the app sends with it, and that text has a size limit. Once the chat is longer than the limit, the oldest messages stop being sent unless something like a summary, a memory, or a lorebook entry brings them back.

03Does asking the AI to “remember this” work?

Only while that message is still in view. To keep a fact for good, put it in a pinned note or memory box, or a lorebook entry, where the app sends it again later.

04How long should a roleplay summary be?

Short enough to sit in your memory box with room to spare. About ten lines that cover names, where things stand, and open promises usually does more than a long retelling.

05Does a bigger context window fix forgetting?

It pushes forgetting further out, since more of the recent story fits. A long roleplay still outgrows any window, so notes, summaries, and lorebook entries do the rest.

06Does LoreWeaver remember across different stories?

No. Memories belong to the story they were saved in, so separate stories stay separate. Lore cards belong to the world and are shared by every story in it.

Keep reading

Pull another thread.

Put it to work

Where this guide leads in LoreWeaver.