#77th of 25 in Sandboxes
microsandbox
Embeddable microVM sandboxes for running untrusted code and AI agents
Run it:RackNerd ↗ (opens in a new tab)RepoCloud ↗ (opens in a new tab)Affiliate links, no effect on a rank.
- Stars
- 9.2k
- License
- Apache-2.0
- Last commit
- Nov 2026
- Last release
- Nov 2026
- Language
- Rust
5,146 on 28 Mar 20269,233 on 21 Nov 2026
From GitHub's daily star counts.
Checked on GitHub.
Overview
Microsandbox boots OCI images inside hardware-isolated microVMs, with a stated average boot under 100 ms. It ships an `msb` CLI and SDKs for TypeScript, Rust, Python, Go and Ruby that spawn VMs as child processes, with no daemon or server. It supports forking and snapshotting running sandboxes, network allowlists, and secrets kept outside the VM. The README labels it beta.
Who it is for: Developers who need isolated runtimes for agent-generated or untrusted code
Strengths
- Embeds in-process via SDKs; no setup server or long-running daemon
- Fork live sandboxes and snapshot/restore running state
- Runs standard OCI images with network allowlists and host-scoped secrets
- Runs on Linux (KVM), macOS (Apple Silicon) and Windows (WHP)
Weaknesses
- README marks it beta: expect breaking changes and missing features
- Needs KVM on Linux, WHP on Windows, or Apple Silicon on macOS
- First create() pulls the image, which can be slow on a cold cache
What it needs
- no GPU
- Docker
- Needs KVM (Linux), WHP (Windows), OCI registry access
What changed
- v0.8.3 ↗ (opens in a new tab)Breaking
“fix(sdk)!: expose configured contexts and retained metadata by @appcypher in https://github.com/superradcompany/microsandbox/pull/2177”
- v0.8.1 ↗ (opens in a new tab)Breaking
“feat(snapshot)!: enforce import limits through load options by @toksdotdev in https://github.com/superradcompany/microsandbox/pull/2086”
From the release notes. No flag means the note does not say so, not that the upgrade is safe.
Known problems
Open now, reported in the last 90 days
- macOS: memory the guest frees never goes back to the host (balloon free page reporting is a no-op) ↗ (opens in a new tab)2 reactions
- Exclusions for `msb copy` ↗ (opens in a new tab)2 reactions
- Windows bind mounts: looking up a name with `:` fails with EPERM instead of ENOENT ↗ (opens in a new tab)1 reactions
- Image prune option that removes only dangling (unreferenced) manifests ↗ (opens in a new tab)1 reactions
- install.sh cannot install a specific version; per-release install.sh assets are byte-identical and still resolve to latest ↗ (opens in a new tab)1 reactions
Reported, then fixed by a linked change
- [BUG] Failed to connect to portal after 10000 retries ↗ (opens in a new tab)9 reactions · closed 8 Jan 2026Fixed by fix: forward_rpc_to_portal wait ↗ (opens in a new tab)
- Error when binding more than 3 volumes ↗ (opens in a new tab)4 reactions · closed 26 May 2026Fixed by fix(runtime): re-enable split irqchip on x86 Linux ↗ (opens in a new tab)
- Windows host: every sandbox fails to start since v0.6.10 ↗ (opens in a new tab)3 reactions · closed 22 Aug 2026Fixed by fix(console): wait for guest port open before starting io ↗ (opens in a new tab)
- Volume mounting a file results in guest seeing i/o errors ↗ (opens in a new tab)3 reactions · closed 7 Apr 2026Fixed by feat(sandbox): support file-level volume mounts ↗ (opens in a new tab)
- 0.7.12 strands existing sandboxes with qcow2 chains (migration/recovery required), with no upgrade warning or migration path ↗ (opens in a new tab)2 reactions · closed 7 Nov 2026Fixed by fix(storage): recover legacy sandbox storage safely ↗ (opens in a new tab)
Titles are the reporters' own words, taken from the project's GitHub issues and ranked by reactions. We have not tried to reproduce any of them.
Also in Sandboxes
See all 25| Rank | Project | Score |
|---|---|---|
| #5 | NemoClawReference stack for running AI agents inside OpenShell sandboxes | 85 out of 100 |
| #6 | cubesandboxKVM MicroVM sandbox service for AI agents with an E2B-compatible API | 84 out of 100 |
| #8 | montyEmbedded Python interpreter in Rust for running LLM-generated code | 79 out of 100 |
| #9 | smolvmMicroVM runtime with live checkpoints and branching for agent sandboxes | 79 out of 100 |
| #10 | substrateKubernetes runtime that sandboxes agents and suspends idle ones to snapshots | 78 out of 100 |