Contents
  1. Purpose and foundations
    1. Memory across interactions
    2. Episodes and reusable claims
    3. Origins and turning points
  2. Forming accountable records
    1. Identity, scope, and provenance
    2. Choose what deserves retention
    3. Accept meaning, not just structure
  3. Organizing and recalling memory
    1. Consolidate without manufacturing support
    2. Records and searchable views
    3. Recall what applies now
  4. Use and change
    1. Personalize without granting authority
    2. Correct, supersede, or qualify
    3. Expire and forget without reappearance
  5. Evidence of useful memory
    1. Test the memory responsibilities
    2. Measure whether remembering helps
  6. Check understanding
  7. Open questions
  8. Selected talks
  9. References
  10. Talk library
← All topics

Agent Memory: How Agents Carry Experience Into Future Decisions

Agent memory carries useful information from one interaction into another. An agent might retain a preference, a project decision, an earlier attempt or a lesson that helps with future work. Remembering well means deciding what deserves retention, retrieving it when it applies and revising it when circumstances change. This chapter follows that lifecycle, including the difference between storing a record and turning experience into reliable guidance.

Purpose and foundations

Memory across interactions

An agent is software that chooses actions using observations; Agent Engineering develops that decision loop. Agent memory is application-retained information made available to later interactions. A saved decision can spare someone another explanation. A retained investigation can reveal an approach already tried. Neither benefit follows from persistence alone: the system must recover the relevant information and interpret it appropriately.

Saving information does not make it visible to the model. Model context is the input supplied to one model call. To use a saved preference or prior decision, the application must retrieve it and include it in that input; the full store may be much larger than any one call can accept. State beyond the prompt explains this separation. Persistence also needs the right scope. A checkpoint saves execution state so interrupted work can resume, but does not by itself make that experience available to a new task. In the implementation described in How We Solved Context Management in Agents, stored material was recoverable within a session but unavailable to new chats. Agent Runtimes and Harness Engineering covers execution recovery; memory design determines what later interactions can reuse.

External memory changes what information a model receives, not its parameters—the numerical values learned during training. Updating those values over time belongs to Continual Learning. Memory records also differ from a key-value cache, which reuses intermediate numerical representations during model execution. This chapter concerns the retained information itself: what is worth keeping, how to recover it, and when to revise or remove it because its meaning or permitted use has changed. More storage expands that responsibility as well as the available history.

Episodes and reusable claims

Episodic memory records particular experiences with their circumstances. Semantic memory represents reusable knowledge or claims separately from one occurrence. The Cognitive Architectures for Language Agents (CoALA) framework uses this distinction to separate interaction histories from knowledge about the world or the agent. These borrowed cognitive terms describe software records, not evidence of human-like cognition. Semantic memory is also distinct from semantic search: one describes what is stored, the other a way of finding material by meaning.

These representations can coexist because they preserve different information.
RepresentationMain useMeaning that needs preservation
Conversation transcriptRecover what was said and in what orderSpeaker, surrounding exchange, tentative alternatives
Structured episodeRecover a particular attempt or decisionTask, circumstances, action, observed outcome
Reusable claimApply a fact, rule, or preference laterScope, source, qualifications, stated or inferred status

An episode recording a request for bullet points on one report does not, by itself, justify a standing preference for bullet points everywhere. A reusable claim needs its own support and scope. It might be an explicit preference, a sourced fact, or a labeled inference; its storage category does not certify its truth. Operational experience follows the same distinction. A previously reviewed case can guide a similar case before anyone has articulated a general rule. A later expert explanation may supply that rule while the original episode remains useful for understanding exceptions. Why Your Agent Disagrees With Itself develops this complementary use of cases and domain knowledge.

Origins and turning points

Retaining experience predates language-model assistants. Earlier systems already faced distinct problems: representing an individual rather than an average user, finding a relevant event in a growing history, and revising a solution before reusing it. Language models added flexible interpretation and generation of memory records, but did not remove those older responsibilities.

YearContributionProblem it made explicit
1972Tulving’s episodic–semantic distinctionEndel Tulving distinguished personal events and their temporal-spatial relationships from organized knowledge. His later account acknowledges antecedents and evolving definitions.
1979GRUNDY — persistent user modelsElaine Rich’s book-recommendation system separated general knowledge, persistent individual information, and dialogue-specific information.
1983CYRUS — reconstructive retrievalJanet Kolodner’s published model organized events and used contextual categories, time, and earlier question context to retrieve relevant experience. This is the paper’s date, not an established invention date.
1994Case-based reasoning — revision before retentionAgnar Aamodt and Enric Plaza’s framework connected retrieving a case, reusing it, testing and revising a solution, and retaining useful experience.
2023Generative Agents — observations and reflectionsJoon Sung Park and colleagues’ simulation architecture made observations retrievable and stored higher-level reflections as additional memories.
2023MemGPT — controlled external-memory accessCharles Packer and colleagues’ system used model-directed functions to manage bounded working context and retrieve external records. Storage extended recoverable information, not the model’s physical context window.

These contributions describe complementary choices, not a replacement sequence. Explicit profiles remain useful when known preferences should be available predictably. Episodes preserve details that a generalized claim may omit. Model-generated reflections can make experience easier to reuse while introducing another interpretation to check. A contemporary system can combine all three without reproducing any historical architecture wholesale.

Forming accountable records

Identity, scope, and provenance

A remembered sentence needs enough surrounding information to remain interpretable after its original conversation disappears. Provenance records its origin and derivation: which source supplied it, what transformation produced it, and who or what was responsible. W3C PROV represents these relationships using entities, activities, and responsible agents. Such records support inspection; they do not prove that a source is truthful or an inference correct. Origins and dependencies develops the broader lineage contract.

Attribution also requires several identities. Consider an example in which Mira tells a project assistant that Leon prefers email for project updates. Mira is the speaker; Leon is the described subject; the assistant is the recording actor. The workspace may own the record, while only selected members may read it. Nothing in the sentence establishes those ownership or access decisions. Collapsing these roles can turn a third-party report into a preference attributed to the account holder. Distinguishing people and actors explains the identity boundary.

The following is a practical record contract, not a required database schema. Fields can be stored together or linked, provided their distinctions survive.
Record propertyPurpose
Stable record ID and revisionIdentify the claim and the particular version read or changed.
Content and claim statusPreserve the assertion, including whether it was stated, observed, or inferred.
Speaker, subject, and recorderSeparate reporting, being described, and creating the record.
Scope, owner, and access policyDescribe where the claim applies and who may use it.
Source and derivation referencesRecover support, qualifications, and transformation history.
Relevant times and lifecycle statusDistinguish historical applicability, recording, supersession, expiry, and restriction.

Use stable identities rather than display names where the system has them. For authenticated accounts, OpenID Connect specifies issuer plus subject as the stable identifying combination; email addresses and usernames do not offer the same guarantee. That identifies an account, not every person mentioned in its conversations, and grants no memory access by itself. Likewise, a namespace organizes records but needs an authorization mechanism. Keep uncertainty explicit: “Mira reports Leon’s project preference” preserves information that an unexplained confidence value would erase.

Choose what deserves retention

Memory formation is the selection and conversion of observations into retained records. Its first decision is whether to retain anything. Start from a plausible later use, then consider stability, scope, sensitivity, verification effort, and the consequences of remembering incorrectly. An explicit request to remember supplies intent; automatic extraction proposes useful content; an inferred preference adds an interpretation. None should silently establish unrestricted reuse. A small qualitative study, Users’ Expectations and Practices with Agent Memory, found task-specific expectations, including keeping unrelated personal information out of other projects.

