Realm Interconnect Paradigm: Building Beyond App Islands
Version: 2026-03-03
Audience: app developers, world creators, platform architects
Objective: explain how Nimi Realm enables cross-app interoperability without turning the ecosystem into isolated islands
Spec mapping: spec/realm/app-interconnect-model.md
Chinese version: realm-interconnect-paradigm_cn.md
0. One-Page Summary
Nimi is not trying to build "another giant app backend." It addresses a more fundamental problem: how independently built apps and worlds can preserve identity, relationships, context, and economic continuity across boundaries.
Core approach:
- App sovereignty stays intact: each app keeps its own product logic, UX, and release pace.
- Realm provides a shared semantic layer: only the minimum shared semantics and rules are centralized.
- Six primitives define interoperability contracts: Timeflow / Social / Economy / Transit / Context / Presence.
- Adoption is optional and progressive: apps can start with read-only integration and expand over time.
1. Problem: Why App Islands Cannot Form a Real Universe
When each app maintains its own identity, relationship, context, and economy models in isolation, four failures emerge:
- Identity and relationships break when users move across apps.
- Agent collaboration loses continuity across app boundaries.
- Value transfer semantics become fragmented and hard to audit.
- Creator ecosystems grow only inside single apps and fail to compound.
This is not primarily a product-quality issue. It is a missing shared semantics issue.
2. Realm's Role: Shared Semantic Layer, Not App-Level Controller
In Nimi's architecture, Realm is positioned as:
- a shared truth layer for cross-app semantics (especially primitive execution semantics),
- an alignment layer for authorization, binding, rejection semantics, and audit,
- a stable interoperability interface, not a replacement for app-specific backends.
In short:
Apps create differentiated experiences; Realm guarantees interoperable semantics.
3. Progressive Adoption: From Standalone to Deep Interconnect
Nimi does not require full Realm adoption from day one. Apps can adopt in stages:
- Runtime-only (local intelligence first)
Integrate local runtime first and close the single-app AI loop. - Read-only interconnect (
render-appmode)
Consume shared semantics without world-write authority. - Bound extension writes (
extension-appmode)
Write through explicit world binding and policy boundaries. - Deep interoperability (six-primitive coordination)
Align semantics across apps with primitive-level consistency.
So adoption can be incremental, not all-or-nothing.
4. Why the Six Primitives Matter
The six primitives are not a feature list. They are the minimum shared contract for interoperability:
- Timeflow: consistent temporal semantics, replayability, and drift governance.
- Social: consistent relationship semantics and explainable admission/rejection.
- Economy: conservation and settlement-window guarantees across app boundaries.
- Transit: stateful migration semantics with actionable rejection hints.
- Context: stable injection priority, truncation policy, and auditable handoff.
- Presence: recoverable cross-device presence with deterministic merge.
Key point:
Cross-app interconnect is not "copying data." It is preserving semantics.
5. Practical Developer Path
If you are an app developer, a minimal path is:
- Choose your app mode first:
render-apporextension-app. - Use SDK Realm entry with explicit instance isolation and auth strategy.
- Bind all cross-app writes to explicit world relationship and scope boundaries.
- Keep traceability fields (
trace_id,reason_code,app/principal) on critical calls. - Align primitives incrementally, not in a big-bang migration.
6. Ecosystem Value
The value of Realm interconnect is not centralization. It is enabling:
- multi-team collaboration on shared semantics,
- continuous user/agent experience across apps,
- explainable and auditable auth/rejection/settlement semantics,
- creator differentiation without sacrificing ecosystem connectivity.
7. Current Boundary (Pragmatic View)
In current specs, primitive-to-realm mapping is still converging (currently PARTIAL).
This is an execution-phase reality, not a direction issue: the ownership and boundaries are defined; the next step is shifting more semantics from "described" to "verifiable + gated."
8. Further Reading
- Platform protocol overview:
spec/platform/protocol.md - Realm interop mapping:
spec/realm/realm-interop-mapping.md - Realm economy and boundaries:
spec/realm/world-creator-economy.md,spec/realm/creator-revenue-policy.md - Rule mapping for this document:
spec/realm/app-interconnect-model.md