Krate
Try Krate
Questions

Questions

What people ask about Krate, the app runtime, answered short. Shipping questions (code signing, Electron and Tauri alternatives, sharing an app made with AI) have their own shipping FAQ.

Reviewed against Krate 0.5.4.

The basics

01What is Krate?

The way to make an app and send it like a picture. You describe the app, Krate Studio makes it, and you get one small .krate file.

Send it as a link and it opens in any browser, phones included, with nothing to install. With the Krate player on macOS, Windows or Linux, the same file opens as a native window.

02Why would I ship my app as a .krate?

One file instead of a build, a signature and a download for every system. It opens from a link on any phone or computer, runs natively on every desktop, and the person you send it to sees what it can touch before it opens.

03Which systems does it run on?

Everything with a modern browser, from a link: iPhone, Android, and any computer. Natively, the Krate player runs on macOS, Windows and Linux, on Intel and ARM.

It is the same file on all of them.

04How can the same .krate file open on Mac, Windows, and Linux?

The app does not call AppKit, Win32, or Linux APIs directly. It calls Krate interfaces, and the Krate player on each operating system translates approved calls into local behavior.

The .krate file carries the WebAssembly component and its requested access. It is one portable app, and the same bytes run on all three desktops.

05Do the people I send an app to need Krate?

Not to open a link: the app runs in their browser, with nothing to install and no account.

