← Back to blog

Redson Dev brief · PRIMARY SOURCE

ARTICLE#AI#Dev

How Benchling secured multi-tenant AI agents with Amazon Bedrock AgentCore

AWS Machine Learning · September 21, 2026

For anyone building with AI agents, securing multi-tenant environments is a critical challenge this piece directly addresses, offering a robust blueprint for trust. The AWS Machine Learning article details how Benchling engineered a defense-in-depth security architecture to safely execute untrusted, AI agent-generated scientific code across its thousands of life sciences tenants. They achieved this by integrating Amazon Bedrock AgentCore's Code Interpreter in a Virtual Private Cloud (VPC) mode, further bolstered by Amazon Route 53 Resolver DNS Firewall and VPC endpoint policies designed to prevent data exfiltration, even via DNS. This meticulous layering creates a highly isolated and controlled environment for agent operations. This has significant implications for any organization deploying AI agents, especially in shared or sensitive data contexts. A logistics startup in Phoenix, for instance, could leverage this approach to allow AI agents to optimize complex supply chain routes for multiple client accounts, knowing that each agent's execution environment is isolated and protected from data leakage. A mid-sized internal IT team at a bank in Boston could deploy agents for automated data analysis tasks, confident that proprietary financial information remains ring-fenced even if an agent's generated code attempts unauthorized access. Similarly, an indie SaaS founder developing a content generation tool could offer advanced AI agent capabilities to paying subscribers without fear of cross-tenant data exposure or malicious code execution impacting their core infrastructure or other users. The core benefit here is the ability to confidently scale AI agent deployments in multi-tenant or sensitive environments without compromising security or data integrity. This model frees developers from reinventing complex security primitives for agent orchestration. It means a freelance developer building custom AI workflows for various small businesses can assure clients of robust data protection, or a healthcare startup in San Francisco processing patient records with AI can meet stringent compliance requirements by adopting a similar architecture, ensuring generated code operates within strictly defined perimeters. To capitalize on this, consider a small, focused experiment: set up a basic proof-of-concept using Amazon Bedrock AgentCore within a new VPC. Configure a minimal DNS firewall rule that blocks outbound traffic to a known public DNS resolver, then attempt to have an agent access an external resource or execute a simple command that would normally leverage that resolver. Observe how the established controls prevent the action, providing concrete evidence of the architecture's protective capabilities.