- Home
- DevOps & Monitoring
- OpenSandbox
Rating
Votes
0
score
Downloads
0
total
Price
Free
No login needed
Works With
About
OpenSandbox
OpenSandbox is a general-purpose sandbox platform for AI applications, offering multi-language SDKs, unified sandbox APIs, and Docker/Kubernetes runtimes for scenarios like Coding Agents, GUI Agents, Agent Evaluation, AI Code Execution, and RL Training.
OpenSandbox is now listed in the CNCF Landscape.
Features
- Multi-language SDKs: Provides sandbox SDKs in Python, Java/Kotlin, JavaScript/TypeScript, C#/.NET, Go (Roadmap), and more.
- Sandbox Protocol: Defines sandbox lifecycle management APIs and sandbox execution APIs so you can extend custom sandbox runtimes.
- Sandbox Runtime: Built-in lifecycle management supporting Docker and high-performance Kubernetes runtime, enabling both local runs and large-scale distributed scheduling.
- Sandbox Environments: Built-in Command, Filesystem, and Code Interpreter implementations. Examples cover Coding Agents (e.g., Claude Code), browser automation (Chrome, Playwright), and desktop environments (VNC, VS Code).
- Network Policy: Unified Ingress Gateway with multiple routing strategies plus per-sandbox egress controls.
- Strong Isolation: Supports secure container runtimes like gVisor, Kata Containers, and Firecracker microVM for enhanced isolation between sandbox workloads and the host. See Secure Container Runtime Guide for details.
Examples
Basic Sandbox Operations [Docker]
Requirements:
- Docker (required for local execution)
- Python 3.10+ (required for examples and local runtime)
#### 1. Install and Configure the Sandbox Server
uv pip install opensandbox-server
opensandbox-server init-config ~/.sandbox.toml --example dockerIf you prefer working from source, you can still clone the repo for development, but you no longer need to clone this repository just to start the server. You'll also require an instance of docker running.`bash git clone https://github.com/alibaba/OpenSandbox.git && cd OpenSandbox/server cp opensandbox_server/examples/example.config.toml ~/.sandbox.toml uv sync && uv run python -m opensandbox_server.main`
#### 2. Start the Sandbox Server
opensandbox-server
# Show help
# opensandbox-server -h#### 3. Create a Code Interpreter and Execute Commands/Codes
Install the Code Interpreter SDK
uv pip install opensandbox-code-interpreterCreate a sandbox and execute commands and codes.
import asyncio
from datetime import timedelta
from code_interpreter import CodeInterpreter, SupportedLanguage
from opensandbox import Sandbox
from opensandbox.models import WriteEntryDon't lose this
Three weeks from now, you'll want OpenSandbox again. Will you remember where to find it?
Save it to your library and the next time you need OpenSandbox, it’s one tap away — from any AI app you use. Group it into a bench with the rest of the team for that kind of task and you can pull the whole stack at once.
⚡ Pro tip for geeks: add a-gnt 🤵🏻♂️ as a custom connector in Claude or a custom GPT in ChatGPT — one click and your library is right there in the chat. Or, if you’re in an editor, install the a-gnt MCP server and say “use my [bench name]” in Claude Code, Cursor, VS Code, or Windsurf.
a-gnt's Take
Our honest review
Secure, Fast, and Extensible Sandbox runtime for AI agents. Best for anyone looking to make their AI assistant more capable in devops & monitoring. It's completely free and works across most major AI apps. This one just landed in the catalog — worth trying while it's fresh.
Tips for getting started
Tap "Get" above, pick your AI app, and follow the steps. Most installs take under 30 seconds.
What's New
Imported from GitHub
Ratings & Reviews
0.0
out of 5
0 ratings
No reviews yet. Be the first to share your experience.