Guide · Memory and lore

What Is a Lorebook? How AI Roleplay Lore Works

A lorebook is a set of short notes about your story's world: its people, places, objects and rules. An AI roleplay app keeps those notes outside the character's description and gives the AI only the ones a scene needs. This guide explains how that works, how to write an entry, and how lorebooks differ from app to app.

Last checked: 12 November 2026. Details of other apps come from their own documentation, listed under Sources. App details match PersonaChat 2.4.1. PersonaChat makes a rival app and has no connection to Character AI or the other apps named here.

Illustration of a large closed leather-bound book on a wooden desk beside a lit candle, with a moonlit arched window behind

Why lorebooks exist

An AI model reads your chat through a window of fixed size. The app sends everything in a character's description with every message, so the description takes up room in that window for the whole chat. Chub's guide describes a lorebook as a way to give the AI backstory and setting "without needing to have it be in character definitions taking up permanent token space". Character AI made the same point when it launched its Lorebook in July 2026: until then, everything a character knew about its world had to fit inside its definition.

So the description holds who the character is, and the lorebook holds what the world contains. Each piece of lore stays out of the prompt until the story reaches it.

The name varies. SillyTavern calls the feature World Info and says it is also known as lorebooks or memory books. Chub calls a lorebook attached to a character a character book.

How a lorebook works

In Character AI, SillyTavern, NovelAI and Chub, lorebooks run on keywords. Each entry has two parts: the content, which is the text the AI will read, and a list of keywords. When one of the keywords appears in the recent conversation, the app adds that entry's content to what it sends the AI for the next reply. SillyTavern's documentation compares it to a dictionary that inserts an entry only when its keywords are present in the message text.

Here is an entry about an inn, made up for this guide:

Keywords: Blackwater, the inn, Mara

Content: The Blackwater Inn stands at the north gate of Harrow. Mara Venn owns it. She pays the city watch to ignore the smugglers' cellar under the taproom. A room costs two silver a night.

Write "let's get a room at the Blackwater" and the AI receives those four sentences along with your message. In a scene set somewhere else the entry stays out and takes up no room.

Three settings decide which entries get in, and apps name them differently:

Some apps add options. You can set an entry to load every time, which NovelAI calls Always On and Chub calls Constant. SillyTavern and Chub can also let the text of one entry trigger another, which they call recursive scanning.

The AI reads only the content. SillyTavern does not insert an entry's title or keywords, and NovelAI says the title isn't visible to the AI. A loaded entry also doesn't force the reply: SillyTavern says World Info "does not guarantee" that the lore appears in the output, which depends on how well the model uses what it is given.

Lorebooks in five apps

App What it calls it What brings an entry into a reply
Character AI Lorebook Keywords on each entry
SillyTavern World Info Keywords; one entry can trigger another
NovelAI Lorebook Activation keys, or Always On
Chub AI Lorebook, or character book when attached to a character Keywords, or Constant
PersonaChat Lorebook No keywords: matched to your newest message by meaning

From each app's own pages, read 12 November 2026 and linked under Sources. PersonaChat's row is from its Memory & Lore page and the app.

How to write a lorebook entry

Lorebook, character description or memory?

Where What goes there When the AI sees it
Character description Personality, voice, appearance, how the character treats you With every message
Lorebook Facts about the world that you wrote down: people, places, objects, rules When the story reaches them
Memory What has happened in this chat Depends on the app

You write a lorebook on purpose. Memory is what an app keeps from the conversation itself, and apps handle that differently. Our guide to story memory explains how PersonaChat does it, and the character guide covers what belongs in a description.

Lorebooks on Character AI

Character AI announced Lorebook on 24 July 2026 as a beta, with early access for c.ai+ subscribers. It runs on keywords like the tools above: each entry has keywords, and when one comes up in conversation the character gets access to that entry. A creator can link one Lorebook to several characters so that a cast shares the same world, and characters with an active Lorebook carry a +Lore tag.

When we checked on 12 November 2026, Character AI's plan table listed Lorebook as Basic on the Free and lite plans and as Adv. on c.ai+. The table doesn't say what separates the two.

The Lorebook in PersonaChat

PersonaChat is an AI character chat app for iPhone and iPad, and its Lorebook is free on every plan. Its entries have no keywords: you write the fact, and PersonaChat compares each entry with your newest message, by meaning and by the words they share, and brings in the closest few. The advice on writing entries still applies, apart from choosing keywords. Name the subject and keep each entry to one subject, so that a message about the inn finds the inn.

The Memory & Lore page has the details, and our comparison with Character AI says where each app is stronger.

Write your first entry

Pick the one fact your story keeps getting wrong and write it down in two or three sentences. PersonaChat is free to start, with a running recap, Living Memory and a Lorebook on every plan.

4.4 on the App Store · Free to start

Sources

Frequently asked questions

What is a lorebook in AI roleplay?

A lorebook is a collection of short entries about a story's world, such as side characters, places, objects and rules. The app keeps them outside the character's description and gives the AI an entry only when the conversation calls for it.

Is a lorebook the same as World Info?

Yes. World Info is SillyTavern's name for the feature, and its documentation says it is also known as lorebooks or memory books.

How long should a lorebook entry be?

Short. A loaded entry uses part of a limited budget, and SillyTavern's documentation advises keeping entry contents concise. A few plain sentences about one subject is enough. In PersonaChat an entry holds up to 512 characters.

Is Lorebook free on Character AI?

Character AI's plan table lists a Basic Lorebook on its Free plan. When we checked on 12 November 2026, it listed Lorebook as Basic on Free and lite and as Adv. on c.ai+, without saying what separates the two.

Does PersonaChat have a lorebook?

Yes. The Lorebook is free on every plan and works in one-to-one chats. You write the entries yourself, and you can also save one of Living Memory's automatic memories into it.

Do lorebooks import with character cards into PersonaChat?

No. PersonaChat imports character cards saved as JSON files, and a lorebook attached to a card is not imported. Re-create the entries you need in PersonaChat's Lorebook.