Contents
  1. Memory purpose and lifecycle
  2. Episodes and reusable assertions
  3. Identity, scope, and evidence
  4. Admission and durable writes
  5. Consolidation and qualified knowledge
  6. Retrieval and justified use
  7. Correction, supersession, and disagreement
  8. Expiry and continued usefulness
  9. Forgetting across derived records
  10. Evaluation across interactions
  11. Failure diagnosis and policy revision
  12. Check understanding
  13. Open questions
  14. Selected talks
  15. References
  16. Talk library
← All topics

Agent Memory

Agent memory connects earlier interactions to later decisions. Its value depends on what survives, whose information it describes, when it applies, and whether the agent uses it appropriately. Reliable memory therefore requires more than persistence: records need admission rules, evidence, selective retrieval, correction, and enforceable removal.

Memory purpose and lifecycle

An agent is software that uses a model to select actions. Agent memory is retained application information made available to later interactions. Useful purposes include avoiding repeated questions, preserving preferences, and reusing evidence from earlier work. Retention is optional: a detail with no identifiable future use need not become memory.

A constructed project assistant serves Jo, user j17, on Cedar, project c1. On day 1, Jo requests concise reports except for audits; day 2 adds a registry observation; day 3 changes the preference; day 4 brings a forget request. Jo controls personal preferences, the registry controls current project status, and application policy controls access and retention.

One record, separate availability milestones

Example

Persistence does not establish model visibility.

1 / 5 · Candidate

No durable commitment.

Milestones accumulate as history, not simultaneous statuses. Each transition needs evidence; processing or indexing can fail.
Read the diagram as text
  • pref-7. Stable record identity.
  • Candidate.
  • Persisted.
  • Processed.
  • Searchable.
  • Supplied to invocation.
  • pref-7Candidate: proposed.
  • CandidatePersisted: admitted and committed.
  • PersistedProcessed: processing completes.
  • ProcessedSearchable: index becomes visible.
  • SearchableSupplied to invocation: retrieved and selected.
  1. Candidate. No durable commitment. Active: pref-7, Candidate. New: pref-7, Candidate.
  2. Persisted. Storage confirmed. Active: pref-7, Candidate, Persisted. New: Persisted.
  3. Processed. Extraction complete. Active: pref-7, Candidate, Persisted, Processed. New: Processed.
  4. Searchable. Exact record discoverable. Active: pref-7, Candidate, Persisted, Processed, Searchable. New: Searchable.
  5. Supplied. Correct use remains unverified. Active: pref-7, Candidate, Persisted, Processed, Searchable, Supplied to invocation. New: Supplied to invocation.
These information boundaries serve different purposes.
BoundaryWhat it establishesWhat it does not establish
Retained memoryAn earlier statement or observation remains available.Its content is still applicable.
Authoritative application stateThe designated system's current business record.A historical assistant note has the same authority.
Invocation contextSelected information supplied to one model call.Everything stored elsewhere is visible.

Context Engineering explains how an invocation receives selected information. External records must enter that input before the model can use them. Storing or retrieving records does not itself change learned parameters; training and inference explains that boundary. Parameter adaptation belongs to Continual Learning.

A retention policy specifies permitted content, purpose, duration, and conditions ending retention. In this example, preferences remain until changed, forgotten, or the project purpose ends. Application owners define automatic admission; authorized corrections and removal requests alter retained state. Retention schedules establish the broader decision authority.

Admission can reject a candidate. Processing can fail after persistence. Searchability and invocation inclusion require separate checks; neither follows merely from accepting a write.

Episodes and reusable assertions

Episodic memory records particular experiences and their circumstances. Semantic memory records reusable assertions about facts, preferences, or relationships. These are architectural categories, as described in CoALA, rather than claims that software reproduces human cognition. Semantic memory describes the information stored, not whether retrieval uses vector similarity.

The day-1 episode records Jo requesting concise Cedar reports with an audit exception. Its derived assertion expresses that preference as a reusable default. If Jo changes the preference on day 3, the earlier request still happened; its former default should no longer control new reports.

A record's evidence category limits the conclusions it supports.
CategoryExampleInterpretation
Direct statementJo requests concise Cedar reports.Evidence of Jo's expressed preference.
Application observationRegistry revision r8 reports Cedar active.Evidence about that observed revision.
InferenceThe assistant infers that Jo dislikes detail.A proposed interpretation, potentially overgeneralized.
IntentionThe assistant plans to update a ticket.No evidence that the update happened.
Observed outcomeA subsequent read confirms the ticket revision.Evidence of the checked effect.

