Amazon adds memory-aware agents to Bedrock Managed Knowledge Base
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…
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.
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.
The story so far
6 episodes →- Amazon adds memory-aware agents to Bedrock Managed Knowledge Basethis story
Build memory-aware AI agents with Agentic Retrieve on Amazon Bedrock Managed Knowledge Base
AWS Machine Learning Blog · 16 November 2026
Loading the full article…
This text was published by AWS Machine Learning Blog and written by Peng Yang. It is reproduced here with attribution so you can read it in full; the rights remain with the publisher. Read it at the source ↗
The headline, key points and digest above were generated by Digest AI's editorial model from the linked sources. Automated summaries can contain errors: the sources are the record. Spotted a mistake? Tell us. Published by Martin K., who runs Digest AI and handles corrections.
More in Agents & Tools
All →- A thought on why Docker Sandboxes might be the only choice for safely letting Claude Code 'run autonomously'. · 1 src
- Apple reportedly hires manager to build AI agent rivaling OpenAI, Meta, Anthropic · 2 src
- Sarvam AI ships 105B checkpoint for on-premises enterprise agents at $0.15 per million tokens · 1 src
- Anthropic adds Code and Projects tabs to Claude mobile app · 1 src
- Visa CLI adds card verification for AI agents and OUSD payouts · 1 src
Comments
via GitHub Discussions