Microsandbox

Active
GitHub Rust Apache-2.0

Description

Secure, local, cross-platform and programmable sandboxes for AI agents. Provides strict resource isolation using microVM technology.

Key Features

  • Hardware-level isolation with microVM technology
  • Instant startup with average boot times under 100ms
  • Embeddable SDKs for Rust, Python, TypeScript, and Go
  • Secrets that cannot leak - keys never enter the VM
  • OCI compatible - runs standard Docker container images
  • Long-running sandboxes with detached mode support

Use Cases

πŸ’‘ Secure code execution sandbox for AI agents
πŸ’‘ Isolated testing environments for CI/CD pipelines
πŸ’‘ Multi-tenant SaaS application isolation
πŸ’‘ Educational platforms requiring safe code execution
πŸ’‘ Long-running background task processing with security

Quick Start

Install via cargo add microsandbox (Rust), uv add microsandbox (Python), npm i microsandbox (TypeScript), or go get (Go). For CLI, run npx microsandbox run debian or install globally with curl -fsSL https://install.microsandbox.dev | sh. Requires Linux with KVM or macOS with Apple Silicon.

Related Projects