A retention policy specifies purpose, duration, review, access, and disposition—the action taken when retention ends. Useful lifetime and permitted retention duration are different constraints. A fact may become obsolete before its record must be deleted; a still-useful record may no longer be permitted. Set artifact lifetimes supplies the governing framework. NARA’s disposition guidance illustrates precise clock-start events such as project completion, replacement, or cancellation, rather than an indefinite instruction to keep something until no longer needed. It does not prescribe durations for agent applications.

For an application whose purpose is project assistance, these are possible retention decisions—not universal classifications.
InformationSmallest useful representationReuse or end condition
Explicit project preferenceNarrow claim with the original instructionUse within the project; revise when the user changes it.
Failed technical approachEpisode with attempted change, result, and relevant versionsConsult for similar work; recheck assumptions against current code.
Rapidly changing operational stateSource reference, with a dated snapshot only if neededRead the authoritative source for a current-state decision.
Incidental sensitive detail unrelated to the purposeNo long-term memory recordExclude from memory formation under the application policy.

Admission instructions make these choices operational but are not enforcement on their own. Mem0’s custom extraction instructions distinguish personal preferences from operational lessons and recommend inspecting extracted records on actual conversations. A prompt asking a model not to save sensitive content still requires checks at the storage boundary. For episodic reuse, Polygraph’s documented debrief workflow connects sessions to code artifacts and explicitly rechecks old assumptions. Retain enough to support that rechecking, rather than treating a past conclusion as permanently applicable.

Accept meaning, not just structure

Once retention has a purpose, extraction must preserve what the source actually says. The write path should identify a candidate, resolve its subject and scope, preserve qualifications, apply retention rules, and compare existing records before accepting a change. Acceptance may instead reject the proposal or request clarification. This is an application contract: a model can propose a record, but schema validity checks its shape rather than its truth. Similarly, an agent’s statement that an operation succeeded is not a substitute for the observed outcome.

The Mem0 team’s April 2025 paper makes candidate extraction and memory updating separate phases. New conversation material proposes facts; comparison with existing memories leads to add, update, delete, or no-change operations. Those model-selected operations still need semantic and permission checks. The older case-based reasoning framework likewise placed testing and revision before useful retention: storing an experience and accepting its solution are different decisions.

Small linguistic changes can create large memory errors. Preserve negation, conditions, temporary exceptions, and whether an event is planned or completed. In Lessons from Studying Every Memory System, discussion of Thailand and Turkey as alternative destinations was reportedly condensed into a profile claiming visits to both, although only the Thailand trip occurred. The defect was not simply old information: the stored assertion changed consideration into completion. A date field or a fluent summary would not repair that change of meaning.

Choose extraction methods according to the uncertainty that remains. Deterministic mappings fit explicit fields with known meanings. Model proposals can cover less structured language, but need source comparison. Targeted confirmation is useful when an unresolved interpretation would materially change future behavior. Formation during the request can make information available sooner while adding latency and competing with the task. Background formation separates that work and may inspect more accumulated context, but another interaction can arrive before it finishes. LangChain’s memory overview describes this latency–freshness tradeoff. A pending proposal should not be presented as an accepted memory.

Organizing and recalling memory

Consolidate without manufacturing support

Consolidation reorganizes or combines retained records into representations that are easier to reuse. Removing duplicate copies, merging compatible statements, and inferring a broader lesson are different transformations. The last produces a new claim. Unlike compaction, which reduces the current input, consolidation changes what later interactions may retrieve. It therefore needs to preserve dependencies and exceptions, not merely produce shorter prose.

A reflection is an interpretation of experience retained to guide later behavior. Generative Agents synthesized such interpretations from observations and made them retrievable. Reflexion, introduced by Noah Shinn and colleagues in 2023, organized the process around three roles: an actor attempted the task, an evaluator assessed the attempt, and a self-reflection component converted the feedback into stored guidance for the next attempt. These systems changed the information supplied to later model calls, not model parameters. The guidance remained an inference: a mistaken evaluation could produce a mistaken lesson, and repeatedly retrieving that lesson would not add independent support.

Preserve whether each source supports, contradicts, or qualifies a derived claim. Copies share an origin; they are not independent observations. For example, two successful export runs might support using a format by default, while a legacy reader’s compatibility requirement limits where that default applies. Copying one run’s report adds a record, not another successful run. Keep the derived default linked to both outcomes and the exception so a source change can trigger reconsideration. Links themselves also need interpretation: Zep’s episode associations can record extraction, reaffirmation, or invalidation. Counting all associations as support would erase those differences.

Copies do not add independent support

Example

A derived default has fewer independent origins than records, and its exception must survive consolidation.

Example export history: Run A and its copy share one origin; Run B adds a separate observation. The compatibility requirement limits the derived default. More records do not make the guidance universal.
Read the diagram as text
  • Run A: format accepted. A recorded export outcome.
  • Copy of Run A report. Same origin, another record.
  • Run B: format accepted. A separate recorded outcome.
  • Legacy reader needs another format. A compatibility requirement.
  • Default except for legacy readers. Derived guidance, linked to its origins.
  • Run A: format acceptedCopy of Run A report: copied into.
  • Run A: format acceptedDefault except for legacy readers: supports.
  • Copy of Run A reportDefault except for legacy readers: repeats existing support.
  • Run B: format acceptedDefault except for legacy readers: independently supports.
  • Legacy reader needs another formatDefault except for legacy readers: limits applicability.

Keep substantial consolidation reviewable. Anthropic’s Dreams documentation describes processing an existing memory store and session transcripts into a separate output store, leaving the input unchanged. The output identifier can exist before processing finishes, and failed or canceled work may leave partial results. Completion, review, and adoption are separate decisions. This gives developers a reversible maintenance workflow, not a guarantee that synthesized corrections are right. Supporting sources must also remain accessible only under their own access and retention rules.

Records and searchable views

Choose a retained representation by the questions it must answer and the unit that may need correction. A compact profile is convenient to supply wholesale, but combines many assertions in one update surface. Individually addressable claims allow narrower changes while requiring more retrieval and consolidation. Episodes preserve circumstances; source-linked text preserves detail that extraction may have discarded. These forms can coexist rather than compete for one universal memory format.

FormUseful retrievalCorrection unit
Compact profileA small set of recurring defaultsOne field or the profile, with assertion-level support retained separately
Individual claim recordsFacts filtered by subject, scope, and applicabilityAn identified claim and its dependent representations
Episodic logA prior attempt, decision, or sequenceAn attributed correction linked to the historical episode
Source-linked textExact wording and surrounding circumstancesA source revision and the records derived from it

An index is a derived structure for finding records. It need not be their authoritative home. Exact-key lookup or keyword search can provide useful memory without vector retrieval. An embedding is a learned numerical representation that can support similarity-based candidates; Embeddings and Representation Learning explains its limits. OpenClaw’s built-in engine documents memory files separately from a SQLite search index, with keyword retrieval available without embeddings. Rebuilds prepare a replacement index before publishing it, preserving the previous index if rebuilding fails.

A knowledge graph adds explicit entities and relationships when repeated identity-aware or connected queries justify the maintenance cost; Knowledge Graphs develops that choice. Whatever the representation, declare what a successful write promises. Accepted storage, completed extraction, and searchable visibility can be separate. Zep’s ingestion-status documentation explicitly separates processing from search readiness; a helper returning any result does not prove that the intended new record is retrievable. If the next interaction requires the new version, wait for record-specific visibility or use an authorized direct read. Do not silently rely on an older search view.

Recall what applies now

Recall selects retained information for the current interaction. Its starting point is the task, subject, time, and scope—not a similarity query alone. The retrieval unit might be a preference, a complete episode, or a source passage. Small scoped profiles can be supplied routinely when their contents are predictably relevant. On-demand recall avoids loading unrelated history but introduces a discovery decision and access latency. MemGPT’s model-directed searches illustrate that external persistence still requires bounded results to enter the working context.