Whole interactions preserve surrounding explanations but require more selective reading. Smaller assertions support precise retrieval and revision, while extraction can discard qualifications. A useful baseline searches stored messages and includes neighboring messages for context, as demonstrated in ActiveGraph. Its reported experiment does not establish that this granularity is universally best.

Procedural memory retains reusable instructions for doing something, rather than a fact about the world. A successful workflow can supply such guidance, but a saved procedure still needs evidence that it transfers to later cases.

A summary that shortens the next input is not automatically a durable memory record. Persistence, retrieval interfaces, and update rules must be provided separately. Compaction and summary fidelity covers the compression operation.

Identity, scope, and evidence

The subject is whom a memory describes; the speaker made the statement; the owner controls its stored record; the requester seeks access. These roles may differ. A namespace groups records under identifiers, but grouping alone does not enforce authorization.

Two people named Jo must remain distinct until evidence supports a match. Entity resolution decides whether mentions refer to the same thing; equal names are insufficient. Entity resolution develops that process. Relationships among people, projects, and events can use a graph representation, but memory does not require graph storage.

A proposed application record preserves meaning and lifecycle controls alongside content.
FieldsExample valuesPurpose
Identity and scopeRecord pref-7/v1; subject j17; project c1; speaker j17; organization-owned.Prevent cross-person and cross-project reuse.
Content and evidence kindConcise Cedar reports except audits; explicitly reported preference.Preserve the exception and distinguish reporting from inference.
Source and derivationEpisode e1/revision 1; extraction activity x3.Connect the assertion to its specific input and transformation.
TimesObserved day 1; stored day 2; applicable from day 1.Separate when information arrived from when it applies.
Independent statusesCurrent assertion; persisted; indexing pending; access checked separately.Avoid treating validity, storage, visibility, and permission as one flag.
Retention conditionsUntil changed, forgotten, or Cedar's purpose ends.Specify when reuse or storage must stop.

Provenance records origin and transformation history; lineage identifies source-to-derivative links. W3C PROV supplies a vocabulary for entities, activities, and responsible actors. These links enable inspection, not proof of truth. Broader accountability belongs to lineage and audit evidence.

Valid time describes when an assertion applies in the world. System time describes when its version entered database history. A day-3 correction may revise what applied on day 1 without changing what the database knew on day 2. Writing a summary today does not refresh its underlying observations.

A source association can mean support, mention, or invalidation. Zep's documented episode associations include all three kinds of relationship. Counting associations therefore does not count independent corroboration.

Generated confidence is another model output, not independent confirmation. Calibration requires correctness evidence over a specified population. A source reference also has limits: its content can change or disappear, leaving attribution without inspectable evidence.

Admission and durable writes

Admission decides whether a candidate deserves durable storage. An explicit remember request supplies a clear purpose; a structured application event supplies identified fields; a model-proposed preference adds interpretation. These routes need different checks. Permission to retain a claim and evidence that the claim is accurate are separate decisions.

An application admission rule should check future use, permitted purpose, subject and scope, evidence, sensitivity, expected stability, and duplication. Transient details can be rejected; uncertain interpretations can await review. Purpose-specific extraction instructions help express these choices, but prompted exclusions are not an enforcement boundary for sensitive information.

Immediate writes can make a correction available before the next request, but add work to the active task. Background writes reduce that immediate burden while allowing other interactions to see older records. The interface must distinguish a queued update from one whose promised read path is ready.

Track the intended record: a search returning some result does not establish that this newly imported record is searchable.

Idempotent ingestion processes repeated delivery of one logical write without creating additional effects. Assign an operation identity and enforce it with the mutation; merely logging a key accomplishes nothing. Reusing an identity with different parameters should fail. Repeated delivery must not manufacture apparently independent evidence. Safe retries explains uncertain completion.

An outbox commits the authoritative record and an indexing event in one database transaction. A relay later publishes that event, and consumers handle duplicates. This avoids losing indexing intent after the record commits, but search remains a separately completed projection—a derived representation. Runtime recovery belongs to Harness Engineering.

Memory poisoning inserts hostile material into records that later retrieval can reactivate. AgentPoison demonstrates this under an attacker-controlled insertion threat model, without updating model weights. Storage, summarization, and repeated recall do not turn external text into authorized instructions. AI Security explains the trust boundary.

Consolidation and qualified knowledge

