CreateOS Sandbox - Instant, hardware Isolated Sandboxes for AI agents

CreateOS Sandbox gives AI agent builders their own fast, secure, hardware isolated, sandbox in ~30ms (p90). We have suit of CLI, SDK, 50+ SDK real world examples, claude plugins, computeSDK integration, and more

Add a comment

Replies

Best

The 30ms cold start actually held up when I spun up a few sandboxes back to back, no weird warm-up lag. Loved having the SDK examples handy instead of digging through docs.

 That's deliberate — every shape's pre-warmed so there's no "first one's slow" tax. Glad the SDK examples were there instead of you spelunking through docs mid-test.

 Glad it held up in your testing. The warm pool means back-to-back creates are consistent, the first one might pay a slight cold-start penalty on the pool, but subsequent ones hit ready kernels. That is by design.

A native MCP server for the sandbox so agents can spin up isolated environments on the fly without bolting on extra glue code. Would make the CLI and SDK even more plug and play for Claude and other MCP clients.

 We shipped one. It is in the repo under the MCP examples. You can point any MCP client (Claude Desktop, Claude Code, any MCP host) at it and let agents spin up sandboxes on the fly without glue code.

The example at examples/09-mcp-claude-code shows exactly how it works.

i run coding agents most of the day and the thing that always makes me nervous is what they can touch. hardware isolation with egress enforced inside the sandbox feels like the right way round. does the 30ms spin up hold once you're pulling real dependencies in, or is that a bare box number?

 That is a bare box number. Once you start pulling in dependencies (pip install, npm install, downloading model weights), the total time is dominated by the dependency install, not the VM boot. The 30ms is about how fast you get a shell. What happens inside that shell after creation depends on your workload, same as any VM.

The fork feature becomes relevant here. If you set up a sandbox with all your dependencies once and fork it for each task, you pay the install cost once and every fork inherits the prepared environment.

The 30ms cold start is genuinely impressive, especially the p90 timing. One thing that would help me as a builder is a built-in state diff or snapshot viewer in the CLI. Being able to compare filesystem and env changes between two sandbox runs without having to write custom diff scripts would make iterating on agent behavior much faster. Maybe something like `sandbox diff run-123 run-124` that outputs a clean summary.

 Good ask, love the specificity. Nothing built into the CLI for that today — closest workaround is pulling files via the file API before/after and diffing yourself, which is exactly the friction you're describing. `sandbox diff run-123 run-124` is a clean shape for it. Noting this one, thanks for the concrete syntax idea.

 Interesting suggestion. The SDK exposes snapshot and fork primitives, so you could script a diff workflow yourself, pause two sandboxes, compare their filesystems, discard. But a built-in sandbox diff CLI command that surfaces filesystem and env changes between two runs cleanly is not something we have today. That is a thoughtful feature request.

30ms p90 for hardware-isolated spin-up is a serious number — most sandbox stacks I've tried are an order of magnitude slower, and it changes what you can do per-task vs per-session. Curious about the lifecycle model: when an agent needs state to persist across runs (a working directory it comes back to tomorrow), do you snapshot/restore, or is the intended pattern ephemeral-always with external storage? Building long-running agents, that's the decision that shapes everything downstream.

 Both patterns work and we designed for both. The SDK gives you pause and resume primitives — you can snapshot a sandbox to durable storage and restore it later with its full filesystem state. That is the path for agents that need a working directory to persist across runs.

That said, the intended default is ephemeral. The recommendation is to treat state as external (S3 disks, databases, object storage) and use sandboxes as stateless compute. This keeps the lifecycle simple: spin up, do work, destroy. If your agent needs a persistent workspace across sessions, pause/resume handles it without external storage.

the 30ms p90 spin-up claim is what stands out to me here, and also what I'd want to poke at first. a full guest kernel per sandbox usually means real VM boot overhead, so is the speed coming from keeping a pool of pre-booted kernels warm and just attaching workloads to them, or is there something about the fork/snapshot approach that makes cold starts basically free? and if it's the snapshot route, does a forked sandbox inherit the parent's eBPF egress rules automatically or do you have to reapply the policy each time?

 Great question. The speed comes from two things working together. First, the control plane keeps a warm pool of micro-VMs with their kernels already booted, so creating a sandbox is basically attaching a workload to a ready kernel rather than booting one from scratch. Second, fork takes this further, when you fork a running sandbox, you are cloning an already-warm VM with its state intact, not booting a new one. That means forked sandboxes are even faster than the initial create.

Yes, a forked sandbox inherits the parent's eBPF egress rules automatically. The entire egress policy is part of the sandbox configuration that gets cloned on fork. You do not need to reapply anything.

hardware isolated sandboxes is the missing peice for agents 👏 30ms is wild

 you're spot on, and there's one more thing: Sandbox is now open-source. their ?makers are launching today. join the discussion:

— the property that actually matters here, and that most "sandbox" pitches quietly skip: egress enforced from outside the guest, so even fully compromised code can't reroute around its own policy.

We run agent workloads behind a per-tenant egress layer ourselves, and "the thing being restricted is also the thing enforcing the restriction" is the failure mode you spend forever designing out. Appreciated that the thread was precise about where that actually lives — iptables plus an out-of-guest SNI proxy for domain rules, eBPF for the cross-tenant mesh — instead of hand-waving "kernel magic."

Fork-clone-in-milliseconds with the policy attached before the sandbox is even reachable, plus BYO-Infra, is the combo that makes this usable for real fleets rather than a demo. Nice work.

This looks promising. One thing I’d want to know is whether you can also control where the agent is allowed to connect. A sandbox helps, but a live API key can still do a lot outside it.