superradcompany/microsandbox

🧱 easy, fast, programmable and local-first microVM runtime and library

What it solves

Microsandbox provides a secure way to run untrusted workloads—such as AI agents, user-submitted code, plugins, and automation scripts—locally without risking the host system. It replaces traditional containers with hardware-level isolation using tiny virtual machines (microVMs) that boot almost instantly.

How it works

It utilizes microVMs to create isolated environments that are OCI-compatible, meaning they can run standard container images from registries like Docker Hub. The system allows for "forking" live sandboxes to create independent copies of a running state and taking snapshots to save and restore execution states later. It can be embedded directly into applications via SDKs for TypeScript, Rust, Python, and Go, removing the need for a long-running daemon or setup server.

Who it’s for

Developers building AI agents that need a safe place to execute code, DevOps engineers setting up disposable CI/CD jobs, and anyone needing to run potentially dangerous scrapers or plugins in a locked-down environment.

Highlights

  • Hardware Isolation: Uses microVMs for stronger security than standard containers.
  • Instant Startup: Average boot times under 100 milliseconds.
  • State Management: Ability to fork live sandboxes and restore from snapshots.
  • OCI Compatible: Runs standard Docker/OCI images.
  • Embeddable: SDKs allow spawning VMs directly from code without a background daemon.
  • Cross-Platform: Supports Linux, macOS (Apple Silicon), and Windows.

Related

  • Project
  • Dispatch
  • Project
  • Project
  • Project