Introduction
Krate is a way to make an app and send it as one file: it opens from a link in any browser, phones included, and runs natively on every desktop.
You write Rust. It compiles to a WebAssembly component. Krate packs that
component, its manifest and its own source into a single .krate file.
A link opens it in any modern browser, phones included, with nothing to
install and no account. To run it natively, the
recipient installs a compatible runtime once; the same application bytes
then run on macOS, Windows and Linux, and the app does not need a separate
package for each operating system. Existing desktop binaries do not become
portable without adapting them to supported Krate APIs.
Apps begin without file or network access. Capabilities are declared in the manifest and approved through the runtime, which checks them before many host calls; the limits page lists the gaps. This is not a promise of bug-free or harmless software. Read the threat model and only run apps you trust. You can inspect an app's requests without running it:
krate run app.krate --dump-caps
Where to start
- Quickstart if you want a running app in a few minutes.
- Porting if you have a project already.
- What Krate cannot do yet before you spend a weekend. It is
written from
krate manifest capabilitiesrather than from memory, and it says plainly what is missing.
What is real today
Desktop: runtimes are published for macOS, Windows and Linux on Intel and
ARM, and the same app files run on all three. The automated cross-platform
replay checks cover macOS on Apple silicon and Windows and Ubuntu on x86_64.
Components run through the CLI or the embedding API, GUI apps open real native
windows, and the runtime checks capabilities before many host calls.
Agents can drive the whole thing through krate run --json and an MCP server,
receiving permission decisions as data.
On phones and tablets, the same app opens from its link in the browser. Rust is the only language you can ship a window from today. The limits page keeps the honest list.
The Core Idea
An app compiles to WebAssembly. The app does not call macOS, Windows, or Linux directly. It calls Krate APIs. Each host then translates those calls into the native platform underneath.
flowchart LR
A["App source"] --> B["WASM component"]
B --> C["Krate runtime"]
C --> D["Krate APIs"]
D --> E["Host adapter"]
E --> F["Native OS and hardware"]
What ships
- A Wasmtime-based runtime and native desktop host adapters.
- A Rust SDK for applications, with typed host interfaces and capability checks.
krate packandkrate runfor sharing and opening.kratebundles. Downloading a bundle does not grant its requested capabilities.- Krate Studio for AI-assisted app creation and revision, alongside the CLI and embedding interfaces.
- A gallery, examples, capability reference and automated checks.
- Krate's hub: the gallery, publishing, and links that open an app in any browser.
- Organisations: private apps for a team, with end-to-end encrypted team data (Organisations).
The latest published release
lists downloadable artifacts and release notes. This documentation tracks the
repository; an older installed runtime may not support a newer bundle profile
or interface. Check krate version and the relevant release notes.
Boundaries and measurements
The limits page, interface coverage and widget coverage describe the supported surface. No release carries a phone build yet: on phones and tablets an app opens from its link in the browser. Krate is under active development; neither universal compatibility nor production hardening against hostile code is implied.
The file you share is not just its code payload: source, SDK interfaces and assets can add to its size. The runtime is a separate, platform-specific installation. The measurement report separates those costs and scopes performance results to the workload, machine and version that were actually tested.
Why WebAssembly?
WebAssembly gives Krate a portable, compact, sandboxed program format. The Component Model gives it typed interfaces between app code and host code. WIT lets us describe those interfaces in a language neutral way.
Krate is the missing product layer around those pieces: APIs, permissions, host adapters, tools, packaging, and distribution.