EveryDev.ai
Sign inSubscribe
Explore AI Tools
  • AI Coding Assistants
  • Agent Frameworks
  • MCP Servers
  • AI Prompt Tools
  • Vibe Coding Tools
  • AI Design Tools
  • AI Database Tools
  • AI Website Builders
  • AI Testing Tools
  • LLM Evaluations
Follow Us
  • X / Twitter
  • LinkedIn
  • Reddit
  • Discord
  • Threads
  • Bluesky
  • Mastodon
  • YouTube
  • GitHub
  • Instagram
Get Started
  • About
  • Editorial Standards
  • Corrections & Disclosures
  • Community Guidelines
  • Advertise
  • Contact Us
  • Newsletter
  • Submit a Tool
  • Start a Discussion
  • Write A Blog
  • Share A Build
  • Terms of Service
  • Privacy Policy
Explore with AI
  • ChatGPT
  • Gemini
  • Claude
  • Grok
  • Perplexity
Agent Experience
  • llms.txt
Theme
With AI, Everyone is a Dev. EveryDev.ai © 2026
Main Menu
  • Tools
  • Developers
  • Topics
  • Discussions
  • Communities
  • News
  • Podcasts
  • Blogs
  • Builds
  • Contests
  • Compare
  • Arena
Create
    Home
    Tools

    2,490+ AI tools

    • New
    • Trending
    • Featured
    • Compare
    • Arena
    Categories
    • Agents1655
    • Coding1204
    • Infrastructure536
    • Marketing448
    • Design430
    • Projects388
    • Research368
    • Analytics335
    • Testing230
    • MCP225
    • Data210
    • Security198
    • Integration169
    • Learning155
    • Communication148
    • Prompts144
    • Extensions137
    • Commerce125
    • Voice122
    • DevOps99
    • Web78
    • Finance21
    1. Home
    2. Tools
    3. claude-sandbox
    claude-sandbox icon

    claude-sandbox

    Autonomous Systems

    Run Claude Code sessions inside isolated per-workspace Docker containers, launched by Superset, with the worktree bind-mounted for full host visibility.

    Visit Website

    At a Glance

    Pricing
    Open Source

    Free and open-source project available on GitHub.

    Engagement

    Available On

    Windows
    macOS
    Linux
    API
    CLI

    Resources

    WebsiteDocsGitHubllms.txt

    Topics

    Autonomous SystemsDevelopment EnvironmentsAI Coding Assistants

    Alternatives

    SuperHQPolyscopeOna
    Developer
    hanshans is an individual GitHub developer who builds open-sourc…

    Listed May 2026

    About claude-sandbox

    claude-sandbox is an open-source Shell project by GitHub user "hans" that wraps Claude Code agent sessions in per-workspace Docker containers orchestrated by Superset. The worktree is bind-mounted at /workdir inside the container, so all code, git history, and diffs remain on the host and are visible to Superset's diff viewer. The project was created in May 2026 and is actively maintained on GitHub.

    What It Is

    claude-sandbox is a Docker-based execution sandbox for Claude Code, Anthropic's agentic coding tool. Rather than running Claude Code directly on the host, it launches each Superset workspace inside its own container, providing process and filesystem isolation while keeping the source of truth — the git worktree — on the host. It is explicitly not a Container Use (cu) setup; there is no nested branch namespace or auto-commit to a separate remote.

    How the Sandbox Architecture Works

    The core design centers on a single bind mount: the Superset worktree is mounted at /workdir inside the container. Several additional mounts are managed automatically by launch.sh:

    • Git worktree pointer resolution: In a git worktree, .git is a file pointing to an absolute host path. launch.sh walks up to find the common .git directory and bind-mounts it at the same absolute path inside the container so git commands work correctly.
    • Symlink escape handling: Symlinks in the worktree that point outside $PWD (e.g., a results/ directory on a scratch disk) are detected, and their targets are bind-mounted at the same absolute path inside the container. Targets are read-only by default; opt-in env vars control read-write access.
    • Credential forwarding: On macOS, OAuth tokens live in the system keychain; launch.sh extracts the Claude Code-credentials entry and stages it at ~/.claude/.credentials.json on every launch.

    Configuration and Environment Variables

    The sandbox is configured through environment variables split into two categories: host-side variables read by launch.sh before Docker runs (set in Superset's agent environment field or exported in the shell), and container-side variables sourced from a .env file at the worktree root. Key host-side variables include CLAUDE_SANDBOX_IMAGE (which Docker image to run), CLAUDE_SANDBOX_NETWORK (bridge/host/none), and CLAUDE_SANDBOX_MOUNT_SSH (to enable SSH key forwarding for git push). Network mode tradeoffs are documented: bridge provides NAT isolation, host allows reaching localhost services, and none creates a fully hermetic sandbox.

    Per-Project Extension Model

    The global claude-sandbox image is kept generic. Per-project customization is handled by creating a project-local Dockerfile.project that extends FROM claude-sandbox:latest and adds project-specific dependencies (e.g., Python packages). The custom image is then referenced via the CLAUDE_SANDBOX_IMAGE environment variable. Ad-hoc one-off installs can also be done via docker exec into the running container, though those changes are lost when the container exits due to the --rm flag.

    Deliberate Constraints

    The project documents several things it intentionally does not do: no Container Use or nested branch namespaces, no multi-agent orchestration (Superset handles parallel workspaces by launching one container per workspace), no GPU passthrough (CPU-only), and no Windows support (macOS and Linux only). These constraints reflect a design philosophy of keeping the container as a thin execution sandbox rather than a full agent runtime environment.

    claude-sandbox - 1

    Community Discussions

    Be the first to start a conversation about claude-sandbox

    Share your experience with claude-sandbox, ask questions, or help others learn from your insights.

    Pricing

    OPEN SOURCE

    Open Source

    Free and open-source project available on GitHub.

    • Full source code access
    • Docker-based Claude Code sandboxing
    • Superset integration
    • Per-project Dockerfile extension

    Capabilities

    Key Features

    • Per-workspace Docker container isolation for Claude Code sessions
    • Worktree bind-mounted at /workdir for host visibility
    • Automatic git worktree pointer resolution inside container
    • Symlink escape detection and bind-mounting for external targets
    • macOS keychain credential extraction and forwarding
    • Configurable network modes: bridge, host, none
    • SSH key forwarding via CLAUDE_SANDBOX_MOUNT_SSH
    • Per-project Dockerfile extension support
    • Environment variable forwarding via .env file
    • Superset agent integration via launch.sh

    Integrations

    Claude Code
    Superset
    Docker
    Docker Desktop (macOS)
    Docker Engine (Linux)
    Git worktrees
    API Available
    View Docs

    Reviews & Ratings

    No ratings yet

    Be the first to rate claude-sandbox and help others make informed decisions.

    Developer

    hans

    hans is an individual GitHub developer who builds open-source tooling for AI agent workflows. The claude-sandbox project provides Docker-based execution sandboxes for Claude Code sessions integrated with the Superset workspace manager. The project focuses on practical isolation and host-state preservation for agentic coding environments.

    Read more about hans
    WebsiteGitHub
    1 tool in directory

    Similar Tools

    SuperHQ icon

    SuperHQ

    Run AI coding agents like Claude Code, Codex, and custom agents each in their own isolated microVM sandbox on your desktop.

    Polyscope icon

    Polyscope

    Polyscope is an agent-first development environment for macOS that lets you run multiple AI coding agents in parallel, each in its own isolated workspace.

    Ona icon

    Ona

    Ona is an AI software engineering platform that autonomously executes development tasks end-to-end, from background agents to automated code review, CVE remediation, and large-scale migrations.

    Browse all tools

    Related Topics

    Autonomous Systems

    AI agents that can perform complex tasks with minimal human guidance.

    227 tools

    Development Environments

    AI-enhanced code editors and IDEs that improve the coding experience.

    120 tools

    AI Coding Assistants

    AI tools that help write, edit, and understand code with intelligent suggestions.

    469 tools
    Browse all topics
    Back to all tools
    Discussions