Skip to content
sandboxrouting

OpenSandbox (self-hosted)

opensandbox, your own hardware, Container isolation.

Unlimited, on your hardware

Runs on hardware you already have, so it costs nothing. By default it goes after the free tiers (selfHosted: after-free).

Terms

Free usage
unlimited, on your Docker host or Kubernetes cluster
Adapter's note
Your own Docker host or Kubernetes cluster: no per-use cost.
Checked
n/a

The adapter

OpenSandbox: a self-hosted sandbox platform (an AAIF project) that runs sandboxes on Docker or Kubernetes behind a lifecycle server. Free on your own hardware. Written against specs/sandbox-lifecycle.yml and specs/execd-api.yaml in github.com/opensandbox-group/OpenSandbox, and the requests its JS SDK sends: lifecycle {OPEN_SANDBOX_DOMAIN}/v1, header OPEN-SANDBOX-API-KEY POST /sandboxes {image:{uri}, entrypoint, resourceLimits, timeout, env, metadata} GET /sandboxes?state=…&page=… {items, pagination} GET /sandboxes/{id} {id, status:{state, reason, message}} DELETE /sandboxes/{id} POST /sandboxes/{id}/renew-expiration {expiresAt} (absolute) POST /sandboxes/{id}/pause | /resume async; poll GET until Paused | Running GET /sandboxes/{id}/endpoints/{port} {endpoint (host/path, no scheme), headers} execd: the endpoint for port 44772 inside the sandbox, with the endpoint's headers GET /ping POST /command {command, cwd, envs, timeout (ms)} → SSE or NDJSON events GET /files/download?path=… POST /files/upload multipart: a `metadata` JSON part, then the `file` part GET /directories/list?path=…&depth=1 Isolation depends on the server's runtime (Docker containers by default; gVisor, Kata or microVMs on Kubernetes), so it is declared as the weakest: container. `opensandboxCompatible` is the same code for a hosted service that serves this API (Nirvana).

Keys
OPEN_SANDBOX_DOMAIN , optional OPEN_SANDBOX_API_KEY
Connects through
REST /v1/sandboxes + execd in the sandbox
Capabilities
Any OCI image, Public ports, Native file listing, Extend a live box, Pause and resume
Isolation
Container
Operating system
Linux
Longest sandbox
no limit declared
Longest command
no cap declared
Timeout
The provider stops it at the deadline
Billing
Wall clock, every second it runs
Source
src/providers/opensandbox.ts, and the provider’s site
Route only here
const sbx = await router.create({ providers: ["opensandbox"] });
Override its terms in sandboxrouting.json
{
  "providers": {
    "opensandbox": {
      "freeTier": {
        "kind": "unlimited"
      },
      "priority": 10
    }
  }
}