Privacy choices: we'd like to measure visits anonymously (our own cookie-free counter plus Google Analytics, which sets its own cookies; no ads) and load Beehiiv's newsletter sign-up, which may set its own cookies. Nothing optional runs until you choose. Privacy policy

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 1,100 tools on our writing code page, 57 fit this narrower job. By pricing: 44 open source, 1 source-available, 7 free or freemium, 1 paid, usage-based or enterprise, 4 pricing on the maker's site. The most-starred open repos here are Deer Flow (86,076 stars), Context Mode (34,699 stars), Composio (31,403 stars). Most come from the sandboxes & code execution (30), coding (13), MCP servers (4) categories.

Updated

Deer Flow logo

Deer Flow

researchOpen source

DeerFlow 2.0 is ByteDance's MIT-licensed super-agent harness for long tasks that can take minutes to hours, such as research reports, coding jobs and content creation. It coordinates sub-agents, long-term memory, sandboxed code execution, tools and extensible skills, and can take requests through a message gateway; version 2.0 is a ground-up rewrite, with the original Deep Research framework kept on a separate branch.

Added

Context Mode logo

Context Mode

codingSource-available + cloud

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

Added

Composio logo

Composio

agent infraFreemium

Composio gives AI agents more than 1,000 pre-authenticated toolkits for apps such as Gmail, Slack, GitHub and Salesforce, with per-user sessions, managed OAuth, tool search, triggers and a sandboxed workbench, so an agent can act in a user's accounts without you building each integration. The MIT-licensed monorepo ships TypeScript and Python SDKs, a CLI for searching and running tools from the shell, and adapters for the OpenAI Agents SDK, Claude Agent SDK, Vercel AI SDK, LangChain and more; the hosted platform has a free tier.

Added

smolagents logo

smolagents

frameworksOpen source

smolagents is Hugging Face's Apache-2.0 Python library for agents that think in code: its CodeAgent writes each action as a Python snippet rather than a JSON tool call, and the core agent logic fits in about 1,000 lines. Generated code can run in sandboxes such as E2B, Modal, Blaxel or Docker, tools and agents can be shared to and pulled from the Hugging Face Hub, and it works with any model, from local transformers or Ollama to OpenAI, Anthropic and other providers via LiteLLM.

Added

NemoClaw logo

NemoClaw

sandboxes & code executionOpen source

NVIDIA's open-source reference stack for running agents such as OpenClaw, Hermes and LangChain Deep Agents inside NVIDIA OpenShell sandboxes. It adds guided onboarding, managed inference, network policy and lifecycle commands through a CLI.

Added

NVIDIA OpenShell logo

NVIDIA OpenShell

sandboxes & code executionOpen source

NVIDIA OpenShell is an Apache-2.0 runtime for fleets of agents. Each agent runs in its own sandbox, and declarative policies decide which files, networks, packages, and credentials it may touch. The project is now part of the CNCF, and the project does not list a paid plan.

Added

Agent Zero logo

Agent Zero

frameworksOpen source

Agent Zero is an open-source AI agent that gets its own Linux computer: inside a Docker sandbox it uses a terminal, a browser and desktop apps to research, write and run code, and create and edit documents, building its own tools and correcting itself as it goes. You watch and can step in through a web UI, connect local folders when needed, and choose the models it uses. It is actively developed, with v2.16 released in November 2026.

Added

HTML Anything logo

HTML Anything

codingOpen source

An agentic HTML editor from the Open Design team. Your local coding-agent CLI (Claude Code, Cursor, Codex, Gemini and others) writes HTML decks, posters, reports and prototypes from 75 skills, shows them in a sandboxed preview, and exports in one click. No API key is needed.

Added

OpenSandbox logo

OpenSandbox

sandboxes & code executionOpen source

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

Added

E2B logo

E2B

sandboxes & code executionOpen source + cloud

Secure cloud sandboxes for running agent-generated code.

