SodaMem: New Temporal Graph Memory for LLM Agents

Fengrong Wan, Chengcan Wu, Ningtao Lyu· August 11, 2026 View original

Key takeaways

  • LLM agents need robust temporal memory to track evolving facts over long interactions.
  • SodaMem uses an evidence-grounded temporal graph to manage fact currency and provenance.
  • It extracts "FactEvents" and links them with SUPERSEDES/CONTRADICTS/UPDATES edges.
  • The system improves accuracy and cost-efficiency for long-term memory in LLM agents.

Who benefits

Customer ServiceSoftware DevelopmentFinancial ServicesHealthcareLegal

Summary

SodaMem introduces an evidence-grounded temporal graph memory designed for LLM agents to accurately remember current facts over long conversational periods, addressing limitations of traditional RAG diaries. It extracts typed FactEvents with provenance, tracks validity using temporal edges, and answers queries via a planner-reader loop that gathers citable evidence.

Large Language Model (LLM) agents designed for long-term user assistance, spanning weeks of conversation, face a critical challenge: remembering what is *currently* true, not just what was previously stated. Existing memory solutions like flat RAG diaries often struggle with currency, provenance, and ordered temporal reasoning, making it difficult for agents to maintain an accurate "store of record." A new system called SodaMem proposes an evidence-grounded temporal graph memory to overcome these limitations. It operates by extracting "FactEvents" that include mandatory provenance spans, recording when information was mentioned, when it occurred, and its validity. This is managed through a graph structure with SUPERSEDES, CONTRADICTS, and UPDATES edges, supported by hybrid lexical-dense indexing. When an LLM agent needs to answer a question, SodaMem employs a planner-reader loop. This loop first gathers citable evidence from its temporal graph memory before composing a final, accurate response. Benchmarking on LongMemEval-S shows SodaMem achieving high accuracy at a competitive cost, demonstrating its effectiveness in providing LLM agents with a robust, time-aware memory.

Why it matters

Professionals developing or deploying LLM agents for customer service, personal assistants, or long-term knowledge management can use SodaMem's approach to build more reliable, context-aware, and accurate AI systems that maintain a consistent understanding of evolving information.

How to implement this in your domain

  1. 1Evaluate current LLM agent memory solutions for limitations in temporal reasoning and fact currency.
  2. 2Explore integrating graph-based memory structures like SodaMem to enhance long-term conversational agents.
  3. 3Design a system for extracting "FactEvents" with clear provenance from agent interactions.
  4. 4Implement a planner-reader loop to leverage temporal memory for evidence-grounded responses.

Original post by Fengrong Wan, Chengcan Wu, Ningtao Lyu

"arXiv:2608.08055v1 Announce Type: new Abstract: Large language model (LLM) agents that assist users over weeks of conversation must remember what is currently true, not merely what was once said. Flat RAG diaries and Markdown logs optimize needle retrieval but under-serve currenc…"

View on X

Originally posted by Fengrong Wan, Chengcan Wu, Ningtao Lyu on X · view source

Want to go deeper?

Turn these trends into skills with Learnijoy's hands-on AI & tech courses.

Explore courses