An AI GM that respects the rules
Narration and structured state are handled separately. The model tells the story; the engine makes HP, items, currency, and checks count.
OPEN-SOURCE · SELF-HOSTED · AI TRPG
DiceFrame is an open-source, self-hosted AI TRPG platform for DND, COC, and custom rules. It brings an AI GM, multiplayer WebUI, character sheets, lorebooks, dice, state tracking, and group chat into one persistent online campaign.

BUILT FOR THE WHOLE TABLE
DiceFrame is more than a chat box that continues a story. It puts the AI GM, every player, every character sheet, and every state change into the same trackable TRPG world.
Narration and structured state are handled separately. The model tells the story; the engine makes HP, items, currency, and checks count.
Invites, character claims, action queues, pauses, and GM turns all live in one WebUI and stay synchronized in real time.
Lorebooks inject relevant context, long campaigns condense their history, and embeddings can bring back semantically related memories.
Start with DND 5e, COC, or freeform templates, then edit the rules, character templates, and world setting to build your own table.
Connect a web session to group chat through QQ and NapCat so players can act, check status, review the story, and roll dice.
Run the Windows portable build, Docker, NAS, or source version. Saves, settings, and API keys remain in your environment.
The wind beyond the door carries the scent of wet iron. When Eliza raises her lantern, the runes do not reflect the light—they are slowly breathing.
STORY, WITH CONSEQUENCES
DiceFrame separates the model's narrative from internal state instructions. Players get clean prose while damage, items, payments, experience, and scene changes are validated before reaching the save.
FROM ZERO TO SESSION ONE
Whether you play DND, COC, or a custom TRPG system, deploy DiceFrame on your own machine, connect a model API, and invite your friends to the table.
Download the Windows portable build or start DiceFrame with Docker on your own device.
Choose rules and a world template, or let AI draft an editable starting point.
Create characters and share an invite link so web and chat players join the same session.
Describe actions, resolve checks, and move the story forward while every change is written back to game state.
docker run -d -p 9876:9876 -v ./data:/app/data ghcr.io/diceframe/diceframe:latestGUIDES & DOCUMENTATION
From your first DiceFrame deployment to updates and plugin development, the documentation covers each part of the journey and evolves with the project.
YOUR WORLD. YOUR RULES. YOUR TABLE.
Open-source, self-hosted, and extensible. Download DiceFrame and bring your friends along.