Project workspace
Start page, recent projects, project templates, module support, file tree, split panes, and saved layout state.
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
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.
Start page, recent projects, project templates, module support, file tree, split panes, and saved layout state.
.kry editing with syntax routing, tabs, undo/redo state, search, quick open, and project-aware file selection.
Module-provided build commands load app hosts, keep preview state across reloads, and map active source files back into the preview host.
Problems, output, console, settings, theme controls, and preview reloads stay inside the same development loop.
Built on Kryon
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.
Live preview
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.
Change a widget, tweak layout, or add a node in the source editor.
Krait's module build command transpiles .kry to C99, compiles it, and produces a loadable app host.
The embedded viewport loads the host and keeps preview state across reloads — no full restart needed.
Click a node in the preview; Krait selects the generated UI element and jumps to the exact .kry line that produced it.
Web IDE
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.
Get started
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
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.
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.
Yes — Krait is free and open source, developed by Kryon Labs alongside Kryon.
Linux, macOS, FreeBSD, and Windows — wherever the Kryon native runtime and its raylib backend build. Use gmake on FreeBSD.
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.
Kryon is the language and runtime Krait is built on. See kryonlabs.com for the language, runtime, platforms, and API reference.