← all repositories
superradcompany/microsandbox

Containers, but actually isolated: microVMs you can spawn from code

A Rust toolkit that boots hardware-isolated VMs in under 100ms, embeddable in your application with no daemon or infrastructure.

7k stars Rust AgentsLLMOps · Eval
microsandbox
Velocity · 7d
+12
★ / day
Trend
steady
star history

What it does

Microsandbox is a Rust-based SDK and CLI for spinning up lightweight microVMs locally. It runs standard OCI container images (Docker Hub, GHCR, etc.) inside hardware-isolated VMs, booting in milliseconds as child processes. No server, no daemon, no root privileges — just a library call in Rust, Python, TypeScript, or Go.

The interesting bit

The “secrets that can’t leak” angle is the real architectural flex: cryptographic keys never enter the VM itself, so a compromised sandbox can’t exfiltrate them. That’s a meaningful difference from standard container runtimes where a kernel escape equals game over. The agent integration — via MCP server and “Agent Skills” — also signals where they think the demand is heading: AI agents that need to run untrusted code without trusting it.

Key highlights

  • Sub-100ms boot times claimed for microVMs
  • Hardware-level isolation via KVM (Linux) or Apple Silicon virtualization (macOS)
  • OCI-compatible: runs existing container images without conversion
  • Embeddable SDK in four languages; CLI optional
  • Rootless operation, no long-running daemon
  • Detached/long-running sandbox mode supported
  • Explicit beta status with warning of breaking changes

Caveats

  • Linux requires KVM; macOS requires Apple Silicon — no Intel Mac support mentioned
  • Beta software: README explicitly warns of “breaking changes, missing features, and rough edges”
  • First image pull is cold-start slow; only subsequent runs hit the cached fast path

Verdict

Worth evaluating if you’re building agentic tools or need stronger isolation than containers without the orchestration tax of full cloud VMs. Skip it if you need production stability today or run on older Intel Macs.

Frequently asked

What is superradcompany/microsandbox?
A Rust toolkit that boots hardware-isolated VMs in under 100ms, embeddable in your application with no daemon or infrastructure.
Is microsandbox open source?
Yes — superradcompany/microsandbox is open source, released under the Apache-2.0 license.
What language is microsandbox written in?
superradcompany/microsandbox is primarily written in Rust.
How popular is microsandbox?
superradcompany/microsandbox has 7k stars on GitHub and is currently holding steady.
Where can I find microsandbox?
superradcompany/microsandbox is on GitHub at https://github.com/superradcompany/microsandbox.

heatdrop uses Google Analytics to see which pages get read — nothing else. Your call. How we handle data.