From a link the app can use its own database, files they open, drop in or save, live connections for multiplayer, data shared by invite code or with a team, saved sign-ins and sound. Once they allow it in their browser, it also gets the camera, the microphone, their location and notifications (on a phone, from the app's Home Screen icon). It can also open the share sheet and read text aloud.

To run apps natively, they install the Krate player once, the way you install a media player once for every film. After that every Krate app anyone sends them opens with a double-click. The opening guide takes a minute.

06Is Krate open source?

The runtime is free and open source, under MIT or Apache-2.0, and developed in the open on GitHub. Studio has separate licensing; the repository's licence notes say which parts are which.

07Does the name collide with a Rust “crate”?

Rust calls a package a crate, so the similarity is real. Krate uses a different spelling and refers to the portable container that carries an application and its requested access.

We keep the distinction explicit wherever Rust developers could reasonably confuse the two.

How it compares

08Isn't this just WebAssembly?

WebAssembly is the engine underneath, and it is a good one. Krate is what turns it into an app you can send: one file format, a real window on each desktop, system interfaces, permissions you approve, and sharing.

09Why not just a web link, or Electron?

A Krate app gives you both. Send a link and it opens in the browser like a website, with no server of yours to run. Send the file and it runs as a real native app, offline, with no browser inside.

An Electron app bundles Chromium and Node.js into every app and ships a package per system; Krate apps share one small player instead. See the desktop distribution comparison.

10How is this different from Tauri or Flutter?

Tauri and Flutter build a separate app for each operating system, and each one is installed on its own. Krate builds one file that opens from a link in any browser and natively on every desktop, through a player that is installed once and shared by every app.

A Krate app also starts with no access to your files or the network, and asks for what it needs before it opens.

11Didn't Java already do this?

Java made programs portable. Krate also makes the app something you send like a document: one small file, a real window on each desktop, and a list of what it can touch before it opens.

12Why not use Go, or one binary per system?

Go builds a separate binary for each system and chip, so three desktops on two kinds of chip means several builds to make and test, and each binary runs with your full rights. A .krate is one file for all of them, and Krate blocks anything the app did not declare.

13How is this different from Cosmopolitan or llamafile?

Cosmopolitan builds one native binary that runs directly on many systems at full speed, which is impressive work. A .krate runs through the Krate player instead, and that is what lets the app ask before it touches your folders, websites and devices, and open as a real desktop window on each system.

Under the hood

14Why WebAssembly and Wasmtime, and not another single-file approach?

Two reasons: portability and control. A WebAssembly component is the same bytes on every system and every chip, so one small file serves macOS, Windows and Linux, on Intel and ARM, with no build per platform.

Krate runs it with Wasmtime, the WebAssembly runtime from the Bytecode Alliance. Code inside it can reach nothing on its own; every call to the outside goes through Krate, which checks it against what the app was granted.

15Is the player a virtual machine, like the JVM? Is the code interpreted?

It is closer to the JVM than to a script runner. On the desktop, Wasmtime compiles the app's WebAssembly into native machine code for your processor before it runs, so nothing is interpreted line by line.

A Rust app manages its own memory, the way it does anywhere else, inside a sandboxed block of its own. There is no garbage collector.

16Is there a browser inside a Krate app?

No. On a computer, a Krate app has no web view and no bundled browser engine: the window is a real window of your system, and the player draws it and runs the app as WebAssembly.

From a link, the same app runs inside the browser you already have, behind the same permission screen.

17Is my app's code protected?

It ships compiled to WebAssembly, which is far harder to read than JavaScript, the same way a native binary is. Apps made in Studio also carry their source inside the file, so you or anyone you choose can keep changing them.

What Krate enforces is what the app can access.

18What happens when an app and the installed Krate are different versions?

Newer versions of Krate are built to keep opening older apps. If an app needs something your Krate does not have yet, it says what is missing instead of failing silently, and updating Krate fixes it.

Making apps

19Do I need to know Rust?

Not to make an app with Studio: you describe it, and the AI writes the Rust, builds it and checks it runs. To change the code yourself, yes. Rust is the language for real apps today.

20Will other languages be supported?

Rust is the language today. The format does not depend on Rust: anything that compiles to a WebAssembly component can run once it has bindings to Krate's interfaces. C and C++ are the likely next ones, because they already compile to WebAssembly well.

21What do I write, and in what?

Nothing, if you use Studio: describe the app and the AI writes it. Under the hood it is Rust compiled to a WebAssembly component, calling krate:* interfaces for everything outside itself.

Writing it yourself? krate check-app builds it, checks its imports and runs it headless before you ship. Start with the developer quickstart.

22Which AI does Studio use?

The one you already have. Studio on your computer works with Claude, Codex, Grok or Gemini. In the browser, Krate's own AI makes your first app.

23How long does it take to make an app?

Usually a few minutes from a sentence to a working app on a recent Mac, and it then opens in about two seconds. Each change you ask for after that becomes a new version, built the same way.

24Can I see and change the code?

Yes. The Rust source travels inside the .krate file. In Studio, the Files and Code tabs show it, and the IDE (in beta) lets you edit and run it. Prefer your own editor? The krate command line builds and packages.

25What can I build?

Real apps: tools, editors, dashboards, games, clients for your favourite API. Krate gives an app a window, drawing on the graphics card, sound, files, the network, its own database and secrets, the camera and the microphone, each behind a permission.

See what people made in the app gallery, and every interface in the capability reference.

26Can an app use the internet or call an API?

Yes, over HTTP and WebSockets. Network access is granted per host and port: the app names the hosts it needs, and you see them before it opens. An app that asks for none cannot reach the network at all.

27Can an app save data?

Yes. Each app has its own key-value store, SQL database and secret store, plus a shared store that syncs across machines. All four work from a link in the browser too. A key-value entry holds up to 1 MiB, and an app's key-value store up to 16 MiB.

28Can I make games?

Yes. Apps get a canvas, GPU drawing, audio, and keyboard and pointer input. Krate Nova and Track Dash in the gallery are games made this way, and you can open them in your browser right now. Live connections work from a link as well, so friends can play together.

29Can I bring an app I already have?

Yes. krate port reads your project and shows what maps cleanly, what needs a capability and what to swap, without touching your source. Your app logic comes along, and an Electron app goes from hundreds of megabytes to one small file.

The porting guide walks through it.

Sharing and opening

30How do I send someone an app?

The way you send a picture. Share its link and it opens in their browser, on a phone or a computer. Or send the file itself: attach it to an email, drop it in a chat, put it on a drive.

Publish an update and the link you already sent opens the new version, with everything people saved in it still there. Each version keeps its own link, and you can make an earlier one current again.

31How big is a Krate app?

Tiny, because it carries only the app. The notes app we measured is 36.6 KiB. Apps made in Studio are usually tens to a few hundred kilobytes, and that includes their source.

On a computer the player is installed once and every app shares it; from a link there is nothing to install at all.

32Does it work offline?

Yes. An app runs on your computer from its file. Only an app that uses the network needs a connection, and only to the hosts it was granted.

33How fast is it compared with an Electron app?

We measured a Krate notes app against MarkText, an Electron editor, on the same 50,000-line document on an Apple M4: 178.5 MiB of memory against 2,299.4 MiB, and a visible window in 237.1 ms against 611.5 ms, the median of ten opens.

The method, the machine and the raw results are on the measurements page.

Safety

34What can an app do without asking?

Only harmless things: open its window, draw, play sound, read the clock and your language settings, and show a dialog. Your files, the network, the camera, the microphone and its own storage each have to be declared by the app, and you see that list before it opens.

35Can an app hide what it accesses or ignore the permission screen?

No. The runtime checks every protected call at the boundary, so the list is not something the app merely says about itself: a checked call that was not granted is denied before it reaches the operating system.

If a required permission is denied, the app does not start, and it says what is missing.

36Can an app read my files?

Only what it was granted, such as a folder of its own, and any file you choose for it in a dialog or drop on it. There is no way for an app to read everything, by design.

37Could I make a file manager, like a Finder alternative?

You can make a file tool that works in the folders you hand it, which is how Krate keeps your disk safe: an app works inside a folder of its own and with the files you choose for it, and it never browses everything.

38How does network permission work for an app that talks to several servers?

Each server is declared with its port, such as api.example.com:443, and an app can list as many as it needs. A wildcard like *.example.com covers one level of subdomain: api.example.com, not a.b.example.com.

WebSockets use the same grant. Redirects are not followed, so a granted server cannot send the request somewhere you did not approve. An app cannot ask for more while it runs; anything new comes in its next version, and you see it before that version opens.

39Does Krate replace Gatekeeper or SmartScreen?

No, it adds a layer. Your operating system still checks the Krate player itself; Krate then decides what each app inside it may touch.

40Can an app keep running after I close it?

No. An app is running or it is not; nothing outlives its window. An app also cannot type into other applications or click in them.

41Which apps should I open?

The same ones you would open as attachments: from people you know, and from the gallery. Krate shows what every app asks for before it opens and refuses anything it did not declare, so you always know what you are saying yes to. The security model is public, line by line.

Cost and accounts

42What does “your first app is on us” mean?

In your browser, Krate's own AI makes one app for you and one change to it, and we pay for it. No API key, no card, nothing to install.

Only an app that is actually made counts. A build that fails, or that we could not finish, costs you nothing and you can try again.

43What happens after my free app?

The app is a file, and it stays yours: open it, publish it, send it to anyone.

To keep making, use Krate Studio on your own computer, which is free and unlimited with the AI you already use. Or add your own API key in Studio's settings in the browser and keep going there.

44Do I need an account?

Not to open apps. Not to make apps in Krate Studio on your own computer, either; there you only sign in to publish.

Making an app in the browser does need one, so your free app is counted once and your work is kept. Sign in with GitHub, Google or a link sent to your email.

For teams

45Can my team use one app together?

Yes. An organisation's app keeps its shared data in the organisation itself, with no server to run. Each person's copy works offline and syncs in the background while the app is open, and when two people change different parts of the same record at once, both changes stand.

Start one at krate.tech/orgs with a ready app (Team Notes, Expenses or Stock List) or a .krate you already have. How organisations work.

46Who can open a private app?

Only the organisation's members and the people it sends to; a copied link alone opens nothing. Each version waits for approval and opens for nobody until it is approved, and the hub checks the person's sign-in every time the app is fetched.

People sign in with GitHub, a work email, Google, or your company's own sign-in (OpenID Connect or SAML 2.0). Remove someone and their next open is refused.

47Can Krate read our data?

No. Team data is encrypted on members' computers with the organisation's key, which only those computers hold, so Krate's hub stores and passes on records it cannot read. The organisation's signing key and the credentials for your company's APIs are kept the same way.

What the hub does see is which app synced, how many records and how big, when, and who. The organisations guide has the details.

Still have a question?

The docs go deeper, or ask us directly.