On this page
CreateOS Sandbox Is Now Open Source Under Apache-2.0
We have open-sourced CreateOS Sandbox under the Apache-2.0 license. The code at github.com/NodeOps-app/createos-sandbox is the same Go codebase that has run more than 1.1 million sandboxes on CreateOS.
Years of research and a long list of production incidents went into this code. We spent most of the past month cleaning it up so other people can read it, build it and change it.
What is in the CreateOS Sandbox repository?
The whole server side, in one Go source tree that builds five binaries.
| Binary | Runs on | What it does |
|---|---|---|
control |
Control plane | Public API, scheduler, SSH gateway, ingress, template builder |
machine |
Every sandbox host | Runs the Firecracker microVMs, their networking and the egress proxy |
agent |
Inside every sandbox | PID 1: commands, files, processes, terminals, port tunnels |
image |
Build machines | Turns a Docker or OCI image into a sandbox root filesystem |
admin |
Operator laptop | Short-lived admin tasks such as issuing certificates |

The code is Apache-2.0. The eBPF programs in internal/hosts/vm/bpf/ are GPL-2.0. For a component-by-component map of what is open and what stays managed, see what the repository covers, component by component.
How does CreateOS Sandbox isolate agent code?
Each sandbox is its own Firecracker microVM with its own kernel, and the host wraps every microVM in three more layers.
- Own kernel. Code in the sandbox never shares a kernel with the host or with other sandboxes.
- Own unprivileged user. On the host, each microVM runs as a separate user with no special rights.
- Own cgroup. Each microVM runs in a separate cgroup on the host.
- Seccomp filter. Firecracker runs behind a seccomp filter; the filter is in
resources/.

The network has its own controls:
- Egress rules. Domain rules match on TLS SNI and HTTP Host. Outbound access is open until you set the first rule; after that, only what you allow gets out.
- Private networks. Sandboxes talk to each other across hosts over an encrypted WireGuard mesh, and eBPF decides which ones may connect.
The security model docs describe the rest.
What else can CreateOS Sandbox do?
Sandboxes start from pre-booted snapshots, and they can pause, resume on any host, or fork.
- Sandboxes restore from snapshots instead of booting a kernel, and a warm pool keeps ready ones waiting.
- Pausing saves memory and disk to object storage. Resuming picks up where it stopped, on any host.
- A paused sandbox can be forked into a copy.
- Any port can be exposed at its own HTTPS URL, or forwarded with
ssh -L. - Images build from a Dockerfile, and S3-compatible buckets mount as disks.
Why did we open-source CreateOS Sandbox?
Because if you give an AI agent a computer, you are trusting whoever built that computer with your code, your data and your credentials. "Trust us, it's isolated" is a weak answer to that.
This year Perplexity published SPACE and Tencent Cloud published Cube Sandbox, the production sandbox stacks behind their products. E2B's infrastructure has been public since 2023. We all reached the same conclusion: when agents act on real systems, safety is an engineering problem, and safety claims need outside review.
With the code public:
- Anyone can check how the isolation works.
- Researchers can report problems before attackers find them.
- Your security team can audit what runs your workloads.
Can I leave, or run it myself?
Yes, you can leave: Apache-2.0 lets you read, build and fork the code. We think that makes staying an easier decision.
The code builds with Go, and the machine binary needs a Linux host with KVM. A supported install on your own hardware or cloud account is offered to enterprise customers today; see Run on your own infrastructure or email business@nodeops.xyz.
How do I start?
The quickest way is the hosted service: get an API key and follow the Quickstart. SDKs exist for TypeScript, Python, Go, Rust, C# and Java, plus a CLI.
Then read the code, run it, try to break it, and tell us what you find. Issues and hard questions go to the repository. We built this for people building AI agents.
Frequently asked questions
Is CreateOS Sandbox open source?
Yes. The CreateOS Sandbox server is open source under Apache-2.0 at github.com/NodeOps-app/createos-sandbox. The eBPF programs inside it are GPL-2.0.
Is it the same code that runs the hosted service?
Yes. It is the Go codebase that has run more than 1.1 million sandboxes on CreateOS, cleaned up for outside readers.
Can I self-host CreateOS Sandbox?
You can build every binary from source. A supported deployment on your own hardware or cloud account is offered to enterprise customers.
Is egress blocked by default?
No. Outbound access is open until you add the first egress rule. After that, only the domains and IPs you allow get out.



