What an AI dungeon master genuinely handles
Four jobs, in descending order of how well it does them:
- Rules adjudication. Ask "can I shove a creature into the bonfire and does it take damage" and you get a correct 5e answer with the relevant condition. This is where a model beats a tired human DM at 11pm.
- Improvised description. Rooms, weather, the smell of a tavern. Unlimited output, no preparation, no repeating the same three adjectives all night.
- NPC voice. A model will happily play a nervous dockhand and a bored customs clerk in the same scene, and keep their voices distinct if you label them.
- Bookkeeping. Initiative order, hit points, who is concentrating on what. It is good at this within one window and bad across sessions.
Where it breaks, and it does break
These are structural, not fixable by a better prompt:
1. It cannot keep a secret
A human DM knows the trap is on the third flagstone and says nothing. A model that has written "the trap is on the third flagstone" into its own context will eventually leak it — usually by over-describing the floor, or by having an NPC glance down. The fix is procedural: the secret lives in your notes, not in the prompt. The model discovers it when you paste it in as a reveal.
2. It will not say no
Ask a model for a nat-20 outcome on an impossible action and you get a generous ruling, because agreement is what it was trained toward. A table with no refusals stops feeling like D&D within an hour — every obstacle becomes passable, so nothing matters. The fix is a hard rule written into the prompt: do not grant success on a declared action whose DC exceeds 25 without a cost.
3. It drifts
By hour two the tavern keeper has a different name, the quest giver has changed gender, and the town you left is in the wrong direction. This is the single most common complaint and it is not a bug you can prompt away. The fix is a state block you re-paste at the top of every scene — names, locations, promises made, open threads. See the setup guide for the exact template.
4. Combat becomes narration
Models describe fights beautifully and run them loosely. Six rounds of "the goblin lunges, you sidestep" feels great and means nothing if nobody is tracking HP. Keep the dice physical or use a dice roller; make the model report state after each round, not just prose.
Two ways to get one, and they are not the same thing
| Route | What it is | Good for | Cost of entry |
|---|---|---|---|
| General model + system prompt | You write the DM instructions yourself, in any chat model you already use | Running real 5e with real character sheets; anything you want to control | Setup time. One good prompt, reused forever |
| Purpose-built text RPG | A site built around AI narration, no rulebook behind it | Playing alone, right now, with zero prep | Free to start. You accept its rules, not 5e's |
These get compared constantly and the comparison is meaningless: one is a rules engine you are driving, the other is a story generator you are reading. If you want to play D&D, take the first route. If you want to be told a story tonight, take the second. Our tool breakdown sorts the ones currently ranking by which of the two they actually are.
The 10-minute setup that holds up
- Write the state block first. Party (name, class, level, AC, HP, passive Perception), location, the one thing they are trying to do, and three open threads. This is the file you will paste in every session.
- Give the model a job description, not a personality. "You are a D&D 5e dungeon master. You narrate outcomes, you never narrate a player's choices, you report HP and conditions after every round, you end every turn with a question to the table."
- Add the refusal rule. One line: impossible actions fail, or succeed at a cost. Without this the session has no stakes.
- Keep secrets out. Your traps, twists and villain motives go in your notes. The model gets them as reveals, not as context.
- Roll real dice. The model decides what the roll means; it should not decide what you rolled.
Full prompt text, copy-paste ready: How to use ChatGPT as a dungeon master →
When you should just use a human DM
Three honest cases:
- You want to be surprised. An AI DM cannot surprise you with something it does not know and you do not know. The best moments at a table come from a human holding information over you.
- You want tactical depth. Grid combat with cover, line of sight and five enemy stat blocks is where models make arithmetic errors that silently wreck the encounter.
- You are playing with people who talk. The social half of D&D — arguing about a plan, voting, someone doing something stupid — does not need a DM at all, and an AI in that seat tends to narrate over the conversation instead of waiting.
The realistic niche for an AI DM is: solo or two-player play, between sessions, and rehearsing a build. That is a real niche and it is why these tools keep getting made.
Questions people actually ask
Can an AI be a dungeon master?
Yes for generation — rooms, NPCs, rulings, turn order. No for secrecy and refusal. The workable split is AI narrates, human holds the secrets and the notes.
Is there a free AI dungeon master?
Yes. A general chat model plus a written prompt costs nothing at the tier most people already pay for, and freeform text-RPG sites are free to play. The hidden cost of the free route is setup time and re-feeding state every session.
Do I need the rulebooks?
No. The D&D 5.1 System Reference Document is released under CC BY 4.0 — the core rules, classes and spells are free to use and free to paste into a prompt. You need paid books for published adventures and lore you did not write.
Can it run a whole campaign?
A whole session, reliably. A whole campaign only if you keep an external notes file and paste it back at the start of each session. Rely on the model's memory for three weeks and consequences will contradict themselves.
Will players notice?
They will notice the drift and the missing "no" long before they notice the prose. Both are fixable with the state block and the refusal rule, which is why those two are the top of the setup list.