r/DnDwithAI • u/OtherBicycle9 • Oct 29 '26
The 'perfect' DND AI DM - Continuity = instructions
After spending over 300 hours and running 4 intense campaigns, I’ve finally perfected this AI system. To be honest, it started out just because I found myself losing way too much sleep—the game was just so incredibly immersive. Every single time I hit a snag or a bug, I fixed it. Now, it runs smooth as butter.
For me, using AI to expand your own fantasy and creativity is a childhood dream come true. I’ve experienced so much joy creating this, and now I just really want to share that exact experience with other people.
You can modify the document-instructions for your own liking.
Document-instruction key: https://docs.google.com/document/d/1Ql2IAqCocwOLbXWDdQaEZMDQURucF4Cf/edit?usp=sharing&ouid=112585938838590092322&rtpof=true&sd=true
All u gotta do, is click on 'file' in upper left corner and click 'download' - then move the file to a chatgpt or other AI chat - it will understand immedietly in my experience.
My guide: I tell my AI to update the document when xit let's me know the memory threshold has been reached - to preserve continuity.
All other typical AI mistakes - such as double rolling, unfair DCs, and player favoritism - should be handled by my document's instructions. Usually, I use (OOC) for out-of-character comments, *italics for actions*, and "quotes for IC speech" (or no formatting at all for speech) to keep typing quick and easy.
For music immersions I would recommend following playlists:
Tavern/happy: https://open.spotify.com/playlist/3iFYFoZYL8iXa97xWl6vXp?si=7c4dda6f5f0941aa&pt=d0f273a397709f56415ce03b2e0e60b1
DND background music: https://open.spotify.com/playlist/4CZDBmDgGlzaX10lrAFjkt?si=b0cabd99686140af
DND battle music (this one might not be for everyone): https://open.spotify.com/playlist/2YTNM0Yc9lVn9FkG2BU0js?si=43b5092fa48440a4
-Chatgpt 5.6 Sol (is my best experience so far - I only tried 'plus' subscription)
1
u/Vast-Perspective3533 12d ago
Is there a way to incorporate rulebooks into this? Like if I gave the AI this as a file and then the D&D Dm guide and rule book would it be able to set up a character and run a campaign already knowing the rules?
1
u/OtherBicycle9 12d ago
Yeah, for a long-running solo D&D campaign, I’d strongly recommend having ChatGPT maintain one main campaign-state file and consistently update that same file instead of constantly creating new ones.
Use .md (Markdown) rather than Word. Updating a Word document is slow as fuck compared to just maintaining a Markdown file.
I’d also recommend making a separate ChatGPT Project for each campaign. Keep the campaign file in the Project/Library so you don’t have to constantly download and re-upload it. Then, when one chat eventually gets too long, just start “Part 2” in the same Project and tell ChatGPT to read the campaign files before continuing.
You probably won’t want to personally read a giant .md campaign-state file anyway, so you can also have it maintain a second, much smaller player-facing overview with things like your character sheet, build, important NPCs, active quests, equipment, etc.
I’d recommend planning your character concept and build first, then having ChatGPT create the initial campaign documents around that.
Another big thing: context management.
Don’t just rely on ChatGPT deciding when it is “starting to forget things.” Give it an explicit rule to count messages and update the authoritative campaign file after, say, 120 total messages, counting both yours and ChatGPT’s. You can make it print the current message count in every response if you want to make sure it actually tracks it.
Whenever ChatGPT makes a mistake, or you notice something about the DM style you dislike, just explicitly correct it and tell it how that situation should work in the future. Over time you can build a fairly extensive set of campaign rules.
For models, I personally recommend GPT-5.6 for solo D&D. In my experience it is noticeably more willing to enforce rules, consequences, failed rolls, resource limitations, etc. rather than simply letting the player succeed because that would make the story convenient. Your mileage may obviously vary.
One of the most important instructions I’d give it is:
Pre-lock hidden facts before the player starts investigating them.
For example, if you discover a murder mystery, ChatGPT should decide before you start theorizing who the murderer actually is, what happened, what evidence exists, what the murderer knows, and so on.
Same thing with dungeons. Number of enemies, enemy locations, treasure, traps, NPC motives, quest outcomes, etc. should be established before your actions reveal them whenever reasonably possible.
Otherwise there’s a danger that the world unconsciously reshapes itself around whatever theory you come up with or whatever would be easiest/most dramatic at that moment.
For spoiler protection, I personally tell ChatGPT to write certain DM-only information in Japanese. I don’t read Japanese, so it prevents me from accidentally seeing the answer while still leaving the information written down for ChatGPT later.
Obviously that isn’t actual encryption or secrecy — I could translate it if I wanted to — it’s just a convenient anti-spoiler trick.
The general philosophy is basically:
Establish the world first → lock the hidden facts → let the player interact with it → roll when the outcome is genuinely uncertain → preserve the consequences in the campaign file.
That gets you much closer to having ChatGPT act like an actual DM rather than an interactive story generator that constantly changes reality to accommodate the player.
2
u/TheBathrobeWizard Oct 29 '26
Screw the haters, this is awesome! I really appreciate the formatting on the guide. This looks awesome and I can't wait to give it a thurough read through when I get home from work.
1
u/doctor_Xer Nov 01 '26
Your checkpoints are the key. You’ve clearly done a lot of work and a lot of testing. Where is it not fully doing what you ideally want?
1
2
u/FatSpidy Oct 30 '26
How's the adult content –blood, gore, sexual, horror, torture, killings, etc?
1
u/OtherBicycle9 12d ago
In my experience, chatgpt in dnd context is very large and allow all of that. Obv actually sex is fade to black, while torture is sometimes descriptive or heavily implied without lecturing you
2
u/HatesMonoBlue Oct 30 '26
Good on you for finding a way to run a solo campaign dor yourself.
I have one going with claude over 5 maxed out chats over the past year.