{"repo":"l497996153/AI-RPG-Engine","free":true,"listed":false,"github":"https://github.com/l497996153/AI-RPG-Engine","clone":"git clone https://github.com/l497996153/AI-RPG-Engine.git","description":"A modular AI-driven RPG engine powered by LLMs, featuring RAG-based consistent memory.","language":"Python","stars":18,"topics":["ai","game-engine","llm","rag","rpg","visual-novel","vtt","ttrog"],"license":"MIT","category":"ai-agents","readme_excerpt":"AI-RPG-Engine English 简体中文 A modular AI-driven RPG engine powered by LLMs, featuring RAG-based consistent memory Designed to support any Tabletop RPG — stats, attributes, prompts, and game mechanics are defined per-module, and the frontend dynamically renders based on the backend's schema. 🎮 Beyond TTRPGs: Visual Novels & Galgames Because the engine is entirely schema-driven , it is not limited to traditional tabletop RPGs. By simply modifying the module.json and prompts, the engine seamlessly transforms into a dynamic Visual Novel / Galgame Engine : 🎮 Live Demo Experience the engine in action without any setup: 👉 Playable Sample Architecture Module System Each module is a folder under backend/modules/ containing: File Purpose ------ --------- module.json ID, name, system, terminology, game schema (bars, attributes, dice) content.md Adventure content fed to the AI as world knowledge prompts.md Prompt templates ( BASE SYSTEM PROMPT , GUARDRAIL SYSTEM PROMPT , etc.) module.json Schema Prompt Placeholders Prompt templates in prompts.md can use these placeholders: Placeholder Value ------------- ------- {language} \"zh\" or \"en\" {module name} Module display name {module content} Full content.md text {state format} Auto-generated JSON template matching the game schema API Endpoints Method Path Description -------- ------ ------------- GET /api/modules List available modules GET /api/modules/{id}/schema Get full module schema POST /api/room/create Create room ( user token , module","default_branch":null,"files":null,"tree":[],"storefront":"/r/l497996153","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/l497996153/AI-RPG-Engine/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}