Skip to content
Artifice
All posts
designworldguides

Why AI Dungeon Masters Forget Your Campaign

AI DMs forget because they only see a slice of your story at a time. Here's why it happens, and how saving the world as state keeps a campaign straight.

Updated

Artifice — AI Tabletop RPG logo over an illustrated woodland battle map

AI Dungeon Masters forget your campaign because most of them only “remember” what fits in the model’s context window: the recent chat, plus maybe a summary of older sessions. Anything that falls outside that window gets cut or squashed into a summary, and the details you cared about go with it. The fix is to keep the campaign’s facts as saved state outside the model, so the DM reads them every turn instead of trying to recall them.

TL;DR:

  • Why it forgets: the model can only read a limited amount of recent text each turn. Older sessions fall off or get summarized, and summaries drop details.
  • What it looks like: an NPC forgets your deal, a dead villain is back, an item vanishes, a wound heals on its own.
  • What fixes it: campaign facts saved as state (who is dead, what burned, who owes what) that the DM reads like notes.
  • Artifice: NPCs remember the promises you make, factions act between sessions, and your choices change the world for good. Your campaigns, party roster, and journal are saved to your account.

I build Artifice, a browser TTRPG with an AI Dungeon Master, and memory is the problem I hear about most from players who have tried running D&D with a chatbot. Here’s why it happens, what you can do about it today, and how I approach it.

The session-three problem

The failure always looks the same, and it usually shows up around session three.

You spend session one talking the miller out of selling his land. You spend session two somewhere else entirely. In session three you walk back into town, and the miller greets you as a stranger.

That’s the moment the campaign breaks. You’ve just learned that nothing you do sticks. A world where nothing sticks isn’t a world. It’s a string of unrelated scenes.

Players describe the same handful of symptoms:

  • An NPC forgets a deal, a debt, or a promise you made.
  • A villain you killed walks back in, alive and annoyed.
  • An item you carried for three sessions is suddenly gone, or a new one appears.
  • Your HP or gold quietly drifts, and a wound heals itself between scenes.

None of this is bad luck. It comes from how these tools are built.

Why AI Dungeon Masters forget

Short answer: a language model has no lasting memory of its own. Each turn it reads a chunk of text and writes the next reply. If a fact isn’t in that chunk, the model doesn’t know it.

The model only sees a window

Every time you send a message, the AI DM reads a limited amount of recent text, called the context window. That’s usually your latest messages, its latest replies, and whatever setup the app adds.

Your campaign keeps growing. The window doesn’t. So the oldest parts of the story slide out of view first. Session one, where you made your deal with the miller, is exactly the kind of thing that falls off.

Summaries lose the detail that mattered

The common workaround is to summarize older sessions and feed the summary back in. That helps, but summaries are lossy by design.

A summary of session one might say “the party helped the town.” It probably won’t say “you promised the miller you’d find out who was buying his land.” The summary tends to drop the one detail that mattered while keeping nine that didn’t. Each new summary pass loses a little more.

Longer memory is slower and costlier

The obvious fix is to feed the whole campaign history back to the model every turn. It doesn’t really work.

It gets expensive fast and slow even faster. It also fails quietly: a model reading a huge pile of text can still miss a fact buried in the middle, and it won’t tell you.

Memory isn’t a transcript, it’s state

The idea behind this post is simple. Don’t treat the world as a transcript. Treat it as state.

A transcript is everything that was said. State is the list of things that are true right now. A promise to the miller shouldn’t be a sentence in a log that might get summarized away. In Artifice, it’s a record attached to the miller: an obligation, made by your party, still open. Burn down the warehouse, and it stays gone for that campaign, even if nobody mentions it for ten sessions.

Transcript memory World state
What’s stored The conversation, or a summary of it Facts: who’s alive, what’s destroyed, who owes what, HP, items
At session 10 Early sessions are cut or summarized; details drift The same facts are there, unchanged until something in play changes them
When the model is unsure It guesses, often confidently It looks the fact up

The nice part of putting state outside the model is that the DM has to consult it, the same way a human DM reads their notes. It can’t quietly turn the miller into a stranger, because the miller isn’t something it’s remembering. He’s something it’s reading.

