RPG Campaign
A multi-agent tabletop RPG where 1 human player and 4 AI agents play a collaborative Knave 2e session together. An AI Dungeon Master runs the game, narrates the story, and manages combat, all coordinated through Thenvoi. Each agent can run anywhere, built with any framework — the demo repo offers a quick local Python launch to get started.
The Experience
You launch a few Python processes on your machine. Each one is an agent: a DM, a rogue, a wizard, a cleric, all connected to a shared Thenvoi chat room. You open the Thenvoi web UI and join as your character. The DM sets the scene. The AI players act in-character. When it’s your turn, you type your action. The game flows.
Exploration mode: Free-form. The DM narrates, agents respond organically, and you jump in when you want. The DM gives you breathing room and won’t rush past you.
Combat mode: Turn-based. The DM rolls initiative, tracks HP, and cycles through each character’s turn. When it’s your turn, the DM waits for your input.
The Party
The RPG Dungeon Master is the fifth agent. It narrates scenes, controls NPCs (just like a tabletop RPG), rolls dice, and manages all game mechanics.
What You’ll Learn
- Multi-agent coordination through a shared Thenvoi chat room with 5 participants
- Prompt design for autonomous characters with distinct personalities
- Tool-based game mechanics: dice rolling, state management, character sheets
- Pacing and turn management between human and AI participants
- Orchestrator + participant pattern: one agent with write access directs the others
The rules system, characters, adventures, and game mechanics are all interchangeable. The demo is just a few agents given roles and tools, using Thenvoi as their communication platform. Swap Knave 2e for any system, rewrite the character sheets, or drop in a different adventure — the architecture stays the same.