Docs
Concepts

Overview

The ideas behind the Klorad API, one per page, for when you want to know why the API is shaped as it is.

Read these when you want to know why the API is shaped as it is. You do not need them before the quickstart or a guide: each guide explains the words it uses. Once you know the model, the API is predictable: you can guess where a capability lives and what it may and may not do.

Access@klorad/accessHow people and devices reach the world: Worlds (each team's own view), entitlement, audit.
Integration@klorad/api/integrationHow the world is coupled to reality: sources, devices, connectors.
World@klorad/api/worldOwns meaning. Pure TypeScript: no React, no renderer, no database.SpaceTimePhysical correspondenceInteraction and actuation
Renderers@klorad/engine-three, engine-openlayersDraw what the World layer defines, in 3D or as a plan.
Bindings@klorad/reactDeclare objects, read state with hooks.
The World layer never imports the layers around it. Apps change world state only through it.

Each page explains one idea, shows the smallest code that uses it, and links to the example that runs it. Pick the one your task needs:

The API follows the model of the doctoral thesis behind Klorad; the model gives that background.

Words that mean more than one thing

World. Three uses, kept apart in these docs: the World layer is the part of the API that owns meaning (@klorad/api/world); a World in @klorad/access is one team's entitled view of a twin; a published world is what visitors open, built from a public package. A scene is the one place world state lives; Worlds and published worlds are views of a scene.

Live. In the examples, readings marked live come from a fixture source unless the example says otherwise. A moving value is not a connected device.

Something wrong or unclear? Tell us.