· 6 min read
AI roleplay lorebooks: keeping a long story consistent
What AI roleplay lorebooks do, why long stories fray at names and promises, and how to get the same effect in any chat with a story bible and short recaps.
A lorebook, in AI roleplay, is a set of short notes about a story's people, places and rules, each one tied to a few keywords. In the apps that offer one (their help pages, as of November 2026, describe it in much the same way), an entry is added to what the character reads before replying whenever one of its keywords turns up in the recent messages, and left out the rest of the time. The point is consistency: the innkeeper stays Bram, the debt still falls due at midsummer, and nobody has to retell the whole history every evening. Any chat can manage most of it. You need a page of notes and the habit of bringing the right note back at the right moment.
What AI roleplay lorebooks do
Each entry has two parts: the keys, which are the words to watch for, and the text, which is what the character is given when a key appears. The keys stay behind the curtain. According to those same help pages, only the entry text reaches the character, so a good entry names its subject and stands on its own: "Bram keeps the Grey Gull inn, a widower with a slow step who never charges the ferrymen." Some entries can be set to be present all the time, which suits the handful of facts the whole story rests on, and the search for keys usually covers only the latest stretch of the chat.
Think of a recipe box rather than a cookbook. Nobody reads the whole box before supper; you pull the card for the dish you are making and put it back afterwards. That is the bargain AI roleplay lorebooks make: a long story holds more than anyone keeps in mind at once, so each fact is fetched when it is needed instead of carried all the time. The limits are real too. In the plain version an entry fires on a word and not on its meaning, so a character called "the captain" for six evenings will never wake an entry keyed only to her name.
Why a long story starts to fray
A short scene survives a mistake. A long one survives very few, because by the twentieth evening it holds names, debts, a map in both your heads and a promise somebody made in the second week, and every one of those is a thread that can come loose. When they do, the story stops feeling like a place you return to and starts feeling like a dream, where things are true until suddenly they are not. Slips also breed. Call the sister a brother once, let it pass, and the next reply may build a whole brother on top of it, with a job and opinions.
The usual fix at a game table is paper, a notebook beside the dice and a rough sketch of the village. Story chat wants the same habit, and it costs a few minutes a sitting.
Keep a story bible that works like a lorebook
A story bible is a lorebook kept by hand: a short document outside the chat, one line per fact, each line written so it makes sense with nothing around it, name first. That last part is the discipline worth borrowing from AI roleplay lorebooks, because a note that reads "she hates boats" is useless a month later when you cannot remember who she was. One page is plenty, in four parts:
- People, one line each, with the detail that tells them apart.
- Places, each with the single thing that makes it recognisable.
- Open threads, such as the letter nobody has read or the debt due at midsummer.
- Fixed facts: eye colour, the scar on the left hand, who has left town for good.
Update it after each sitting. If you build your own character, the personality and relationship steps are where the few facts that must never move belong, and the bible holds everything that grows around them. The four-step character builder asks for style, looks, personality and the bond between you, in that order, which is a good order to think in even for a character you only sketch on paper.
Bring the right entry back at the right moment
In a chat without a lorebook, you are the keyword. Nothing fetches Bram's slow step unless somebody mentions it, so the craft is to mention it, inside the scene, at the moment it counts. A recap at the door does most of this work. Compare two ways back into a story after a week away:
I knock at the bakery's back door.
A week after the harvest fair. Ilse still has my umbrella, and neither of us has mentioned the letter she read over my shoulder. I knock at the bakery's back door.
The second turn does in two lines what a page of correction would do later, because it names the time, the open thread and the small tension between you, then puts both characters back in motion. Three lines is enough. Past that, a recap turns into homework.
Facts also stay alive by being used. If the town gates close at dusk, have someone hurrying to get through them before the bell. If Bram walks slowly, let him take the stairs one at a time while the others wait. A fact that comes up in play stays part of the story, and one that is never mentioned again fades from both your heads, which is exactly what happens to a lorebook entry nobody ever triggers.
Mending a slip without stopping the story
Sooner or later your partner will get something wrong, a sister turned into a brother or a ship that loses its name, and the earlier you mend it the less there is to mend. The gentlest repair stays inside the story, with your character noticing the way a person would:
"Your brother?" I frown. "You told me you only had a sister. Marta, the one who keeps bees."
A pause, then a short laugh. "Marta. Of course. I haven't slept properly since Tuesday."
For a bigger error, step outside for one bracketed line, such as (OOC: Teodor moved to the coast in the first week, so let's keep him there.), and carry on as if nothing happened. There is more on stepping out of a scene and back in elsewhere on this site. Keep the note short and friendly. A long lecture breaks the mood more than the mistake did. Stop a dinner to correct a guest's grammar and it is the dinner that suffers.
Change on purpose, then write it down
Consistency does not mean nothing changes. Characters should grow: the cold captain thaws, the loyal friend begins to doubt. Intent is the difference. A change you chose, prepared and showed on the page is development, while a change that crept in because a detail was forgotten is drift, and the bible is where you tell one from the other. When something does change on purpose, rewrite its line so the new version is the one that holds.
End each sitting at a natural pause, a night's sleep or a decision made, and note in the bible where you stopped and what was about to happen. A story put away like that comes out again easily, the way a coat hung by the door is easier to find in the morning than one dropped over a chair. Then let it rest. The next evening opens with three lines of recap and the right page already in your hand, which is all a lorebook ever promised.