Added

CubeSandbox logo

CubeSandbox

sandboxes & code executionOpen source

Lightweight, concurrent sandbox for running AI agent code securely.

Added

Open SWE logo

Open SWE

codingOpen 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

Claurst logo

Claurst

codingOpen source

Claurst is a GPL-3.0 terminal coding agent written in Rust that began as a clean-room reimplementation of Claude Code's behaviour and now works with several model providers, with a rich TUI, plugins, hooks, chat forking, memory consolidation, per-command approvals and, on macOS, a sandbox that limits shell writes to the workspace and blocks network by default; it has no telemetry and is in beta.

Added

microsandbox logo

microsandbox

sandboxes & code executionOpen source

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

Added

ThinkRail logo

ThinkRail

codingOpen source

JetBrains' lightweight agentic IDE that pairs you with the pi coding agent, with isolated git-worktree workspaces, editor tabs, terminals and diffs.

Added

AIO Sandbox logo

AIO Sandbox

sandboxes & code executionOpen source

AIO Sandbox is an Apache-2.0 Docker image that gives an agent a browser, a shell, files, VS Code Server, Jupyter and MCP in one container. The README's quick start recommends turning on an API key so those services are not left open. The site is https://sandbox.agent-infra.com/.

Added

Fragments logo

Fragments

app buildersOpen source

Fragments is E2B's open-source Next.js template for apps a model generates, in the style of Claude Artifacts or v0. Generated code runs in E2B sandboxes. The README lists Python, Next.js, Vue, Streamlit and Gradio stacks, and providers including OpenAI, Anthropic, Google, Mistral, Groq and Ollama. Apache-2.0. You bring an E2B key and a model key.

Added

LoopForge logo

LoopForge

codingOpen source

LoopForge is Tencent's self-hosted, MIT-licensed workspace for shipping software with coding agents: you describe a requirement to its Main Bot in chat, and it opens a Docker sandbox, checks out your repositories, delegates to project roles and opens the pull request. Proven ways of working are saved as SOPs that combine agents, scripts and human approval gates, and it drives CLIs such as CodeBuddy, Codex, Claude Code, OpenCode and Cursor CLI.

Added

rLLM logo

rLLM

frameworksOpen source

rLLM is an Apache-2.0 framework for training language agents with reinforcement learning. You bring any harness, including 10+ CLI agents such as Claude Code, Codex, mini-swe-agent and OpenCode, or wrap your own LangGraph or OpenAI Agents SDK agent with @rllm.rollout, run it in Docker, Daytona, Modal or local sandboxes, and switch training backends with one flag. The same agent code drives both evaluation and training.

Added

Sandstorm (formerly forkd) logo

Sandstorm (formerly forkd)

sandboxes & code executionOpen source

Sandstorm, previously listed as forkd, is an Apache-2.0 sandbox runtime in Rust. It pauses idle AI-agent sandboxes and restores them from disk so one machine can hold more than it can run at once. The README for the release published 1 Nov 2026 says gVisor is the default backend, so a node needs no KVM, and Firecracker is a second backend chosen node by node. One sandstormd binary serves as master, node and web console. GitHub recorded 6,110 stars on 25 Nov 2026.

Added

nono logo

nono

sandboxes & code executionOpen source

Zero-trust sandboxing for agent runtimes.

Added

agentOS logo

agentOS

sandboxes & code executionOpen source + cloud

A lightweight operating system for agents from Rivet that runs coding agents and their tools inside fast WebAssembly sandboxes with a file system, processes and networking, so you can spin up thousands cheaply.

Added

Judge0 logo

Judge0

sandboxes & code executionOpen source + cloud

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

Added

ArcBox logo

ArcBox

sandboxes & code executionOpen source

Runs AI agents on isolated machines with their own kernel, filesystem and network.

Added

Redamon logo

Redamon

MCP serversOpen source + cloudNot yet checked