Consolidation organizes retained observations into reusable records. A compact profile makes common facts easy to load but concentrates update risk. A collection of smaller assertions permits targeted changes while moving complexity into selection, deduplication, and reconciliation. Neither representation removes the need to preserve evidence.

Jo's record must preserve both Cedar scope and the audit exception. Reducing it to a general preference for brevity loses meaning. Turning a tentative inference into an established preference adds meaning without evidence. Consolidation fixtures should explicitly test negation, exceptions, uncertainty, and project boundaries rather than grading only shorter output.

Repetition is not independent support

Example

Copies and interpretations inherit their source dependence.

The assertion preserves Cedar scope and the audit exception. A copied excerpt adds no observation; the broader inference remains unconfirmed.
Read the diagram as text
  • Jo's original request. Concise Cedar reports, except audits.
  • Copied excerpt.
  • Inferred general brevity preference. Not independently confirmed.
  • Separate audit clarification. A distinct user event.
  • Qualified Cedar assertion. Concise reports; audits retain detail.
  • Jo's original requestCopied excerpt: copied into.
  • Jo's original requestInferred general brevity preference: interpreted as.
  • Jo's original requestQualified Cedar assertion: supports.
  • Separate audit clarificationQualified Cedar assertion: supports exception.
  • Copied excerptQualified Cedar assertion: dependent evidence.
  • Inferred general brevity preferenceQualified Cedar assertion: unconfirmed proposal only.

Duplicate text and equivalent meaning are different properties. A copied episode supplies no new observation; a nearly identical revision can change a decisive date or negation. Content fingerprints and similarity checks help organize records, but cannot decide semantic equivalence alone. Duplicates and revisions develops that distinction.

Reflection converts feedback into proposed guidance. Reflexion separates an Actor producing actions, an Evaluator judging the attempt, and Self-Reflection producing text for later attempts. This changes subsequent input rather than model weights. An unreliable evaluator can generate an unreliable lesson, and a plausible explanation does not establish the cause of failure.

Offline consolidation can compare saved notes with earlier traces and repair task-local mistakes. The long-horizon Claude talk calls this process dreaming. Its output still requires evaluation: moving interpretation outside the active task provides another opportunity to inspect evidence, not an automatic correctness guarantee.

Keep source links through extraction, identity merging, and reconciliation. Those links identify which assertions need reassessment after a correction. Compaction mechanics can reduce input size; consolidation additionally needs a maintained relationship between retained sources and reusable conclusions.

Retrieval and justified use

A small profile can supply recurring defaults, while on-demand retrieval brings in task-specific episodes. The choice controls which information reaches later work, not merely where it is stored. Recall policy therefore deserves evaluation alongside admission and retention.

Lexical retrieval matches terms; vector retrieval compares learned representations. Either can help locate records. Search and Retrieval covers their algorithms. A memory query also needs the current task, subject, project, and relevant time; conversational resemblance alone leaves these conditions unspecified.

Eligibility precedes ranking

Example

Similarity cannot rescue an ineligible record.

Task conditions constrain candidates before ranking. Selected evidence still needs current-use assessment; unresolved evidence requires verification or withholding.
Read the diagram as text
  • Task-scoped candidates.
  • Eligibility check. Identity, scope, access, validity, removal.
  • Excluded.
  • Rank eligible records.
  • Select bounded evidence.
  • Current-use assessment.
  • Use with qualifications.
  • Verify or withhold.
  • Task-scoped candidatesEligibility check: data: candidate records.
  • Eligibility checkExcluded: fails any required condition.
  • Eligibility checkRank eligible records: passes all conditions.
  • Rank eligible recordsSelect bounded evidence: data: ordered records.
  • Select bounded evidenceCurrent-use assessment: data: selected evidence.
  • Current-use assessmentUse with qualifications: adequate and applicable.
  • Current-use assessmentVerify or withhold: unresolved or stale.
Before day 3, a routine Cedar report has these candidate memories. Assume the requester has authorized access.
CandidateDecisionReason
Older j17/Cedar preferenceEligibleStill applicable to this report.
Recent j17/Birch preferenceExcludeWrong project.
Superseded Cedar assertionExclude from current defaultsHistorical status is not current applicability.
Unresolved mention of JoWithhold pending identity resolutionDisplay-name equality is insufficient.

Eligibility constrains consideration; ranking orders eligible records. Apply identity, scope, permissions, validity, and removal rules before disclosure. Filtering a small global shortlist afterward can leave no useful results even when eligible matches exist. A higher similarity score cannot repair a violated eligibility condition.

