Back to blog
guidememoryai-chatroleplay

How AI Roleplay Memory Works: Make Characters Remember

Why AI characters forget, how chat memory really works (context, summaries, long-term memories, lorebooks) and practical steps to make your characters remember.

Junipero Team
September 24, 2026
Updated October 15, 2026
8 min read

AI characters "forget" because a language model can only read a limited slice of your conversation each time it replies. AI roleplay memory is everything a platform does to decide what goes into that slice: recent messages, summaries of older ones, saved facts, and notes you write yourself. On Junipero, automatic story summaries work for everyone, and Infinity, Infinity+, and Infinity Max add long-term memories you can review and edit, Fixed Memory, pinned messages, and lorebooks. Infinity Max adds Deep Memory on top. Here's how each layer works and how to use them so your characters remember what matters.

Why AI characters forget things

A language model doesn't have a memory in the human sense. Every time a character replies, the platform assembles a prompt: the character's description and instructions, some of the conversation, and any extra context. The model reads that prompt, writes a reply, and then forgets it. The next reply starts from a freshly assembled prompt.

So "memory" really means what gets included in the prompt. Sending an entire long conversation every turn isn't practical. It's slow, it's costly, and models tend to pay less attention to details buried in the middle of very long inputs. Good memory design is about choosing the right few things to include.

The layers of memory on Junipero

1. Recent messages

The most recent part of the conversation is sent word for word, so the character always knows exactly what just happened. Currently that's roughly the last 20 messages on the free plan and the last 40 on Infinity plans.

2. Automatic story summaries (everyone)

As a chat grows, Junipero summarizes older stretches of it in the background, so the plot's big beats carry forward long after the original messages scroll out of the recent window. Over time, older summaries are condensed further into a running digest of the story so far. Paid plans keep more of the detailed recent summaries alongside that digest.

Summaries are good at the shape of a story: who went where, what was decided, what changed. They're less reliable for small specifics, like the exact name of a minor character mentioned once, forty messages ago. That's what the next layers are for.

3. Long-term memories (Infinity)

On Infinity, Infinity+, and Infinity Max, the AI periodically reads the conversation and picks out facts worth keeping: things about you, about the character, and events in the story. They show up on the chat's Long-term Memory screen as New suggestions. Infinity Max's Deep Memory keeps more of them than Infinity+.

For each suggestion you can:

  • Confirm it, so it becomes a settled fact that's included with replies.
  • Edit it first, if it's close but not quite right.
  • Dismiss it, if it's wrong or not worth keeping.

Confirmed memories can be edited or deleted later. Unconfirmed suggestions can still be used when they're relevant to the current moment, but confirming is how you make sure a detail sticks.

4. Fixed Memory (Infinity and up)

Fixed Memory is a note you write yourself, up to 1,500 characters, that's included with every reply in that chat. Use it for things that must never drift:

  • The ground rules of your world ("Magic costs the caster a memory each time").
  • Where the story stands ("We're on day 3 of the siege; the east gate has fallen").
  • How you want the character to write ("Keep replies in present tense").

5. Pinned messages (Infinity and up)

Long-press any message to pin it. Pinned messages are saved to the chat's Pinned Messages list, and the ones most relevant to what's happening are pulled back into the prompt when needed. Pin the moment the villain revealed their plan, the message where you described your character's backstory, or the map of the dungeon.

6. Lorebooks (Infinity and up)

A lorebook is a collection of entries about your world: places, factions, history, rules, recurring characters. Each entry covers one topic and can have keywords. When the conversation touches a topic, the most relevant entries are brought into the prompt automatically, so the character knows that the river guild controls the bridges without you repeating it.

Lorebooks are reusable across chats, and character creators can attach lorebooks to their characters so that knowledge comes built in. For big settings, they're the most efficient way to keep a world consistent.

7. Personas (everyone)

Your persona, meaning the name, age and description of who you're playing, is part of what the character knows about you in every reply. Keeping it accurate is an easy way to stop a character getting basic facts about you wrong. Personas are free.

How to make characters remember: a practical checklist

  1. Put permanent facts in the right place. Facts about the character belong in their description. Facts about you belong in your persona. Facts about the world belong in a lorebook or Fixed Memory.
  2. Review memory suggestions regularly (Infinity). Confirm the good ones and dismiss the wrong ones before they pile up. A tidy memory list is more useful than a long one.
  3. Pin turning points (Infinity). If you'd be annoyed when a character forgot something, pin it.
  4. Update Fixed Memory at chapter breaks (Infinity). A two-line "story so far" keeps long adventures anchored.
  5. Restate key details naturally. Mentioning a name or promise again in your own message puts it back in the recent window, where the character can't miss it. This works on every plan.
  6. Correct mistakes immediately. If a character gets a fact wrong, regenerate or edit instead of continuing. Wrong details that stay in the chat can end up in a summary.
  7. Use one chat per storyline. Memories, pinned messages and Fixed Memory belong to a single conversation. Starting a new chat with the same character starts a fresh memory, which is useful when you want a clean slate. On mobile, keeping several separate chats with one character is part of the paid plans.

What memory can and can't do

Even with every layer in use, AI memory is selective. It will reliably carry the main plot, confirmed facts, your Fixed Memory and relevant lore. It may still miss an offhand detail that was never confirmed, pinned or repeated. The tools exist so that you decide what's important, instead of hoping the model guesses right.

It also helps to have realistic expectations about model choice. Different models follow context more or less closely, and on Infinity you can switch models if one keeps losing track. Free accounts get their first 30 messages on Juniper, the flagship storytelling model, before continuing on Ember.

For more on keeping long stories on track, see our guide to writing interactive stories with an AI story generator, or read about AI chat on Junipero.

FAQ

Does Junipero have long-term memory on the free plan?

Free chats get automatic story summaries, so the main plot carries forward. Reviewable long-term memories, Fixed Memory, pinned messages and lorebooks are part of Infinity, Infinity+, and Infinity Max. Infinity Max adds Deep Memory on top. See pricing for details.

Can I see and edit what my character remembers?

Yes, on Infinity, Infinity+, and Infinity Max. The chat's Long-term Memory screen lists new suggestions and confirmed memories, and you can confirm, edit, dismiss or delete any of them. Deleting a chat or your account is covered in the privacy and data deletion FAQ.

Why did my character forget something I said earlier?

Most likely it fell out of the recent message window and wasn't captured in a summary or memory. Pin it, confirm it as a memory, add it to Fixed Memory, or simply mention it again.

Do memories carry over between different chats?

No. Memories, pinned messages and Fixed Memory belong to one conversation. Lorebooks can be reused across chats, and your persona goes wherever you use it.

Does a group chat have memory?

Yes. Group chats (Infinity+) use the same summaries, memories, Fixed Memory, pinned messages and lorebooks, shared across the whole scene.

Give your story a memory

Start a story, and when something important happens, pin it or confirm it. Find a character in Explore or compare plans to unlock the full memory tools.

We use optional analytics cookies. Details