Separate eligibility, which determines what may be used, from ranking, which chooses useful records among eligible candidates. Subject, current authorization, lifecycle status, and applicability are constraints, not small penalties a strong similarity score can overcome. Enforce them on every path before information reaches the model, including source expansion. Search filters also need their actual semantics checked: Mem0’s documented entity-scoped search constrains only explicitly supplied dimensions, so filtering by user alone can span applications or runs.

For example, retrieving a current project default should treat these candidates differently even if their wording is similar.
CandidateEligibility decisionRole in selection
Nearly identical preference for another personExclude from this person-specific useSimilarity cannot repair the subject mismatch.
Old project default explicitly supersededExclude as current guidanceMay be relevant only to an authorized historical inquiry.
Current scoped default with different wordingEligibleEvaluate usefulness for the task.
Eligible claim whose exception is unclearRetrieve supporting context before applyingThe compact record is insufficient by itself.

Use exact lookup for a known record or identity, temporal filtering for a dated question, and similarity search to discover candidates expressed differently. Recency and importance can complement relevance, as they did in Generative Agents, but do not establish truth. When a claim omits necessary circumstances, retrieve its episode or neighboring messages. An ActiveGraph experiment used matching log messages plus adjacent messages without first extracting facts, illustrating a simple baseline for preserving conversational context.

No matching eligible record, incomplete search, and unavailable storage are different results. A failed lookup cannot establish that nothing was remembered; degraded coverage explains that boundary. Return selected records with their identities, scope, relevant times, source links, and qualifications to the context assembler. The assembler decides how to supply them; memory is responsible for what they represent and whether they remain eligible.

Use and change

Personalize without granting authority

Personalization adapts behavior using information associated with a person or context. A stated standing preference supplies a default; a one-time request supplies a local instruction; an inferred tendency remains a hypothesis. Keeping these distinct lets memory reduce repetition without overriding the present task. GRUNDY already handled this distinction in 1979: dialogue-specific information could take precedence over a persistent individual model without erasing the general preference.

Hold one remembered record fixed: the user explicitly prefers concise bullet-point project updates.
Present taskAppropriate use of that memory
Prepare a project update with no format specifiedUse the scoped default.
Prepare this update as a detailed narrativeHonor the explicit exception; preserve the standing default.
Send the update to an external recipientThe formatting preference supplies no authorization to send.

When an uncertain preference would materially alter an outcome, expose the uncertainty or request confirmation. Repeated acceptance or silence does not validate an inference; incomplete feedback explains why. Make targeted correction possible by exposing the remembered claim, its scope, and its justification. Judy Kay and Robert Cook’s Justified User Model, presented in 1994, let users inspect supporting and opposing evidence and the rules behind inferences. User edits added explicit evidence instead of silently erasing the justification history. Modern interfaces still need to connect a visible correction to the actual stored record and future behavior; repairing the affected boundary develops that interaction.

Remembered permission is historical information, not current authorization. Apply current authority at the protected operation. Storage also does not make external text a trusted instruction. Memory poisoning contaminates retained records so later retrieval influences behavior. The 2024 AgentPoison paper studied attackers able to insert records into a retrieval store and use an embedder during attack construction; later queries could retrieve malicious demonstrations without any weight change. This is a persistent data-to-behavior risk under that threat model. AI Security explains why relevance labels and delimiters do not replace enforceable boundaries.

Correct, supersede, or qualify

New information can disagree with memory for different reasons. The old extraction may have been wrong, the world may have changed, or the new statement may concern another scope. Start by classifying the disagreement. Neither newest-wins nor highest-confidence-wins distinguishes these cases. A newer report may be less authoritative, and a confident interpretation may omit a condition. When sources remain in conflict, preserve their attribution instead of silently selecting one; Stop Babysitting Your Agents describes the practical problems caused by hiding conflicting code and organizational guidance.

DisagreementDispositionWhat remains distinguishable
Source was extracted incorrectlyCorrect the claimThe source statement versus the faulty interpretation
A fact genuinely changedSupersede its former current valueEarlier and later applicability
A request creates a temporary exceptionQualify scopeThe default and its bounded exception
Sources give incompatible reportsRetain attributed disagreementWho supports each claim and under what conditions
An inference lacks adequate supportSuspend use pending clarificationUnresolved interpretation versus accepted fact

Effective time, also called valid time, describes when a claim applies in the modeled world. Recorded time, or system time, describes when its version entered database history. Suppose a transfer from team Alpha to team Beta takes effect Monday 1 June 2026 and is recorded Wednesday 3 June. A current account of Monday can include the correction; reconstructing what the system knew on Tuesday cannot. XTDB’s temporal model supports these separate views. Neither clock proves the assertion true. Preserve historical versions only when their purpose and retention rules justify doing so.

One effective date, two knowledge cutoffs

Transfer: Alpha → Beta, effective Monday 1 June 2026; recorded Wednesday 3 June. Each date means 00:00 UTC.

Date asked about · effective time
Database knowledge cutoff · recorded time
Team AlphaMon 1 Jun, as known Tue 2 Jun. Original account.
Columns: effective date. Rows: knowledge cutoff.
Knowledge cutoff ↓Sun 31 MayMon 1 JunTue 2 Jun
Tue 2 JunTeam AlphaTeam AlphaTeam Alpha
Wed 3 JunTeam AlphaTeam BetaTeam Beta
Retained version history · all dates in 2026
Version / teamEffective intervalRecorded interval
Original account · Alpha(−∞, )[05-30, 06-03)
Corrected · old team · Alpha(−∞, 06-01)[06-03, )
Corrected · new team · Beta[06-01, )[06-03, )

Starts are included; ends are excluded. The original account is the database’s view from May 30 until June 3. Wednesday’s correction closes its recorded interval, retains that historical version, and adds two versions: Alpha before Monday, Beta from Monday onward. The transfer date stays fixed.

For Monday’s target, Tuesday’s recorded account returns Alpha and Wednesday’s corrected account returns Beta. Sunday remains Alpha. Temporal selection describes the retained account; it does not prove truth or permission to retain history.

A correction must reach dependent claims and retrieval surfaces. A profile summary or indexed passage can continue serving the old assertion after the authoritative record changes. Source links identify which derivatives need reconsideration. In Citation Needed, graph mutations preserve source links through entity merges and attach the evidence responsible for invalidating a fact. This records why the change happened rather than replacing one unexplained value with another. Consider record M corrected to revision 8: a workaround applies to “Release A only.” An authorized direct read returns that restriction, while ordinary recall still supplies a summary based on revision 7 saying “All releases.” The release-B task and model are unchanged; derivative refresh remains pending.

Accepting M revision 8 changes the authoritative record while an older summary remains available through ordinary recall. The summary names its source revision; this does not assign a universal revision scheme to indexes. Dashed work is pending, not completed propagation. Both paths are authorized in this logical example.

Protect the accepted correction from delayed writers. An extraction job may have read revision 7 before a user creates revision 8. Its later proposal should not overwrite revision 8 as though nothing changed. A version precondition requires the stored revision still to match the proposal’s basis; a mismatch triggers reconsideration. HTTP’s If-Match provides a concrete server-enforced form of this rule. Preserve state at acceptance explains the invariant. The check prevents a stale overwrite; it does not decide which factual claim is correct.

Expire and forget without reappearance

Information can stop influencing work in several ways. Lower ranking makes it less likely to be retrieved. Expired applicability makes it unsuitable as current guidance. Restriction excludes it from particular uses. Physical deletion removes a retained representation. These are not interchangeable: dropping text from a prompt does not delete its source, and recency decay does not implement retention.

Time to live, or TTL, is a storage expiry mechanism whose behavior depends on the implementation. LangGraph’s store interface documents adapter-dependent expiry, normally refreshed by access, with best-effort deletion. Frequently read content can therefore remain retained even when its facts are old. Use separate applicability checks and explicit retention end conditions. A project closing, a source being replaced, and a user requesting forgetting can require different changes even when no TTL has elapsed.