Within the eligible set, relevance, specificity, recency, and evidence quality can compete. Generative Agents combines relevance, recency, and importance in its simulated setting. That demonstrates a composite policy, not universal weights: an older explicit preference can remain more useful than a newer incidental mention.

The ranked retrieval response preserves record and revision IDs, source references, times, and execution status. A successful empty search supports only that no eligible result was found by that search. An unavailable search does not establish absence. Selection must not erase this distinction.

Under the fixture's authority rules, Jo's preference is a scoped default that a current authorized instruction can change. A remembered Cedar status requires a registry refresh before a present-state claim. If evidence remains unresolved, qualify it historically, omit personalization, or request the missing clarification. Conflicting sources should remain visible rather than being silently collapsed.

Selection for the next decision and refreshing changing information govern the supplied view. Remembered approval is historical evidence, not current permission to act. Authorize the actual operation under its present scope.

Correction, supersession, and disagreement

Supersession ends an assertion's current applicability in favor of a replacement while preserving history only as permitted. An appended correction is insufficient if retrieval still selects the old assertion. The replacement and affected derivatives must become visible through the read paths future tasks use.

Disagreement needs classification before mutation.
SituationRequired treatment
Original error: a preference belonged to another Jo.Repair attribution and reassess dependent records; do not describe this as a preference change.
Real change: j17 requests detailed Cedar reports from day 3.End the earlier default's applicability and retain the new scoped preference.
Unresolved disagreement: sources conflict about the same project state.Preserve competing claims and inspect authority, time, and scope before choosing.

A recent write may contain old evidence. Before declaring a contradiction, compare subject, scope, applicable time, and source authority. Different projects or periods can support different assertions without conflict. Rebuild affected profiles and search copies from the accepted evidence rather than merely adding a newer timestamp.

Optimistic concurrency rejects a write whose basis revision has changed. HTTP If-Match provides this precondition for one resource. The pseudocode assumes all profile-affecting corrections advance its revision atomically; evidence snapshots are identified. Other outcomes require reconciliation.

Illustrative pseudocode Python-like pseudocode
def consolidate(profile_id, admitted_update):
    for attempt in range(3):
        base = read_profile_and_evidence(profile_id)
        draft = derive(base, admitted_update)
        if not preserves_scope_and_exceptions(draft, base):
            return "review_required"
        result = publish_if_revision_matches(
            profile_id,
            expected_revision=base.revision,
            content=draft,
        )
        if result == "committed":
            return "committed"
        if result != "precondition_failed":
            return "reconcile_operation"
    return "review_required"

A worker deriving from v4 must reassess after Jo's Cedar correction creates v5. Its independently supported Birch update can survive recomputation, alongside unrelated facts. Attaching v5's tag to stale content defeats the check's purpose; recomputing without a conditional publication leaves another race.

Version checks and deduplication answer different questions: whether the basis remains current, and whether an operation already happened. After an ambiguous result, reconcile or retry the same operation identity under the endpoint's contract. A new identity can duplicate an effect. One resource precondition does not provide a multi-resource transaction.

Expiry and continued usefulness

A memory has several independent lifetimes.
LifetimeWhat ends itResult
Factual applicabilityA relevant world change or correction.The assertion no longer describes that period or state.
Freshness eligibilityA deadline or invalidating event.Refresh or withhold before current use.
Permitted retentionThe configured deadline, purpose end, or removal decision.Apply the required storage disposition.
Invocation visibilitySelection changes or context eviction.The record leaves this input, not necessarily storage.

Time-to-live, or TTL, is a configured lifetime. LangGraph's store source describes adapter-dependent expiry, normally refreshed by access, with best-effort deletion and optional expiry filtering. Frequently retrieved content can therefore remain stored even when its factual content is old. Storage expiry is not a freshness evaluator.

Cedar's deployment observation may need revalidation after a deployment, while Jo's preference remains applicable until changed or its purpose ends. HTTP caching offers a useful reuse-contract analogy: age and validation govern reuse, not business truth. Neither summarization nor repeated access should reset the source's age or override the application's retention deadline.

Withholding, revalidation, and deletion are different policy outcomes. Expiry need not make an earlier observation historically false. Refreshing information governs current use; retention schedules govern how long copies may remain.

Forgetting across derived records

