Containerized isolation for AI agents that write and run code
It gives AI applications a unified, isolated runtime for executing untrusted code, driving browsers, and training models across Docker and Kubernetes.

What it does OpenSandbox is a general-purpose sandbox platform built for AI applications. It wraps agent tasks—code execution, browser automation, desktop environments, even RL training—into isolated containers via Docker or Kubernetes, offering multi-language SDKs and a unified API to manage sandbox lifecycle, commands, and file operations. A built-in network policy layer adds an ingress gateway and per-sandbox egress controls to manage traffic.
The interesting bit Instead of treating isolation as an afterthought, the project supports gVisor, Kata Containers, and Firecracker microVMs to keep workloads away from the host. It also ships ready-made integrations for popular coding agents like Claude Code and Gemini CLI, plus an MCP server so tools like Cursor can spawn sandboxes directly.
Key highlights
- SDKs in Python, Java/Kotlin, JavaScript/TypeScript, C#/.NET, and Go
- Built-in Docker and Kubernetes runtimes with distributed scheduling support
- Pre-configured environments for code interpreters, Chrome/Playwright, VNC desktops, and VS Code Web
- Network policy layer with unified ingress gateway and per-sandbox egress controls
- Optional hardened isolation via gVisor, Kata Containers, or Firecracker microVMs
- CNCF Landscape project with OpenAPI specs and an
osbCLI
Verdict
Worth evaluating if you are building coding agents, automated eval pipelines, or RL training systems that need containerized isolation at laptop or cluster scale. Skip it if you just need a simple Python subprocess wrapper—this is heavier, protocol-driven infrastructure.
Frequently asked
- What is opensandbox-group/OpenSandbox?
- It gives AI applications a unified, isolated runtime for executing untrusted code, driving browsers, and training models across Docker and Kubernetes.
- Is OpenSandbox open source?
- Yes — opensandbox-group/OpenSandbox is open source, released under the Apache-2.0 license.
- What language is OpenSandbox written in?
- opensandbox-group/OpenSandbox is primarily written in Python.
- How popular is OpenSandbox?
- opensandbox-group/OpenSandbox has 12.1k stars on GitHub and is currently holding steady.
- Where can I find OpenSandbox?
- opensandbox-group/OpenSandbox is on GitHub at https://github.com/opensandbox-group/OpenSandbox.