← Back to Leaderboard
Oopensandbox-group

opensandbox-group/OpenSandbox

One lifecycle API for self-hosted agent sandboxes on Docker and Kubernetes

Open-Source AI AppQuickstart ↓
Engineering Health (Methodology)
A+ · 97/100
Maintenance Activity
● Updated today
Latest Release
release-1.3.0
Commercial License Check
Apache-2.0 · Commercial Friendly

Automated SPDX check for reference only — not legal advice. Disclaimer

Maintenance35/35
Fork Adoption22/25
Release Cadence20/20
License Clarity20/20
DockerSelf-HostedCLIAPI
Total Stars
★ 18,151
24h Growth
+19
7d Growth
+191
Forks
1,775

GitHub Star History

Full-history star trajectory from GitHub official history. Switch ranges or hover any point for exact counts.

opensandbox-group/OpenSandbox Star History (2025-12-16 - 2026-12-04) ALL-TIME STAR HISTORY (2025-12 – 2026-12) +18.1k in 353d · avg +51/day 19.2k 9.6k 0 2025-12-16: ★ 12026-01-10: ★ 1132026-02-07: ★ 9962026-03-07: ★ 6,5952026-04-04: ★ 9,5432026-05-02: ★ 10,2422026-05-30: ★ 10,7472026-06-27: ★ 11,5702026-07-25: ★ 12,0722026-08-22: ★ 14,4882026-09-19: ★ 15,3292026-10-17: ★ 15,8782026-11-08: ★ 16,6742026-12-04: ★ 18,151 ★ 18.2k 2025-12 2026-06 2026-12

Evidence-Backed Technical Brief

AI Deep Review

Architecture & Core Mechanics

OpenSandbox is an execution substrate for agents, not an agent framework or model server. A Python FastAPI control plane exposes a common lifecycle API over Docker, Kubernetes, and Fast Sandbox backends. Execution is separate: execd provides in-sandbox operations, while workload ports and an optional ingress gateway expose services running inside a sandbox. Egress enforcement and Credential Vault handle outbound policy and credential injection separately from lifecycle orchestration.

The repository layout reflects those boundaries: server/, components/, kubernetes/, and manifests/ cover the runtime and deployment, while specs/, sdks/, and cli/ cover contracts and client access. Applications can use SDKs in Python, Java/Kotlin, JavaScript/TypeScript, C#/.NET, or Go, or operate through the osb CLI. The MCP adapter exposes a narrower set of creation, command, and text-file operations. The optional developer console provides a web UI and a backend for that UI.

Key Capabilities & Differentiators

A sandbox provides command execution, file operations, and an environment for running code. Examples cover coding agents, code interpretation, Playwright and Chrome, desktops, and per-trial agent evaluation. The platform supports warm client pools with optional Redis coordination, snapshots, and idle auto-pause with wake-on-access. Runtime options include standard containers, Kata, and confidential PeerPods; execd init mode is on by default, but privilege reduction is opt-in.

On Kubernetes, Fast Sandbox combines Firecracker with OverlayBD and supports full memory-and-disk pause and resume. Its published benchmark reports median create API acknowledgment (t_api_ack) of 65.3 ms serial and 70.9 ms at 16-way concurrency, up to 800 live MicroVMs per Fastlet, and about 10.2 MiB of Firecracker PSS and 17.5 MiB in host memory delta per 2 GiB sandbox. API acknowledgment is not workload readiness, and the density result should not be used as a capacity guarantee for a different workload.

Trade-offs & Limitations

The common API is most valuable when more than one application needs the same execution and lifecycle contract. For a single trusted internal runner, direct Docker has fewer moving parts if the application already owns timeouts and cleanup. For a cluster-only batch workload that needs no interactive command or file API, native Kubernetes resources may suffice. A managed sandbox service is worth comparing when operating nodes and runtime upgrades is not part of the team's remit; self-hosting gives the team control over placement and policy but leaves it responsible for both.

A common API does not make container and VM isolation equivalent or give every backend the same performance and lifecycle behavior. Before a multi-tenant rollout, test the required isolation boundary, verify egress restrictions and credential handling, and measure readiness, pause/resume, and failures under actual load. The code is Apache-2.0; documentation licensing is handled separately in CONTRIBUTING.md, and redistributed workload images warrant their own license review.

Hardware & Deployment Guide

For a local deployment, start with Docker, Python 3.10+, and uv. Generate the Docker example configuration with uvx opensandbox-server init-config ~/.sandbox.toml --example docker, then run uvx opensandbox-server. If server.apikey is configured, set OPENSANDBOXAPIKEY for SDK calls or connection.apikey for osb. The local CLI example connects to localhost:8080 over HTTP, creates a sandbox, executes a command, and explicitly deletes the sandbox. No model service or GPU is listed as a prerequisite for this path.

