Project workspace
Start page, recent projects, project templates, module support, file tree, split panes, and saved layout state.
Krait currently edits and previews legacy .kry projects. Its app code still uses the earlier Kryon stack while migration to Ziran-based Kryon is in progress.
Features
The existing Krait workspace ties its file browser, editor, preview, inspector, diagnostics, and search to legacy .kry source.
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
Krait is a separate application whose current IDE code is written in legacy .kry. It uses its pinned Kryon dependency; this build is not yet a validation of the new Ziran-based Kryon library.
Live preview
The current legacy workflow compiles .kry source into an app host and loads it in the preview viewport. Ziran-based preview integration remains migration work.
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
The former browser IDE used the retired .kry/KRB compiler path. The new Ziran-based browser workflow is not yet available.
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 a first-party Kryon IDE. Its current workspace has a legacy .kry editor, preview, inspector, and diagnostics; migration to Ziran is pending.
Krait is a separate repository (kryonlabs/krait) that vendors Kryon as a submodule. Ziran owns the language and portable runtime, Kryon owns reusable UI behavior, and Krait owns the IDE app. Kryon does not depend 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.
The existing legacy preview compiles .kry into a loadable app host and reloads it on save. A Ziran-based preview path remains to be completed.
Kryon is the UI library; Ziran is the language and portable runtime. Krait is still migrating from its earlier Kryon dependency. See kryonlabs.com for the current library.