Open-source, self-hosted AI penetration testing framework: maps your attack surface into a graph, autonomously exploits it from a Kali sandbox with human approval gates, and opens PRs that fix what.

Added

Mantis logo

Mantis

security & governanceOpen source

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

Added

Perplexity API MCP logo

Perplexity API MCP

NewMCP serversOpen sourceNot yet checked

Perplexity API MCP is Perplexity's official MCP server for the API platform. An assistant calls it with an API key. The repository is MIT. GitHub perplexityai/modelcontextprotocol recorded MIT, 2,663 stars and 399 forks on 28 Nov 2026. The README does not list a separate dollar price for the server. API usage is billed by Perplexity and was not copied here. This listing is the API server, not the Perplexity SPACE sandbox.

Added

Zeroboot logo

Zeroboot

sandboxes & code executionOpen 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

Perplexity SPACE logo

Perplexity SPACE

sandboxes & code executionOpen source

Perplexity's open-source sandbox platform that runs each agent task in its own Firecracker microVM, with credentials and network access controlled from outside.

Added

Agent Safehouse logo

Agent Safehouse

sandboxes & code executionOpen source

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

Added

Cloudroom logo

Cloudroom

codingOpen source + cloud

Cloudroom runs Claude Code, Codex, Pi and other coding agents in the cloud, each in its own isolated sandbox on its own Git branch, using your own model logins; the Rust core is open source to self-host, and a desktop app manages local and cloud agents.

Added

Dormice logo

Dormice

sandboxes & code executionOpen source

The SQLite of agent sandboxes — self-hosted, E2B-compatible. One machine, sandboxes that live forever, idle costs nothing

Added

Lody logo

Lody

codingOpen source + cloud

A team workspace for running AI coding agents in parallel in isolated Git worktrees, with live diff review, GitHub integration and access from phone or desktop.

Added

Cloudflare Sandbox SDK logo

Cloudflare Sandbox SDK

sandboxes & code executionOpen 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

codingOpen source

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

Added

Airecon logo

Airecon

sandboxes & code executionOpen source

AIRecon is an autonomous cybersecurity agent that combines a self-hosted Large Language Model (Ollama) with a Kali Linux Docker sandbox and a Textual TUI. It is designed to automate security.

Added

Tensorlake logo

Tensorlake

sandboxes & code executionOpen source + cloud

Tensorlake is an Apache-2.0 serverless runtime for agent sandboxes and background orchestration. The README says the Sandbox API starts MicroVM sandboxes for agents, tools or model-written code, with snapshots, clone, and suspend/resume that keeps memory and files. The tl CLI is a standalone binary installed from the Tensorlake site, not from PyPI. The CLI release was published 13 Nov 2026. GitHub tensorlakeai/tensorlake showed 1,051 stars and 154 forks on 26 Nov 2026.

Added

Fence logo

Fence

sandboxes & code executionOpen source

Lightweight, container-free sandbox for running commands with network and filesystem restrictions

Added

Sandboxd logo

Sandboxd

sandboxes & code executionOpen source + cloud

Open-source, self-hosted AI app builder — an agent builds real apps in isolated sandboxes on your own server, each live at a preview URL. Self-host in one command.

Added

devvm logo

devvm

sandboxes & code executionOpen source

devvm is an MIT-licensed tool that gives every project its own isolated VM with the project's toolchain, ready for you or a coding agent to start work without touching your host. It installs with Homebrew on macOS (using Lima) or a signed install script on Linux, and devvm doctor checks and explains anything your machine is missing.

Added

PGX logo

PGX

sandboxes & code executionOpen source

Lightweight Postgres-compatible database written in Rust that gives every coding agent its own disposable Postgres: one runtime hosts thousands of isolated databases, installs as a Claude Code plugin or Agent Skill.

Added

Strands Box logo

Strands Box

sandboxes & code executionOpen source

Open source sandbox from the Strands Agents team that pairs OS-level isolation with default-deny Dogwood policies over shell, Python, egress, and MCP calls.

