AI RPG Engine Build worlds. Simulate them. Improve them.
The first RPG engine designed for experimentation. Deterministic simulation runtime + AI-assisted design studio + six-pillar tactical combat.
Install
npm install -g @ai-rpg-engine/cli
Studio
ai chat
Onboard
/onboard
Core Capabilities
What makes AI RPG Engine different.
Deterministic Simulation
Tick-based engine with world state, events, perception, cognition, faction beliefs, rumor propagation, and seeded RNG. Every run can be replayed exactly.
AI-Assisted Worldbuilding
Scaffold rooms, factions, quests, and districts from a theme. Critique designs, repair schema errors, and guide multi-step builds. AI suggests — you decide.
Replay Analysis
Structured findings explain why events happened, where mechanics break down, and which systems create instability. Analysis feeds directly into tuning.
Experiment-Driven Balancing
Run batches of simulations across seeds. Detect variance, sweep parameters, compare tuned vs baseline. Turn world design into a testable process.
Studio Workflow
CLI design studio with dashboards, issue tracking, experiment browsing, session history, guided onboarding, and context-aware command discovery.
Six-Pillar Combat
Guard, brace, engagement, interception, precision-vs-force dimensions, and AI tactics. Stats shape every formula. buildCombatStack wires it in 7 lines.
27 Built-In Modules
Combat, tactics, engagement, abilities, dialogue, cognition, perception, factions, rumors, districts, progression, environment, and more. All composable, all deterministic.
Genre-Agnostic
Same core runs dark fantasy, cyberpunk, detective noir, or any setting. 10 starter worlds show composition patterns to learn from and remix. Genre belongs to content packs, not the engine.
Quick Start
Install
npm install -g @ai-rpg-engine/cli Start the studio
ai chat
/onboard Build a world
create-location-pack haunted chapel district
critique-content
simulate Analyze and improve
analyze-balance
tune paranoia
experiment run --runs 50 Built-In Modules
27 composable simulation modules.