Engineering
6 min read
Sandboxes that boot in 180 milliseconds
Every Monadot run gets its own isolated machine. Making that fast enough to feel instant took a few tricks.


Category
Engineering
Published
Reading
6 min read
Share
// article
Every command the agent runs happens in a fresh, isolated sandbox. That's non-negotiable for safety, but a slow sandbox makes every step feel heavy.
Snapshots, not installs
Instead of installing dependencies on each run, we snapshot a warm environment per repository and restore it in place. Most runs now start in under 200 milliseconds.
One snapshot per repository and lockfile
Copy-on-write file systems for instant forks
Network off by default, opened per task
$

