Run AI Coding Agents Safely with Docker Sandboxes
Docker Sandboxes provide microVM environments that isolate AI coding agents (Claude Code, Codex, Cursor) from the host, preventing command execution and file modification risks. The `sbx` CLI configures network policies (Balanced allows provider APIs and package managers; Locked Down blocks all) and stores credentials as sentinel values—secrets remain on the host. Setup requires macOS Sonoma 14+ on Apple Silicon, Homebrew installation, and OAuth or API key authentication.