Guides

How memory works in Shiro

Updated October 18, 2026

AI characters can't read an endless story at once, so Shiro uses three kinds of memory to keep long stories consistent.

Recent messages

Every reply is written with the most recent part of the chat in view. How much depends on the chat style: Spark remembers the least and Prism the most.

The story so far

When a chat grows longer than its style can keep in view, the older part is folded into a short summary of the story so far: names, relationships, key events, promises and where you are now. The character reads that summary along with the recent messages, so the story isn't forgotten. The summary is updated as the story goes on, and redone if you edit or rewind an earlier part.

Pinned memories

Some facts must never be lost or changed: your character's name, a promise, how two characters met, an injury. Pin them. Press and hold any message and choose Pin as memory, or open Pinned memories from the chat menu and write one yourself. The character always keeps pinned memories in mind, in every reply.

Each chat can have 3 pinned memories, or 25 with shiro+. Keep them short and factual, for example "We met at the lighthouse during the storm" or "Mira is afraid of deep water."

What each kind of memory is good for

When a character forgets

If a character forgets something, it usually fell out of the recent messages and wasn't important enough to make the summary in detail. Pin it, or mention it again naturally in your next message ("*touches the scar the wolf left last winter*"), and the character will pick it up. If it happens often in a long story, a style with a longer memory (Nova or Prism) helps. See chat styles explained.

Memory and editing

When you edit a message, regenerate a reply or rewind the story, memory follows the story as it now stands. The character won't remember a reply you replaced or a part you rewound. More in steering, fixing and rewinding a story.

Tips

Open Shiro

More guides