Free, open-source sandboxes for running code written by AI agents and LLMs safely: self-hostable sandbox platforms, microVM runtimes, code-interpreter libraries, isolated workspaces for coding agents, Kubernetes operators and the isolation tech underneath.
Open-source secure sandboxes where AI agents run code, with Python and JS/TS SDKs; the SDK talks to E2B Cloud (API key) or your own deployment. Apache-2.0.
The complete backend behind E2B: control-plane API and per-node orchestrator running Firecracker microVMs that resume from snapshots. Go, Apache-2.0. The old e2b-dev/infra link redirects here.
Runs AI agents in sandboxes on your own infrastructure: code execution, commands, files, browsers and desktops, starting locally with Docker and scaling on Kubernetes. Apache-2.0. The old alibaba/OpenSandbox link redirects here.
Tencent Cloud's sandbox service for AI agents built on RustVMM and KVM, for single nodes or multi-node clusters. Apache-2.0 except listed third-party parts (GitHub shows NOASSERTION).
An all-in-one agent sandbox in one Docker container: browser, shell, files, VS Code server, Jupyter and MCP. Turn on its API key option to protect the services. Apache-2.0.
Runs untrusted workloads such as AI agents and user code in fast local microVMs with hardware isolation, fork and snapshot, on Linux, macOS and Windows, using standard OCI images. Apache-2.0. The old microsandbox/microsandbox link redirects here.
Embeddable, daemonless micro-VMs ("Boxes") that run any OCI image and persist between agent turns, with egress controls. Apache-2.0.
A private assistant with its own sandboxed Linux VM on your computer (macOS on Apple silicon, or Linux with Docker); other agents can run code in the sandbox over MCP. Apache-2.0.
Python and JS/TS SDK for running AI-generated code in an E2B sandbox, Jupyter-style. Apache-2.0.
A Python library that runs LLM-generated code through one API on container or local OS sandbox backends, with security policies and an MCP server. MIT.
A secure Python sandbox written in Rust for code written by AI, with no filesystem, environment variables or network inside. OSS version MIT (a commercial support tier is separate).
ByteDance's sandbox for running and judging LLM-generated code, used for code evaluation and RL datasets. Apache-2.0.
A lightweight tool that enforces filesystem and network limits on any process at the OS level (sandbox-exec on macOS, bubblewrap on Linux), without a container; useful for agents and local MCP servers. Apache-2.0.
An open-source MCP server and CLI that gives each coding agent its own container and git branch, so several agents can work in parallel safely. Apache-2.0.
Runs coding agents in isolated Docker sandboxes with secret redaction and logs. MIT.
A Kubernetes Sandbox custom resource and controller for isolated, stateful, single-pod workloads such as AI agent runtimes and RL environments. Apache-2.0.
Operator and best practices for managing AI agent sandboxes and other agent workloads on Kubernetes, a sub-project of the CNCF OpenKruise project. Apache-2.0.
Lightweight microVMs for secure, multi-tenant serverless workloads; many agent sandboxes are built on it. Apache-2.0.
An application kernel that isolates containers from the host, with the runsc OCI runtime for Docker and Kubernetes. Apache-2.0. The old google/gvisor link redirects here.
Lightweight VMs that feel and perform like containers but give stronger workload isolation. Apache-2.0.
An open-source virtual machine monitor on KVM and the Microsoft Hypervisor for modern cloud workloads. Apache-2.0 and BSD-3-Clause (see its LICENSES folder).
Every link goes to the project's own GitHub repo or official site. Check each project's license and docs before you use it. Licenses are as reported by GitHub or the repo's README/LICENSE on Dec 5, 2026. No sandbox is perfect: give agents only the files, network access and secrets they need. Daytona is archived and Arrakis has had no push in over a year, so they are not listed. Computer-use agents are on opensourcecomputeruse and AI coding agents on opensourceaicoding.