u/Obvious-3806

Obvious's Agents for actual long form TTRPG in ST

Obvious's Agents for actual long form TTRPG in ST

Hey everyone! I've adapted ST in a seemingly unique way, so I thought I would share.

The files are all here: https://github.com/Obvious-3806/RPG_Agents

I struggled with the generating an actual RPG experience for tons of reasons. If instructions are vague then it generates slop where you character is the most special person ever after 200 messages. If you give tons of instructions it messes them up, at best a simplified system is needed and it still makes you overpowered by message 500. So, I broke up instructions into agents, each one has one job and it does it right. Agents kept multiplying because it was real easy and it works great, so now I'm at 20 of them. You put these 'characters' all in a group chat and call the correct one. Like so:

https://preview.redd.it/y2053g9dabkh1.png?width=1417&format=png&auto=webp&s=4faf7c6d5bdc309e0a08541e9482114cc34cb9b5

My sessions get into the thousands of messages with 100+ NPCs, all well formed character cards. It follows all the TTRPG rules, even from the complex classic ones with initiative rolls, saving throws, reaction rolls, movement speeds and loot tables. The pacing lines up with a proper RPG while still having the truly open world that an AI chat gives.

The character-agents are currently: Narrator, CYOA, SkillCheck, Spicy, Initiative, Battle, Location, Character, ImagePrompt, XP, Trainer, Loot, Tracker, Quest, Timeskip, Travel, Sleep, Shop, Plot, Auditor. Narrator does the heavy lifting with CYOA and SkillCheck backing it up. Initiative sets up a battle and Battle runs an action, following every rule in the book of choice. Location generates proper towns/dungeons which you then populate with real identities with Character. Make VN image sets with ImagePrompt plus a Comfyui workflow (or don't, but you should). XP, Quest, Shop, Loot do the actual correct things for the TTRPG setting to manage the pace and economy. Auditor checks for plot holes and lost items and lore violations and everything that gets a thinking model like Kimi twisted up in a loop.

The setup - The preset is minimal as all guidance sits in the 'Character'. Character descriptions hold the AI guidance which the preset puts at depth zero - maximum adherence and no lost cache by switching between them (>95% cache hit typical). All NPCs are lorebook entries.

The approach is extremely forgiving so feel free to adapt agents to whatever game system you want.

If there are any questions or suggestions please do let me know!

u/Obvious-3806 — 1 day ago