Sandboxes and secure execution tools for coding agents
Isolated sandboxes where agents can run code and tools away from your machine and data. Of the 317 tools on our writing code page, 17 fit this narrower job. By pricing: 14 open source, 1 source-available, 2 pricing on the maker's site. The most-starred open repos here are Deer Flow (83,959 stars), Context Mode (30,192 stars), OpenSandbox (15,907 stars). Most come from the MCP & infra (7), coding (6), security & governance (2) categories.
Updated
Deer Flow
ByteDance's open-source long-horizon agent harness that researches, codes and creates using sandboxes, memory and sub-agents.
Added
Context Mode
Context window optimizer for coding agents that sandboxes tool output and persists session memory.
Added
OpenSandbox
Secure, fast sandbox runtime for AI agents to run code.
Added
CubeSandbox
Lightweight, concurrent sandbox for running AI agent code securely.
Added
Open SWE
LangChain's asynchronous coding agent that takes work from GitHub issues, Slack or Linear, implements it in an isolated sandbox and opens a pull request.
Added
microsandbox
Local-first microVM runtime for running untrusted agent code safely.
Added
Fragments
E2B's open-source Next.js template for AI-generated apps, like Claude Artifacts or v0, with generated code run in secure E2B sandboxes.
Added
Judge0
Sandboxed code execution system for running untrusted code from people and AI.
Added
HolmesGPT
CNCF sandbox SRE agent that investigates alerts and incidents.
Added
Zeroboot
VM sandboxes for running agent code that start in under a millisecond by forking a warm snapshot with copy-on-write memory.
Added
Mantis
Google's toolkit for AI coding agents to autonomously find, reproduce and patch software vulnerabilities in isolated environments.
Added
Agent Safehouse
macOS sandbox for local coding agents that limits file and integration access with deny-first policy profiles.
Added
Cloudflare Sandbox SDK
SDK for running isolated code sandboxes on Cloudflare's network, so agents can execute commands and files safely from a Worker.
Added
Pydantic Deep Agents
Self-hosted terminal AI assistant and Python framework on Pydantic AI, with tool calling, sandboxed execution, multi-agent teams and checkpoints.
Added
Mirror CLI
Reflection AI's terminal coding agent that reads code, edits files and runs commands in isolated git worktrees, using the open-weight Beam model by default.
Added
Conductor
Runs a team of coding agents such as Claude Code and Codex in isolated cloud sandboxes, with Mac and iPhone apps to review and merge their work.
Added
E2B
Secure cloud sandboxes for running agent-generated code.
Added
GitHub repos (15)
| Repo | GitHub stars | Licence | Last push |
|---|---|---|---|
| 83,959 | MIT | 2026-10-19 | |
| 30,192 | Elastic License 2.0 (source-available) | 2026-10-19 | |
| 15,907 | Apache License 2.0 | 2026-10-19 | |
| 12,960 | Apache-2.0 (third-party components under their own licences) | 2026-10-19 | |
| 11,034 | MIT | 2026-10-19 | |
| 8,717 | Apache License 2.0 | 2026-10-18 | |
| 6,391 | — | 2026-10-13 | |
| 4,482 | GNU GPL v3.0 | 2026-10-18 | |
| 3,616 | Apache License 2.0 | 2026-10-19 | |
| 2,465 | — | — | |
| 2,459 | — | 2026-10-17 | |
| 2,110 | — | 2026-10-19 | |
| 1,151 | — | 2026-10-19 | |
| 1,102 | — | 2026-10-06 | |
| 180 | — | 2026-10-16 |
15 repos. Stars and licence come from each repo, checked when the listing was last verified.
FAQ
What are the best AI tools for writing code focused on sandboxes and secure execution?
We list 17. The first three by GitHub stars and featured status are Deer Flow: ByteDance's open-source long-horizon agent harness that researches, codes and creates using sandboxes, memory and sub-agents.; Context Mode: Context window optimizer for coding agents that sandboxes tool output and persists session memory.; OpenSandbox: Secure, fast sandbox runtime for AI agents to run code.
Are there free or open-source options?
Yes: 14 open source, 1 source-available, 2 pricing on the maker's site. Pricing is as each maker states it.
More from writing code
Tools are grouped by what each says it does. Missing one? Submit it free.