# Amazon adds memory-aware agents to Bedrock Managed Knowledge Base

Digest AI · Agents & Tools · published 2026-11-16T22:43:30Z

Canonical: https://digestai.news/story/amazon-adds-memory-aware-agents-to-bedrock-managed-knowledge-base

## Summary

The AWS Machine Learning Blog explains how developers can enable memory‑aware AI agents using Amazon Bedrock Managed Knowledge Base together with AgentCore memory. By adding a memoryConfiguration to the AgenticRetrieveStream request, the service stores each conversation, extracts durable facts, and injects relevant facts into the search, while preserving per‑user isolation and ACL‑based document access.

The post walks through a sample multi‑tenant employee assistant for a fictional company, showing how Amazon Cognito supplies a sub claim for memory namespace and a verified email for ACL filtering. It details the steps to create the knowledge base, configure the memory resource, set up Cognito and IAM roles, and build the request that restores conversation history, performs speculative retrieval, and streams a cited answer with trace events. The integration is opt‑in, backward compatible, and enforces per‑user memory isolation via IAM tags.

All resources are created in the US West (Oregon) region, and the sample code runs on Python 3.10 with Boto3 1.43.72. The guide highlights two extraction strategies—summary and user‑preference—and explains namespace design for per‑user separation, enabling developers to build scalable, privacy‑preserving AI assistants that remember users across sessions.

## Key points

- AgenticRetrieveStream with memoryConfiguration stores conversation, extracts facts, and injects them into Bedrock knowledge base queries.
- Per‑user isolation is achieved via Cognito sub claim as actorId and IAM session tags for memory access.
- The tutorial provides step‑by‑step setup of knowledge base, memory resource, Cognito, and IAM policies in us‑west‑2.

## Why it matters

Enabling memory‑aware agents lets enterprises build personalized AI assistants that retain context across sessions while respecting user privacy and document access controls.

## Sources

1. [Build memory-aware AI agents with Agentic Retrieve on Amazon Bedrock Managed Knowledge Base](https://aws.amazon.com/blogs/machine-learning/build-memory-aware-ai-agents-with-agentic-retrieve-on-amazon-bedrock-managed-knowledge-base) (AWS Machine Learning Blog, 2026-11-16, primary source)

Part of the developing story: [Amazon Bedrock Expands Agent Capabilities and Cuts Costs](https://digestai.news/thread/amazon-launches-web-answer-on-bedrock-agentcore-priced-at-10-per-1-000-calls) (6 stories)

## Cite

Digest AI, "Amazon adds memory-aware agents to Bedrock Managed Knowledge Base", 16 November 2026, https://digestai.news/story/amazon-adds-memory-aware-agents-to-bedrock-managed-knowledge-base

---

Written by Digest AI's editorial model from the linked sources; the sources are the record. Headlines, digests and key points are written by Digest AI and may be quoted with a link to the story page. Linked articles belong to their publishers. Terms: https://digestai.news/terms#reuse
JSON: https://digestai.news/story/amazon-adds-memory-aware-agents-to-bedrock-managed-knowledge-base.json
