Yurt

A Linux sandbox in your browser tab

A shell, Python and packages that run entirely in the tab, with no server running your code. The same sandbox runs natively on your machine through the yurt command line and daemon.

Chrome or Edge on a desktop, or Safari on a Mac, iPhone or iPad. Firefox is not supported.

A yurt drawn in lines: a roof ring, a criss-cross lattice wall, and a doorway with a shell prompt in it. $ ▍

An original kernel, not Linux itself

Yurt is a Linux-compatible kernel written in Rust and compiled to WebAssembly. It implements the Linux system-call interface, so ordinary Linux programs such as BusyBox, CPython and git, compiled for it from their usual sources, run largely as they would on Linux. Known limits lists what does not work yet.

In the browser, the kernel boots in web workers inside the page. The playground restores a ready-made snapshot of a booted sandbox, so you get a shell prompt in seconds. After the sandbox is up, it keeps working offline.

In the playground's terminal
$ uname -a
Linux yurt 6.12.0-yurt #1 YurtOS 0.1.0 wasm32
$ python3 --version
Python 3.14.7
$ python3 -c "print(6*7)"
42

What is in the tab

  • A shell. BusyBox ash, with git, curl, jq, sqlite3, zsh and make.
  • Python 3.14 with NumPy, and Jupyter Notebook and JupyterLab, on a desktop. Phones get the shell and Python. Tablets also run the Notebook and JupyterLab.
  • Packages. sudo pkg install fetches signed packages such as Node.js, Go and clang on a desktop, from YurtOS/yurt-packages (phones and tablets: installs up to 16 MiB). The sandbox checks every signature before it installs.
  • Your code stays in the tab. No server runs it. Programs in the sandbox have no network until you press Network; their connections then go through Yurt's relay, only to public addresses on ports 80, 443 and 9418. sudo pkg install works either way.

On your machine

The same sandbox also runs natively, outside the browser. The yurt command line runs a Yurt image from a shell, much as docker run does, but Docker images do not run on it as they are. A per-user daemon owns the sandboxes, and each sandbox runs as its own process under it.

Install the desktop app or the yurt command line from the latest release: macOS on Apple Silicon (not notarized yet), or Debian and Ubuntu on x86_64 and arm64.

Measured boot times and memory per sandbox are in Benchmarks.

What a sandbox in a tab is for

  • Coding environments that need no server per user.
  • A place to run the tools an AI agent calls, away from your machine.
  • Notebooks that keep working offline.
  • Sandboxes embedded in a product of your own.

Security

Yurt is not yet a supported security boundary for running untrusted or hostile guest programs.

Hardening is in progress. If you find a way across the boundary between a guest and its host, please report it privately (the security policy says how to report without a GitHub account).