Skip to main content
OpenComputer gives you a full Linux VM in the cloud. Each sandbox is an isolated virtual machine with its own filesystem, network, and process space — persistent, long-running, and capable of hibernating when idle. Write files, install packages, run commands, and build complete projects inside secure, isolated environments.

Full Linux VM

Not a container. Real VM with its own kernel, memory, and disk. Hardware-level isolation via KVM.

Long-running

Hours or days, not minutes. Install packages, build projects, run test suites, iterate — no cold starts between steps.

Checkpoint & fork

Named snapshots you can fork from. Try five approaches in parallel from the same starting point — like git branches for VMs.

Elastic compute

Scale memory and CPU at runtime. Request more resources for heavy tasks and release them after.

Install

npm install @opencomputer/sdk
export OPENCOMPUTER_API_KEY=your-api-key
Grab your API key from app.opencomputer.dev

Quick Example

import { Sandbox } from "@opencomputer/sdk";

const sandbox = await Sandbox.create();
const result = await sandbox.commands.run("echo 'Hello World from OpenSandbox!'");
console.log(result.stdout);
await sandbox.kill();

Next Steps

Quickstart

Create your first sandbox in 2 minutes

How It Works

Architecture: VMs, hibernation, checkpoints

Sandboxes

The compute primitive

Working with Files

Upload, download, and manage files