Forgetting must follow derivation links. Zep’s deletion documentation preserves shared artifacts with remaining episode associations, but warns that shared names and summaries are not regenerated and can retain information from a deleted episode. Support-based deletion therefore does not establish complete semantic removal. OpenClaw’s tracked-origin cleanup takes a different approach: it removes an affected merged entry and checks forgotten-origin status before publishing later derivatives. Its contract excludes original transcripts, untracked paraphrases, exports, external backups, and other plugins.

The general requirement is to record exclusion before cleanup and keep it effective through delayed processing and restoration. A tombstone is a retained marker that a record or origin must no longer be republished. Deleting today’s index entry is insufficient if yesterday’s pending job can recreate it tomorrow. Before publishing, the resumed writer checks the current exclusion registry; an excluded origin causes publication to be rejected. Propagation of correction and deletion covers coordinating these controls and verifying each affected surface.

A delayed writer must check current exclusion

Exclusion precedes cleanup and blocks a delayed writerRead downward. The writer reads origin S, then S is persistently excluded and tracked M and I are cleaned. The writer resumes and submits old work. The publication boundary checks current exclusion and rejects publication. No replacement derivative reaches the tracked store.PendingwriterExclusionregistryTracked memoryand indexPublicationboundary1 · Read origin SRetain earlier input2 · Persist exclusionS may not publish3 · Clean M and IRemoved artifactsIDs only remain here4 · Resume writerOld input from SSubmit proposal with origin S5 · Read current exclusionCurrent state: S excluded6 · Reject publicationNo derivative recreatedOrder runs downward; spacing does not represent elapsed time.
A tracked-origin example: exclusion persists before cleanup. The publication boundary reads that current state and rejects the delayed proposal. M and I identify removed derivatives; original transcripts, backups and untracked copies are separate.

Retained source material can also regenerate memory through ordinary processing. OpenAI’s Memory FAQ states that disabling memory and deleting memories do not delete old chats; re-enabling memory can create memories from retained chats. Its current memory summary is not an exhaustive inventory. These controls should not be confused with the separately documented legacy saved-memory store. Report completion narrowly: exclusion from future use, cleanup of tracked derivatives, and removal of source material are separate claims. Any retained exception needs an owner and permitted purpose. External-record deletion cannot retract delivered outputs or undo parameter training; learned influence requires separate treatment.

Evidence of useful memory

Test the memory responsibilities

A memory evaluation case specifies earlier interactions, what may be retained, intervening changes, a later task, and expected behavior. The later input must not already reveal the information whose retention is being tested. Include correct memories, wrong subjects, unrelated projects, stale claims, explicit corrections, and requests not to retain information. Use isolated stores or controlled snapshots so one case cannot teach another its answer. Preserve chronological cutoffs: a later correction must not enter a replay of what was known earlier.

LoCoMo, introduced in the 2024 conversational-memory study, links answer evidence to conversation turns and includes temporal and unanswerable cases. LongMemEval, introduced in 2024, evaluates extraction, cross-session reasoning, temporal reasoning, updates, and abstention—declining to supply an unsupported answer. Its indexing, retrieval, and reading decomposition makes failure localization explicit. Both use constructed histories and bounded assessment protocols; neither a high score nor correct answers verify storage deletion or access isolation.

Newer protocols expose additional responsibilities. The April 2026 Memora preprint specifies both facts responses must include and obsolete facts they must exclude. The August 2026 AuthMem-Bench preprint holds a claim and later task fixed while changing whether its source had the relevant authority, testing whether consolidation improperly promotes reports into decisions. These are useful test designs, not universal permission policies or proofs of physical erasure.

Inspect the boundary that could explain the failure before changing the whole memory system.
ResponsibilityObservable evidenceFocused test
FormationAccepted record against its sourceCheck attribution, negation, scope, and appropriate non-retention.
RetrievalEligible expected records versus delivered identitiesHold the stored snapshot and later task fixed.
UseDelivered record versus answer or actionSupply the correct memory directly without changing the task.
Correction propagationAccepted revision versus searched revisionCorrect the record, then inspect ordinary recall and direct retrieval.
ForgettingExclusion state, active derivatives, and publication resultsPause a writer, forget its origin, then resume it and check rejection.

Oracle-memory injection supplies the known relevant record directly as an experimental condition; it is not a deployable retrieval policy. If injection repairs an answer, investigate the ordinary formation and delivery path. If it does not, the model may be misusing the information, or the task may require something else. Memory Harnesses for Long-Running Research Agents compared recall policies with a fixed model and reported failures even when correct memory was supplied. Capture record versions, selection decisions, delivered context, and observed behavior through privacy-controlled boundary records, rather than attributing every wrong answer to retrieval.

Measure whether remembering helps

Correct memory behavior is necessary but not sufficient for useful memory. A baseline is a credible alternative for the same work: no cross-interaction memory, a small explicit profile, recent-history access, or a richer retrieval system. A paired comparison evaluates alternatives on matched tasks. Hold the model, task, and relevant settings fixed when isolating a memory component. If a whole-system comparison changes models, budgets, or tools, report those changes instead of assigning the entire difference to memory.

One operational measure is the difference between a system’s stateful and stateless task performance: retain information across earlier instances in one condition and reset it in the other. This separates some benefit of prior experience from initial model strength. Beyond Static Intelligence argues for keeping this gain alongside absolute performance and cost. A weak system can improve substantially and remain inadequate; a strong one can perform well without benefiting much from memory.

The January 2026 MultiSessionCollab study compared retained preference memory with no memory across five simulated task groups. The effect depended on the model.
ModelTask success: no memory → memoryPreference-enforcement utterances per session
Llama-3.3-70B-Instruct41.78% → 46.38%2.98 → 1.96
Qwen-2.5-7B36.21% → 35.18%Not reported here

Those simulators withheld progress when preferences were violated; fewer preference reminders are not measured time savings. A separate 19-participant, three-session study using assigned preferences found improved preference-related ratings but weaker cross-domain transfer, with some participants preferring explicit restatement. Neither result establishes months-long productivity or includes a complete memory-maintenance cost comparison.

Measure the outcomes the application actually values: correct continuation, repeated clarification, repeated mistakes, and successful use of corrections. Keep harms separate—false personalization, stale assumptions, cross-person disclosure, and inappropriate cross-project reuse. Add user correction effort, write and read latency, consolidation compute, and ongoing maintenance. Include tasks on which memory should have no effect. This detects negative transfer, where retained information makes later work worse, rather than rewarding recall regardless of consequence.

In live comparisons, assign and isolate the relevant user or workspace history. Switching policies independently per request can let one condition inherit memories created by the other; live experiment design explains this interference. Account for missing feedback rather than treating silence as success. Adopt the smallest memory policy that improves the intended work while satisfying scope, correction, and forgetting requirements. Better continuation does not compensate for unauthorized reuse, and a larger archive is not evidence that the system has learned anything useful.

Open questions

  1. Reliable generalization remains difficult: episodes can support useful defaults without justifying universal rules. Progress would preserve scope and exceptions while showing better later-task performance, rather than simply producing more persuasive reflections.

  2. Selective forgetting becomes harder after multiple sources have been merged into one claim. Removing the whole derivative loses useful information; retaining it can preserve unwanted contributions. Progress would establish bounded, verifiable cleanup across derivations and delayed publication without claiming that source-link removal proves semantic erasure.

  3. Long-term net value remains uncertain when memory changes both agent behavior and user behavior. Matched field studies need to measure useful continuation, harmful carryover, correction effort, and operating cost over sustained use; recall accuracy and short-session preference ratings answer narrower questions.

Follow the curated reading path through the speakers and demonstrations behind this entry.

25 min

AI Engineer World's Fair 2026 · 2026

Claude for long-horizon tasks

