Files and tools
The sandbox sees only your project folder from your Mac. A setup script can replace a tool inside the sandbox without touching the one on your Mac.
Suppose the agent working on your order screen installs a new package to get a test passing. The package’s setup script runs with the same access as the agent. When the agent runs directly on your Mac, that access is your user account’s.
Tugboat runs Codex and Claude Code in a small virtual machine dedicated to each project: a Brig microVM. Other Mac folders stay outside the sandbox.
Codex and Claude Code share the same sandbox and the same network rules. Each keeps its own chat history.
The sandbox sees only your project folder from your Mac. A setup script can replace a tool inside the sandbox without touching the one on your Mac.
Every connection leaving the sandbox goes through a gateway on your Mac. The gateway looks up each hostname in the project’s allowlist; other destinations are denied by default.
The agent uses an access token to make requests to its provider. The credential that renews your sign-in stays on your Mac.
This folder is still writable: if an agent deletes a file there, it also disappears from your Mac. A permitted host can still receive project data. Commit or back up work you need to keep.
In Tugboat’s sample task, Codex needs a test fixture, but the network policy blocks the download. Here’s where each request goes. Commands and replies are illustrative.
Follow the task step by stepBrig verifies the image and boots a Linux guest with four vCPUs and 4 GiB of memory. Codex runs inside it.
schemas.example isn’t on the allowlist, so the gateway stops the connection and Codex continues with the project’s own fixture. chatgpt.com is on the list, so Codex can still reach the model.
Codex edits src/schema.ts, and the change appears in the same folder on your Mac. Your Documents folder isn’t in the guest’s filesystem at all.
After the chat, you can restart the guest offline and run local tests. Stopping the sandbox keeps its private home, so you can restart it and resume the chat.
Download the disk image from the Mac releases page, open it and drag Tugboat to Applications. In Projects, choose the folder the agent should edit, then open Codex or Claude Code. Tugboat prepares the sandbox and starts the chat.
You’ll need an internet connection for the first environment download and an account with your agent’s provider.
See the setup steps on the Tugboat site