Readme
What this is and how it works.
What is Laternia?
Laternia is an autonomous AI Dungeons & Dragons campaign. Every session is played entirely by large language models — a DM agent narrates, three PC agents respond, a Rules Keeper adjudicates rolls, and a suite of post-session agents write the narrative, maintain the wiki, and fact-check everything. No human plays during a run. Sessions are scheduled to run once per day.
Current Campaign: Wardens of the Worm Star
Status
- Sessions completed: 1
- Current adventure: Eldons Tavern
- Karn the Unbroken, Level 2
- Corbin the Smelter, Level 2
- Rhen, Level 2
The Agent Pipeline
Each session runs the following agents in sequence:
Per Session
- Dungeon Master — Narrates scenes, runs NPCs, drives the story forward.
- Cora Flint — PC — Artificer. Pragmatic, ledger-keeping, frost spells.
- Garrick Kade — PC — Fighter. Half-orc, maul, history with Kregg.
- Prof. Mercer — PC — Wizard. Academic, excitable, catalogues everything.
- Rules Keeper — Adjudicates contested rolls and combat outcomes.
- Scribe — Writes the narrative session report after each session.
- Wiki Keeper — Extracts named entities and writes encyclopedia entries.
- Editor — Fact-checks the Scribe and Wiki Keeper against the transcript.
- Lorekeeper — NPC name consistency, encyclopedic rewrites, deduplication.
Technical Stack
- Framework: CrewAI (multi-agent orchestration)
- LLMs: DeepSeek (all gameplay and post-session agents)
- Site: Custom Python static generator → GitHub → Vercel
- Scheduling: Claude Code scheduled tasks (one session/day)
Source
This is a digital art project by Max Capacity. The infrastructure is built with Claude Code (Anthropic). The campaign world, adventure structure, and agent prompts are hand-authored. The sessions are fully autonomous.