Factions have their own calendars

Remembering what you did is half the job. The other half is what happens while you’re not looking.

A world that only changes when the party pokes it isn’t living. It’s reactive. So the factions in an Artifice campaign have their own goals and act on them between sessions. The bandits you drove off the Hollow Road went somewhere. The rival company you outbid still wants what you took from them.

You’ll run into the results whether you go looking or not, sometimes at the worst possible moment. That’s the good version of this. A chat-only DM can’t do it, because nothing happens in a transcript between your messages.

Why state makes rules and memory work together

The same split works for numbers. HP, dice rolls, and attack results shouldn’t live in the model’s memory either, because that’s where they drift.

In Artifice, a rules engine handles the dice and the combat math, and the model tells the story around the results. I wrote about that half in the rules engine rolls the dice, not the model.

Put the two together and you get a DM that narrates freely but can’t rewrite what already happened, whether that’s a promise or a hit for 7 damage.

What you can do if your AI DM keeps forgetting

If you’re playing with a general chatbot or an app that leans on chat history, you can do a lot of the state-keeping yourself. These habits help with any tool:

  • Keep a running campaign log. After each session, write 5 to 10 lines: where you are, who you met, what changed.
  • Restate key facts at the start of each session. Paste a short “previously on” note before your first action. Don’t count on the AI to pull it up.
  • Keep an NPC and promise list. Name, where you met them, and what you owe each other. This is the detail summaries lose first.
  • Track HP, gold, and inventory yourself. Treat your own sheet as the truth, and correct the DM when it drifts.
  • Start a fresh chat with a clean summary when replies start contradicting earlier events, instead of pushing a long, muddled chat further.
  • Use a tool that saves state outside the chat, so the facts don’t depend on what the model happens to recall.

If you play alone, my guide on how to play D&D solo covers journaling and other ways to keep a solo campaign on track. If you’re picking a tool, memory is one of the things I checked when I compared six AI Dungeon Masters.

How Artifice keeps your campaign straight

Artifice is the next generation browser TTRPG with an AI Dungeon Master, and I built it around state from the start.

  • The world keeps state between sessions. NPCs remember the promises you make, factions act while you’re away, and what you change stays changed. Your campaigns, party roster, and journal are saved to your account, so you pick up where you left off.
  • A deterministic rules engine resolves dice, combat, and character mechanics. The model narrates, but it doesn’t adjudicate the math, and every mechanical outcome traces back to dice and modifiers.
  • You play on a 3D tabletop with miniatures and dice, on a real 5 ft grid.

Artifice is in Early Access. It’s solo today, multiplayer coming later, and you can recruit party members to fight alongside you. Artifice is free, and the way in is through Discord.

Join the Artifice Discord server

FAQ

Why does my AI DM forget things?

Most AI DMs only see a limited window of recent text each turn. Older parts of the campaign fall out of that window or get compressed into summaries, and summaries drop details. If a fact isn’t in what the model reads right now, it doesn’t know it.

Does ChatGPT remember my D&D campaign between chats?

ChatGPT works from what’s in the current chat, plus any saved memory features your account has turned on, and those features change over time. Don’t rely on it to recall a long campaign in detail. Keep your own log and paste the key facts in when you start a session.

Can an AI Dungeon Master run a long campaign?

Yes, if the campaign’s facts live in saved state and not only in the chat. When the DM reads who’s alive, what’s been destroyed, and what the party owes, session 10 can stay consistent with session 1.

What is persistent world state in an RPG?

Persistent world state is the saved record of what’s true in the game world, like who’s alive, what changed, and what your party carries. It stays put between sessions, so the game reads it instead of trying to remember it.

What the town remembers

Every choice leaves a mark. That’s easy to put on a landing page. Making it true by design, and not only true while the conversation stays short, is most of the work. To see how world state fits with the 3D table and the rules engine, read how the AI Dungeon Master works in 3D.

Join the Artifice Discord server

Artifice is an independent game and is not affiliated with Wizards of the Coast. Dungeons & Dragons is a trademark of Wizards of the Coast.

Play it, don't read about it

Pick a map, muster a party, and the Dungeon Master opens the scene.

Begin a campaign