On day 4, Jo requests removal of Cedar reporting preferences. In this fixture, that covers preference memories and their derivatives, with future automatic preference collection for j17/c1 disabled until re-enabled. It does not delete Cedar's business records. The request's subject, content category, project scope, and future handling rule must be explicit.

Follow lineage through episodes, assertions, profiles, summaries, search representations, caches, and processing copies. Delete unsupported derivatives or rebuild mixed artifacts from remaining permitted evidence. Retain unrelated content. Multiple source links require content-level reassessment; their existence alone does not establish that every surviving statement has independent support.

Removal follows derivation paths

Example

Deleting a source can leave information in shared derivatives.

Reassess the shared profile using permitted support. Rebuild its search copy and block obsolete queued publication. Arrows show dependencies, not completed deletion.
Read the diagram as text
  • Cedar preference source. Removal requested.
  • Unrelated permitted source.
  • Preference assertion. Affected derivative.
  • Shared profile. Rebuild without forgotten content.
  • Search projection. Verify replacement visibility.
  • Queued derivation. Check current removal state.
  • Cedar preference sourcePreference assertion: extracted into.
  • Preference assertionShared profile: contributes preference.
  • Unrelated permitted sourceShared profile: supports unrelated content.
  • Shared profileSearch projection: projected into.
  • Cedar preference sourceQueued derivation: previously read by.
  • Queued derivationShared profile: pending publication; guard required.

Zep documents a concrete residual: deleting an episode does not regenerate shared-node names or summaries, so deleted information can remain. Removing an episode that invalidated a fact also does not restore that fact. Source deletion and semantic forgetting have different completion conditions.

A tombstone is minimal metadata recording removal so older work can be rejected. For this application, publication must atomically check a durable removal generation or equivalent version condition against the pending write. Otherwise a worker can pass a check, race with deletion, and recreate the record. Avoid retaining the forgotten payload in the suppression metadata.

Keep suppression effective for the possible replay horizon, or bound and retire old work. Search-engine deletion history can expire; it is insufficient as the only resurrection guard. Cancellation is also scoped: Zep describes canceling pending items after target deletion, not a guarantee covering every selective forget request or later import.

Report immediate non-use separately from completed cleanup. An index acknowledgment need not establish search invisibility. Track each destination and verify its boundary; backups, vendors, and retained processing copies may have different completion conditions. Lifecycle fulfillment across derivatives supplies the broader accountability model.

Evaluation across interactions

Memory evaluation needs later tasks with known preceding state. A fresh conversation cannot reveal every failure that appears after accumulated interactions. Loading an existing history and testing its continuation makes late failures reproducible; the Alyx team describes this approach for long-session context failures.

The project-assistant fixture supplies chronological acceptance cases, not measured results.
StageAvailable informationExpected later behavior
Cold startNo preference evidence.Use a neutral default; do not invent personalization.
After day 1Jo's scoped preference and audit exception.Use concise routine reports; preserve audit detail.
After day 2An older registry observation; current registry may differ.Refresh before claiming current project status.
After day 3Jo's accepted detailed-report replacement.Use the replacement; reject stale consolidation.
After day 4Preference suppression and tracked cleanup.Stop using the preference; prevent queued work from restoring it.

Add distractors, same-name people, other projects, unresolved contradictions, expiry, and failed retrieval. LongMemEval separates indexing, retrieval, and reading, and includes temporal reasoning, knowledge updates, and abstention. Its curated tests help localize failures; they do not verify an application's deletion, identity isolation, or complete lifecycle.

LoCoMo links answers to supporting conversation turns and compares histories, extracted observations, and summaries. Evidence-linked cases allow inspection of whether the right information was found separately from whether the answer used it correctly. Generated and edited histories remain distinct from longitudinal deployment evidence.

Compare no persistent memory, simple scoped retention, and the proposed policy with the same model, tools, tasks, and source access. Report latency and processing differences. Remove or substitute selected memories to determine whether the current request already supplies the answer. Controlled comparisons explains the experimental design.

Freeze source and derivative snapshots at each information cutoff. Selecting a past valid date using current database knowledge can leak later corrections. Historical replay needs both the applicable period and the knowledge available then; temporal queries develops this distinction.

A proposed repair should improve a replayable failure case and preserve covered prior behavior. Define success before running candidates, including expected non-use after forgetting. Passing retained tests supports only their coverage, so correction and deletion scenarios need their own checks.

Failure diagnosis and policy revision

