talira

microsandbox

Open source microVM sandboxes for running AI agents' and other untrusted code

open coreApache-2.0freeMCP

microsandbox runs untrusted workloads (AI agents' code, user code, plugins, CI jobs, scrapers) in tiny virtual machines, each with its own kernel behind a hardware boundary, booting in under 100 milliseconds on average. It runs standard OCI container images from Docker Hub or any registry with Docker-like image, shell and volume workflows; sandboxes can be forked live, snapshotted and restored, and run detached for long sessions. Egress can be limited to an allowlist, and secrets stay outside the VM: the sandbox sees a placeholder that's swapped for the real key only on requests to allowed hosts. The msb CLI and SDKs for Rust, TypeScript, Python, Go and Ruby start VMs from your own code with no daemon, server or root. Its makers' MCP server and agent skills let coding agents create their own sandboxes. The local runtime is free under Apache 2.0; Microsandbox Cloud runs the same SDK on its makers' hardware, and bring-your-own-cloud is offered for evaluation.

Ways to install

Package managers

Problems it solves

  • run code my AI agent writes in an isolated VM instead of on my laptop
  • Docker containers share the host kernel and I need stronger isolation for untrusted user code
  • give an agent API access in a sandbox without putting the real key inside it
  • spin up throwaway sandboxes from my Python or TypeScript code without running a server

Features

  • A microVM with its own kernel per sandbox, booting in under 100 ms on average
  • Runs standard OCI images from Docker Hub, GHCR or any registry
  • Fork live sandboxes, snapshot and restore their state
  • Secrets substituted host-side, never inside the VM
  • Egress allowlists, with private and metadata addresses blocked by default
  • msb CLI and SDKs for Rust, TypeScript, Python, Go and Ruby, with no daemon or root
  • MCP server and agent skills so agents can create their own sandboxes
  • Same SDK locally or on Microsandbox Cloud

Limitations

  • Still beta software: its makers expect breaking changes, missing features and rough edges2
  • On macOS it needs Apple Silicon; on Linux, KVM; on Windows, WHP2

Ways to run it

microsandbox

You install it, Apache-2.0

free3

Where to get it

Microsandbox Cloud

Hosted by Super Rad Company

Price not published3

Only in this edition

  • the same SDK on its makers' hardware, with orgs, SSO, audit logs, quotas and invoicing

Pricing

Capabilities

Has a command line toolplan not known
Has an MCP serverplan not known
Has official SDKsplan not known

Alternatives

The same job

These do what microsandbox does.

  1. Vercel Sandbox Run agent workloads in isolated sandboxes
  2. OpenSandbox Open source sandbox runtime for AI agents on your own infrastructure, from Docker to Kubernetes
  3. E2B The AI agent cloud: an isolated sandbox machine for every agent session
  4. Sandscale Isolated cloud sandboxes, workspaces and build machines for AI agents
  5. Cube Sandbox Self-hosted, E2B-compatible microVM sandboxes for AI agents
  6. Runta Persistent, isolated runtimes for AI agents with token saving, secret protection and egress control

Compare microsandbox with the top 3