Added

Baize logo

Baize

codingOpen source

Baize is an MIT-licensed coding agent CLI for vibe coding and data analysis built around privacy. Sensitive values such as keys, names and IDs are swapped for placeholders before anything is sent to the model and restored in the response, so secrets never leave your machine. It supports DeepSeek, OpenAI-compatible, Zhipu, Tongyi, Kimi and local Ollama backends, with tool calling, skill loading, subagent delegation, context compression, a sandbox and a Docker build.

Added

Useagent logo

Useagent

sandboxes & code executionOpen source

The open-source Devin alternative. Run Claude Code, Codex or OpenCode in isolated cloud workspaces you can self-host.

Added

Subgroupx logo

Subgroupx

sandboxes & code executionSee site

oiia — hosted agent sessions that execute wherever you point them: a cloud sandbox, an SSH host, or a machine with no public IP. Multi-agent, durable across reloads, installable as a PWA. Built by SubgroupX.

Added

Nehemiah logo

Nehemiah

MCP serversOpen sourceNot yet checked

On-demand Linux computers you can hand to an AI — real Firecracker microVMs with a browser, terminal, coding agents, and an AI that drives them.

Added

Runtm logo

Runtm

evals & observabilitySee site

Open-source sandboxes where coding agents build and deploy. Spin up isolated environments where Claude Code, Cursor, and other agents code and deploy software.

Added

Orbi logo

Orbi

codingOpen source + cloud

Orbi is an open-source (AGPL-3.0) software factory for GitHub repositories. When you label a GitHub Issue ai-ready, Orbi implements it in an isolated worktree, opens and reviews pull requests in a separate AI review session that checks acceptance criteria and repairs failing tests, merges the exact reviewed commit SHA, and cuts a tagged GitHub Release when a human applies the ai-release label.

Added

Mirror CLI logo

Mirror CLI

codingSee 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

AgentSpace logo

AgentSpace

MCP serversSee siteNeeds auth

Give your agent a persistent workspace: files, a code sandbox and a public URL to publish to.

Added

Fileaify logo

Fileaify

agent infraFreemium

Fileaify is a project workspace that plugs into the coding agent you already use, such as Claude Code, Codex, Cursor or Windsurf. You connect the agent, or the hosted MCP connector, approve its access, and it finds the project's documentation, architecture decisions, roadmap and known issues in each new conversation, so you don't have to explain the project again, even when you switch agents. Credentials stay in a vault: the agent can run approved actions with them without ever seeing the keys, sensitive actions need a person's approval, and paid tiers add a sandboxed executor where the agent can actually run work. The agent also writes its contributions back into the project docs, following your review rules. A live demo project lets you try it without installing anything.

Added

Fly.io MCP logo

Fly.io MCP

agent infraUsage-based

The Fly.io MCP server is one endpoint that connects your coding agent to Sprites, Fly.io's sandboxes for agents, and to your Fly.io apps. The agent can build and test freely in a Sprite, then move the result to a Fly Machine in production whenever you are ready, with the rest of Fly's cloud available along the way.

Added

Modal logo

Modal

sandboxes & code executionFreemium

Serverless compute and sandboxes for AI workloads.

Added

SandBase logo

SandBase

sandboxes & code executionFreemium

SandBase gives an AI agent one account and one API key for LLMs, image and video models, live data APIs (search, social and company data) and a code sandbox, so it can fetch data, call models and run Python in the same pay-per-call workflow. It adds Skills and ready-made agents, can be added to Claude Code in one step, and starts with 100 free API calls a day and no card.

Added

Sandscale logo

Sandscale

sandboxes & code executionFreemium

