Anthropic has detailed its approach to AI agent containment across its product lineup to limit security risks.
Specifically, the company shared lessons learned from managing Claude across its platforms, including claude.ai, Claude Code, and Claude Cowork. Consequently, these measures aim to restrict the potential damage of autonomous systems while maintaining developer productivity.
The company stated that model capabilities are expanding rapidly, which increases the theoretical damage an agent can cause. Therefore, relying solely on human supervision has proven insufficient due to approval fatigue among users. Notably, telemetry data showed that users approved approximately 93% of permission prompts, often without close inspection.
The Three Pillars of Agent Defense
To address these challenges, the developer applies defenses to the environment, the model, and external content. For instance, process sandboxes and virtual machines set hard boundaries on what an agent can access. Meanwhile, the company uses system prompts and classifiers within the artificial intelligence layer to guide behavior.
Implementing AI Agent Containment Patterns
The company uses three distinct patterns for AI agent containment depending on the specific product environment. First, claude.ai runs code in server-side gVisor containers to protect the underlying infrastructure. Second, Claude Code uses an operating system sandbox to allow local file access while blocking unauthorized network requests. Finally, Claude Cowork operates inside a virtual machine to isolate code execution from the host system.
Addressing Security Vulnerabilities and Risks
During development, researchers identified several vulnerabilities, including prompt injections and unauthorized data exfiltration. For example, a red-team exercise demonstrated that a malicious prompt could instruct Claude to exfiltrate AWS credentials. As a result, the company implemented a defensive proxy to intercept and block unauthorized API requests. Furthermore, these security measures are critical for maintaining cybersecurity standards in enterprise deployments.
Future Outlook for Autonomous Systems
Looking ahead, the company is addressing emerging challenges such as persistent memory poisoning and multi-agent trust escalation. Additionally, establishing clear standards for cross-platform agent identity remains a key focus for the industry. Ultimately, the company emphasizes that AI agent containment at the environment layer must remain the primary line of defense. Indeed, this approach ensures that deterministic boundaries protect systems even when probabilistic model defenses fail.




