| ▲ | alphazard 12 hours ago | ||||||||||||||||||||||||||||
The thing that always trips me up is the lack of isolation/sandboxing that all of the AI programming tools provide. I want to orchestrate a workforce of agents, but they can't be trusted not to run amok. Does anyone have a better way to do this other than spinning up a cloud VM to run goose or claude or whatever poorly isolated agent tool? | |||||||||||||||||||||||||||||
| ▲ | dnw 12 hours ago | parent | next [-] | ||||||||||||||||||||||||||||
I have seen Claude disable its sandbox. Here is the most recent example from a couple of weeks ago while debugging Rust: "The panic is due to sandbox restrictions, not code errors. Let me try again with the sandbox disabled:" I have since added a sandbox around my ~/dev/ folder using sandbox-exec in macOS. It is a pain to configure properly but at least I know where sandbox is controlled. | |||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||
| ▲ | shepherdjerred 11 hours ago | parent | prev | next [-] | ||||||||||||||||||||||||||||
I'm working on a solution [0] for this. My current approach is: 1. Create a new Git worktree 2. Create a Docker container w/ bind mount 3. Provide an interface for easily switching between your active worktrees/containers. For credentials, I have an HTTP/HTTPS mitm [1] that runs on the host with creds, so there are zero secrets in the container. The end goal is to be able to manage, say, 5-10 Claude instances at a time. I want something like Claude Code for Web, but self-hosted. [0]: https://github.com/shepherdjerred/monorepo/tree/main/package... | |||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||
| ▲ | ciconia 11 hours ago | parent | prev | next [-] | ||||||||||||||||||||||||||||
If they cannot be trusted, why would you use them in the first place? | |||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||
| ▲ | ashishb 12 hours ago | parent | prev [-] | ||||||||||||||||||||||||||||
I run them inside a sandbox https://github.com/ashishb/amazing-sandbox | |||||||||||||||||||||||||||||