CreateOS Sandbox Examples

Show me it running my use case. Every example below is a complete, runnable program in the SDK repo: spin up a Firecracker micro-VM, do the thing, tear it down. Run untrusted code, fork agent state for parallel rollouts, network sandboxes together, fan out across many, or self-host the whole worker.

AI Agents and Frameworks

Drive agents and agent frameworks whose code runs inside an isolated VM.

AI code agent

Use a sandbox as the code-execution environment for a Claude agent.

createSandboxfiles.uploadrunCommanddestroy
View on GitHub

OpenAI Agents tools

Expose sandbox operations as tools to the OpenAI Agents SDK.

createSandboxfiles.uploadrunCommanddestroy
View on GitHub

MCP: Claude Code

Run the Claude Code CLI inside a sandbox.

createSandboxrunCommandstreamCommanddestroy
View on GitHub

LlamaIndex RAG

Build a LlamaIndex vector index; persist it across pause/resume.

createSandboxfiles.uploadfiles.downloadrunCommand
View on GitHub

ACP hello world

Run an Agent Client Protocol agent in a sandbox over JSON-RPC.

createSandboxfiles.uploadrunCommanddestroy
View on GitHub

Google ADK agent

Drive a Google ADK agent whose tools run inside a VM.

createSandboxrunCommanddestroy
View on GitHub

LangGraph orchestrator

Model sandbox operations as LangGraph nodes with an OpenAI LLM.

createSandboxfiles.uploadrunCommanddestroy
View on GitHub

OpenAI Codex CLI

Run the OpenAI Codex CLI in a sandbox to execute a task.

createSandboxfiles.uploadfiles.downloadrunCommand
View on GitHub

Claude changelog generator

Clone a public git repo inside a sandbox, run the commit log through the Claude Messages API, and download the generated CHANGELOG.md.

createSandboxshrunCommandfiles.upload
View on GitHub

Claude agent GitHub wiki Q&A

Clone a public GitHub repo into a sandbox and run a Claude tool-use agent that reads the file tree to answer questions about the codebase.

createSandboxrunCommanddestroy
View on GitHub

Mastra agent in a sandbox

Install the Mastra TypeScript agent framework inside a createos-sandbox VM, upload an agent script, run it against an OpenAI-compatible provider, and capture the response.

createSandboxshfiles.uploaddestroy
View on GitHub

Effective agent patterns

Run three LLM agent patterns (prompt-chaining, routing, parallelization) using the Vercel AI SDK inside a createos-sandbox sandbox, with an OpenAI-compatible model proxy.

createSandboxfiles.uploadrunCommandsh
View on GitHub

Dev Servers and Environments

Long-lived services and dev environments reached over a per-sandbox ingress URL.

Data, Files, and Storage

Bring your own storage, custom images, and file-in file-out data jobs.

Run your use case in an isolated micro-VM.

Grab 500 free credits and run any example in minutes, or book a design-partner call.