The Kryon IDE

Build .kry apps visually.

Krait is the standalone first-party IDE for Kryon — source editing, live preview, source-aware inspection, and diagnostics in one tight loop. It's written in .kry, so the IDE is its own research path.

Features

One loop: edit, preview, inspect, diagnose

Krait keeps every part of UI development tied to .kry source — the file browser, editor, live preview, inspector, diagnostics, and search all stay source-aware.

Project workspace

Start page, recent projects, project templates, module support, file tree, split panes, and saved layout state.

Source editing

.kry editing with syntax routing, tabs, undo/redo state, search, quick open, and project-aware file selection.

Live preview

Module-provided build commands load app hosts, keep preview state across reloads, and map active source files back into the preview host.

Diagnostics loop

Problems, output, console, settings, theme controls, and preview reloads stay inside the same development loop.

Built on Kryon

Krait is a Kryon app

The IDE itself is written in .kry. Krait vendors Kryon for normal builds and can point at a local Kryon checkout for runtime research and migration work — so every Krait release proves the platform on itself.

Learn about Kryon →

Live preview

Edit, save, watch it run

Krait previews .kry source by compiling it to an app host and loading it into the embedded viewport. Because preview widgets carry source metadata, an inspection click selects the generated UI element and opens the exact source line.

1

Edit a .kry file

Change a widget, tweak layout, or add a node in the source editor.

2

Compile to an app host

Krait's module build command transpiles .kry to C99, compiles it, and produces a loadable app host.

3

Load into the preview viewport

The embedded viewport loads the host and keeps preview state across reloads — no full restart needed.

4

Inspect back to source

Click a node in the preview; Krait selects the generated UI element and jumps to the exact .kry line that produced it.

Web IDE

Open Kryon examples in the browser

Krait web sessions can launch Kryon examples directly by URL. The browser IDE uses Kryon’s WASM compiler path for simple .kry files, then previews the generated KRB cartridge.

Open Krait Web IDE →

Get started

Build and run Krait

Krait is free and open source. Clone, build, and open a project.

Build the IDE:

git clone https://github.com/kryonlabs/krait.git
cd krait
make            # BSD make: use `gmake` on FreeBSD
make run

Open a project:

make run ARGS=/path/to/your/project

Develop against a local Kryon checkout:

make dev ARGS=/path/to/your/project

Run the smoke tests:

make smoke

FAQ

Questions

What is Krait?

Krait is the standalone first-party IDE for Kryon. It bundles a project workspace, .kry source editor, live preview, source-aware inspector, and diagnostics into one development loop.

Is Krait part of Kryon?

Krait is a separate repository (kryonlabs/krait) that vendors Kryon as a submodule. Kryon owns the language, runtime, and live-preview rendering; Krait owns the IDE app code. Kryon never depends on Krait.

Is Krait free?

Yes — Krait is free and open source, developed by Kryon Labs alongside Kryon.

What platforms does Krait run on?

Linux, macOS, FreeBSD, and Windows — wherever the Kryon native runtime and its raylib backend build. Use gmake on FreeBSD.

How does live preview work?

Krait compiles .kry into a loadable app host and runs it inside the embedded viewport. On save it rebuilds and reloads the host, preserving preview state where possible.

Where can I learn about Kryon itself?

Kryon is the language and runtime Krait is built on. See kryonlabs.com for the language, runtime, platforms, and API reference.