Another tab of this site is already running a sandbox. Two share
this machine's CPU, so this boot will be much slower than the first;
use that tab, or close it first.
This looks like a tablet, so this page runs the shell and Python,
with a snapshot made for tablets, and an agent whose model runs on
OpenRouter: a model in the tab needs more memory than a tablet
browser gives one tab. Jupyter runs on the Notebook and JupyterLab
pages, each in a sandbox of its own. A desktop browser, or the
desktop app, runs all of it.
This is a phone, so this page runs the shell and Python, with the
snapshot made for tablets, and an agent whose model runs on
OpenRouter: Jupyter and a model in the tab need more memory than a
phone browser gives one tab. Installing more from
Packages may run the tab out of memory. A desktop browser,
or the desktop app, runs all of it. To try Jupyter here anyway, with
the 1 GiB kernel a tablet gets, add ?memory=1g to the
URL and open the Notebook or JupyterLab.
This Linux:
The browser ran out of memory for new processes. Reload the page to
continue.
Terminal0 openonline
Traffic leaves through Yurt's relay, which sees destination
names and how much data you send, not its contents (TLS is end
to end). Only ports 80, 443 and 9418, to public addresses; never
your local network.
Install a package from
YurtOS/yurt-packages into this sandbox: press
Install, wait for installed below the
list, then run the package's command in the terminal. The
sandbox has no network, so this page downloads the package,
and the sandbox's own
pkg checks its signature and installs it.
sudo pkg install NAME in the terminal does the
same, through this page.
Installed packages live in this tab's memory, like every file
here: a reload loses them. A size is the package's own
download; its dependencies add theirs. A tablet or phone has
much less memory, so installs whose downloads add up to more
than 16 MiB are refused there.
loading the package list
$
BusyBox ash on a real PTY, on the Yurt kernel
compiled to WebAssembly: a shell in about 2 s (Jupyter
in about 5 s on a desktop).
The first visit downloads it once, about 150 MB on a
desktop, 85 MB on a tablet or phone; later visits load it
from the browser's cache.Programs in the sandbox have no network until you turn it
on (Network, above the terminal), through Yurt's relay;
then pip install and curl work.
sudo pkg install
works either way: this page fetches signed packages for
it.
The sandbox did not start
This is a tablet, and the sandbox did not start here: tablet
browsers give one tab little memory and few background
workers. Reload to try again, or open this page in a desktop
browser.
The browser reloaded this tab while the sandbox was
starting. That is what a browser does to a tab that outgrows
the memory it is allowed, and the boot needs a lot of it.
The last thing the page said before the reload:
The browser reported:
Reload the page to try again. If it keeps failing in a
current desktop browser, please
open an issue with the line above.
Run it on your machine
The same playground with the sandbox running natively: network
access, and a boot measured in seconds. Or the sandbox from a
shell, the way you would use docker.
It is not notarized, so macOS blocks the first open: allow
it under
System Settings → Privacy & Security →
Open Anyway (or run
xattr -dr com.apple.quarantine "/Applications/Yurt
Playground.app"), then open it again.
The playground as a Linux app
Download the package for
x86_64
or
arm64
(Debian, Ubuntu), then:
run, exec, ps,
logs, cp, stop,
kill, restart, commit,
inspect, stats, images,
pull — with ports, environment, a working
directory and an interactive terminal; commit
turns a sandbox you set up into an image to run again.
Download for Apple Silicon, then:
tar -xzf yurt-*.tar.gz && sudo yurt/install.sh
yurt pull playground # the image (about 90 MB), no account needed
yurt run -it playground # a shell in the sandbox
yurt run -d --name web -p 8080:8000 playground python3 -m http.server 8000
yurt logs -f web # Ctrl-C leaves it running
yurt stats --no-stream web # CPU % and memory, docker-stats style
yurt cp ./notes.txt web:/home/user/ # curl http://127.0.0.1:8080/notes.txt
yurt commit web my-image # yurt run my-image … starts from that disk
yurt stop web
Everything the command needs is in the package; the daemon
starts itself. yurt --help lists the verbs.
yurt on Linux
run, exec, ps,
logs, cp, stop,
kill, restart, commit,
inspect, stats, images,
pull — with ports, environment, a working
directory and an interactive terminal; commit
turns a sandbox you set up into an image to run again.
Download the package for
x86_64
or
arm64
(Debian, Ubuntu), then:
sudo apt install ./yurt-*.deb
yurt pull playground # the image (about 90 MB), no account needed
yurt run -it playground # a shell in the sandbox
yurt run -d --name web -p 8080:8000 playground python3 -m http.server 8000
yurt logs -f web # Ctrl-C leaves it running
yurt stats --no-stream web # CPU % and memory, docker-stats style
yurt cp ./notes.txt web:/home/user/ # curl http://127.0.0.1:8080/notes.txt
yurt commit web my-image # yurt run my-image … starts from that disk
yurt stop web
Everything the command needs is in the package; the daemon
starts itself. yurt --help lists the verbs.
Is this really running in your browser?
Four checks you can do yourself
No badge can prove it, so here is what a server-backed fake
could not survive. Each takes under a minute, in Chrome, Edge or
Safari.
Go offline, keep computing
Start the sandbox and wait for the cell to say ready. After the sandbox is up, turn off Wi-Fi (or,
in Chrome and Edge, pick
Offline in the developer tools' Network
panel). Run another cell.
It still answers, and so does a new command in the terminal.
The terminal's bar shows offline while you do
it.
Watch the tab work
Watch this tab in the browser's task manager: in Chrome and
Edge,
Shift+Esc; for Safari, macOS's
Activity Monitor, which lists each tab's web content
process. Its memory climbs by hundreds of MB as the sandbox
boots, and its CPU spikes when a cell runs.
A thin client stays flat.
See the workers
While the sandbox runs, list the page's workers: in Chrome,
visit
chrome://inspect/#workers (in Edge,
edge://inspect/#workers); in Safari, the Web
Inspector's Sources tab. The coordinator and the
guest workers are listed with their script URLs, and you can
attach a debugger.
In the developer tools' Network panel, nothing
moves while a cell runs. The page's security policy lets it
fetch only from this site and a few named sources: the
package repository on GitHub, Hugging Face for the agent's
in-tab model, OpenRouter when you run the agent there, and
shared snapshots on GitHub. The sandbox itself has no
network: when
pkg installs a package, this page fetches files
from the package repository for it, and only from there.
Check the bytes
The site publishes the SHA-256 of the page's main scripts,
the kernel and both guest images (the slim one and the 92 MB
full one). This fetches them again and hashes them here, in
your browser, and also compares the kernel's and the images'
hashes with the ones this repository pins in artifacts/pins.json. The snapshot the page restores
is not in this list: the page checks each of its parts
against its pinned SHA-256 as it loads them.
Suspend and resume
A notebook cell continues where it stopped
A sandbox can be sealed while it runs — the kernel's memory,
each program's memory and its unwound call stack — and brought
back later exactly where it was: no boot, no image to stage, no
program restarted. The
notebook
suspends and resumes a running cell; the
terminal demo
seals every two seconds.
In a notebook
Open the
suspend/resume notebook. Its kernel is one CPython
3.14 process (the Python 3 (Yurt, suspend/resume)
kernelspec), built so the sandbox can be sealed. Run the
cell that prints primes, press Suspend in the
panel at the bottom right: about 50 MB lands in IndexedDB in
a quarter of a second and the sandbox is gone. Press Resume: the cell carries on at the next prime, in the
same output, with every variable intact. Interrupt works as
usual, and
primes is still there afterwards.
What makes a cell suspendable is a syscall to seal at:
printing progress is enough; a loop that never leaves the
interpreter has to wait for its next print.
In a terminal
Open the demo. A prime finder
prints one prime every quarter second, testing each
candidate against the primes it has already found — its
position is on the call stack, its list is on the heap, and
both come back. The bar counts the seals as they land in
your browser's IndexedDB (about 14 MB, under 50 ms each).
Close the tab. Open the page again: it says which seal it
restored from, draws a marker, and the next prime is the one
after the last sealed one. Forget the snapshot
drops the image so the next load boots fresh.
What is saved, and when
Nothing happens at close: the browser gives a closing tab no
chance to seal. Every seal overwrites the one before, so a
restore is at most one interval behind, and the interrupted
syscall runs exactly once, after the restore.
The image stays on this origin, in this browser, and is tied
to the kernel build that sealed it: after an update it is
dropped and the page boots fresh.
Building on it
The kernel's JavaScript host can seal and restore a running
sandbox (today: programs built for it, one thread each, no
open sockets). It is not public yet; if you want to build on
it, see
Help bring Yurt to customers in
About.
To drive this page's sandbox from a program now, use
window.yurt (commands, files, status),
described in the
README.
Many sandboxes on one machine
Development build, for the next yurt
release
On a server, yurt runs every sandbox as its own
process under one daemon. We measured how many idle sandboxes
fit on one machine and what happens when one of them misbehaves.
These numbers come from the development build (kernel and
sandbox at main, 22 November 2026), not from the current yurt download; the changes behind them go into the next
yurt release. The shared image below is opt-in.
The machine
A Google Cloud t2a-standard-8 VM: 8 Arm (aarch64) cores and
32 GB of memory, Debian 13, with the sandboxes limited to 28
GB (systemd MemoryMax). Each sandbox ran an
idle Python process. Every figure is taken after 30 s to
settle, over a 60 s window.
Memory per sandbox
About 51 MB per idle Python sandbox from 300 sandboxes on
(65 MB at 10), when the sandboxes share one read-only copy
of the image (YURT_SHARED_IMAGE_LOWER=1), and
117 MB without it. An empty sandbox (no program running) is
about 31 MB with the shared image, measured up to 600
sandboxes. A sandbox with nothing running counts as idle,
and the daemon removes it after 30 minutes by default (--sandbox-idle-timeout, 0 turns it off).
How many fit
The test added idle Python sandboxes until memory reached
85% of the 28 GB, and stopped there by design: 476 with the
shared image, 205 without. A new sandbox started in about
1.4 s the whole way up, each idle sandbox used 0.02 to 0.04
ms of CPU per second, and exec true
answered in 25 ms (95th percentile 26 ms) at 476 sandboxes.
The daemon raises its own open-file limit; before that fix,
every sandbox stopped at 337.
When one misbehaves
With 333 sandboxes running, we tried a CPU hog, a memory hog
and a fork bomb in one sandbox. Each stayed contained: the
CPU hog was throttled, the memory hog caused no
out-of-memory kills (and a new sandbox still started), and
the fork bomb was refused after 73 forks. Every other
sandbox kept running, and exec in them stayed
under 30 ms. We have not yet run the test where every
sandbox gets busy at once.
The daemon keeps track of each sandbox's memory and logs a
warning when a new one would eat into the 20% it keeps free.
Today it only warns; refusing that sandbox is not built yet.
About
Yurt is an original Linux-compatible kernel compiled to
WebAssembly. This page runs a Linux sandbox on it inside this
browser tab: a shell, and on a desktop Python and Jupyter, with
no server running your code. It is meant for in-browser coding
environments, running AI-agent tools away from your machine,
offline notebooks, and sandboxes embedded in your own product.
Privacy
The sandbox runs in this tab, and what you do in it stays in
this browser unless you choose otherwise. What does leave it,
and where it goes:
Cloudflare hosts this site, and counts page
views on it with Cloudflare Web Analytics, which sets no
cookies. Previews and the desktop app count nothing. When you
turn the sandbox's network on, Cloudflare Turnstile checks
this browser before the relay lets it in.
Yurt's relay, only when you turn the
sandbox's network on: the sandbox's connections go out through
it. It sees which names are looked up, which addresses are
reached and how much data passes, not the contents (TLS is end
to end).
GitHub serves the package repository, from
which the page reads the index and installs packages. A shared
snapshot link also asks GitHub which snapshots this repository
published, then downloads that snapshot from it.
Hugging Face serves the in-tab model's
weights, downloaded when you start the agent with that model.
The model runs in this tab.
OpenRouter, only when you choose an
OpenRouter model for the agent: your task and what the agent
sees in the sandbox (the output of its commands, the files it
reads) go to OpenRouter under your account. Your OpenRouter
key is kept in this browser and sent only to OpenRouter.
The sites a Playwright program opens, only
when you choose Playwright and allow it in the Yurt browser
bridge extension's window: the program drives tabs in your
browser, which load what it asks for, with your browser's
sign-ins.
Nothing else leaves the browser: the page's security policy lets
it connect only to this site and those sources. The sandbox's
files live in the tab's memory. What the page keeps between
visits stays in this browser's storage. It includes downloaded
packages, model weights and snapshot parts; the sealed sandboxes
of the agent (with its chat), the suspend/resume notebook and
the snapshot demo; and your OpenRouter key. Clearing this site's
data in the browser removes all of it. The desktop app is
different: its sandbox runs natively on your machine and has the
network.
Help bring Yurt to customers
We're looking for a business partner to help identify customer
opportunities, build relationships, and bring Yurt to market.