Sandscale runs Firecracker microVM sandboxes, workspaces and build machines for AI agents. The pricing page, checked 27 Nov 2026, listed a free plan at $0 a month with 100 awake vCPU-hours, 3 concurrent sandboxes, 5 GB of storage and one workspace. Pro was $20 a month billed annually or $25 billed monthly, with 1,500 awake vCPU-hours. Team was $40 per member a month annually or $48 monthly, with 2,000 awake vCPU-hours per member. Usage past the hours was $0.05 per awake vCPU-hour, hour packs were $10 per 500 hours, and storage past the allowance was $0.15 per GB-month. The first 10 GB of storage was free. The MCP server asks you to sign in before it will connect.

Added

Solari logo

Solari

sandboxes & code executionFreemium

Solari gives AI agents three kinds of cloud environment from one API: headless cloud browsers that start in about 8 ms for browsing, logging in and scraping, isolated sandboxes that start in about 90 ms for running code and tools, and full computer desktops an agent can drive like a person. Sessions are billed per second while they run, with replay recordings and stealth mode on paid plans. Solari publishes its own latency benchmark against Browserbase, Steel, Kernel and Hyperbrowser. A free plan covers prototyping; Starter is $20 a month and Professional $200.

Added

Zozo HQ logo

Zozo HQ

codingFreemium

Zozo HQ is a coding-agent harness that turns dependency-ready issues from GitHub or matched Jira Cloud and Bitbucket Cloud into reviewable pull requests using isolated git worktrees, Claude Code, Codex or OpenCode via OpenRouter, and structured human clarification before anything merges.

Added

GitHub repos (49)

RepoGitHub starsLicenceLast push
Deer Flow logoDeer Flow ↗86,076MIT2026-12-02
Context Mode logoContext Mode ↗34,699Elastic License 2.0 (source-available)2026-12-02
Composio logoComposio ↗31,403MIT2026-12-02
smolagents logosmolagents ↗30,633Apache License 2.02026-12-02
NemoClaw logoNemoClaw ↗23,137—2026-12-02
NVIDIA OpenShell logoNVIDIA OpenShell ↗22,152Apache License 2.02026-12-02
Agent Zero logoAgent Zero ↗20,043MIT2026-11-20
HTML Anything logoHTML Anything ↗18,354—2026-12-02
OpenSandbox logoOpenSandbox ↗18,113Apache License 2.02026-12-02
E2B logoE2B ↗15,105Apache License 2.02026-12-02
CubeSandbox logoCubeSandbox ↗13,533Apache-2.0 (third-party components under their own licences)2026-12-02
Open SWE logoOpen SWE ↗11,279MIT2026-12-02
Claurst logoClaurst ↗10,357—2026-11-22
microsandbox logomicrosandbox ↗9,294Apache License 2.02026-12-02
ThinkRail logoThinkRail ↗8,525Apache-2.02026-12-02

Top 15 of 49 by stars. 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 57. The first three by GitHub stars and featured status are Deer Flow: DeerFlow 2.0 is ByteDance's MIT-licensed super-agent harness for long tasks that can take minutes to hours, such as research reports, coding jobs and content creation. It coordinates sub-agents, long-term memory, sandboxed code execution, tools and extensible skills, and can take requests through a message gateway; version 2.0 is a ground-up rewrite, with the original Deep Research framework kept on a separate branch.; Context Mode: Context window optimizer for coding agents that sandboxes tool output and persists session memory.; Composio: Composio gives AI agents more than 1,000 pre-authenticated toolkits for apps such as Gmail, Slack, GitHub and Salesforce, with per-user sessions, managed OAuth, tool search, triggers and a sandboxed workbench, so an agent can act in a user's accounts without you building each integration. The MIT-licensed monorepo ships TypeScript and Python SDKs, a CLI for searching and running tools from the shell, and adapters for the OpenAI Agents SDK, Claude Agent SDK, Vercel AI SDK, LangChain and more; the hosted platform has a free tier.

Are there free or open-source options?

Yes: 44 open source, 1 source-available, 7 free or freemium, 1 paid, usage-based or enterprise, 4 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.