For Kubernetes, validate the selected runtime on the target nodes before committing to a rollout. Load-test CPU, memory, and storage with representative images and workloads, and verify ingress and egress policy from a running sandbox. Release 1.3.0 aligns the server, CLI, and all five SDK packages at 1.3.0 after four release candidates that published images but held package releases. Official images are available from Docker Hub, GHCR, and Alibaba Cloud Container Registry. Pin production images by digest and verify signing and provenance coverage separately: current umbrella releases have a tracked verification gap (issue #2463) compared with legacy per-component releases.

Control and execution planes: FastAPI manages sandbox lifecycle; execd handles in-sandbox operations, with an optional ingress gateway for workload traffic.
Fast Sandbox benchmarks: Firecracker and OverlayBD on Kubernetes report 65.3 ms serial and 70.9 ms at 16-way concurrency for median create API acknowledgment, with up to 800 live MicroVMs per Fastlet.
Isolation choices: Standard containers, Kata, and confidential PeerPods; execd init mode is enabled by default, while privilege reduction is opt-in.
Lifecycle controls: Redis-coordinated warm client pools, idle auto-pause with wake-on-access, and full memory-and-disk checkpoints on Fast Sandbox.
Network controls: Per-sandbox egress policy, upstream proxy forwarding, and outbound credential injection via Credential Vault.
Client interfaces: Five language SDKs, the osb CLI, and an MCP adapter for sandbox, command, and text-file operations.
Best For

Teams building coding agents, browser automation, or evaluation systems that need isolated execution on their own infrastructure and a common API from local Docker to Kubernetes.

Skip If

A trusted internal job only needs a disposable container, or your team wants a managed service without owning runtime upgrades, network controls, and artifact verification.

Reviewed on 2026-12-04 · Grounded in GitHub README, root file tree & releasesMethodology

Quick Start & Installation

DockerSelf-HostedCLIAPI
uvx opensandbox-server init-config ~/.sandbox.toml --example docker

# Start the local server. Because example.config.toml leaves server.api_key unset,
# type YES at the startup prompt (or pass OPENSANDBOX_INSECURE_SERVER=YES in
# non-interactive shells; if you set server.api_key in ~/.sandbox.toml, also
# export OPEN_SANDBOX_API_KEY=<your-api-key> for client calls).
uvx opensandbox-server

# Show help
# uvx opensandbox-server -h

Comparison vs. Top Agents & Frameworks Alternatives

Full comparison →
RepositoryStars7d TrendStackLicenseCore Positioning
OpenSandbox ★18.2k+191GoApache-2.0One lifecycle API for self-hosted agent sandboxes on Docker and Kubernetes
sealos18.4k+14Go—A Kubernetes-backed desktop Ops Agent for deploying and running full-stack apps
multica59.1k+891Go—A shared task board that dispatches coding agents to machines you control.
pentagi35.7k+489GoMITSelf-hosted multi-agent penetration testing with logs and reports for human revi

AI Context Briefing (for Claude / Cursor / Windsurf)

Standardized architecture summary & quickstart commands ready to paste into coding agents.

Raw .md ↗
curl -sL https://repoforai.com/repo/opensandbox-group/OpenSandbox.md

Embed Star History Chart & Badges in README.md

Full-history Star History SVGs and velocity cards on GitHub Camo: drop-in replacement for OSSInsight and Star History widgets.

opensandbox-group/OpenSandbox Star History on RepoForAI

Active README embeds unlock Hot-Tier 6h Telemetry Refresh automatically (zero pay-to-rank).

Frequently Asked Questions about OpenSandbox

How does an application integrate with the control and execution planes?

Use the lifecycle API to create and destroy sandboxes, and the execd data plane to run commands and work with files. Workload ports and the optional ingress gateway handle access to services running inside a sandbox. The SDKs and osb cover routine integration; the MCP adapter exposes sandbox creation, command execution, and text-file operations to MCP clients.

What hardware and VRAM should I budget for?

The Docker quickstart does not list a GPU or a VRAM minimum; GPU needs depend on the workload. For Fast Sandbox, the reported figures per 2 GiB sandbox are about 10.2 MiB of Firecracker proportional set size (PSS) and a 17.5 MiB host memory delta. Neither figure represents total application memory. Size nodes from measured workload memory and CPU, image and checkpoint storage, and expected concurrency.

Can we self-host it commercially, and what should we check before redistribution?

The code is Apache-2.0, which permits commercial self-hosting and reuse subject to its terms. Check CONTRIBUTING.md for documentation licensing, and review redistribution obligations and the licenses of any third-party images you ship. Separately, verify release artifacts: a digest identifies an image but does not replace a signature or provenance attestation.

When is OpenSandbox a better fit than direct Docker or Kubernetes?

Choose direct Docker for a trusted internal runner if your application can own lifecycle and cleanup. Use native Kubernetes resources if the workload is cluster-only and does not need a separate execution API. OpenSandbox is a better fit when multiple clients need a common sandbox contract for lifecycle, commands, files, and network policy across local and cluster environments.

Upstream README & Documentation

This profile focuses on independent engineering analysis and live telemetry. Read the full upstream README, changelog, and examples directly on GitHub.

Maintaining opensandbox-group/OpenSandbox? Pin to Homepage + competitor /alternatives pages with a custom Cloud/Demo CTA.Feature opensandbox-group/OpenSandbox on Homepage & Alternatives ($19)
WEEKLY BREAKOUT DIGEST

Top 10 Breakout Open-Source AI Repos, Every Thursday

Signal-only digest of fast-growing AI repos, SPDX license alerts, and architecture picks. Zero spam.

Zero spam · 1-click unsubscribe · Privacy Policy

Saved in your browser · Export Markdown RFC tables or jump into /vs compare