Kryon IDE · Ziran migration

An IDE for Kryon, in transition.

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

One loop: edit, preview, inspect, diagnose

The existing Krait workspace ties its file browser, editor, preview, inspector, diagnostics, and search to legacy .kry source.

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

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.

Learn about Kryon →

Live preview

Edit, save, watch it run

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.

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

Browser workflow is being updated

The former browser IDE used the retired .kry/KRB compiler path. The new Ziran-based browser workflow is not yet available.

Read migration status →

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 a first-party Kryon IDE. Its current workspace has a legacy .kry editor, preview, inspector, and diagnostics; migration to Ziran is pending.

Is Krait part of Kryon? ›

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.

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? ›

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.

Where can I learn about Kryon itself? ›

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.