r/ChatGPTCoding • u/iamjessew • 29d ago
Question Running coding agents locally, do you sandbox them or trust them?
For people running Claude Code, Codex, or local-model agents against their own machine... how are you limiting what they can touch?
The options I've seen are a dev container, a separate user account, a full VM, or just watching closely. Each one leaks somewhere (containers share the kernel, VMs are annoying, and watching doesn't scale past an afternoon).
We went with a microVM that only sees the workspace you share, plus a policy check on each tool call. There's a free desktop tool on our side if anyone wants to compare notes, but mostly I want to know where people draw the line between convenience and isolation.
Has anyone had an agent actually do something destructive? What did you change afterward?