Open unkernel.dev and roughly three hundred milliseconds after the page's JavaScript starts, you are looking at an Alpine Linux prompt. Not a simulated one. apk add python3 pulls a package from Alpine's real mirrors over a real TCP/IP stack, Python runs, you break the system, safe mode puts it back, and everything you changed sits on an ext4 disk that survives the reload. The page downloaded about 10 MB to make that happen, and Alpine runs in 48 MiB of guest memory.
For twenty years "Linux in the browser" meant a parlour trick: faithful, technically admirable, and slow enough that nobody wanted to work in it.
unkernel takes a different road. The kernel is not emulated at all, it is compiled. The syscall path, the scheduler, memory management, ext4 and the network stack all run as native WebAssembly, so a syscall costs what a function call costs. Only user programs are emulated, as unmodified aarch64 binaries, which is why real distribution packages install and run as they are.
Why the MMU column is the whole argument
Every "run Linux in the browser" project picks a compromise. Whole-machine emulators such as v86, JSLinux or QEMU's wasm build emulate the PC, kernel included: faithful, but every syscall and every page fault walks through emulated hardware. Syscall emulators such as WebContainers rewrite the kernel's job in JavaScript and load your files from a virtual filesystem: fast, but native binaries must be ported and, with no MMU, fork and everything that depends on it breaks or gets approximated. Kernel-in-wasm ports without an MMU get the kernel itself running natively, a real step forward, but binaries must be rebuilt for wasm and process creation collapses back to vfork.
unkernel keeps the kernel native and gives it a real MMU. The kernel implements Sv48 page tables, copy-on-write, page faults and memory-mapped files, so fork, mmap and process isolation behave the way a program expects. That is the difference between a container-friendly runtime and a Linux that runs Linux software.
The numbers that matter
Boot to /init takes about 70 ms, and the Alpine prompt arrives 0.3 s after node exits. A getppid syscall measures around 170 ns, against 110 ns native and 1.7 µs under qemu-system. A 64-byte read costs about 170 ns, compared with 160 ns native.
Process creation is the number developers actually feel: fork, exit and wait takes about 60 µs, close to the 70 µs native cost and far from the 1.2 ms under qemu-system. That single figure is what usually killed browser Linux.
The JIT is what makes it usable. Code starts in an interpreter; the JIT compiles the hot paths it finds. A shell loop runs about 1.6× faster than the interpreter path, and sort about 2.3×. OpenSSL manages roughly 100 MB/s on AES-128-GCM and 160 MB/s on SHA-256.
The honest counterweight sits in the last two rows of the benchmarks: apk search over the main index takes about 0.8 s, and apk add python3 about 3.4 s. Anything CPU-bound in user space pays the interpretation tax until the JIT has had time to warm up.
What runs today
More than you would expect, and less than a server.
A real distribution. Alpine 3.24 boots in Chrome, Edge, Firefox and Safari, phones included. Debian 13 boots with --distro debian. systemd brings Ubuntu 26.10 to multi-user.target.
A real filesystem. ext4, overlayfs, tmpfs, loop devices, FUSE and 9p mounts. The root is an overlay: a read-only distribution image plus a persistent ext4 disk, with a safe-mode recovery path.
A real network. The kernel's own TCP/IP stack with DHCP and DNS over host sockets or a Wisp proxy, so apk reaches mirrors upstream. TUN devices work, and the container primitives are there: cgroups, namespaces, userfaultfd and fanotify are implemented far enough for containers to think they are at home.
Real devices. A framebuffer at /dev/fb0, evdev keyboards, mice and touch, ALSA sound with /dev/dsp, AF_VSOCK for byte streams to the host, and zero-copy shared memory. That last pair matters: a capability inside the VM can talk to the agent process outside it without pretending to be a network peer.
The SDK is MIT-licensed JavaScript and small in surface area. createKernel takes the kernel, an initrd, a kernel command line, memory, disks and a JIT flag, and returns a VM you can write bytes into, read frames from and drive with evdev events. Disks can be a local file, an HTTP range request, or IndexedDB, so the whole machine state can live in the tab and come back after a reload. worker: true and cpus: 4 are enough for a usable machine. checkSupport() tells you whether the browser can run it at all, and right now that means a browser with JSPI: Chrome and Edge 137+, Firefox 153+, Safari 27+.
The kernel is GPL-2.0, the SDK and CLI are MIT. Licensing is the least interesting part of a project until it is the only part, and here it is clean.
Where it still breaks
It is young. Around 248 commits, one principal author, sponsored through Vercel's open source programme, benchmarks dated mid-November 2026. Do not build a product on it yet; do build a prototype.
It depends on JSPI. A kernel has to wait for a packet, a disk read or a timer, and waiting inside a browser means yielding to JavaScript. JSPI (JavaScript Promise Integration) lets a wasm stack suspend on a promise and resume when it settles, which is what lets the kernel's blocking paths work in a real browser. Browsers that lack it cannot run this.
It is slow on CPU-bound work in user space, as the package-manager numbers show. That ceiling is a design consequence of emulating user programs, not a bug that a patch will remove.
And it cannot hide a credential. If the agent's secrets are readable from inside the guest, code running in the guest can take them. Isolation across machines still belongs to the backend.
What this means for WebAgent
WebAgent is browser-native by design: the browser is not a transport to a server, it is the computer the agent lives on. A real Linux kernel inside the tab changes five things.
-
Tool execution stops being a remote call. A shell, a package manager, a compiler, curl, Python: they exist locally, start in milliseconds, and the request never leaves the device. For tasks where our runner is a thin wrapper around
bashand a handful of CLIs, the round trip to a server was never necessary. -
Tool discovery becomes automatic. An agent that needs
jq,ffmpeg,sqlite3or a Python library can install it at runtime against real mirrors instead of waiting for a product team to bake it into an image. -
The environment is stateful. With the ext4 overlay living in IndexedDB, the agent's workspace survives a reload, a tab close or a laptop restart. Suspending a long task stops meaning losing it.
-
Local execution becomes possible by default. A command that runs in the user's own setup, on their intranet or on their device, does not have to be plausible to run: it runs there.
-
Data gravity stays with the user. Documents are processed inside the tab. Nothing is uploaded before it is needed, and there is a real fork-and-mmap process boundary to reason about, not a JavaScript class that calls itself a sandbox.
What to do with this quarter
Do not replace the backend. Protect the runner interface we already have, and put unkernel behind it as a local execution layer: one interface, two implementations, tools that can execute either in the browser VM or on the remote runner. Then measure one thing only, how much tool traffic never needed a server.
The bet is that a large share of agent work, file inspection, parsing, conversion, small scripts, is I/O-shaped rather than CPU-shaped. That is exactly the work this kernel does at near-native speed. The CPU-bound work stays on the runner.
If most of our traffic turns out to be that shape, the economics move: no container per session, no per-minute bill, no cold start, and a user's files never leaving their machine. If it does not, we have lost a prototype and a quarter of one engineer's attention. That is a reasonable price for knowing.
Try it in five minutes
- Run
npx unkernelin a directory, or open unkernel.dev in a JSPI-capable browser. - At the Alpine prompt, run
apk add python3and thenpython3 -c "print(2**64)". - Mount a local directory with
--mount .:/workand runls /workinside the guest. - Kill the tab, reopen, and check that the ext4 disk came back.
Then decide what your product would look like if that machine were always available.