What do you want to do?
3 use cases
-
Run Claude Code on one project inside a sandbox
Start Claude Code in a microVM that can only see the project folder you name.
- Brig
- Claude Code
- Software and DevOps
- Intermediate
View prompt
Using the brig-sh/brig repository, install Brig on this Mac and run `brig doctor` to check the host. Then start a sandbox with `brig run claude <project path>` and report the output of brig doctor and whether the sandbox started. Verify that the project path is the only folder the README says is mounted at /work.
-
Try unfamiliar code in a disposable sandbox
Open a root shell in a throwaway sandbox, then delete it when the test is done.
- Brig
- Software and DevOps
- Intermediate
View prompt
Using the brig-sh/brig repository, run `brig run ubuntu <project path>` to open a root shell in a sandbox, then run the test command the user gives you inside it. Report the output and then run `brig rm ubuntu`. Verify that the README says `brig rm` removes the sandbox and deletes its guest home.
-
Check what a sandbox forwards before an agent runs
List the credentials a run forwards by name, and restrict egress if needed.
- Brig
- Software and DevOps
- Advanced
View prompt
Using the brig-sh/brig repository, check the host with `brig doctor`, then run `brig info <sandbox name>` for the sandbox you plan to use. Report the credential names it forwards and whether the network is isolated. Verify that the README says a new sandbox on hvi or Linux gets an isolated network and that Brig refuses a policy-bound run on unsupported backends.
How to use Brig
- Check you have what it needs: A Mac with Apple silicon on macOS 14 or newer, or a Linux host on x86-64 or arm64 (Intel Macs are not supported); Homebrew on macOS, or the Linux install path from brig.sh/docs/install; A terminal and a project folder you want the agent to work in.
- Open brig-sh/brig on GitHub and read the README and license.
brew tap brig-sh/brigbrew trust brig-sh/brigbrew install --cask brigbrig doctor
These steps come from our top use case, Run Claude Code on one project inside a sandbox, which also has a copy-paste agent prompt.
Get 5 new use cases every morning. Free, one short email, unsubscribe anytime.
Get them freeAbout this repo
- Who it is forDevelopers who want to let a coding agent work on a real project without giving it access to the rest of their disk, keychain or SSH agent.
- Why it is hot
- LanguageGo
- Sourcegithub.com/brig-sh/brig · Back to Hot repos
Requirements
- A Mac with Apple silicon on macOS 14 or newer, or a Linux host on x86-64 or arm64 (Intel Macs are not supported)
- Homebrew on macOS, or the Linux install path from brig.sh/docs/install
- A terminal and a project folder you want the agent to work in
- An Anthropic account if you want to run Claude Code inside the sandbox
Maintain Brig? Add the Featured on Deduped badge
Paste this into your README:
[](https://dedupedai.com/use-cases/brig-sh-brig/?ref=badge)
Questions about Brig
What is Brig?
Brig is a Go command line tool and session daemon that runs a coding agent inside a microVM sandbox on your own machine. It is an open-source project on GitHub: https://github.com/brig-sh/brig.
Who is Brig for?
Developers who want to let a coding agent work on a real project without giving it access to the rest of their disk, keychain or SSH agent.
What can I do with Brig?
3 use cases so far, for example: Run Claude Code on one project inside a sandbox; Try unfamiliar code in a disposable sandbox; Check what a sandbox forwards before an agent runs. Each has steps and a copy-paste agent prompt.
What do I need to run Brig?
A Mac with Apple silicon on macOS 14 or newer, or a Linux host on x86-64 or arm64 (Intel Macs are not supported); Homebrew on macOS, or the Linux install path from brig.sh/docs/install; A terminal and a project folder you want the agent to work in; An Anthropic account if you want to run Claude Code inside the sandbox.
What are alternatives to Brig?
Other hot AI repos in Software and DevOps: Harness2, iFixAi, Orca, Diagram Design, AI Memory.
Is Brig safe to run?
Deduped does not own, audit or vouch for it. Read the README and license, run it on your own systems first and review every command before you run it.