Skip to content
Konjure / spatial intelligence

Get started

Write a scene once. Compile it in your browser, then run it natively.

In the browser

Open the playground, choose Orbital lab, and press Compile scene. Drag to orbit the camera, use the timeline to sample a moment, and select satellite to toggle its motion. A compile error preserves the displayed scene.

Download Source for the .kj document or Compiled scene for validated .konjure JSON. Drafts stay in browser storage. The playground does not call an AI provider or request sensors on page load.

From a source checkout

Konjure currently distributes its packages through the project checkout. Registry publishing is separate from this preview. Install a current Rust toolchain, then run from the repository root:

Sourcesh
cargo run -p konjure-tools --bin kj -- check examples/sdk/orbital-lab.kj
cargo run -p konjure-tools --bin kj -- compile examples/sdk/orbital-lab.kj --out /tmp/orbit.konjure
cargo run -p konjure-tools --bin kj -- sample /tmp/orbit.konjure --time 2

The sample contains a column-major world matrix for each entity. Time is explicit; a sample does not depend on wall-clock time, network state, or a renderer.

A minimal document

Sourcetext
scene hello_world {
  title "Hello, spatial world";
  node signal {
    sphere 0.2m;
    color #6fe3ff;
    orbit 1.4m period 8s;
    action motion toggle_motion;
  }
  chat assistant "Select signal to change its behavior.";
}

The compiler recognizes units, checks identifiers and parent relationships, and produces the same typed document on native and WASM targets. Read the language reference next.