r/LocalLLaMA · · 1 min read

What sandbox are you all using for AI agents?

Mirrored from r/LocalLLaMA for archival readability. Support the source by reading on the original site.

Hi everyone, I use AI agents to code and manage my personal files heavily. However, I am worried that the agents may accidentally delete some important files on my machine, outside of the defined scope. I am wondering what sandboxes people are using. I am looking for a solution that is easy to use, perhaps just one line, e.g. `[sandbox] opencode --allowed_folder=[folder that the agent can work in]`

I've done some research and found two popular options, Bubblewrap and Docker Sandboxes. However, Bubblewrap's configuration is quite extensive. Docker Sandboxes seem easy to use, but an account is required to use, which I am not a fan of.

I decided to post here as people in the non-local-LLM communities don't seem to care about this, claiming that "frontier models is not too prone to prompt injections" etc. I am mostly using small LLMs, so it does matter a lot to me.

Any experience or recommendation will be appreciated. Thank you!

submitted by /u/Agitated_Camel1886
[link] [comments]

Discussion (0)

Sign in to join the discussion. Free account, 30 seconds — email code or GitHub.

Sign in →

No comments yet. Sign in and be the first to say something.

More from r/LocalLLaMA