A failed audit report can originate before retrieval. If the source contains Jo's audit exception, extraction drops it, and the shortened assertion reaches the model, the earliest demonstrated error is representation loss. Retrieving more copies of that assertion does not restore the missing qualification.

Different observations justify different investigations.
Observed traceLikely investigation
Useful source never admitted.Admission purpose, extraction, or retention policy.
Stored record belongs to another Jo.Identity assignment and affected derivatives.
Correct history exists but new chat lacks it.Cross-session retrieval and context assembly.
Correct evidence reaches input but is ignored.Utilization and competing context; presence alone is insufficient.

Locate the first demonstrated failure

The same wrong answer can originate at different boundaries.

Inspect the correct identity and revision, actual input, and response. Missing trace evidence leaves the cause unresolved rather than proving a retrieval miss.
Read the diagram as text
  • Correct eligible record existed.
  • Record reached effective input.
  • Response respected its meaning.
  • Investigate record lifecycle.
  • Investigate selection and assembly.
  • Investigate interpretation and use.
  • Investigate other task failures.
  • Cause unresolved.
  • Correct eligible record existedInvestigate record lifecycle: no.
  • Correct eligible record existedRecord reached effective input: yes.
  • Correct eligible record existedCause unresolved: unobserved.
  • Record reached effective inputInvestigate selection and assembly: no.
  • Record reached effective inputResponse respected its meaning: yes.
  • Record reached effective inputCause unresolved: unobserved.
  • Response respected its meaningInvestigate interpretation and use: no.
  • Response respected its meaningInvestigate other task failures: yes.
  • Response respected its meaningCause unresolved: unobserved.

Retrieval recall uses eligible useful records as its denominator; precision uses returned records. Count distinct records under the same snapshot and identity policy. Declare zero-denominator handling: no useful records makes recall undefined, and no returned records makes precision undefined. Report unavailable retrieval separately. End-to-end success instead counts later tasks.

Negative transfer occurs when retained information worsens later performance. The long-horizon Claude demonstration shows a wrong location memory repeatedly inducing the same game error. Consistency alone is also insufficient: a stable answer can be wrong. Measure correctness alongside unnecessary questions, unsupported personalization, stale claims, and disclosure failures.

Check whether the tested mechanism actually ran. A short evaluation that never triggers compaction says little about compaction quality. Similarly, a forgetting test that never recalls or re-ingests the affected information misses its critical behavior. Track correction and deletion completion, latency, storage, and processing work as separate outcomes.

Diagnostic records should identify memory revisions, policy versions, processing outcomes, selected records, submitted input, and observed results. General tracing conventions do not automatically capture every application revision. Apply a bounded capture policy, minimizing content so telemetry does not become an unmanaged second memory store.

Failure analysis separates competing explanations before a repair. Evidence may justify better admission, faithful consolidation, narrower recall, or shorter retention. It may also justify removing a memory feature. Offline revisions earn their compute cost through improved later behavior, not through plausible-looking notes.

Open questions

  1. Consolidation needs reliable acceptance criteria for exceptions and uncertain preferences. Fluent summaries can conceal semantic loss, while exhaustive review is expensive. Progress would preserve qualified assertions across repeated consolidation and reject unsupported generalizations on held-out cases.

  2. Authority resolution remains application-dependent when current records, intended behavior, and human corrections disagree. Recency and organizational rank do not settle truth. Progress would identify conflicts requiring escalation while resolving explicitly governed cases without silently discarding contrary evidence.

  3. Selective forgetting remains difficult under shared derivatives and delayed ingestion. Canceling work for a deleted target does not cover every content-specific removal. Progress would demonstrate that concurrent publication cannot restore prohibited content while unrelated supported memories remain usable.

  4. Retention policies must adapt to changing usefulness without rewarding frequent reuse of mistaken memories. This matters because recall can reinforce the very information that causes failure. Progress would improve later tasks across shifting needs while measuring harmful reuse, storage growth, and maintenance cost.

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

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.

118 matching talks

TalkSpeakerEventYear
Richmond AlakeAI Engineer World's Fair 20252025
Charles PackerAI Engineer Summit 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
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

Transcript reviewed

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

Cited in this entry

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
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
Aparna Dhinkaran, Aparna DhinakaranAI Engineer Summit 20252025
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
Ahmed MenshawyAI Engineer World's Fair 20242024
Lech KalinowskiAI Engineer World's Fair 20262026
Recursive Coding Agents

Metadata candidate

