Skip to main content
Every example on this page runs against the hosted private-beta API with Python 3.11+, the published SDK, and a beta key — copy, paste, run. Pages note it explicitly when a feature needs deployment-side support. New here? Do the First Sandbox quickstart once, then start with Code Interpreter, Agent Workspace, or Fork below.

Sandbox patterns

Code Interpreter

Stateful notebook-style cells, a runtime package install, and a rendered plot.

Agent Workspace

Clone a repository and run checks inside a sandbox, the way an agent would.

Fork

Branch a running sandbox and watch parent and child diverge.

Template Build

Bake dependencies into a reusable template and launch from it.

Template Warm Pools

Keep pre-booted sandboxes ready and choose checkout fallback behavior.

Shared Volume

Mount one durable volume into two sandboxes — writer and read-only reader.

CI/CD Pipelines

Run untrusted build and test steps in disposable sandboxes.

Networking and access

Port Forwarding

Serve HTTP from a sandbox and fetch it through a signed preview URL.

Custom Preview Proxy

Front sandbox previews with your own Node or Python proxy.

Desktop Viewer

Start a desktop sandbox and open the managed browser viewer.

Resumable Upload

Upload large files and directories with progress and retry recovery.

Lifecycle Webhook

Register HMAC-signed webhooks and inspect deliveries.

Agent deployments

Deploy a local agent project as a managed job or service — named, versioned, with logs, outputs, and URLs.

Minimal Job

Package a small project, run it as a job, collect declared outputs.

HTTP Service

Deploy a long-running HTTP agent service and fetch its public URL.

OpenAI Agents SDK

Run an OpenAI Agents SDK app as a finite job.

Claude Agent SDK

Run a Claude Agent SDK app as a finite job.

LangGraph Service

Deploy a graph-backed HTTP service.

CrewAI Job

Run a CrewAI project as a bounded job.

TypeScript Service

Deploy a Node/TypeScript HTTP service.
Looking for pause/resume or SSH? Those live in the product docs: Auto-Resume and SSH access both include runnable walkthroughs.