AgentScout / Tasks / Running code safely

Best AI agents for running code safely (2026)

Sandboxes that let agents run code and tools in isolation, away from your machine and data. We list 61 tools for running code safely below, each with a link-checked page, pricing as the maker states it and alternatives.

Updated

61 tools: 43 open source, 1 source-available, 8 free or freemium, 8 paid, usage-based or enterprise, 1 pricing on the maker's site.

Sandbox0 logo

Sandbox0

Newsandboxes & code executionPaid

Sandbox0 is a managed sandbox runtime that gives each AI agent an isolated cloud computer where it can run code, install software, manage files and control network access. The whole writable root filesystem persists across incremental checkpoints and grows automatically as it fills, so an agent can pause compute between tasks and resume the same sandbox later with its tools, dependencies and files intact. It adds snapshots and restore, SSH, egress proxy and credential injection, private previews, Docker in the sandbox, webhooks, warm pools and custom templates, with integrations for LangChain Deep Agents, OpenAI Agents, Vercel and GitHub CI. Sandboxes run under gVisor isolation with Nomad scheduling.

Added

LayerFS logo

LayerFS

Newagent infraOpen source

LayerFS is a filesystem built for running many coding agents in parallel. Each agent mounts a complete, writable workspace on top of shared committed history, does its work, commits what it changed and goes away, so compute only exists while a command runs. Every tool call becomes a commit on a branch, same-file clashes between agents are refused rather than silently merged, each line records the step that wrote it, and any commit can be forked at no cost for recursive exploration or RL training. Agents on different computers share one serverless store with chunk-level deduplication.

Added

OpenComputer logo

OpenComputer

Newagent infraUsage-based

OpenComputer is a platform for building and deploying long-running AI agents as code. You define an agent as a TypeScript function with its model, tools and MCP servers, deploy it with one command, and every session gets its own real cloud computer, with managed sessions, schedules and API keys kept outside the agent's runtime. Templates include a coding agent that edits a repo, runs checks and opens a draft pull request, and market-research and GTM agents; its own Slack coding agent runs on it. Pricing is pay-as-you-go for model calls and per-second machine time.

Added

agentOS logo

agentOS

Newsandboxes & 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

Agent Sandbox (Kubernetes) logo

Agent Sandbox (Kubernetes)

Newsandboxes & code executionOpen source

A Kubernetes project that adds a Sandbox resource for running isolated, stateful agent workloads such as code execution and browsers, with warm pools and fast startup on your own cluster.

Added

AgentBay logo

AgentBay

Newsandboxes & code executionUsage-based

Alibaba Cloud's cloud sandbox service for agents, offering ready-made browser, Linux and Windows desktop, mobile and code environments that agents control through an SDK or MCP.

Added

AgentDock (NexusDock) logo

AgentDock (NexusDock)

NewMCP serversOpen source + cloud

A secure MCP runtime that lets ChatGPT, Claude and other AI clients operate your Mac, Windows, Linux and Android devices, with memory, tools and reusable automations.

Added

Cloudroom logo

Cloudroom

NewcodingOpen 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

Halofy logo

Halofy

Newsecurity & governanceFreemium

Halofy is an access and governance layer for a team's AI agents, giving every agent organizational context through one identity and policy model with provenance and audit, alongside a desktop AI workstation that turns power users' agent practices into shared policies.

Added

Lody logo

Lody

NewcodingOpen 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

ThinkRail logo

ThinkRail

NewcodingOpen source

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

Added

AgentEnv Framework logo

AgentEnv Framework

Newevals & observabilityOpen source

AgentEnv Framework is Scale AI's open-source Python SDK and CLI for building RL environments for agents: containerized worlds with realistic apps and data behind an MCP gateway, plus tasks (as DAGs) that grade any agent in any sandbox.

Added

Zeroboot logo

Zeroboot

Newsandboxes & 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

Rakazo logo

Rakazo

Newpersonal agentsOpen source

Self-hosted personal AI agent and persistent teammate for web, desktop, iPhone and Android, with your own choice of model and computer sandbox.

Added

Rogue logo

Rogue

Newevals & observabilityOpen source

Agent evaluator and red-team tool that probes your agent with test conversations and attacks and reports pass or fail against your policies.

Added

Conductor logo

Conductor

NewcodingFreemium

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

Hyperbrowser logo

Hyperbrowser

Newbrowser/computer useUsage-based

Cloud browsers and isolated sandboxes for AI agents that you start in one call and drive with Playwright, Puppeteer or any agent.

Added

forkd logo

forkd

Newsandboxes & code executionOpen source

MicroVM sandbox runtime for AI agent fan-out that forks KVM-isolated child VMs from a warm snapshot in milliseconds.

Added

Agent Safehouse logo

Agent Safehouse

Newsandboxes & code executionOpen source

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

Added

Perplexity SPACE logo

Perplexity SPACE

Newsandboxes & 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

Cloudflare Sandbox SDK logo

Cloudflare Sandbox SDK

Newsandboxes & 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

Tensorlake logo

Tensorlake

Newsandboxes & code executionOpen source + cloud

Serverless runtime that gives agents MicroVM sandboxes and durable orchestration for long-running background jobs.

Added

AIO Sandbox logo

AIO Sandbox

Newsandboxes & code executionOpen source

All-in-one Docker sandbox for AI agents that combines a browser, shell, files, MCP, VS Code Server and Jupyter in one container.

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

Omnara logo

Omnara

Newagent infraOpen source + cloud

Open-source managed agent platform, a self-hostable alternative to Claude Managed Agents and the OpenAI Agents API, with tools, secrets and sandboxes.

Added

Open Cowork logo

Open Cowork