Lance Martin

Cited in this entry

Shows why inaccurate in-task notes can repeatedly mislead an agent and motivates evaluating offline correction against later outcomes.

Watch talk

Explore more talks

The rest of the library, beyond the curated path. Cited talks support this entry; reviewed transcripts were processed in full. Metadata candidates have not been reviewed as sources or verified as topic members.

124 matching talks

TalkSpeakerEventYear
Richmond AlakeAI Engineer World's Fair 20252025
Stop Using RAG as Memory

Transcript reviewed

Daniel ChalefAI Engineer World's Fair 20252025
Shlok KhemaniAI Engineer World's Fair 20262026
Ilan BigioAI Engineer Summit 20252025
Kam LasaterAI Engineer Summit 20252025
Greg BensonAI Engineer World's Fair 20252025
Divakar KumarAI Engineer World's Fair 20262026
Michael Hunger, Stephen Chin, Jesús BarrasaAI Engineer World's Fair 20252025
Philipp KrennAI Engineer World's Fair 20252025
David KaramAI Engineer World's Fair 20252025
Stephen ChinAI Engineer Europe 20262026
Louis-François Bouchard, Omar Solano, Samridhi VaidAI Engineer World's Fair 20262026
Dex HorthyAI Engineer Code 20252025
Sally-Ann DeLuciaAI Engineer Europe 20262026
Eric AllamAI Engineer World's Fair 20252025
Vinoth GovindarajanAI Engineer World's Fair 20262026
Harshil AgrawalAI Engineer Europe 20262026
Lovina DmelloAI Engineer World's Fair 20262026
Nick HeinerAI Engineer World's Fair 20262026
Tengyu MaAI Engineer World's Fair 20252025
Soheil FeiziAI Engineer World's Fair 20262026
Parth AsawaAI Engineer World's Fair 20262026
Ishita DagaAI Engineer World's Fair 20262026
Paul Iusztin, Louis-François BouchardAI Engineer World's Fair 20262026
A Genius With Amnesia

Cited in this entry

Victor SavkinAI Engineer World's Fair 20262026
Dr. Sajjan KanukolanuAI Engineer World's Fair 20262026
Vinoo GaneshAI Engineer World's Fair 20262026
Building security around ML

Transcript reviewed

Dr. Andrew DavisAI Engineer World's Fair 20242024
Charles FryeAI Engineer Summit 20232023
Kuba RogutAI Engineer Europe 20262026
Kuba RogutAI Engineer Europe 20262026
Raj NavakotiAI Engineer Europe 20262026
Yohei NakajimaAI Engineer World's Fair 20262026
Christopher Lovejoy, Saul HowardAI Engineer World's Fair 20262026
Brandon WaselnukAI Engineer Europe 20262026
Sai Krishna RallabandiAI Engineer World's Fair 20262026
Shivam VermaAI Engineer World's Fair 20252025
Build a Prompt Learning Loop

Transcript reviewed

SallyAnn DeLucia, Fuad AliAI Engineer Code 20252025
Alberto RomeroAI Engineer Code 20252025
Šimon PodhajskýAI Engineer Europe 20262026
Ahmed MenshawyAI Engineer World's Fair 20242024
Garrett GalowAI Engineer Europe 20262026
Aparna Dhinkaran, Aparna DhinakaranAI Engineer Summit 20252025
Anton TroynikovAI Engineer Summit 20232023
Ofer MendelevitchAI Engineer Summit 20252025
Proactive Agents

Transcript reviewed

Kath KorevecAI Engineer Code 20252025
Samuel DentonAI Engineer World's Fair 20262026
Stephen ChinAI Engineer World's Fair 20262026
Yu SuAI Engineer World's Fair 20262026
Mark Bain, Vasilije Markovic, Daniel Chalef, Alex GilmoreAI Engineer World's Fair 20252025
Ronak MaldeAI Engineer World's Fair 20262026
Josh PurtellAI Engineer World's Fair 20252025
James LeAI Engineer World's Fair 20262026
Sara HookerAI Engineer World's Fair 20262026
Jack MorrisAI Engineer Code 20252025
Hubert MisztelaAI Engineer World's Fair 20252025
Stephen ChinAI Engineer World's Fair 20252025
Leonie MonigattiAI Engineer Europe 20262026
Agents Building Agents

Metadata candidate

Alfonso GrazianoAI Engineer World's Fair 20262026
Gabe De MesaAI Engineer World's Fair 20262026
Agents Need Feature Flags

Metadata candidate

Sachin GuptaAI Engineer World's Fair 20262026
Nick Nisi, Lizzie SiegleAI Engineer World's Fair 20252025
Anita KirkovskaAI Engineer Summit 20252025
Matt PocockAI Engineer Europe 20262026
Charles FryeAI Engineer Summit 20232023
AI SDK v6

Metadata candidate

Nico AlbaneseAI Engineer Europe 20262026
Michal CichraAI Engineer Europe 20262026
Paul Klein IVAI Engineer World's Fair 20262026
Build Systems, Not Code

Metadata candidate

Angie JonesAI Engineer World's Fair 20262026
Mahesh MuragAI Engineer Summit 20252025
Nishant GuptaAI Engineer World's Fair 20262026
Apoorva JoshiAI Engineer World's Fair 20252025
Michael FesterAI Engineer World's Fair 20252025
Building Self-Coding Agents

Metadata candidate

Colin FlahertyAI Engineer Summit 20252025
Liam McGarrigleAI Engineer Europe 20262026
Cat Wu, Thariq Shihipar, Simon WillisonAI Engineer World's Fair 20262026
Morgante PellAI Engineer World's Fair 20242024
Sunil PaiAI Engineer Europe 20262026
Stephen ChinAI Engineer Code 20252025
Andreas Kollegger, Zaid ZaimAI Engineer Europe 20262026
Val Bercovici, Callan FoxAI Engineer Code 20252025
Convex Launch

Metadata candidate

Jamie TurnerAI Engineer World's Fair 20242024
Develop at Idea Velocity

Metadata candidate

Jeffrey Lee-ChanAI Engineer World's Fair 20262026
Abi AryanAI Engineer Summit 20232023
Ara KhanAI Engineer Europe 20262026
Sam BhagwatAI Engineer World's Fair 20262026
Katelyn LesseAI Engineer Code 20252025
Sarah ChiengAI Engineer Europe 20262026
Joel HronAI Engineer World's Fair 20252025
Jason LiuAI Engineer World's Fair 20262026
Florina Muntenescu, Oli GaymondAI Engineer Europe 20262026
Phoebe KlettAI Engineer World's Fair 20242024
Jonathan LarsonAI Engineer World's Fair 20252025
Mithun HunsurAI Engineer Summit 20232023
Vasant KearneyAI Engineer World's Fair 20262026
Kyle Jaejun LeeAI Engineer World's Fair 20262026
Vivek TrivedyAI Engineer World's Fair 20262026
Mahmoud AbdelwahabAI Engineer Code 20252025
Chip HuyenAI Engineer Summit 20252025
Raymond FengAI Engineer World's Fair 20262026
Xiaofeng WangAI Engineer Summit 20252025
Rukma SenAI Engineer World's Fair 20242024
Matthias LoiblAI Engineer World's Fair 20252025
Cornelia DavisAI Engineer World's Fair 20262026
Minimax M2

Metadata candidate

Olive SongAI Engineer Code 20252025
Lech KalinowskiAI Engineer World's Fair 20262026
Recursive Coding Agents

Metadata candidate

