Core System
Built on Unreal Engine 5.7 with a native C++ runtime, Moirai is the canonical state authority for time, memory, and world continuity. It enforces a strict separation between System Truth (the immutable record of every interaction) and Character Perception (the subjective, emotionally biased recall each NPC experiences). Every conversation is processed through a pipeline that extracts facts, identifies emotional weight, and propagates knowledge through a social graph.
Interaction capture via custom C++ frameworks. Handles asynchronous input sanitization and logic routing.
Private inference using optimized local language models. High-fidelity reasoning with zero-latency context injection via the Moirai bridge.
Fact extraction, action intent scheduling, and world state synthesis. Manages the Social Graph and Propagation buffers.
Emotional bias injection and temporal decay filters. Dynamic response synthesis based on active relationship tensors.
Moirai enforces a split-brain architecture. The Transcripts record maintains an append-only, high-fidelity log of every interaction. The Memory Records store structured facts extracted by the system. When an NPC recalls information, it passes through a Recall Filter that introduces temporal decay, emotional weighting, and relationship-based bias, simulating how real people misremember conversations.
Trust, intimacy, and shared history are not binary flags. Lelit Distrikt models relationships as dynamic tensors that influence every response. What you say to one character ripples through the Social Graph, propagated by gossiping NPCs during off-screen synthesis cycles. The world remembers how you treat its residents, and they speak to each other when you aren't around.
The simulation operates in discrete chapters, with Moirai managing the transition between story states. It coordinates character arrivals, set-piece triggers, and long-term narrative consequences. Every chapter is a layer in the district's history, preserved and accessible through the orchestration core.
Architecture
Every layer of the simulation is built on production-grade infrastructure designed for high-end PC hardware. Zero cloud dependencies. Zero subscriptions. The entire AI stack runs on your machine.
C++ core runtime. Custom gameplay frameworks and conversation subsystems. All AI logic runs in native code for maximum performance.
Virtualized geometry with film-quality micro-polygon rendering. Hardware ray-traced global illumination for photorealistic Mediterranean lighting at every hour.
On-device private inference engine. Fully local reasoning with zero network dependency. Optimized for hardware acceleration with fallback support.
Thread-safe, encrypted local storage for all persistent world state. Manages transcripts, memory records, and propagation events without cloud access.
On-device text-to-speech with per-character voice profiles. No cloud API calls. Speech recognition runs locally for full voice interaction support.
Native components manage request flow and interface state. Per-NPC personality and memory context are handled through specialized identity subsystems.
Requirements
All AI (conversation, voice synthesis, speech recognition) runs locally. Nothing is sent to external servers. No subscription required. The district and everything said inside it belongs to you.
Evolution
Trace the journey from static foundations to a living, autonomous narrative simulation.
Experience the simulation firsthand through a curated, high-fidelity walkthrough. Ideal for individuals or small groups looking to explore the district's depth.
Lelit Distrikt is designed for controlled environments and art galleries. I provide the infrastructure for public display as an interactive installation.
I am open to partnerships with institutions exploring the intersection of AI, sociology, and digital ethics. Let's push the experiment further.
Lelit Distrikt 2026 // A social experiment preserved