webcoyote/sandvault
Run AI agents isolated in a macOS user account and sandbox-exec. Configured to run Claude Code, OpenAI Codex, Cursor Agent, Google Gemini.
What it solves
SandVault provides a lightweight alternative to heavy virtual machines for isolating shell commands and AI coding agents on macOS. It runs them inside a limited, passwordless macOS user account combined with sandbox-exec to prevent unauthorized access to your home directory, system files, and mounted drives.
How it works
SandVault manages a dedicated macOS user account and a shared workspace located at /Users/Shared/sv-$USER. When you run a command via the sv tool, it impersonates the limited sandbox user or connects via a local SSH session. It supports native or host-installed AI tools like Claude Code, OpenAI Codex, OpenCode, Google Gemini, pi, Muse Code, and herdr, while also providing secure options for Git repositories, GitHub API access, and browser/iOS automation.
Who it’s for
It is designed for developers and power users on macOS who want to run AI coding agents and untrusted shell commands with strict filesystem isolation and no virtual machine overhead.
Highlights
- Instant user-switching context without VM overhead
- Built-in support for popular AI agents including Claude Code, OpenAI Codex, and Gemini
- Defense-in-depth security combining a limited macOS user account and
sandbox-exec - Shared workspace for seamless collaboration between host and sandbox
- Isolated profiles for running multiple independent sandboxes with separate credentials
- Integrated web and iOS simulator automation support
Related
- Project
- Project
- Project
- Project
- Project