MemWeaver: Weaving Hybrid Memories for Traceable Long-Horizon Agentic Reasoning

Juexiang Ye, Xue Li, Xinyu Yang, Chengkai Huang, Lanshun Nie +2 more
1/26/2026
cs.CL

No confident code implementation found for this paper.

Abstract

Large language model-based agents operating in long-horizon interactions require memory systems that support temporal consistency, multi-hop reasoning, and evidence-grounded reuse across sessions. Existing approaches largely rely on unstructured retrieval or coarse abstractions, which often lead to temporal conflicts, brittle reasoning, and limited traceability. We propose MemWeaver, a unified memory framework that consolidates long-term agent experiences into three interconnected components: a temporally grounded graph memory for structured relational reasoning, an experience memory that abstracts recurring interaction patterns from repeated observations, and a passage memory that preserves original textual evidence. MemWeaver employs a dual-channel retrieval strategy that jointly retrieves structured knowledge and supporting evidence to construct compact yet information-dense contexts for reasoning. Experiments on the LoCoMo benchmark demonstrate that MemWeaver substantially improves multi-hop and temporal reasoning accuracy while reducing input context length by over 95\% compared to long-context baselines.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{ye2026memweaver,
  title  = {MemWeaver: Weaving Hybrid Memories for Traceable Long-Horizon Agentic Reasoning},
  author = {Juexiang Ye and Xue Li and Xinyu Yang and Chengkai Huang and Lanshun Nie and Lina Yao and Dechen Zhan},
  year   = {2026},
  eprint = {2601.18204},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2601.18204v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2601.18204.svg)](https://codeofpaper.com/paper/2601.18204)

Discussion