qigangc

qigangc / TRPG_Agent

Public

A TRPG Agent with a UI for a better solo gaming experience.

41
5
80% credibility
Found Jun 01, 2026 at 41 stars -- GitGems finds repos before they trend. Get early access to the next one.
Sign Up Free
AI Analysis
Python
AI Summary

TRPG Agent is an interactive tabletop roleplaying game where you create a character, choose a fantasy setting, and go on AI-guided adventures. The AI acts as a Dungeon Master, narrating your surroundings, asking for dice rolls when you attempt risky actions, and rewarding you with experience points and special abilities as you complete quests. You can save your progress anytime and pick up where you left off.

How It Works

1
🎲 Discover the TRPG Game

You hear about an AI-powered tabletop roleplaying game where you can create a character and go on adventures in fantasy worlds.

2
πŸ›‘οΈ Choose Your World

You pick a setting for your adventure - like a classic sword-and-sorcery fantasy realm with dragons and dungeons.

3
πŸ‘€ Create Your Character

You design your hero by choosing a name, backstory, andεˆ†ι…ε±žζ€§ points to strength, wisdom, charisma and other abilities.

4
βš”οΈ Begin Your Adventure

The AI Dungeon Master welcomes you and describes your surroundings - you can explore, talk to characters, and make choices that shape the story.

5
🎯 Face Challenges and Roll Dice

When you attempt something risky, the game rolls dice to determine if you succeed - natural 20s mean amazing luck, natural 1s mean tough breaks.

6
Save Your Progress
πŸ’Ύ
Save Game

Your progress is stored safely so you can return anytime

πŸ“‚
Load Game

Jump back into a previous adventure with your character

πŸ† Complete Your Quest

You gain experience, level up, and watch your character grow stronger as you complete epic quests in your chosen world.

Sign up to see the full architecture

5 more

Sign Up Free

Star Growth

See how this repo grew from 41 to 41 stars Sign Up Free
Repurpose This Repo

Repurpose is a Pro feature

Generate ready-to-use prompts for X threads, LinkedIn posts, blog posts, YouTube scripts, and more -- with full repo context baked in.

Unlock Repurpose
AI-Generated Review

What is TRPG_Agent?

TRPG_Agent is a solo RPG experience where an AI acts as your dungeon master. You pick a world (D&D or a lighter Chinese fantasy setting), create a character with six attributes, then chat with the AI as it narrates your adventure. Dice checks trigger automatically when the AI requests them -- roll a natural 20 and you crit, roll a 1 and things go sideways. The interface streams responses in real-time via server-sent events, so the AI narrative unfolds like you're reading a live story. Built in Python with a web UI, saves live as JSON files on your machine.

Why is it gaining traction?

The hook is obvious: play tabletop RPGs alone, forever. No need to schedule sessions or wrangle players. The streaming interface makes the AI narration feel responsive rather than stilted. Character progression (experience, leveling, attribute points) keeps the loop engaging beyond one-off sessions. Two distinct world tones give you options -- serious D&D-style fantasy or a looser, more comedic Chinese fantasy vibe.

Who should use this?

Solo players who miss the tabletop experience but lack a group. Writers looking for a creative sandbox to explore character decisions. Developers curious about LLM-driven game masters. If you want serious gaming depth, you'll outgrow this fast -- it relies entirely on one Chinese AI provider (Zhipu AI), so the narrative quality depends on their model. No OpenAI or Claude support out of the box.

Verdict

At 41 stars, this is a promising prototype, not a polished product. The feature set is complete for basic solo play, but the small credibility score (0.8%) and single-provider dependency mean you're gambling on future maintenance. Worth cloning to experiment with if you're building something similar, but don't bet a campaign on it yet.

Sign up to read the full AI review Sign Up Free

Similar repos coming soon.