Raymond WeitekampAI Engineer World's Fair 20262026
Max RyabininAI Engineer Europe 20262026
Mozhgan Kabiri ChimehAI Engineer Europe 20262026
Merve NoyanAI Engineer Europe 20262026
Sarah GuoAI Engineer World's Fair 20252025
Karan GoelAI Engineer World's Fair 20242024
Apoorva Joshi, Ben PerlmutterAI Engineer World's Fair 20242024
Jack CableAI Engineer World's Fair 20262026
Dylan PatelAI Engineer World's Fair 20252025
Cormac BrickAI Engineer Europe 20262026
Sonam PankajAI Engineer World's Fair 20262026
João MouraAI Engineer World's Fair 20242024
Rajkumar SakthivelAI Engineer World's Fair 20262026
What the Best Agents Share

Metadata candidate

Mardu SwanepoelAI Engineer Europe 20262026
Ahmad AwaisAI Engineer World's Fair 20252025
Zach BlumenfeldAI Engineer Europe 20262026
Eugene CheahAI Engineer Summit 20252025
Ben BurtenshawAI Engineer Europe 20262026

References

Coverage and source review
Processed transcripts
51 processed in full · 5 in the curated path
Automated source review
Passed
Metadata candidates
78 unreviewed; not verified topic membership
Corpus version
1bd8e407b26a07b33815594e1b2db5f41827119a2b3cb6fbf240f9fc571fc767

Automated review checks source support; it is not publication approval.

