AI agent — An AI system that doesn't just answer once but works toward a goal in a loop — taking actions, reading the results, and deciding what to do next.
sandbox — An isolated environment where AI-generated code or agent actions run without being able to touch anything real.
Why it matters
Auto mode is the default prompt-injection defense for Claude Code, and it can be bypassed — and can block remediation after detection. Treat sandboxAn isolated environment where AI-generated code or agent actions run without being able to touch anything real.Full definition →, not the classifier, as the real boundary when agents touch untrusted archives.