Newpersonal agentsOpen source

Open-source desktop app for Windows and macOS that installs Claude Code, MCP tools and skills in one click with sandbox isolation.

Added

ADR logo

ADR

Newsecurity & governanceOpen source

Uber's Agentic AI Detection and Response system that secures employee and customer-facing AI agents with observability and threat detection.

Added

OpenZeppelin MCP logo

OpenZeppelin MCP

NewcryptoOpen source

OpenZeppelin's official MCP servers that let agents generate secure smart contracts from audited OpenZeppelin libraries for Solidity, Cairo, Stellar and more.

Added

Automox MCP logo

Automox MCP

NewMCP serversPaid

Official Automox MCP server for managing devices, patches and policies in natural language.

Added

CData Connect AI MCP logo

CData Connect AI MCP

NewMCP serversPaid

CData's cloud-hosted MCP server for secure AI access to hundreds of enterprise data sources through Connect AI.

Added

Egnyte MCP logo

Egnyte MCP

NewMCP serversPaid

Egnyte's remote MCP server for secure AI search, upload and file management in your Egnyte account.

Added

Pimlico AI logo

Pimlico AI

NewcryptoFreemium

CLI and MCP server that lets coding agents manage a Pimlico smart-account infrastructure account, from balances and logs to sponsorship policies.

Added

StackAI logo

StackAI

Newno-code buildersFreemium

Drag-and-drop no-code platform for enterprises to build and deploy secure, compliant AI agents.

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

ToolHive logo

ToolHive

NewMCP serversOpen source

Stacklok platform that runs MCP servers in isolated containers with per-request identity, access policy and observability.

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

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

ego lite logo

ego lite

Newbrowser/computer useFreemium

Free macOS browser where Claude Code or Codex run automation tasks in their own isolated Spaces next to your tabs, reusing your logged-in sessions through an agent skill.

Added

NVIDIA OpenShell logo

NVIDIA OpenShell

sandboxes & code executionOpen source

Sandboxed runtime for autonomous agents with declarative YAML policies on file, network and credential access.

Added

OpenSandbox logo

OpenSandbox

sandboxes & code executionOpen source

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

Added

CubeSandbox logo

CubeSandbox

sandboxes & code executionOpen source

Lightweight, concurrent sandbox for running AI agent code securely.

Added

microsandbox logo

microsandbox

sandboxes & code executionOpen source

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

Added

smolvm logo

smolvm

sandboxes & code executionOpen source

Portable, branchable virtual machine for running agents safely on your computer.

Added

nono logo

nono

sandboxes & code executionOpen source

Zero-trust sandboxing for agent runtimes.

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

BoxLite logo

BoxLite

sandboxes & code executionOpen source

Embeddable micro-VM for running AI agents.

Added

E2B logo

E2B

sandboxes & code executionOpen source + cloud

Secure cloud sandboxes for running agent-generated code.

Added

Modal logo

Modal

sandboxes & code executionFreemium

Serverless compute and sandboxes for AI workloads.

Added

Context Mode logo

Context Mode

codingSource-available + cloud

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

Added

Cua logo

Cua

browser/computer useOpen source + cloud

Open-source infrastructure for computer-use agents: sandboxes, drivers across operating systems and benchmarks.

Added

Steel logo

Steel

browser/computer useOpen source + cloud

Open-source browser API and sandbox for AI agents to control web browsers at scale.

Added

Agent Governance Toolkit logo

Agent Governance Toolkit

security & governanceOpen source

Microsoft toolkit for policy enforcement, identity and sandboxing for AI agents.

Added

HolmesGPT logo

HolmesGPT

codingOpen source

CNCF sandbox SRE agent that investigates alerts and incidents.

Added

OneCLI logo

OneCLI

agent infraOpen source

Sandboxed agent harness for teams with secure credential handling.

Added

Moltis logo

Moltis

personal agentsOpen source

Secure personal agent server in Rust with sandboxed execution.

Added

Lyzr logo

Lyzr

frameworksFreemium

Enterprise agent studio and framework for building secure AI agents.

Added

CoreWeave Forge logo

CoreWeave Forge

evals & observabilityFreemium

One product to run, observe, evaluate and post-train agents (W&B, OpenPipe, sandboxes).

Added

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

Scalebrowser logo

Scalebrowser

browser/computer usePaid

Gives each agent its own isolated browser with a persistent identity for staying signed in.

Added

GitHub repos (50)

RepoGitHub starsLicenceLast push
Deer Flow ↗83,959MIT2026-10-21
Context Mode ↗30,192Elastic License 2.0 (source-available)2026-10-21
Cua ↗29,966MIT2026-10-21
ego lite ↗17,562MIT2026-10-19
NVIDIA OpenShell ↗16,156Apache License 2.02026-10-21
OpenSandbox ↗15,907Apache License 2.02026-10-21
CubeSandbox ↗12,960Apache-2.0 (third-party components under their own licences)2026-10-21
Open SWE ↗11,034MIT2026-10-21
microsandbox ↗8,717Apache License 2.02026-10-19
Steel ↗7,821Apache License 2.02026-10-19
smolvm ↗6,746Apache License 2.02026-10-21
Agent Governance Toolkit ↗6,435MIT2026-10-21
Fragments ↗6,393Apache License 2.02026-10-13
AIO Sandbox ↗6,205Apache License 2.02026-09-14
agentOS ↗4,808—2026-10-21

Top 15 of 50 by stars. Stars and licence come from each repo, checked when the listing was last verified.

Related tasks

Popular with: DevOps and SRE engineers · Security engineers · MCP developers · Related searches: Sandboxes for AI agents to run code

Tools are matched to tasks by category, use cases and what each tool 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.