A synthesis of selected conference talks and technical references. Citations link to the source material; they do not imply that every talk on this subject is included.

  1. Stateful Agents — Full Workshop with Charles Packer of Letta and MemGPT

    A stateful agent loop needs an explicit mechanism to update information across calls; invoking the model repeatedly does not itself provide lasting learning.

  2. A Genius With Amnesia

    Repository isolation and missing episodic memory compound each other: humans must reconstruct both cross-repository intent and prior decisions at each handoff.

  3. Stateful Agents — Full Workshop with Charles Packer of Letta and MemGPT

    Treat context construction as a separate compilation step over a larger state store, rather than treating an ever-growing message list as the complete memory system.

  4. How We Solved Context Management in Agents — Sally-Ann DeLucia

    A session context store does not by itself provide continuity across new chats.

  5. Beyond Static Intelligence: Evaluating Continual Learning

    The speaker defines continual learning as sample-efficient online learning that remains stable over long horizons, requiring both retention and adaptation.

  6. Cognitive Architectures for Language Agents

    CoALA defines episodic memory as stored experiences from earlier decision cycles, including interaction histories and trajectories, and semantic memory as knowledge about the world and the agent. Its working memory is an application data structure that persists across model calls; each model input is assembled from a subset of it. Episodic and semantic stores can initially be empty or absent. The framework distinguishes retrieving existing records, reasoning over working information, and writing information to long-term storage.

  7. Why Your Agent Disagrees With Itself (And What To Do About It)

    Episodic memory lets an agent reference previously labeled similar cases without waiting for a human to distill their underlying reasoning.

  8. When Memory Becomes Authority: Benchmarking Authority Collapse at the Memory Consolidation Boundary

    AuthMem-Bench holds a claim and later task fixed while changing whether the claim came from an authorizing source. It tests whether consolidation turns reports into user facts, observations into intentions, or suggestions into decisions. The study distinguishes omitted claims, retained claims with preserved authority, and retained claims with unjustified authority. It separately measures memory writing, downstream tool-call behavior, and the complete pipeline. Its use-specific example distinguishes a calendar reporting availability from a user authorizing a booking.

  9. Why Your Agent Disagrees With Itself (And What To Do About It)

    Store explicit domain rules and customer preferences in semantic memory as a lighter-weight alternative to retraining.

  10. Why Your Agent Disagrees With Itself (And What To Do About It)

    Use episodic memory for recurring cases, then route unresolved disagreements or cases without references to humans who can create semantic knowledge.

  11. User Modeling via Stereotypes — Elaine Rich

    Elaine Rich’s 1979 paper describes GRUNDY, a book recommender that maintains individual user models instead of treating every reader alike. It separates general domain information, persistent individual information, and information specific to the current dialogue. Lookup favors dialogue-specific information over the persistent profile, allowing a temporary exception without permanently erasing a general preference. Individual profiles are saved between sessions. Profile assertions include ratings and justifications, distinguishing inferred characteristics from unquestioned facts. A 23-person evaluation found more favorable responses to model-selected recommendations than random recommendations, although the comparison also changed how books were described.

  12. Reconstructive Memory: A Computer Model

    Kolodner's 1983 paper addresses how a system finds relevant events in a large memory instead of assuming necessary information is already available. CYRUS organizes events concerning Cyrus Vance and Edmund Muskie and answers English questions using contextual categories, temporal information, and reconstructive search. Published interaction traces show follow-up questions reusing earlier question context. The work separates memory organization, retrieval processes, and maintenance as additional experiences arrive.

  13. Case-Based Reasoning: Foundational Issues, Methodological Variations, and System Approaches

    Aamodt and Plaza's 1994 framework reuses particular problem-solving experiences rather than relying solely on generalized domain knowledge. Its cycle retrieves a relevant case, reuses its information, tests and revises the proposed solution, and retains parts likely to help future problems. Testing may involve application in the environment or assessment by a teacher. Retention can add a case or modify existing cases. The authors emphasize that retaining an experience can be easier than generalizing it, while useful retention still requires selection, integration, and indexing.

  14. Endel Tulving: Citation Classic commentary on Episodic and Semantic Memory

    Tulving distinguishes memory for personal events and their temporal-spatial relationships from organized knowledge about meanings, concepts, and relationships. His retrospective explains that language-understanding presentations at a March 1971 conference prompted the distinction developed in his 1972 chapter. He explicitly acknowledges earlier related ideas and says the concepts subsequently evolved. This supports the terminology's historical motivation without claiming that Tulving invented every underlying distinction.

  15. Generative Agents: Interactive Simulacra of Human Behavior

    Generative Agents records observations in a memory stream. Retrieval combines recency, importance, and relevance rather than relying on similarity alone. Retrieved memories inform planning and action. Reflection generates higher-level inferences from observations, stores those inferences as additional memories, and makes them retrievable later. The paper demonstrates that these components contribute to believable behavior in its simulated social setting, while also documenting invented or embellished recollections. Reflection is therefore synthesized interpretation, not an independent factual source.

  16. MemGPT: Towards LLMs as Operating Systems

    MemGPT treats the model context as a limited working resource and external recall and archival stores as a larger memory tier. The model uses functions to edit working context and retrieve external records; retrieved information must enter the prompt before inference can use it. A queue manager stores conversation messages, warns about context pressure, and evicts older messages with recursive summarization. Paginated retrieval and function chaining allow repeated searches without loading the whole archive. This is virtual context management, not a physically infinite context window or a change to model weights.

  17. Memory overview — LangChain

    LangGraph distinguishes thread-scoped state persisted by checkpoints from long-term records shared through explicit namespaces. Its conceptual taxonomy separates semantic facts, episodic experiences, and procedural instructions; semantic memory is not the same concept as embedding-based semantic search. Profiles consolidate facts in one document, while collections store multiple records with different update and retrieval tradeoffs. Writing memories during the request can make them immediately available but adds latency and competes with the task. Background writing separates that work but can leave other threads reading stale information.

  18. PROV-O: The PROV Ontology — W3C

    PROV-O models provenance through entities, activities, and agents. An activity can use an input entity and generate another; derivation connects an output to the entities from which it was produced, while attribution and association record responsibility. Qualified relations can attach further information about how a derivation occurred. This lets an extracted assertion or summary retain a chain back to source material and the process that produced it. A revision is a new derived entity rather than an unexplained replacement of the original evidence.

  19. Entity-Scoped Memory — Mem0

    Mem0 distinguishes memory-scoping identifiers from graph entities mentioned in content. Its identifiers cover users, agents, applications, and runs. On the default extraction path, user and assistant statements receive different attribution: an extracted record carries user_id or agent_id, while app_id and run_id accompany both. Supplying both speaker identifiers does not make every extracted record carry both. Search constrains only explicitly supplied dimensions; filtering by user alone can return records from multiple applications or runs.

  20. Time in XTDB

    Bitemporal records distinguish system time, when a version entered the database’s history, from valid time, when it applies in the modeled world. A correction learned today may change an earlier validity interval without erasing what the system previously believed. Querying an old valid date with current knowledge differs from reconstructing what was known then.

  21. OpenID Connect Core 1.0 incorporating errata set 2

    OpenID Connect specifies the combination of issuer identity, iss, and subject identity, sub, as the stable identifier a client can rely on. The subject must be unique and never reassigned within that issuer. Names, email addresses, phone numbers, and preferred usernames lack this guarantee and must not serve as unique user identifiers. Email addresses can change or be reassigned.

  22. Users' Expectations and Practices with Agent Memory

    A 2025 exploratory study combined six interviews with analysis of 54 public discussion threads. Participants wanted to understand what systems retained and how memories influenced responses. They described different memory needs across tasks and projects, including keeping health-related information away from academic writing. Some wanted controlled overlap rather than complete separation. Participants also described repeatedly copying context between conversations and wanting useful writing preferences retained without unrelated personal details.

  23. Custom Instructions — Mem0

    Mem0 supports natural-language extraction instructions specifying information to retain and information to exclude. Its examples distinguish user preferences, goals, and constraints from operational lessons such as tool failures and successful recovery strategies. The documentation recommends testing instructions against actual conversations and inspecting extracted records, including diverse examples. Its troubleshooting guidance explicitly recognizes missing important information, irrelevant extraction, and inconsistent results.

  24. Preparing Disposition Instructions — National Archives

    NARA distinguishes the retention period from the action taken afterward. Temporary-record schedules can start a period from record creation or a specified event, including project completion, replacement, revision, or cancellation. Instructions should explicitly identify destruction or deletion when that is intended. The guidance warns that vague instructions such as keeping records until no longer needed produce inconsistent decisions. Archival transfer and destruction are different outcomes.

  25. Institutional memory — Polygraph

    Polygraph documents coding-session records connecting transcripts and descriptions with repositories, branches, pull requests, and issues. Later work can search sessions, reference a known session directly, or trace a code change back to its session. A debrief examines available logs for attempted approaches, outcomes, and assumptions requiring rechecking. The documented workflow explicitly re-verifies assumptions against current code. Session summaries can orient a task, while detailed investigations inspect available logs, pull requests, and code.

  26. Mem0: Building Production-Ready AI Agents with Scalable Long-Term Memory

    Mem0's extraction phase uses a new message pair, recent messages, and a conversation summary to propose candidate facts. A separate update phase retrieves similar existing memories and asks a model to select ADD, UPDATE, DELETE, or NOOP operations. The paper describes UPDATE as incorporating complementary information and DELETE as removing contradicted memories. Its graph variant can instead invalidate relationships without physically removing them. These are concrete alternatives for separating proposed information from changes to retained state.

  27. Lessons from Studying Every Memory System

    A synthesized profile can incorrectly turn discussion of alternatives into claims that both events occurred.

  28. Claude for long-horizon tasks

    Dreaming is an offline, out-of-band process that consolidates and corrects memory using prior execution traces.

  29. Reflexion: Language Agents with Verbal Reinforcement Learning

    Reflexion separates an Actor that produces actions, an Evaluator that scores a trajectory, and a Self-Reflection component that converts feedback into verbal guidance. The agent retains those reflections in an episodic memory buffer and conditions later attempts on them. The method changes the information supplied to inference rather than updating model weights. Feedback may come from exact-match checks, heuristics, tests, or another model; the reliability of that feedback affects what the agent learns from an attempt.

  30. Episode metadata projection — Zep

    Zep links derived artifacts to source episodes. Fact edges associate with episodes that originally extracted, reaffirmed, or invalidated a relationship; entity nodes associate with episodes mentioning them. Consequently, association does not uniformly mean supporting evidence. Effective artifact metadata combines distinct values across associated episodes. Search filtering has different semantics: all AND conditions must be satisfied by one associated episode, rather than by combining conditions from separate episodes. The documentation exposes associations for inspection in both source-to-artifact and artifact-to-source directions.

  31. Dreams — Claude Managed Agents

    Claude’s Dreams documentation describes asynchronous consolidation of an existing memory store and past session transcripts into a separate output store, leaving the input unchanged. Developers can inspect the result before attaching it to future sessions. Output-store creation is not completion: its identifier becomes available while processing continues, and failed or canceled runs can leave partial output. The documentation distinguishes high-level synthesis instructions from precise corrections; targeted edits should use the Memory Stores API. Consolidation can merge duplicates and revise conflicting entries, but review and adoption remain separate operations.

  32. Stateful Agents — Full Workshop with Charles Packer of Letta and MemGPT

    The distinction is primarily a write and retrieval contract: recall records conversation events, while archival memory accepts deliberate arbitrary reads and writes.

  33. Connecting the Dots with Context Graphs

    Long-term memory needs a domain model for business processes, entities, and participants rather than merely accumulating interaction records.

  34. Built-in Memory Engine — OpenClaw

    OpenClaw documents a per-agent SQLite index over memory files, separating retained text from its searchable representation. Keyword retrieval uses SQLite full-text search without requiring an embedding provider; embeddings optionally add vector retrieval. Per-chunk provenance resides separately from Markdown content so remembered prose cannot rewrite its own trust classification. File watchers trigger debounced indexing. Full rebuilds use a temporary database and publish it atomically: searches continue using the existing index during rebuilding, and a failed rebuild leaves that published index available.

  35. Check Data Ingestion Status — Zep

    Zep processes ingested information asynchronously and exposes episode, task, or batch status handles. An accepted write without a completion handle is reported as untracked rather than treated as confirmed extraction. Processing completion and search readiness remain separate: indexing can take additional time. The search_when_ready helper stops when any result appears, so its success does not establish that the intended imported record is retrievable. A last episode marked processed also does not establish that every earlier episode succeeded; failures require separate inspection.

  36. Stateful Agents — Full Workshop with Charles Packer of Letta and MemGPT

    Expose the context constraint to the model and provide memory-management tools it can call.

  37. Active Graph Agent Runtime (BabyAGI 4)

    The speaker tested retrieval from embedded log messages plus their neighboring messages, without first extracting facts or entities.

  38. The Justified User Model: A Viewable, Explained User Model

    Cook and Kay's 1994 user-model interface lets people inspect modeled characteristics, supporting and opposing evidence, evidence sources, and when evidence was added. Users can inspect explanations of the programs and rules that produced an inference. Editing a value adds strongly weighted user-provided evidence rather than silently replacing its justification history. The system considers context when interpreting behavior because selecting a command can be accidental. This provides an early implementation of inspectable, correctable personalization and separates behavioral observations from conclusions about the user.

  39. AgentPoison: Red-teaming LLM Agents via Poisoning Memory or Knowledge Bases

    AgentPoison studies agents that retrieve stored demonstrations to guide future actions. Its threat model grants an attacker the ability to insert a small number of records into a memory or knowledge base, plus access to an embedder during attack construction. A trigger in a later query makes malicious demonstrations likely to be retrieved; those examples influence the model without changing its weights. The result is a persistent data-to-behavior attack surface: later retrieval can reactivate previously stored hostile material even when the current task is legitimate.

  40. Stop babysitting your agents: building a context engine for mergeable code

    Surface conflicting sources and their authority context instead of silently choosing one.

  41. Citation Needed: Provenance for LLM-Built Knowledge Graphs

    Lineage must survive graph mutation: entity merges retain both source sets, and invalidation records the new evidence responsible for the change.

  42. RFC 9110: HTTP Semantics — If-Match

    A client can read a representation and retain its ETag, then send a mutation with If-Match containing that tag. Before applying the method, the origin server uses strong comparison against the current representation. A false condition prohibits performing the requested method, commonly producing 412; the RFC also permits success when the requested change appears already applied. This prevents overwriting an intervening version. If-Match:* checks existence, not a particular version. Version preconditions answer whether the state still matches the caller's basis for acting; request deduplication answers whether a logical operation has already been processed. These solve different problems and may both be needed.

  43. LangGraph BaseStore: updates, deletion and TTL

    A LangGraph store item is addressed by namespace plus key. put/aput stores or updates that item; delete/adelete removes it. TTL support depends on the adapter and is absent by default. TTL is measured in minutes, normally refreshes on access, and schedules expired items for best-effort deletion. Optional expiry filtering can suppress expired records before a sweep removes them. These primitives do not adjudicate contradictory factual records. Application policy must choose whether to revise, supersede or reject a conflicting assertion using provenance and freshness checks. Frequently retrieved data can remain retained under sliding TTL even when its factual content is old.

  44. Deleting Data from the Graph — Zep

    Deleting a Zep episode removes associated edges and nodes only when no other episode associations remain, with an additional exception preserving the user entity. Shared-node names and summaries are not regenerated, so information from the deleted episode can remain in them. Deleting an episode that invalidated a fact does not restore that fact's validity. Deleting a thread applies episode deletion to its messages. Deleting an edge leaves its nodes, whereas deleting a node also removes its connected edges.

  45. Memory Provenance and Forgetting — OpenClaw

    OpenClaw’s tracked memory ingestion retains source-session lineage when memories are merged or superseded. Forgetting selects recorded origins, not every semantic mention of a person. If a merged entry contains a selected origin, cleanup removes the entire tracked entry rather than asking a model to subtract that source’s contribution. The system records forgotten-session status before removal and checks it during subsequent ingestion and again before publishing indexed chunks or embeddings. These checks address delayed work recreating removed memory. Tracked cleanup includes promoted entries, search indexes, embedding caches, and specified processing artifacts.

  46. Elasticsearch: Delete a document

    Deletion can be conditional on sequence number and primary term, preventing deletion of a document changed since it was read. Custom routing must match the routing used to index the document. Deleted versions remain available only for the interval controlled by index.gc_deletes. Search visibility is separate: refresh=wait_for waits for a refresh exposing the deletion. Application inference: bound delayed retries or keep durable source tombstones/version checks beyond the search engine's deletion-retention window to prevent obsolete events from recreating deleted evidence.

  47. Memory FAQ — OpenAI

    The current FAQ says ChatGPT's memory summary does not expose everything remembered, and response-source displays may omit contributing factors. Users can correct summary content. Deleting memories and turning memory off does not delete past chats; re-enabling memory can create memories from retained older chats. The documentation instructs users seeking removal of information to address every source where it appears. Temporary Chats neither use existing memories nor create new ones. Legacy saved memories are stored separately from chat history, and logs of deleted saved memories may remain for up to 30 days.

  48. Evaluating Very Long-Term Conversational Memory of LLM Agents

    LoCoMo constructs conversations from personas and dated event sequences, then uses human editing to address inconsistencies and event alignment. Its question-answering annotations identify the conversation turns containing answer evidence, enabling retrieval assessment separately from answer scoring. Tasks include temporal reasoning and unanswerable adversarial questions. Event summarization evaluates factual coverage within a designated timeframe. Retrieval experiments compare conversation history, extracted observations, and session summaries as alternative stored representations.

  49. From Recall to Forgetting: Benchmarking Long-Term Memory for Personalized Agents

    Memora generates conversations from explicit memory-state traces containing additions, updates, invalidations, and memory-neutral sessions. Its remembering, reasoning, and recommendation tasks specify both information that a response must include and obsolete information it must exclude. Forgetting-Aware Memory Accuracy combines these criteria, penalizing reliance on invalidated information even when useful facts are also present. The reported experiments find task-dependent performance and continued use of outdated memories. This supplies a concrete evaluation design for correction uptake and inappropriate carryover.

  50. Time in XTDB

    Valid time records when a fact applies in the modeled world; system time records when its version was known to the database. A historical snapshot selects versions satisfying systemFrom≤cutoff<systemTo and validFrom≤targetTime<validTo, treating open ends as unbounded. XTDB exposes these dimensions through FOR SYSTEM_TIME AS OF and FOR VALID_TIME AS OF. A later correction can change past validity without changing the earlier system-time snapshot. Ordinary deletion removes a row from current results while preserving prior versions. Evaluation inference: fix system time at the information cutoff across all inputs and choose valid time for the question being tested; selecting past valid time with current system knowledge can leak later corrections.

  51. LongMemEval: Benchmarking Chat Assistants on Long-Term Interactive Memory

    LongMemEval evaluates information extraction, reasoning across sessions, temporal reasoning, knowledge updates, and abstention. It decomposes a memory system into indexing, retrieval, and reading, allowing a failure to be localized instead of assigning every wrong answer to the model. Its design experiments vary stored value granularity, indexing keys, time-aware query expansion, and reading strategy. Knowledge-update questions require using changed information; abstention questions require recognizing that an answer is absent. Retrieval recall and final answer correctness are distinct outcomes.

  52. Memory Harnesses for Long-Running Research Agents

    Hold the model fixed and compare no recall, vector retrieval, a decision ledger, and ground-truth memory injection.

  53. Memory Harnesses for Long-Running Research Agents

    Correct memory retrieval is insufficient: the model can ignore or misuse the supplied evidence.

  54. Context Engineering in 2026: Compaction, Memory & Cost

    Compare proposed policies against untouched history while holding the model, prompt, tools, and dataset fixed.

  55. Beyond Static Intelligence: Evaluating Continual Learning

    Measure gain against the same system's stateless baseline, and compare reward, gain, and cost on Pareto frontiers.

  56. Learning User Preferences Through Interaction for Long-Term Collaboration

    MultiSessionCollab compares agents with and without retained preference memory. Across five simulated task groups, Llama-3.3-70B-Instruct's mean task success increased from 41.78% to 46.38%, while preference-enforcement utterances fell from 2.98 to 1.96 per session. Qwen-2.5-7B's task success instead fell from 36.21% to 35.18%. A separate 19-participant study reported improved preference-related ratings across three-session sequences, but participants found transfer across domains less effective and sometimes preferred restating preferences explicitly.

  57. Claude for long-horizon tasks

    Evaluate dreaming on the deployment's own tasks before treating its memory revisions or compute cost as justified.

  58. Function Calling is All You Need

    Timestamp memories and explicitly link an original memory to its update, allowing retrieval to return either the latest state or the update history.

  59. Batch ingestion — Zep

    Zep batch items can supply created_at as the original event time; omitted timestamps default to ingestion time. These timestamps participate in determining extracted facts' valid_at and invalid_at values. The published example dates an employee joining a team separately from a later promotion. Batch progress distinguishes failed, skipped, and canceled items. A succeeded batch means no item failed, but can still contain skipped or canceled items. Cancellation covers items whose target graph, user, or thread was deleted before processing finished.

  60. Citation Needed: Provenance for LLM-Built Knowledge Graphs

    The presented deletion model removes a fact only when no remaining source episode supports it.

  61. Transactional outbox pattern — AWS Prescriptive Guidance

    Writing a record and separately notifying another system creates a dual-write failure: either side can succeed alone. A transactional outbox stores the domain change and its outgoing event in one database transaction. A relay publishes committed outbox records, so recovery can retry delivery without losing the durable intent. Relays may deliver duplicate events; consumers therefore need idempotent handling, and ordering must be preserved where updates depend on it. Applied to memory, the authoritative record and an indexing event can commit together while the search projection catches up.

  62. Claude for long-horizon tasks

    Incorrect memories can become durable sources of repeated errors rather than useful accumulated experience.