Redson Dev brief · PRIMARY SOURCE
Connect Amazon Bedrock AgentCore to cross-account knowledge bases
AWS Machine Learning · August 26, 2026
For organizations grappling with the secure and efficient use of generative AI across segmented data stores, this piece offers a clear path to unlocking disparate information without compromising security or data integrity. The AWS Machine Learning article demonstrates how Amazon Bedrock AgentCore agents can query knowledge bases residing in different AWS accounts, specifically detailing a setup where an agent in one account accesses data stored in Amazon Redshift Serverless within another, all without needing to duplicate the source data. It outlines the architectural considerations, security boundaries, and two orchestration models—a code-based Strands agent and a declarative AgentCore harness—for integrating these cross-account knowledge bases. This capability significantly affects developers, founders, and operators by streamlining the creation of sophisticated AI applications that need to draw from multiple, independently managed data sources. Consider a mid-sized healthcare system headquartered in Boston, Massachusetts, wanting to build an AI assistant for its administrative staff. Patient records might reside in a highly secure, isolated account, while operational manuals and public health guidelines live in another. Using this cross-account knowledge base approach, they can build a single Bedrock agent that securely answers questions by accessing both data sets without moving sensitive patient information, saving development time and reducing compliance risk. Similarly, a logistics startup in Chicago, Illinois, could integrate their proprietary shipping optimization data (in one account) with public weather and traffic data feeds (in another) to power an intelligent routing agent, providing more accurate ETAs and proactive problem-solving for their fleet. An indie SaaS founder in Austin, Texas, developing a customer support chatbot could similarly connect a knowledge base of product documentation in their primary account with a separate, restricted account holding anonymized customer feedback data for a richer, more context-aware conversational experience, all while maintaining strict data governance. To capitalize on this, consider a small, contained experiment this week. Identify two distinct, non-sensitive data sets within your existing infrastructure that ideally reside in separate logical or actual accounts. Set up a basic Amazon Bedrock knowledge base for each. Then, using the principles outlined in the article, attempt to configure a simple Bedrock AgentCore agent in one account to query information from the knowledge base in the other. Focus on establishing the cross-account role permissions and a minimal test query to validate the connection. This hands-on exercise will illuminate the practical steps and security considerations involved, paving the way for more complex, production-ready applications.
Source / further reading
Learn more at AWS Machine Learning →