What is a lorebook, and why your roleplay needs one
You can try to tell a character everything about your world in one enormous paragraph. The trouble is that an AI holds an enormous paragraph badly. The details blur together, the rule that actually matters gets the same weight as the throwaway one, and over a long story the setting quietly drifts.
A lorebook is how you fix that. It's one of the most useful tools in serious AI roleplay, and once you've played with one it's hard to go back.
The basic idea
A lorebook is a set of small, keyed entries about your world. Each entry has a handful of trigger words and a short block of canon. When something in the scene mentions one of those words, that entry gets slipped into the character's context for that reply, and only then.
So the character isn't carrying your whole setting on every single turn. It picks up the magic system's rules when magic actually comes up, the faction's history when the faction is named, the layout of the city when someone travels there. The right canon shows up at the right moment, and the rest stays out of the way.
Why it matters
Three things, mostly.
Consistency, first. The rules of your world stay fixed across weeks of play, because they live as keyed canon instead of in a running summary that gets rewritten every so often.
Depth without the drift. You can define a genuinely complicated setting, real power levels, timelines, rival factions, and trust that the character won't slowly forget it or start contradicting itself.
And cleaner replies. Because only the relevant entries fire, the model's attention stays on the scene in front of it rather than a wall of background it doesn't need yet.
What actually goes in one
Good entries are short and factual. Things like:
- Hard rules: "Mana can't be stored outside a living body. Try it and the attempt fails and burns the caster."
- Factions and people: who runs the city, who hates whom, which grudges are still live.
- Places: how a location looks and feels, and the things that are simply true about it.
- Timeline anchors: what already happened, what's common knowledge, what's still a secret.
Keep each one self-contained. A lorebook is reference material, not prose. The character is the one who turns it into prose, when the moment calls for it.
How it works on Everty
You can attach a lorebook to a single character, or to a whole universe that every character in it shares. Write the entries by hand, or import a book you already have from SillyTavern or NovelAI. The matching runs in plain code, so a lorebook adds depth without slowing your chat down or costing you a turn.
Put a lorebook next to long-term memory and you've got the two halves of a believable setting. Memory tracks what happened between you and the character. The lorebook holds what's true about the world regardless. Between them, a long campaign starts to feel like one continuous story rather than a string of resets.
Want to build a world that actually holds together? Start free and write your first lorebook.
Keep reading
Why 'free' AI roleplay is never quite free
Every AI message costs real money to generate, so a 'free' app is always paid for somehow. A plain look at who pays, how, and how to spot an app built to last.
What to look for in an AI roleplay app
A neutral checklist for choosing an AI roleplay app: memory, modes, worldbuilding, model choice, pricing, and the content and privacy questions worth asking before you commit.