On 18 November 2026 Amazon announced that OpenSearch Memory, a managed service for persisting AI‑agent conversations, entered general availability in four AWS regions.
How the service works
OpenSearch Memory builds on Amazon OpenSearch Serverless. Applications write each turn of a conversation to a "space" via a CreateEvent API call; the raw event is stored verbatim and indexed for keyword, semantic and hybrid search within seconds. After ingestion, a background extraction workflow runs on an Amazon Bedrock model—Claude Haiku 5.5 by default—to derive facts, preferences and session summaries that become "memories" searchable across subsequent sessions.
Each space can host up to ten extraction strategies, and the service consolidates new memories against existing ones to avoid contradictions. Retrieval is performed by querying the space for the top‑N memories and events, enabling the agent to prepend concise context to its prompt instead of the full transcript.
Benchmark results and token savings
AWS evaluated the end‑to‑end workflow with the LongMemEval‑S benchmark, which asks 500 questions about information spread across roughly 50 chat sessions for a single user. The managed‑memory configuration achieved 93.0 % answer accuracy while consuming about 13,500 input tokens per question. By contrast, feeding the entire conversation history used roughly 167,000 tokens and yielded 95.2 % accuracy, and a BM25 keyword search over raw turns used about 22,700 tokens for 88.6 % accuracy.
The reported figures come from a single run per configuration with a 95 % confidence interval of two to three points, meaning the 2.2‑point gap between managed memory and full history falls within statistical noise. The token reduction—about one‑twelfth of the full‑history cost—represents a substantial price and latency advantage for long‑running assistants.
Retention, security and regional coverage
Retention policies are configurable per space: events may be kept from 1 to 365 days, while memories can persist from a single day to indefinitely. Data is encrypted at rest with AWS KMS, and customers may provide their own customer‑managed key at space creation. All API activity is logged to CloudTrail for auditability.

OpenSearch Memory is launched in US East (N. Virginia), US West (Oregon), Europe (Frankfurt) and Asia Pacific (Tokyo). The European region satisfies many compliance regimes, though the service does not currently support a France‑only data residency requirement.
Access control uses the custom IAM condition key osm:actorId, which ties each request to a named end‑user (the "actor"). This key lets operators restrict an agent’s actions to the actors it is authorized to serve, providing logical isolation between tenants.
Implications for developers building AI agents
For teams that already operate private AI assistants, OpenSearch Memory shifts the persistence and retrieval plumbing from custom code into a fully managed API. The immediate benefit is reduced prompt size: developers can replace a multi‑kilobyte transcript with a handful of curated memories, cutting inference costs and avoiding context‑window limits. However, the benchmark shows a modest accuracy drop compared with feeding the entire conversation, so use cases that depend on exact phrasing from earlier turns may still need full history or a hybrid approach. Retention settings become a new operational responsibility. Choosing a 90‑day event window and a never‑expire memory policy, for example, mirrors typical support‑ticket lifecycles but may conflict with data‑privacy regulations that require shorter purge periods. The actor‑based isolation model requires careful mapping of internal user IDs to the osm:actorId field; misalignment could lock data behind an incorrect policy, making it inaccessible or, worse, retained beyond intended limits. Cost modeling should factor both the per‑token savings and the service’s pricing, which bundles extraction and embedding costs with storage. Since the extraction model is configurable per space, switching from the default Claude Haiku 5.5 to another Bedrock model will re‑derive memories from the existing event log, potentially altering retrieval quality without changing application code. In short, OpenSearch Memory offers a scalable, secure way to give agents long‑term contextual awareness while keeping token budgets in check. Teams must still decide what information merits persistence, enforce appropriate retention, and verify that the slight accuracy trade‑off aligns with their user‑experience goals.
Cover: NOIRLab/NSF/AURA/T. Slovinský · CC BY 4.0 · Wikimedia Commons. Layout and headline text by Signal Titans.
Source: Amazon OpenSearch Memory Stores What an Agent Learned and Hands It Back · OpenSearch Memory: managed agent memory on AWS

Leave a Reply