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.
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.
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.
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
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.
- 01S0 geography
- 02S1 terrain
- 03S2 buildings
- 04S3 roads
- 05S4 placement
- 06S5 composite
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
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
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
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
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=falseCopy data/worlds/<uid>/ and you have moved a world; deletion is archival and recoverable.
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.
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.
- 01Perceive
- 02Remember
- 03Plan
- 04Portray
- 05Act
- 06Learn
A periodic channel handles routine; an immediate channel handles surprises.
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
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
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.
- 01Infant
- 02Toddler
- 03School
- 04Teen
- 05Young adult
- 06Prime
- 07Middle
- 08Elder
- 09Very old
- 10Deceased
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
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.
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
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.
| Mode | Time source | Who is present | Data |
|---|---|---|---|
| World | world clock | NPCs and your avatar | world store |
| Conversation | frozen moment | awake characters on site | world store |
| Companion | real time | companions, across worlds | catalogue |
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.AiGatewayOne write entrance per business table.
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
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?
