A sandbox environment limits what a program or agent can access. It may restrict files, network, credentials, system commands, or external services.
In practice
Sandboxes are important for AI coding agents because agents often run commands, inspect files, and test changes. Isolation reduces the blast radius if something goes wrong.
What to watch
A sandbox is not a substitute for review. Sensitive credentials, production databases, and destructive permissions should still be protected.