What are (agent) sandboxes useful for?

If you use coding agents, a lot of things happen between your prompt and the LLMs your agents use. But given agents work with something on your machine (that&#x27;s your codebase), agents need to and can execute commands on your machine. Can you trust the machine overlord? LLMs can and do make mistakes. So is the code generated by LLM. Implication being sometimes the generated code messes up your…