Raymond WeitekampAI Engineer World's Fair 20262026
Anton TroynikovAI Engineer Summit 20232023
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
Alberto RomeroAI Engineer Code 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
41 processed in full · 5 in the curated path
Automated source review
Passed
Metadata candidates
82 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. Architecting Agent Memory: Principles, Patterns, and Best Practices

    Persisted information becomes operational memory when it informs a subsequent execution step.

  2. Custom Instructions — Mem0

    Custom-instruction definition, agent-specific extraction, testing, and troubleshooting; a practical example of purpose-dependent admission policies.

  3. Entity-Scoped Memory — Mem0

    Feature anatomy and identifier-selection sections; concrete evidence that speaker attribution, subject mentions, and retrieval scope are different concerns.

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

    Important corrections should explicitly update durable memory instead of relying only on accumulated conversation or recursive summaries.

  5. Your Agent Didn’t Fail. Your Harness Did.

    Trace one real run from trigger identity through inherited state, authority, execution attempts, and surviving external evidence.

  6. MemGPT: Towards LLMs as Operating Systems

    Sections 2.1–2.4: memory hierarchy, queue management, function executor, and control flow/function chaining.

  7. 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.

  8. Memory overview — LangChain

    Official framework concept guide; memory scope, representation, and write timing.

  9. LangGraph BaseStore: updates, deletion and TTL

    PutOp; TTLConfig; BaseStore.put/aput and delete/adelete method contracts.

  10. Check Data Ingestion Status — Zep

    Ingestion monitoring and readiness sections; memory admission, processing, and retrieval availability as distinct observable boundaries.

  11. Cognitive Architectures for Language Agents

    Sections 4–4.1; foundational terminology and optional memory components, complementing the supplied implementation notes.

  12. Memory overview — LangChain

    Official conceptual documentation; memory scope, storage choices, and write timing.

  13. Connecting the Dots with Context Graphs

    The talk separates short-term, long-term, and reasoning memory; Neo4j Agent Memory is presented as combining these in a context graph.

  14. Generative Agents: Interactive Simulacra of Human Behavior

    Primary paper, memory retrieval and reflection in sections 4.1–4.2, limitations in section 6.5.

  15. Active Graph Agent Runtime (BabyAGI 4)

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

  16. Continual Learning for AI Agents: From Failures to Durable Improvements - Soheil Feizi, RELAI

    The talk distinguishes storing facts or corrections from distilling successful trajectories into reusable procedural skills.

  17. The Fellegi-Sunter model — Splink

    Official Splink theory guide: m/u probabilities, priors, Bayes factors and additive match weights.

  18. 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.

  19. PROV-DM: The PROV Data Model

    Introduction; core entities, activities, agents and derivations; section 7 on changing resources.

  20. Wearing the Agent: Engineering a Family-and-Friends Personal Agent, from Group Chats to Glasses

    Extract reusable atomic facts rather than merely storing every message and repeatedly compacting the conversation.

  21. Time in XTDB

    Official temporal-model explanation and correction example.

  22. Episode metadata projection — Zep

    Episode associations, metadata projection, and filtering sections; source lineage and the interpretation of merged metadata.

  23. Can LLMs Express Their Uncertainty? An Empirical Evaluation of Confidence Elicitation in LLMs

    Paper v2, sections 3.3–3.4, 4, 5.1–5.3 and 6; Table 3; Appendix E.4.

  24. Building security around ML

    Dataset URLs can outlive their original owners or content; verify downloaded data against available provenance and checksums.

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

    An application can synchronize external records into API-addressable memory blocks instead of relying entirely on the agent to discover and summarize them.

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

    Primary paper v1, retrieval setup and explicit attacker assumptions in sections 3.1–3.2.

  27. Making retries safe with idempotent APIs

    Reducing client complexity; Retries and semantic equivalence; Late arriving requests; Same client request ID, different intent.

  28. Transactional outbox pattern — AWS Prescriptive Guidance

    Official distributed-systems pattern; the memory/index example is an explicitly derived application.

  29. Introduction to Information Retrieval: Near-duplicates and shingling

    Near-duplicates and shingling; shingle-set definition, Jaccard threshold, equation 247, sketches and syntactic clustering.

  30. Reflexion: Language Agents with Verbal Reinforcement Learning

    Primary paper v4, section 3 and Actor/Evaluator/Self-Reflection roles.

  31. Claude for long-horizon tasks

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

  32. Claude for long-horizon tasks

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

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

    Structured extraction needs subsequent entity deduplication and fact deconfliction to integrate new information with existing memory.

  34. 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.

  35. Memory Harnesses for Long-Running Research Agents

    Treat agent memory as a write, manage, and read control loop, with distinct always-visible, recall, and cross-session archival components.

  36. Memory Harnesses for Long-Running Research Agents

    Evaluate what gets stored, how memories are ranked and recalled, and what persists across sessions.

  37. AI Engineering 201: The Rest of the Owl

    Retrieval-augmented generation (RAG) is fundamentally context retrieval; vector similarity is one implementation choice within a broader search strategy.

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

    Primary paper v2, benchmark abilities and memory-system decomposition.

  39. AI Engineering 201: The Rest of the Owl

    Filtering after vector retrieval can fail to answer the intended constrained similarity query; pre-filtering changes the indexing requirements.

  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. Stop babysitting your agents: building a context engine for mergeable code

    A correct answer can become stale as the underlying system changes; the speaker recommends against answer caching for such changing context.

  42. Not what you've signed up for: Compromising Real-World LLM-Integrated Applications with Indirect Prompt Injection

    Primary paper abstract, version 2; attack mechanism and demonstrated application classes.

  43. Build Your First Demand-Driven Context Base: Let AI Agents Tell You What They Need

    Combining repository code with Confluence documentation produced source-of-truth conflicts in the presenter's experiments.

  44. Build Your First Demand-Driven Context Base: Let AI Agents Tell You What They Need

    They provide maintenance signals, but the Q&A leaves semantic correctness and economical refresh at scale unresolved.

  45. RFC 9110: HTTP Semantics — If-Match

    Sections 8.8.3.2, strong ETag comparison; 13.1.1, If-Match; 13.2, precondition evaluation.

  46. RFC 9111: HTTP Caching

    Sections 4.2, 4.3, 5.2.2.2 and 6; authoritative vocabulary and a concrete refresh-failure policy.

  47. No Vibes Allowed: Solving Hard Problems in Complex Codebases

    Load guidance progressively by location, while accounting for the maintenance cost of persistent documentation.

  48. Batch ingestion — Zep

    Timestamp semantics and batch/per-item status tables; historical backfills and deletion during pending ingestion.

  49. PROV-O: The PROV Ontology — W3C

    W3C recommendation, starting-point provenance terms, derivation, qualified derivation and revision.

  50. Deleting Data from the Graph — Zep

    Documented graph-deletion operations and explicit residual-information warning; a concrete limitation for forget-request fulfillment.

  51. Elasticsearch: Delete a document

    Optimistic concurrency control; Versioning; Routing; refresh query parameter.

  52. NIST Generative AI Profile: Third-Party Risk

    GOVERN 6.1–6.2; MAP 4.1; MANAGE 3–4; Appendix A.1.3 Third-Party Considerations.

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

    Evaluate a continuation after loading an existing multi-turn history instead of testing only fresh conversations.

  54. Continual Learning for AI Agents: From Failures to Durable Improvements - Soheil Feizi, RELAI

    A log plus feedback must be transformed into a replayable simulation with explicit success criteria to evaluate candidate repairs.

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

    Sections 3.4–5; evidence-linked test cases, temporal summaries, and record-granularity comparisons.

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

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

  57. Time in XTDB

    System time; Valid time and worked example; Behind the scenes; In practice.

  58. Continual Learning for AI Agents: From Failures to Durable Improvements - Soheil Feizi, RELAI

    Verifiable continual learning (VCL) requires a replayable failure test, a measured before-and-after improvement, and continued success on prior tests.

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

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

  60. Lost in the Middle: How Language Models Use Long Contexts

    Sections 2.1–2.3, 3.1–3.2 and 4.1–4.2; Figures 5, 7–9.

  61. Claude for long-horizon tasks

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

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

    In a reported experiment with 93 security alerts run three times, episodic memory reduced verdict instability but left unresolved cases with missing references or continued disagreement despite a reference.

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

    Check whether compaction triggered before treating a run as evidence about compaction quality.

  64. OpenTelemetry GenAI semantic conventions: spans

    Inference attributes and footnotes; Execute tool; Capturing instructions, inputs and outputs.

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

    Disabling the tutor's filesystem-browsing tool preserved reported recall and reduced latency on the student-question workload.

  66. Architecting Agent Memory: Principles, Patterns, and Best Practices

    The speaker proposes conversation metadata and recall-recency signals as inputs to an experimental forgetting mechanism.

  67. 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.

  68. 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.