Run AI agents isolated in a macOS user account and sandbox-exec. Configured to run Claude Code, OpenAI Codex, Cursor Agent, Google Gemini.
# SandVault - Run AI agents and shell commands in a sandboxed macOS user account <img src="https://www.codeofhonor.com/images/projects/sandvault.webp" align="left" width="200px"/> SandVault (`sv`) manages a limited user account to sandbox shell commands and AI agents, providing a lightweight alternative to application isolation using virtual machines. </br> </br> - **AI ready** - Includes Claude Code, OpenAI Codex, OpenCode, Google Cursor - **Fast context switching** - No VM overhead; instant user switching - **Passwordless** - switch accounts without a prompt (after setup) - **Shared workspace** - joint access to `/Users/Shared/sv-$USER` - **Defense in depth** - limited user account + `sandbox-exec` - **Clean uninstall** - Complete removal with `sv uninstall` </br> </br> --- ## Quick Links 0. Run [Browser Automation](#Browser-Automation) from within the sandbox that can be used for testing web interactions. 1. To run `xcodebuild` or `swift` see [Sandboxing xcodebuild and swift](#Sandboxing-xcodebuild-and-swift) for details. 2. To run other sandboxed applications inside sandvault, use the `-x` option. See [Sandboxing other apps](#Sandboxing-other-apps) for details. 3. It's not possible to run GUI applications from within the sandbox; see [Running GUI Applications](#Running-GUI-Applications) for details. ## Security Model SandVault has limited access to your computer: - Cannot access your home directory - Runs with standard user privileges - Cannot modify system files - Has no access to mounted drives ``` - writable: /Users/Shared/sv-$USER -- only accessible by you & sandvault-$USER - writable: /Users/sandvault-$USER -- sandvault's home directory - readable: /usr, /bin, /etc, /opt -- system directories - no access: /Users/* -- other user directories - writable: /Volumes/Macintosh HD -- accessible as per file permissions - no access: /Volumes/* -- cannot access mounted/remote/n
Agent that generates comprehensive documentation, API references, architecture diagrams, and developer onboarding guides from existing code.
Agent configuration for systematic bug investigation that traces issues from error logs through the codebase to root cause with suggested fixes.
Agent for integrating third-party APIs including SDK setup, type generation, error handling, retry logic, and rate limit management.
Cursor's built-in autonomous coding agent that can make multi-file edits, run terminal commands, search the codebase, and iteratively build features with minimal human intervention.
Cloud-based autonomous coding agent that runs in the background on remote sandboxed environments, handling complex multi-step tasks while you continue working.
Cursor's multi-file editing agent within Composer mode that can create, edit, and delete files across your entire project in a single conversation.