Skip to content

Feat: Built-in Automatic Sandbox Setup for Supported Agents #77

@christso

Description

@christso

Problem

CLI coding agents execute arbitrary code, so running them sandboxed is a best practice for security.

Proposal

Add native support for automatically setting up isolated sandboxes when installing/running agents.

Key Benefits

  • One-click secure execution: Leverage Docker Desktop's docker sandbox run for officially supported agents (e.g., Claude Code, Gemini CLI).
  • Fallback to custom/community images for others (e.g., OpenCode — many manual Docker setups already exist in the community).
  • Optional flags/config in AllAgents CLI (e.g., --sandbox or YAML workspace setting) to enable hardened containers with auto-mounting of the current repo, capability drops, read-only where possible, and approval workflows.
  • Aligns perfectly with AllAgents' git-friendly, declarative approach — sandbox configs could be stored in the workspace repo.

This would make AllAgents the safest and most convenient way to run multi-agent coding workflows, reducing friction for users concerned about security.

References

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions