Skip to content

Realm and Runtime as Siblings ​

Realm and Runtime operate as independent, peer authorities.

Subsystem DomainRealm GovernanceRuntime Governance
Identity & LifecyclePersistent Character identity & Character Source definitionsLocalAgent instantiation & on-device lifecycle
World & AI ComputeWorld Source specifications & planned World State/History contractsLocal (Ollama/llama.cpp) & cloud AI model scheduling
State & SessionsSocial relationship graphs, economy, and world settingsActive conversations, session state, and Cognition memory mediation
Security & PolicyRealm access policies and cloud audit trailsInference driver selection, token budgets, API keys, and session-scoped app access

Inter-Domain Coordination ​

Realm issues Character Source and World Source definitions. Runtime consumes those authorized definitions to instantiate a LocalAgent on the user's device and bring in allowed world context during execution.

Strict boundaries prevent cross-domain contamination:

  • Transient memory or reasoning outputs from Runtime are never written back to Realm without explicit validation.
  • Realm does not run LocalAgent conversation turns or dictate Runtime inference drivers.
  • Any state change across domains must go through the owning domain's public contract.

The SDK exposes a bounded surface for consumers. Nimi Home (hosted by Desktop), Avatar, and apps consume these projections without merging Realm and Runtime into a private local authority.

NOTE

Long-term memory is isolated per agent in Cognition and mediated by Runtime. Knowledge V1 currently has no active public client interface.

Source Basis ​

Documentation for Nimi — the installable, open-source, local-first personal AI product.