Skip to content
2 min readUpdated 24 Nov 2026

Origin plane

Origin provides the runtime types and graph model that Reaktor shares across platforms. It covers graph execution, service and I/O contracts, binary data, and calls between languages.

The Origin plane may use no other plane. Every other plane may use it. Its modules live in reaktor/plane-origin/. Reaktor planes shows where it sits among the twelve.

Modules#

ModuleWhat it doesRead more
reaktor-coreProvides shared runtime types, capabilities, and platform adapter interfaces.Core
reaktor-graph-portDefines graph identities, typed ports, and reusable subgraphs.Graph
reaktor-graph-runtimeRuns graphs and capabilities in headless hosts.Graph
reaktor-actorRuns actors: keys, bounded mailboxes, one turn at a time, supervision directives, timers, and durable state machines.Actors
reaktor-graphConnects the graph runtime to Compose rendering and navigation.Graph
reaktor-serviceDefines typed service operations, requests, responses, and trace records.Service Layer
reaktor-ioProvides routing, HTTP, WebSocket, file, and compression helpers.—
reaktor-flexbuffer(Deprecated — use reaktor-struct) Legacy FlexBuffers binary serialization.FlexBuffer (Deprecated)
reaktor-ffiHandles calls and data exchange between Kotlin, C++, and TypeScript.FFI and RPC
reaktor-structDual-core (C++23 + KMM) zero-copy struct layout, verifier, evolution, and delta runtime.Struct
reaktor-kspKSP2 symbol processors for Reaktor (@Struct polyglot codegen and future Origin generators).Struct
reaktor-compiler-pluginKotlin K2 FIR/IR compiler plugin for Reaktor (@Struct @JvmRecord synthesis, Str16 lowering, and future passes).Struct

Every module in this plane is experimental.

What it may use#

Pages#

  • Core: reaktor-core, the module every other module imports: Feature slots for platform services, resources that must be closed, weak platform adapters, and shared primitives for time, dispatchers, logging, atomics and JSON.
  • Graph: reaktor-graph, the runtime that holds an application together: nodes declare typed ports, a graph connects every input to a provider when it starts, and Hangar reads the same structure to draw it, check it and edit it.
  • Reaktor Service: How Reaktor declares, serves and calls services: one open-class root per service, plain typed inputs and outputs, four kinds of failure, one call pipeline over every link, and services as graph nodes that consumers wire to by type.
  • Reaktor Actor Model: ActorNode as a graph node with a serialized mailbox, exclusive state and port wiring, PersistentActorNode for durable state machines, and what Akka and Erlang/OTP teach about both.
  • Reaktor Struct: reaktor-struct: one verified, zero-copy binary layout for memory, FFI calls, mmap storage and the wire across C++23, Kotlin Multiplatform, TypeScript, Static Hermes, Python and C#. Replaces deprecated reaktor-flexbuffer.
  • Unified FFI and RPC: Design for graph-owned Service calls across Kotlin, C++ and TypeScript: shared RPC sessions, native ownership, compatibility, authority, cancellation, streams and a staged implementation plan.
  • FlexBuffer (Deprecated): Runtime-first guide to reaktor-flexbuffer: every retained hot-path optimization, platform behavior, benchmark result, FFI implication, product use case, tradeoff, safety rule, and adoption path.