NodeOps
UK

CreateOS Sandbox

CreateOS Sandbox runs full Linux virtual machines that boot in seconds. Each sandbox is a Firecracker microVM with its own kernel, root filesystem, and network identity — the isolation of a VM with the startup speed of a container.

Sandboxes are built for workloads that need real, disposable compute:

  • Running untrusted or AI-generated code — give an agent a full machine to execute in, without risking your own.
  • Ephemeral development environments — spin up a clean box per branch, per task, or per user.
  • CI and batch jobs — isolated, reproducible execution that tears down when finished.
  • Interactive sessions — shells, notebooks, and preview servers reachable over SSH or HTTPS.

What you get

CapabilityDescription
Fast bootA sandbox is ready to run commands within seconds of creation.
Pause, resume, forkSnapshot a running VM to durable storage, restore it later, or clone it into independent copies.
Run commandsExecute commands and stream output over the API, SDK, or CLI — no SSH key required.
File transferUpload and download files, or two-way sync a local directory.
Private networksConnect sandboxes so they reach each other by name, isolated from other tenants.
S3 disksMount S3-compatible buckets into a running sandbox and detach them live.
Custom imagesBuild your own root filesystem from a Dockerfile and boot sandboxes from it.
Public ingressExpose an HTTP service on a per-sandbox HTTPS URL.
Egress controlRestrict outbound traffic to an allowlist of hosts, IPs, or CIDRs.
SSH gatewayForward local ports into a sandbox over SSH for development and debugging.

Three ways to use it

Everything a sandbox can do is exposed through one REST API. Pick the surface that fits your workflow — they all talk to the same control plane at https://api.sb.createos.sh.

REST API

The HTTP API is the source of truth. Use it directly from any language, or when you need an endpoint the SDK and CLI don't wrap yet.

REST API reference

TypeScript SDK

@nodeops-createos/sandbox is a zero-dependency TypeScript client that runs on Node 20+, Bun, Deno, edge runtimes, and the browser. It gives you typed sandbox handles, streaming, retries, and typed errors.

Bash
1npm install @nodeops-createos/sandbox

SDK overview

CLI

The createos CLI manages sandboxes from your terminal — create, exec, shell in, sync files, tunnel ports, and tear down. The sandbox command group is aliased to sb.

Bash
1createos sandbox create --shape s-1vcpu-1gb --name my-box

CLI overview

Authentication

All three surfaces authenticate with a CreateOS API token sent as the X-Api-Key header. Generate a token from your CreateOS dashboard.

Bash
1curl -H "X-Api-Key: $CREATEOS_API_KEY" https://api.sb.createos.sh/v1/whoami

Next steps

  • Quickstart — create and run your first sandbox.
  • Concepts — the vocabulary: shapes, rootfs, snapshots, networks, disks, and more.
  • REST API, SDK, CLI — full references.

100,000+ Builders. One Workspace.

Get product updates, builder stories, and early access to features that help you ship faster.

CreateOS is a unified intelligent workspace where ideas move seamlessly from concept to live deployment, eliminating context-switching across tools, infrastructure, and workflows with the opportunity to monetize ideas immediately on the CreateOS Marketplace.