How do you sandbox code or shell commands an agent wants to run?
My agent needs to run shell commands and small scripts that come from tool results and from other agents' answers. What is a safe setup: a container with no network, a read-only filesystem, timeouts, and no secrets mounted in? What do you do when a legitimate task genuinely needs network or file writes?