To remove information from an AI agent, delete or rebuild both the source record and the copies derived from it. Clearing a conversation can leave a summary, retrieval index or pending job able to bring the fact into a later task.
Use the storage inventory below to identify which layers your application uses and how each removal can be verified. Editing stored context does not establish that information has been removed from a trained model.
- 01Start with the copies.Map source records, derived representations and operational storage before choosing a deletion action.
- 02Suppression and erasure differ.Blocking retrieval reduces exposure but does not establish physical deletion.
- 03Test reintroduction.A queued job or restored backup can bring back information that disappeared from the live application.
- 04Report the layer you verified.A completion report names the layers checked and keeps unknown layers unknown, instead of a single success flag the architecture cannot support.
01 — ReferenceSixteen places to inspect
Use the locations as an inventory template. Mark each present, absent or unknown for your system, assign an owner and record how completion will be verified. The action column is proposed engineering practice, not a statement about any vendor’s default behavior.
| Layer | Possible copy | Action to verify |
|---|---|---|
| Active context | Current model input | Rebuild the next turn without the item; stop older work that can reuse it. |
| Conversation | Saved messages | Remove the scoped record and check attached tool results. |
| Summary | Compacted history | Regenerate the summary from the permitted history. |
| Notes | Persistent agent notes | Delete or amend facts in the note store. |
| Retrieval | Original documents | Remove the source from the authorized collection. |
| Retrieval | Parsed text chunks | Delete descendants identified by source ID. |
| Retrieval | Vector entries | Remove matching vectors and any payload text. |
| Retrieval | Keyword index | Remove searchable text and stored highlights. |
| Application | Answer cache | Invalidate cached answers derived from the item. |
| Application | Generated artifacts | Find reports, files and exports containing the fact. |
| Application | Worker checkpoints | Invalidate resumable state that carries old context. |
| Application | Pending jobs | Cancel or rebuild queued jobs with copied inputs. |
| Operations | Logs and traces | Apply the retention and access policy to captured payloads. |
| Operations | Replicas | Confirm the change has reached serving copies. |
| Operations | Backups | Track expiry and prevent restoration from reintroducing the record. |
| Operations | External processors | Obtain the provider-specific deletion or retention status. |
02 — DefinitionDefine what forget means in your product
There are several defensible product promises. A preference can stop influencing new conversations. A document can stop appearing in search. A record can be removed from serving storage. A retained backup can become unavailable to routine application use while it awaits expiry. These outcomes have different tests; a single success flag obscures the distinction.
Anthropic’s context-engineering discussion distinguishes active context from persistent notes and compaction. Its context-management cookbook illustrates persistent external memory alongside changes to the conversation context. The architectural implication is that an application may have more than one place to update. Neither document establishes deletion guarantees for your deployment.
03 — LineageKeep source IDs on derived records
A useful deletion design begins when data enters the system. Assign the source an identifier and keep that identifier on chunks, summaries and exported artifacts. If a summary combines several records, store its dependencies. Otherwise you may know the source was removed but have no reliable way to find its paraphrases.
AWS’s AgentCore event-deletion guide (read September 9, 2026) makes the dependency concrete: deleting an event leaves the structured information derived from it in long-term memory. AWS points to a separate memory-record deletion operation. In your removal record, track the source event and its derived memory separately; an event-deletion response does not establish that both are gone.
Where a derived record mixes permitted and removed material, regeneration can be more useful than deleting the whole artifact. Rebuild it from the remaining sources, then verify that the removed fact is not carried forward. Treat a failure to rebuild as a visible exception, not as proof that the previous version is acceptable.
04 — StorageDatabase deletion is not the whole lifecycle
PostgreSQL’s VACUUM documentation explains that deleted row versions are not immediately physically removed in normal operation. Reclaiming database space is also not a certificate of secure erasure across disks, replicas or backups. This is a reason to distinguish logical removal from storage lifecycle management, not a recommendation to run a maintenance command as a universal deletion remedy.
The SQL dump documentation describes a separately stored representation that can recreate a database. Our design recommendation follows from that: a restoration procedure should reapply later removals before restored data serves agent requests. Keep a minimal record of removed identifiers without retaining the sensitive content you intended to eliminate.
External services require a separate answer. Record the applicable retention commitment and its scope. An application cannot establish a processor’s physical deletion merely because its own API request succeeded. If the status is unknown, keep it unknown in the completion report.
05 — VerificationTest both fresh work and resumed work
Use a synthetic fact that is distinctive and non-sensitive. Place it through the same ingestion path as real data, allow the agent to summarize it, and then request removal. Test a fresh conversation, an existing conversation, a pending job and a controlled restore in an isolated environment. Those paths exercise different copies.
Check exact retrieval and paraphrased retrieval. A search that returns no exact string can still return a summary of the fact. Conversely, a model repeating common public knowledge is not evidence that your private record survived. Design the synthetic case so the provenance is interpretable.
The architectural options are covered in our agent memory architecture comparison. Pair the inventory with data-access controls and checkpoint and recovery design so resumed work respects the same removal decision.
This reference separates source-backed definitions from Digital Applied’s proposed checks.
- What was collected
- 16 possible storage locations in 4 groups. The complete selected classification appears above; it is not a census of every implementation.
- As-of date
- September 7, 2026. The article is dated September 4; collection and review happened on September 7.
- Method
- Trace an input through context, retrieval, application artifacts and operations. Each row names a distinct place an implementation may retain information; presence must be verified locally.
- Sources and units
- Anthropic documents context and external memory; PostgreSQL documents row lifecycle and dumps; AWS documents the event/derived-memory boundary. The storage inventory and checks are editorial analysis.
- Exclusions and gaps
- No provider deletion audit, contractual comparison, legal assessment, secure-erasure test or model-unlearning claim. Unknown means the storage owner or behavior has not been verified.
- Refresh
- Review when the source standards or architecture change.
06 — The failuresFour deletions that left a copy behind
The inventory has sixteen rows because a deletion that reaches one layer can be reported as if it reached all of them. The illustrative deletions below each stop one layer short. They are patterns the rows describe, not audits of any vendor or deployment.
The cleared chat
A user clears a conversation and the product says the information is gone. The compaction summary that was built from it still carries the fact, and the next task retrieves it from the summary rather than the messages.
The deleted event
An event is deleted and the deletion response is taken as completion. As AWS’s AgentCore guide describes, the structured information derived from the event remains in long-term memory until a separate memory-record deletion runs.
The vacuumed table
A maintenance command reclaims space and the team records secure erasure. PostgreSQL’s documentation says deleted row versions are not immediately removed in normal operation, and reclaiming space says nothing about replicas or backups.
The restored backup
A database is restored from a dump after an outage. The restoration procedure reapplied no later removals, and records deleted the previous week serve agent requests again the next morning.
Each deletion was real at its own layer and reported for every layer. The record in the next section is written per layer, so the report can match the architecture.
07 — The recordA removal record per request
The inventory asks for each location to be marked present, absent or unknown with an owner and a verification method, and a removal record applies that to one request. The source identifier and the derived records found through its lineage: chunks, summaries, exported artifacts and the dependencies of any summary that combined several sources. The layer-by-layer status for the rows the system uses: the action taken, the owner, how completion was verified and whether the layer is now absent or still unknown. The external processors involved, with the retention commitment and its scope recorded, and the status left unknown where the processor’s deletion cannot be established from an API response. The restore procedure’s note that later removals are reapplied before restored data serves requests. The reintroduction tests run with a synthetic fact: a fresh conversation, an existing conversation, a pending job and a controlled restore, each checked for exact and paraphrased retrieval. And the completion report, worded to the layers verified.
An illustrative record for a removed customer note reads: source, the note by identifier, with one summary and three retrieval chunks found through lineage; layers, messages removed and verified, chunks removed and verified, summary regenerated from the remaining sources and checked for the fact, operational logs present with the owner named and a retention date rather than deletion; external, the retrieval processor’s retention commitment recorded, physical deletion unknown; restore, the removal list updated so a restore reapplies it; tests, the synthetic fact absent in fresh and existing conversations and in a pending job, and absent after a controlled restore; report, removed from serving and derived storage, retained in operational logs until the stated date, processor deletion unverified.
The record is also where the product promise from the definition section is checked against reality. A promise written as the record’s report line can be kept; a promise written as a single word cannot be verified against sixteen layers.
A layer whose owner or behaviour has not been verified is reported as unknown, not folded into success. An API response that succeeded establishes the layer it addressed and nothing beyond it, and the completion report says so in as many words.
08 — DecisionWhat to do next
Take the next removal request and write its record from the inventory, layer by layer, before anyone replies that the information is gone. The layers that come back unknown are the product’s real promise, and the wording of the report should match them.
Make the promise match the layer you can verify.
Inventory the copies before changing the product’s wording. Build removal around source dependencies and test the paths that can reintroduce information. A precise completion report is more useful than a broad claim the architecture cannot support.
For implementation support, explore our AI transformation services.