OpenSearch Gives Agents Memory. Build the Correction Path First.
Share article

Remembering the wrong thing for longer is not progress. An assistant that recalls a customer’s old address can feel more capable than one that asks again, right up to the moment it uses that address after the customer has moved.
On November 18, 2026, AWS announced general availability of Amazon OpenSearch Memory. AWS describes a serverless capability that stores agent interactions, derives memories and retrieves context across sessions. The announcement also describes original events and derived memories as separate layers, with access scoping and expiration controls. These are vendor-described capabilities; this article does not report an independent reliability test. AWS’s launch announcement
The useful engineering question is what should happen when a remembered statement becomes wrong, irrelevant or inappropriate to reuse. Persistent memory turns that question from a prompt-writing detail into an application responsibility. The design needs a correction path as clear as the write path.
Decide which kind of memory you are storing
A preference, an observation and an instruction should not all become the same undifferentiated text fragment. A user’s preference for short answers can reasonably influence presentation. A supplier’s statement about an invoice is evidence to evaluate. A sentence inside an uploaded document is not automatically an instruction from the person using the application.
Define categories before collecting large amounts of memory. For each category, identify who can create it, who can amend it, which tasks may use it and how long it should remain relevant. A compact schema can be more useful than a very elaborate summary if it makes those boundaries explicit.
In a fictional customer-support assistant, a delivery preference might apply to future support conversations, while an exception approved for one order should remain attached to that order. If both are stored as general facts about the customer, a local exception can quietly become a permanent rule. The error begins in the data model, before the model has generated a single answer.
Preserve the link to the original statement
A derived memory should lead back to the evidence that produced it. Record the source event, the time it was observed, the subject it concerns and whether it was stated directly or inferred. These fields give a reviewer a way to understand why a remembered claim exists.
The exact implementation can vary. The important requirement is that a concise memory does not become an untraceable authority. If a summary says a customer prefers a particular payment method, someone should be able to establish whether the customer said that, an employee inferred it, or an old workflow supplied a default.
This is especially important when several summaries compress the same source over time. Repeated paraphrasing can remove conditions. A preference limited to a single project may gradually look universal. Keep the original scope alongside the summary, and make retrieval return enough provenance for the application to assess it. The broader issue of evidence accompanying an accounting answer is closely related: usefulness depends partly on whether a person can inspect the basis.
Give corrections an explicit destination
A conversational correction should not merely append a new sentence and hope retrieval selects it next time. Decide what the correction changes. Does it supersede an earlier preference, amend one attribute, dispute a claim, or create a temporary exception? These are different operations with different consequences.
Consider a fictional account that previously requested weekly summaries. The account owner now requests monthly summaries. A sensible design marks the weekly preference as superseded, records the new preference and keeps a history where appropriate. It should not leave two apparently current preferences competing in semantic search.
Provide a visible acknowledgement of the correction in ordinary language. The user should understand what changed and the scope of the change. If the system cannot confidently identify the memory being corrected, it should ask a targeted question rather than silently modifying a broader record. The goal is controlled amendment, not a conversation that merely sounds agreeable while the stored state remains ambiguous.
Separate expiry from factual correction
An old memory is not always false, and a recent memory is not always correct. Expiration addresses how long a record remains available under a chosen policy. Correction addresses whether the record accurately represents the relevant fact or instruction. Neither mechanism fully replaces the other.
A temporary delivery instruction may expire even though it was accurate when given. An address typed incorrectly might require immediate correction, even if it was stored seconds ago. A durable preference might remain useful for a long time but still require confirmation before a consequential action.
Design a small decision matrix in prose: reuse low-consequence preferences when their scope matches; revalidate consequential facts at the point of use; expire temporary context according to its purpose; mark contradicted records as disputed or superseded. These are proposed application rules, not claims about automatic behaviour in OpenSearch Memory. The application team must decide what each category permits and test that decision through its own retrieval and action layers.
Test memory with changes, not just repetition
A basic demonstration asks the same question twice and celebrates that the assistant remembers. A stronger evaluation changes something between the two questions. Replace a preference, revoke access to an account, correct an entity name or introduce two similar customers. Then inspect which information comes back and how it is used.
For an illustrative test pack, imagine 24 cases divided equally among unchanged preferences, corrected facts, expired temporary instructions and cross-account isolation checks. The chart shows the composition of that fictional pack. It contains no measured pass rate, customer data or vendor benchmark.
Each case needs an expected outcome in plain language. An isolation case should specify which account’s memory must be unavailable. A correction case should name the old record and the new one. Inspect retrieved evidence as well as the final answer: an answer can look harmless even when the system fetched information it should not have used. Tests should establish the boundary, not just whether the output reads fluently.
Treat forgetting as a workflow
Users need a practical way to remove information from future use. That can involve original events, derived memories, cached context and application-side copies. An interface that removes one visible item without addressing the other representations may create a misleading impression of completion.
Map the representations before promising deletion behaviour. Identify the components the application controls, the operations each supports and how completion is verified. Distinguish stopping retrieval from removing stored material. If backups or other retained records exist, describe them accurately in the relevant product documentation rather than hiding that complexity behind a cheerful confirmation.
This is engineering guidance, not a statement of legal retention requirements or a claim that any particular service fails to delete data. The implementation should follow the organisation’s applicable requirements. For the developer, the practical task is to make the requested state change observable and avoid reintroducing removed information from another source on the next ingestion cycle.
Keep remembered context below current authority
Memory is context. It should not grant permissions or override the present user’s scope. A remembered instruction to send reports to a colleague does not establish that the colleague is still authorised to receive today’s report. A remembered approval does not automatically apply to a new transaction.
At action time, consult the current system of record and current permissions. Memory may help formulate a useful question or suggest a likely preference, but the application should validate the facts needed for the action. This keeps a convenient conversational feature from becoming an alternative access-control system.
I’m building Arova, and accounting provides a clear reason for this boundary: a helpful recollection about a bill is not the same thing as an approved entry in the books. That is a design connection, not a claim that Arova uses OpenSearch Memory. The article on multi-entity accounting explains why context also needs to remain attached to the right entity.
Make the memory record explainable to a person
A support operator investigating a wrong answer needs more than a vector similarity score. Give them a concise view of what was remembered, where it came from, when it was last confirmed and what superseded it. Show which record was retrieved for the disputed answer. This turns a vague complaint into a problem someone can investigate.
Keep the interface proportionate. Users should not have to become database administrators to correct a preference. A simple view of relevant remembered facts, with clear amendment and removal actions, may be enough for many workflows. More consequential applications may need additional review and history, but the principle is the same: people should be able to understand and change the state that influences the assistant.
The November 18 launch makes managed memory infrastructure a timely subject. The enduring design problem belongs to the application. Better recall should mean retaining the right context with the right scope, not giving every old sentence an indefinite second life. Build the correction, expiry, isolation and forgetting paths alongside retrieval, and test them before declaring that your agent now remembers.