Skip to main content
← Back to News
AI Tools

Memory‑aware AI agents with Amazon Bedrock Managed Knowledge Base

Amazon Bedrock adds Agentic Retrieve with built‑in memory, enabling per‑user conversation history and ACL‑filtered document access.

Published: November 16, 2026By GetAISet Editorial

Original source published: November 16, 2026

Amazon Bedrock Managed Knowledge Base together with AgentCore memory now can store each user’s conversation, extract durable facts, and inject relevant facts into search via AgenticRetrieveStream. Adding a memoryConfiguration makes memory a retrieval source alongside the knowledge base; the service restores the conversation, the planner decides when a fact helps, retrieves it from long‑term memory, composes sub‑queries, generates a cited answer, and saves the turn back to memory. The request also includes userContext so the knowledge base returns only documents allowed by the user’s ACLs. Integration is opt‑in and backward compatible.

The post demonstrates an internal employee assistant for a fictional company. Employees authenticate with Amazon Cognito; the token’s sub claim identifies the memory actorId and namespace, while the verified email is used for ACL filtering. A single AgentCore memory resource is shared, but IAM conditions enforce per‑user memory isolation. The solution requires a managed knowledge base and memory resource in the same AWS account (US West‑2), Python 3.10+, Boto3 1.43.72+, and permissions to create S3, Cognito, IAM, knowledge base, and memory resources.