One email each morning — yesterday's AI, sortedGet it in your inbox

METAL LAB

superradcompany/microsandbox

7,806+460 this weekRust

A tool that locks up untrusted code or AI agents in a tiny isolated virtual machine that boots in under 100 milliseconds

microsandbox is an open-source runtime that runs untrusted code and AI agents inside lightweight virtual machines called microVMs. It can pull standard Docker images directly and ships with SDKs for Rust, Python, TypeScript, Go, and Ruby plus a command-line tool called msb. It's written in Rust, released under the Apache 2.0 license, and built by a company backed by Y Combinator.

What it does

  1. Runs untrustworthy programs, such as AI-agent-generated code, plugins, CI jobs, or web scrapers, inside hardware-isolated microVMs
  2. Pulls standard OCI container images from registries like Docker Hub and offers a Docker-like msb CLI (run, exec, pull, and more)
  3. Works on Apple Silicon Macs, Linux with KVM enabled, and Windows 10+ with WHP enabled, with average boot times under 100 milliseconds on an M1 machine
  4. Lets developers spawn sandboxes directly from application code with no separate server or long-running daemon, and keeps secrets like API keys from ever entering the VM
  5. Supports Agent Skills and an MCP server so AI coding tools like Claude Code and Cursor can create their own sandboxes

Why it matters

Giving AI agents real compute and command-execution power requires a containment layer strong enough that mistakes don't spread, and this project delivers virtual-machine-grade isolation while staying as fast and light as a container. Several existing projects, including Vercel's Eve and LlamaIndex, already rely on it, which suggests it has seen some real-world validation.

Terms in this repo

  • microVM · an ultra-lightweight virtual machine that starts up far faster than a traditional VM
  • OCI-compatible · able to run standard container images in the format used by Docker and similar tools
  • KVM/WHP · hardware virtualization features in Linux and Windows that let VMs run fast
  • MCP server · a connector that lets AI agents call external tools through a standardized protocol
  • SDK · a code library that lets developers use this functionality directly from their own programs

Repository description (English)

🧱 easy fast local-first microVM runtime and library

Open on GitHub

Trending repos

All repos →

Latest from METAL LAB