Build memory-aware AI agents with Agentic Retrieve on Amazon Bedrock Managed Knowledge Base
AWS•How-to••by Peng Yang, Jason Sheng, Renya Kujirada and Siddhant Sahu•AWS Artificial Intelligence Blog
Amazon Bedrock Managed Knowledge Base and Amazon Bedrock AgentCore memory now store conversations, extract facts, and bring long-term memory into a single AgenticRetrieveStream call. This post shows how to build a memory-aware, multi-user assistant where each user sees only the documents they may read and each user’s memory stays private.
Managed Knowledge Base can now use AgentCore memory in one AgenticRetrieveStream call, restoring conversations, searching long-term memory, and saving turns, with per-user document ACLs.
Who it is for
Teams building multi-user AI assistants on Bedrock that need per-user document access and private conversation memory.
Key points
Set memoryConfiguration on AgenticRetrieveStream; the call is opt-in and needs a memory resource in the same account and ACTIVE state.
Document access uses userContext with the user's verified email matched to ACL entries; memory uses an actorId, and the post recommends the Cognito sub.
Memory operations are best-effort; failures are reported in the trace and the answer falls back to the knowledge base.
Long-term extraction is asynchronous, so a fact from one conversation may not be retrievable immediately in the next.
The post reports 4 to 10 seconds per turn in its own runs, which it says are not service commitments.
AI:Trovata, a treasury platform, describes autonomous treasury agents it built on Amazon Bedrock and AgentCore, with RBAC-controlled access to bank data.
AI:Strategy Mosaic models a customer 360 across Amazon Redshift and Aurora with no ETL, exposes it to a Strands agent on AgentCore via the Mosaic MCP server, and enforces per-user row and column security.
AI:AgentFlo describes its production AI sales agents on AgentCore: three-layer guardrails, a DynamoDB and Knowledge Bases data design, and end-to-end tracing; it reports early uplift figures.