AgentScout / Tasks / Writing code / Sandboxes and secure execution

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 logo

Deer Flow

researchOpen source

ByteDance's open-source long-horizon agent harness that researches, codes and creates using sandboxes, memory and sub-agents.

Added

Context Mode logo

Context Mode

codingSource-available

Context window optimizer for coding agents that sandboxes tool output and persists session memory.

Added

OpenSandbox logo

OpenSandbox

MCP & infraOpen source

Secure, fast sandbox runtime for AI agents to run code.

Added

CubeSandbox logo

CubeSandbox

MCP & infraOpen source

Lightweight, concurrent sandbox for running AI agent code securely.

Added

Open SWE logo

Open SWE

NewcodingOpen source

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 logo

microsandbox

MCP & infraOpen source

Local-first microVM runtime for running untrusted agent code safely.

Added

Fragments logo

Fragments

Newapp buildersOpen source

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 logo

Judge0

MCP & infraOpen source + cloud

Sandboxed code execution system for running untrusted code from people and AI.

Added

HolmesGPT logo

HolmesGPT

codingOpen source

CNCF sandbox SRE agent that investigates alerts and incidents.

Added

Zeroboot logo

Zeroboot

NewMCP & infraOpen source + cloud

VM sandboxes for running agent code that start in under a millisecond by forking a warm snapshot with copy-on-write memory.

Added

Mantis logo

Mantis

Newsecurity & governanceOpen source

Google's toolkit for AI coding agents to autonomously find, reproduce and patch software vulnerabilities in isolated environments.

Added

Agent Safehouse logo

Agent Safehouse

Newsecurity & governanceOpen source

macOS sandbox for local coding agents that limits file and integration access with deny-first policy profiles.

Added

Cloudflare Sandbox SDK logo

Cloudflare Sandbox SDK

NewMCP & infraOpen source + cloud

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 logo

Pydantic Deep Agents

NewcodingOpen source

Self-hosted terminal AI assistant and Python framework on Pydantic AI, with tool calling, sandboxed execution, multi-agent teams and checkpoints.

Added

Mirror CLI logo

Mirror CLI

NewcodingSee site

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 logo

Conductor

NewcodingSee site

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 logo

E2B

MCP & infraOpen source + cloud

Secure cloud sandboxes for running agent-generated code.

Added

GitHub repos (15)

RepoGitHub starsLicenceLast push
Deer Flow ↗83,959MIT2026-10-19
Context Mode ↗30,192Elastic License 2.0 (source-available)2026-10-19
OpenSandbox ↗15,907Apache License 2.02026-10-19
CubeSandbox ↗12,960Apache-2.0 (third-party components under their own licences)2026-10-19
Open SWE ↗11,034MIT2026-10-19
microsandbox ↗8,717Apache License 2.02026-10-18
Fragments ↗6,391—2026-10-13
Judge0 ↗4,482GNU GPL v3.02026-10-18
HolmesGPT ↗3,616Apache License 2.02026-10-19
Zeroboot ↗2,465——
Mantis ↗2,459—2026-10-17
Agent Safehouse ↗2,110—2026-10-19
Cloudflare Sandbox SDK ↗1,151—2026-10-19
Pydantic Deep Agents ↗1,102—2026-10-06
Mirror CLI ↗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.

Get the best new AI agents, weekly

One short email with new tools, launches and what's worth trying. Free, unsubscribe anytime.