Overview of Agent Safehouse
mainAgent Safehouse is a sandboxing tool for macOS designed to protect your system when running LLM coding agents. It uses macOS sandbox-exec with composable policy profiles to restrict an agent's access to only the paths it needs.
By default, Safehouse follows a strict 'deny-all' posture, explicitly allowing only necessary system, toolchain, and project paths. This reduces the blast radius of potential prompt injections or malicious commands that might otherwise attempt to access SSH keys, cloud credentials, or personal files.