Persistent World Simulation

A World That Lives
Without You

AnyRPG is an AI-driven text-based TTRPG where the world runs 24/7. NPCs live full lives, economies shift, wars emerge, and kingdoms fall — whether you are watching or not.

Download Community
C++ AI Game Master Persistent World Open World Simulation Windows & Linux

What It Does

A Living, Breathing Universe

Everything persists. Every NPC remembers. Every choice ripples outward through a simulated world that never stops evolving.

I.

Persistent World Simulation

The world runs continuously — day and night, whether you are logged in or not. Return after a week to find genuine changes: NPCs who died, economies that shifted, quests that expired.

II.

AI Game Master

An LLM-powered narrator that operates within your world’s structured database. The AI cannot hallucinate — every character, item, and location it references is a real, validated database record.

III.

Deep Character Systems

Create characters with full visual customization, personality traits, relationship networks, and lifecycles. Characters age, form alliances, fall in love, and leave lasting legacies.

IV.

Schema-Driven Reality

SchemaLang defines every entity in your world. One schema generates C++, Lua, Python, and SQL — ensuring perfect consistency across all layers. No contradictions. No hallucinations.

V.

Living World Geography

Continents, kingdoms, cities, and streets form a hierarchical world structure. Cities grow, buildings rise and fall, trade routes evolve, and travel takes real simulated time.

VI.

Emergent Quests & Events

Quests are not scripted. They emerge from the state of the world — NPC relationships, resource scarcity, political tensions, and random chance. Every playthrough is genuinely different.

VII.

Adventure Creation Tools

Full suite of editors: World Builder, Character Editor, Quest Designer, Item Creator, Spell System, Faction Manager. The same tools the AI uses internally — exposed to you.

VIII.

Multiplayer Sessions

Host adventures for friends. One player runs the world as game master; others connect as characters. Or let the AI serve as game master for everyone in a shared persistent world.

IX.

Physical Object Permanence

Pick up a book in one library, cross a continent, return weeks later — the shelf is empty and the book is in your inventory. Every object, letter, and artifact exists with full consistency.


Architecture

How It Works

A multi-layered system where structured data, high-performance simulation, and AI storytelling operate in concert.

01

Schema Definition

All world entities — NPCs, items, quests, locations — are defined in SchemaLang, a custom data modeling language.

02

Code Generation

SchemaLang generates C++, Python, Lua, and SQL automatically. All language layers stay perfectly synchronized.

03

World Simulation

A high-performance C++ engine runs the world simulation in parallel threads. Characters act, economies shift, events unfold.

04

AI Content Pipeline

LLMs generate content — dialogue, quests, lore. All output is validated against your schema before it enters the database.

05

Persistence

All world state saves to SQLite or MySQL. Every session starts exactly where the world left off — nothing is lost.

Get Started

The Simulation Is Already Running

Download AnyRPG and step into a world that has been waiting for you.

Download for Windows / Linux