Skip to content

Chapter 1 — What AI RPG Engine Is

AI RPG Engine is a composition simulation for RPGs.

It provides the systems needed to build interactive worlds: characters that think, environments that change, events that unfold according to rules rather than rigid scripts. The shipped no-GPU player is the terminal run loop. Hosts that draw pixels attach over the sidecar — the Godot 4 client is ai-rpg-stage. The engine still does not emit pixels.

AI RPG Engine is designed around a simple idea:

A believable world comes from systems interacting with each other.

Instead of writing a long chain of scripted scenes, you define rules and content:

  • rooms and zones
  • entities and characters
  • dialogue trees
  • items and abilities
  • environmental conditions
  • AI behaviors
  • progression systems

The engine then runs those systems together.

When a player performs an action, the engine processes that action through the simulation and produces events that describe what happened.

Those events are then presented by a host: the terminal UI, or a sidecar client such as the Godot stage.

Because the engine separates simulation truth from presentation, it can support complex narrative techniques such as unreliable narration, perception differences between characters, and layered storytelling.


AI RPG Engine is genre-agnostic.

The same engine can power very different worlds because genre assumptions live in rulesets and content, not in the core runtime.

The repository includes 10 starter worlds spanning different genres:

StarterGenre
starter-fantasyDark fantasy
starter-cyberpunkCyberpunk
starter-detectiveVictorian mystery
starter-pirateHigh-seas pirate
starter-zombieZombie survival
starter-weird-westWeird west
starter-colonySci-fi colony
starter-roninFeudal Japan
starter-vampireVampire horror
starter-gladiatorHistorical gladiator

All 10 run on the same engine without changing the core runtime. Each one demonstrates different composition patterns — stat mappings, resource profiles, engagement configurations, and ability sets.


simulation truth
+ modular rules
+ authored content
+ presentation layers
= reactive narrative worlds

That is the purpose of AI RPG Engine: a reusable foundation for building many kinds of simulation-driven terminal RPGs.