A deep dive on agent sandboxes
pierce.dev
A deep dive on agent sandboxes
1–10 of 22 posts
Re: A deep dive on agent sandboxes
#2Re: A deep dive on agent sandboxes
#3Then I wrote a small tool[1] to streamline my sandboxing.
Now, I run agents inside it for keeping my non-working-directory files safe.
For some tools like markdown linter, I run them without network access as well.
Re: A deep dive on agent sandboxes
#46 months back I started dockerizing my setup after multiple npm vulnerabilities. Then I wrote a small tool[1] to streamline my sandboxing. Now, I run agents inside it for keeping my non-working-directory files safe. For some tools like markdown linter, I run them without network access as well. 1- https://github.com/ashishb/amazing-sandbox
Re: A deep dive on agent sandboxes
#56 months back I started dockerizing my setup after multiple npm vulnerabilities. Then I wrote a small tool[1] to streamline my sandboxing. Now, I run agents inside it for keeping my non-working-directory files safe. For some tools like markdown linter, I run them without network access as well. 1- https://github.com/ashishb/amazing-sandbox
This looks awesome! Do you have a mental process you run through to determine what gets run in the sandbox, or is it your default mode for all tools?
Here's what I use it for right now
- yarn - npm - pnpm - mdl - Ruby-based Markdown linter - fastlane - Ruby-based mobile app release tool by Google - Claude Code - Gemini CLI
Over time, my goal is to run all CLI-based tools that only need access to the current directory (and not parent directories) via this.
Re: A deep dive on agent sandboxes
#6Re: A deep dive on agent sandboxes
#7Re: A deep dive on agent sandboxes
#8devcontainers, devcontainers, devcontainers
Re: A deep dive on agent sandboxes
#9devcontainers, devcontainers, devcontainers
Imo microvm's+ dev containers seem like a good fit though