Skip to content

Capabilities

One engine, three layers

The world engine owns time and facts, the character engine owns mind and expression, and the shared layer owns the gateway, judgement and observability. Every tile below maps to a module in the backend, not to a feature checklist.

21 Maven modules16 plugins1 executable jarApache-2.0

SYSTEM INDEX

split by contract
  • WEWorld engine07

    time · space · facts · generation

  • CECharacter engine05

    perception · memory · decisions

  • SHShared layer05

    gateway · judgement · ops · clients

The contract layer carries no framework; plugins never compile against each other.

WE

World engine

clock · map · facts · climate · ledger · generation · archives

Time, space, items and facts. The world advances on its own, whether or not anyone is watching.

01

WE · CLOCK

One clock for the whole world

Time advances as real time multiplied by a rate. Pausing freezes it, resuming continues from the freeze, and offline hours are never back-filled. Perception, decisions and memory upkeep each run on their own cadence; AI calls never block a world tick.

  • 5 game-minute ticks
  • rate ×24
  • no offline catch-up

actor_world_clock.last_game_second

02

WE · MAP

The map is drawn by deterministic code

The model only decides what should exist; where it goes is solved by algorithms — noise terrain, hydraulic erosion, least-cost routing, buildings snapped to streets. One seed, one island.

  1. 01S0 geography
  2. 02S1 terrain
  3. 03S2 buildings
  4. 04S3 roads
  5. 05S4 placement
  6. 06S5 composite
03

WE · FACT

Facts carry versions, events carry causes

Who owes whom, who promised what, who holds which item — all of it lands as versioned world facts. Every change leaves a record and older versions stay queryable.

  • Every fact has a visibility scope; a third party does not simply know
  • New events are tagged with what caused them
  • Each decision carries the world version it saw
04

WE · CLIMATE

Seasons, weather and rumours

Seasons, temperature curves and felt temperature reach perception, dialogue and decisions. Messages spread by distance and get embellished on the way; rumour and fact are recorded separately.

  • Traits are weighted by environment: cold-shy, rain-loving, night owl
  • A character only hears the version they can reach
05

WE · ITEM

Every change writes one ledger row

Items carry definitions, stacks, quality, durability and freshness. Produce is positive, consume is negative, transfer is zero — stock and books always agree.

produce
+1
consume
−1
transfer
0
06

WE · GEN

A world grows out of a node graph

Three starting points feed one generation workflow: long-form parsing, manual sections and creative expansion. Nodes run in parallel or in a chain; failures retry and a crash resumes.

  • nothing persists before preview
  • SSE progress
  • schemas gate every write
07

WE · ARCHIVE

Reproducible and replayable

Turning the AI contract off makes the whole chain deterministic for comparison and tuning. One world, one archive, exportable as a single .holzyn file; incompatible versions are rejected rather than half-opened.

mapgen.ai-enabled=false

Copy data/worlds/<uid>/ and you have moved a world; deletion is archival and recoverable.

CE

Character engine

loop · memory · decisions · persona · compute

Perception, memory, decisions and expression. Characters keep their own point of view and only know what they can reach.

01

CE · LOOP

The cognition loop

When the world reaches a tick, the character engine reads the world view and its own state, produces an intent, hands it to the world for adjudication, then writes the result back into memory and relationships.

  1. 01Perceive
  2. 02Remember
  3. 03Plan
  4. 04Portray
  5. 05Act
  6. 06Learn

A periodic channel handles routine; an immediate channel handles surprises.

02

CE · MEMORY

Four memory layers

Writes are deduplicated, blur over time, get cleaned during sleep and rise through layers as they consolidate. Recall ages from when the event happened, so an old memory never becomes new just because it was remembered.

  • Working memorythe present
  • Episodicwhat happened
  • Core identitywho they are
  • Long-term archivelong ago
03

CE · DECIDE

Decisions, interruptions and a trace on failure

Interrupted work is recorded; afterwards a character decides whether to return, reschedule or drop it. Failures go into a retry queue and leave a trace instead of being dressed up as resting at home.

  • High-stakes events are simulated a few ways first
  • Disagreements actually lead to a conversation
  • A single decision can be opened step by step
04

CE · GROWTH

Personality, life stages and social masks

One unified profile covers identity, physique, temperament, values, skills, habits and trauma. Ten life stages gate what a character can do; major events shift personality in a controlled, evidenced way.

  1. 01Infant
  2. 02Toddler
  3. 03School
  4. 04Teen
  5. 05Young adult
  6. 06Prime
  7. 07Middle
  8. 08Elder
  9. 09Very old
  10. 10Deceased
05

CE · LOD

Compute follows attention, not headcount

Characters far from view and unrelated to whoever you are watching take a light path; once approached, involved or related, they are promoted to full decision-making.

  • Light pathgroup scheduling
  • Standardwithin sight
  • Fullinvolved
SH

Shared layer and platform

observability · modes · gateway · guards · clients

Gateway, judgement, observability and archives. Cross-module calls only go through the contract layer, which is why a world can be replayed and audited.

01

OPS · TRACE

Observability and check-ups

AI usage aggregates by world, scenario and model; every call is stored and can be replayed by trace. Whether a world is running correctly is something you can query, not guess.

  • Spatial check-up: engine vs map coordinates, per character
  • Timeline audit: memories, promises and facts line up
  • Drift metrics, prompt metrics and data sweeps
02

CORE · MODE

Three modes, three time sources

World runs on the world clock, conversation freezes a moment, companion lives on real time. Each is independent and can contain another.

ModeTime sourceWho is presentData
Worldworld clockNPCs and your avatarworld store
Conversationfrozen momentawake characters on siteworld store
Companionreal timecompanions, across worldscatalogue
03

INFRA · AI

One entrance for every model call

Requests, results, usage and errors are typed once in the contract layer. Methods that call AI may not be transactional, and plugins never compile against each other.

shared.port.AiGateway

One write entrance per business table.

04

OPS · GUARD

Guards, review and degradation

Empty output, repetition, malformed output, repeated failures and timeouts are all caught, with the matching rule and the offending excerpt preserved. When the model is unavailable the world degrades to procedural fallbacks.

  • Behaviour quality is scored by a separate channel
  • Degradation never stalls the world; fallback paths have their own acceptance tests
05

EDGE · CLIENT

The world can step back and be a pure AI brain

A Unity client can own the real-time world: protocol negotiation, heartbeats and disconnect cleanup. The client reports game time to drive advance; a disconnect freezes the world.

  • Unity
  • HarmonyOS (planned)
  • Electron desktop
  • Browser

Want to go one layer deeper?

This page answers what it is built out of. The feature tour covers what it does and where the limits are; the architecture page covers how the modules are assembled.

Want the source, or a world of your own?