agent-sandbox vs agent-sandbox
Kubernetes sandbox projects compared
Both projects manage isolated, stateful environments for AI agents and other workloads on Kubernetes. Project A is a self-hosted service with REST, MCP, and web interfaces, while Project B provides Kubernetes APIs and controllers that orchestrate sandbox workloads.

agent-sandbox: Run Isolated Sandboxes for AI Agents
Agent-Sandbox provides a self-hosted Kubernetes service for creating and managing isolated environments for AI agent code and actions. It wraps sandbox lifecycle operations in a REST API and MCP server, with E2B compatibility.

agent-sandbox: Manage Isolated Stateful Workloads on Kubernetes
Agent Sandbox adds Kubernetes APIs for isolated, stateful, single-pod workloads with stable identity and persistent storage. It suits teams running agent environments or other long-lived sessions that need lifecycle management and optional warm-pool allocation.
| agent-sandbox | agent-sandbox | |
|---|---|---|
| Language | Go | Go |
| License | Apache-2.0 | Apache-2.0 |
| Stars | 218 | 4.2k |
| Forks | 21 | 546 |
| Last analyzed | Oct 3, 2026 | Oct 10, 2026 |
Key differences
- Project A provides a service for sandbox lifecycle operations; Project B centers on a Kubernetes `Sandbox` resource and controller for single-pod workloads.
- Project A includes REST and MCP interfaces, a built-in web UI, and E2B compatibility; Project B offers Go and Python SDKs and an optional HTTP Sandbox Router.
- Project A builds on a Kubernetes sandbox foundation, while Project B relies on operator-selected runtimes through Kubernetes `RuntimeClass` for isolation.
- Project A requires Kubernetes 1.28 or later; Project B also requires Kubernetes, where its controller and custom resource definitions must be installed.
- Both use Go and Apache-2.0, while the supplied repository snapshots list 218 stars and 21 forks for Project A versus 4.1k stars and 541 forks for Project B.
Choose agent-sandbox if you…
- want a self-hosted service with REST and MCP access, a web UI, and E2B compatibility.
- need sandbox options for browser or desktop use alongside code execution and shell access.
- want features such as snapshots, pause and resume, or scale-to-zero managed through a service.
Choose agent-sandbox if you…
- need a Kubernetes-native single-workload abstraction with stable identity and optional persistent storage.
- want to use RuntimeClass to select the runtime that provides isolation.
- need optional templates, claims, or warm pools, or SDK access through Go or Python.
Compare the numbers side by side, or add more projects
This comparison is generated with AI from the OSRepos analyses of both projects. Always check each project's repository and documentation before choosing.