OmniRunDocs
Documentation

OmniRun documentation

Isolated virtual machines for AI agents. One API call to create, one to destroy. Sandboxes typically start in under a second (snapshot restore) and each runs its own kernel.

Browse the docs

Guides and reference, grouped by what you are doing.

Getting started

What a sandbox is, how it starts, and the calls you need: create, run, kill.

SDKs

OmniRun SDKs for TypeScript and Python. Both wrap the same REST API.

REST API

Endpoints for sandboxes, commands, files and exposures. Base URL api.omnirun.io.

Sandboxes

Internet on or off per sandbox, the opt-in SNI proxy, file transfer and limits.

Agents and models

The LLM proxy, the vault, Claude Managed Agents and OpenClaw.

Security and reference

The isolation model, start-up times and the changelog.

Create a sandbox in one call
import { Sandbox } from '@omnirun/sdk';

const sandbox = await Sandbox.create('playground', {
  timeout: 300,
});

// sandbox.sandboxId → "sb_a1b2c3d4"
Reads OMNIRUN_API_KEY from your environment.
What happens
  1. 01
    Create

    The API restores a microVM from the template’s memory snapshot. Typically under a second.

  2. 02
    Run

    Commands and code run inside the guest, under its own kernel.

  3. 03
    Kill

    The VM stops and its sandbox is removed.

Recently updated
Can’t find something?Write to hello@omnirun.io, or browse our code on GitHub.