Skip to main content
The SDK runs microsandbox directly from your application. Running locally, creating a sandbox spawns a VM as a child process; there is no daemon to install and no server to connect to. With an API key set, the same SDK runs sandboxes on microsandbox cloud instead.

Installation

Prefer to provision the runtime separately? Node supports external runtime paths but still bundles its runtime and native addon together; Rust lets you disable Cargo-time downloads and leave embedding off. See Runtime setup for installer and SDK setup options.

Small example

Create a sandbox from a container image, run a command, print the output, and stop it.

Reference

Choose the SDK for your language: For low-level protocol integrations, see the Agent Client references for TypeScript, Rust, Python, and Go. See also error handling.