AI Cloud Architect

Building smarter AI agents: AgentCore long-term memory deep dive

AWSBlog post by Akarsha Sehwag, Dani Mitchell, Jay Lopez-Braus, Jiarong Jiang and Peng ShiAWS Artificial Intelligence Blog

In this post, we explore how Amazon Bedrock AgentCore Memory transforms raw conversational data into persistent, actionable knowledge through sophisticated extraction, consolidation, and retrieval mechanisms that mirror human cognitive processes. The system tackles the complex challenge of building AI agents that don’t just store conversations but extract meaningful insights, merge related information across time, and maintain coherent memory stores that enable truly context-aware interactions.

Read the original (opens the source's page in a new tab)

AI: Summary

What it is

AgentCore long-term memory extracts facts, preferences and summaries from conversations, then consolidates them by adding, updating or skipping memories and marking outdated ones invalid.

Who it is for

Teams building agents on Amazon Bedrock AgentCore that need persistent memory across sessions and want to understand how it behaves.

Key points

  • Three built-in strategies: semantic memory, user preferences and summary memory, with custom prompt overrides and self-managed options.
  • AWS reports 89-95% compression rates on semantic and summary memory, with correctness varying by dataset.
  • Extraction and consolidation take 20-40 seconds after triggering; semantic search returns in about 200 ms (AWS figures).

The same at other vendors

Timeline

Posts about Amazon Bedrock AgentCore Memory, oldest first.

  1. This postBuilding smarter AI agents: AgentCore long-term memory deep dive
  2. Blog postBuild agents to learn from experiences using Amazon Bedrock AgentCore episodic memory · AWS · Blog post
  3. New featureAmazon Bedrock AgentCore Memory announces streaming notifications for long-term memory · AWS · Announcement
  4. How-toOrganizing Agents’ memory at scale: Namespace design patterns in AgentCore Memory · AWS · How-to
  5. New featureAmazon Bedrock AgentCore Memory announces metadata for long-term memory · AWS · Announcement
  6. New featureAmazon Bedrock AgentCore Memory now supports strictly consistent metadata for long-term memory · AWS · Announcement
  7. Update to an existing featureAmazon Bedrock AgentCore Memory now supports cross-account access · AWS · Announcement
  8. How-toStructured memory filtering with metadata in AgentCore Memory · AWS · How-to
  9. New featureAmazon Bedrock AgentCore Memory now supports extracting memories from non-conversational JSON payloads · AWS · Announcement
Show all 18 posts
  1. This postBuilding smarter AI agents: AgentCore long-term memory deep dive
  2. Blog postBuild agents to learn from experiences using Amazon Bedrock AgentCore episodic memory · AWS · Blog post
  3. New featureAmazon Bedrock AgentCore Memory announces streaming notifications for long-term memory · AWS · Announcement
  4. How-toOrganizing Agents’ memory at scale: Namespace design patterns in AgentCore Memory · AWS · How-to
  5. New featureAmazon Bedrock AgentCore Memory announces metadata for long-term memory · AWS · Announcement
  6. New featureAmazon Bedrock AgentCore Memory now supports strictly consistent metadata for long-term memory · AWS · Announcement
  7. Update to an existing featureAmazon Bedrock AgentCore Memory now supports cross-account access · AWS · Announcement
  8. How-toStructured memory filtering with metadata in AgentCore Memory · AWS · How-to
  9. New featureAmazon Bedrock AgentCore Memory now supports extracting memories from non-conversational JSON payloads · AWS · Announcement
  10. New featureAmazon Bedrock AgentCore Memory now supports fine-grained access control · AWS · Announcement
  11. New featureAmazon Bedrock AgentCore Memory now supports flexible namespace variables · AWS · Announcement
  12. How-toDesigning lifecycle policies for AgentCore memory · AWS · How-to
  13. New featureAmazon Bedrock AgentCore Memory now supports direct ingestion to long-term memory · AWS · Announcement
  14. How-toBuilding a context-aware AI assistant on AgentCore and OpenClaw · AWS · How-to
  15. Price changeAnnouncing consumption-based pricing for short-term memory in Amazon Bedrock AgentCore · AWS · Announcement
  16. New featureAmazon Bedrock AgentCore Memory now supports configurable time-to-live for long-term memory · AWS · Announcement
  17. New featureAmazon Bedrock AgentCore Memory now provides full session summaries · AWS · Announcement
  18. Update to an existing featureAmazon Bedrock AgentCore Memory now supports short-term memory retention of up to 10 years · AWS · Announcement

Go deeper