Papers › Agentic Memory: Learning Unified Long-Term and Short-Term Memory Management for Large...

Agentic Memory: Learning Unified Long-Term and Short-Term Memory Management for Large Language Model Agents

5 Jan 2026arXiv:2601.01885added by Syntology

Yi Yu, Liuyi Yao, Yuexiang Xie, Qingquan Tan, Jiaqi Feng, Yaliang Li, Libing Wu

Title, abstract, authors and date from arXiv's metadata (CC0); this paper is not in the Papers with Code archive (frozen 2025-07-28).

Large language model (LLM) agents face fundamental limitations in long-horizon reasoning due to finite context windows, making effective memory management critical. Existing methods typically handle long-term memory (LTM) and short-term memory (STM) as separate components, relying on heuristics or auxiliary controllers, which limits adaptability and end-to-end optimization. In this paper, we propose Agentic Memory (AgeMem), a unified framework that integrates LTM and STM management directly into the agent's policy. AgeMem exposes memory operations as tool-based actions, enabling the LLM agent to autonomously decide what and when to store, retrieve, update, summarize, or discard information. To train such unified behaviors, we propose a three-stage progressive reinforcement learning strategy and design a step-wise GRPO to address sparse and discontinuous rewards induced by memory operations. Experiments on five long-horizon benchmarks demonstrate that AgeMem consistently outperforms strong memory-augmented baselines across multiple LLM backbones, achieving improved task performance, higher-quality long-term memory, and more efficient context usage.

PaperPDFCode Syntology ran

In Syntology Open this paper in Syntology's Atlas, the map of the papers in Syntology's graph and their citations.

For agents, Syntology's MCP tool lists every function and class Syntology harvested from this paper and whether it ran (how to connect): get_harvested_code_for_paper(arxiv_id="2601.01885")

Code

Syntology Ran 14 of 24 code samples harvested from 1 repository linked to this paper; 10 have no recorded run. Of those that ran: 6 ran · violated contract; 4 ran · our draft was wrong; 4 ran with no contract checked.

By repository: found in paper text by Syntology: 24 samples from 1 repository, 14 ran. The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

mem0ai/mem0 found in paper text by Syntology report

Reachability, where shown, is from one Syntology probe window (2026-09-16 to 2026-09-18); repositories not probed show nothing. GitHub stars are not tracked.

Code Syntology ran Syntology

24 samples harvested; 14 ran; 0 honoured the contract we drafted; 10 have no recorded run. Read from Syntology's graph 2026-09-24; that is when this build read the record, not when the samples ran.

6ran · violated contract
4ran · our draft was wrong
4ran
10unverified

Licence: 0 of the 24 samples are pointer only, meaning Syntology does not serve that copy's text. This page shows no code text for any sample; each one links to its file in the repository.

Harvested from mem0ai/mem0. “Ran” means the sample executed on a synthesized input. It does not mean the output is correct, and nothing here reproduces the paper's results. “Honoured” and “violated” refer to a contract Syntology drafted from the code itself; “our draft was wrong” and “fixture could not drive it” are failures of Syntology's instrument, not of the code.

Each sample ends with its code_sha256, Syntology's identity for that exact code. An agent fetches the stored sample with Syntology's MCP tool get_code(code_sha256="…") (how to connect); click an identity to copy that call.

Repository labels, per sample. official repository: The archive marks this repository official for the paper. named in the paper: The archive records that the paper mentions this repository; it is not marked official. community (archive-listed): In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper. found in paper text by Syntology: Syntology found this repository in the paper's own text; whether it is the authors' implementation is not asserted. community: Not in the archive's code links for this paper; a community repository Syntology harvested. Samples from a repository marked official are listed first. Licence labels name the repository's licence as recorded at harvest. “Pointer only” means Syntology does not serve that copy's text, for one of four reasons: no licence file was found; the licence was not identified; the licence is recorded as permissive but that copy's record is not marked cleared; or the licence is outside the permissive list Syntology serves text under (MIT, Apache-2.0, BSD and similar). Some licences outside that list permit redistribution, such as WTFPL, and GPL-3.0 under its conditions; they are simply not on the list. Hover a licence label for the reason. File links open the file on GitHub at the default branch, which may have changed since the harvest.

_clean_text mem0ai/mem0/mem0/utils/entity_extraction.py found in paper text by Syntology ran · our draft was wrong fingerprinted Apache-2.0 (permissive) · c5e53432d7662f70 · report
_has_artifacts mem0ai/mem0/mem0/utils/entity_extraction.py found in paper text by Syntology ran · violated contract Apache-2.0 (permissive) · 94ab7f0b12e44e6d · report
_has_internal_cap_or_digit mem0ai/mem0/mem0/utils/entity_extraction.py found in paper text by Syntology ran · violated contract Apache-2.0 (permissive) · f8dd2a53c5047b07 · report
_is_bad_single_name_token mem0ai/mem0/mem0/utils/entity_extraction.py found in paper text by Syntology ran · violated contract Apache-2.0 (permissive) · 6ec909eb5afab022 · report
_is_metric_list_context mem0ai/mem0/mem0/utils/entity_extraction.py found in paper text by Syntology ran Apache-2.0 (permissive) · 4463a60a9d03dcdc · report
_is_name_like_token mem0ai/mem0/mem0/utils/entity_extraction.py found in paper text by Syntology ran Apache-2.0 (permissive) · 4cbf1073b0a023f3 · report
_is_sentence_start mem0ai/mem0/mem0/utils/entity_extraction.py found in paper text by Syntology ran Apache-2.0 (permissive) · 5e4f2387f296d35f · report
_looks_like_metric_count_token mem0ai/mem0/mem0/utils/entity_extraction.py found in paper text by Syntology ran · violated contract Apache-2.0 (permissive) · 74939975e0278685 · report
_looks_like_technical_identifier mem0ai/mem0/mem0/utils/entity_extraction.py found in paper text by Syntology ran · violated contract Apache-2.0 (permissive) · 5ab76c035f2e64fc · report
_norm_text mem0ai/mem0/mem0/utils/entity_extraction.py found in paper text by Syntology ran · our draft was wrong fingerprinted Apache-2.0 (permissive) · a3008971abfa9122 · report
_resolve_candidates mem0ai/mem0/mem0/utils/entity_extraction.py found in paper text by Syntology ran · our draft was wrong Apache-2.0 (permissive) · e9de39b62debfc85 · report
_spans_overlap mem0ai/mem0/mem0/utils/entity_extraction.py found in paper text by Syntology ran · violated contract Apache-2.0 (permissive) · ea972a7e100feeab · report
_strip_generic_ending mem0ai/mem0/mem0/utils/entity_extraction.py found in paper text by Syntology ran · our draft was wrong Apache-2.0 (permissive) · 431642b1fccacd8d · report
_strip_trailing_metric_counts mem0ai/mem0/mem0/utils/entity_extraction.py found in paper text by Syntology ran Apache-2.0 (permissive) · 08193bfb7ac464ed · report
_EntityCandidate mem0ai/mem0/mem0/utils/entity_extraction.py found in paper text by Syntology unverified Apache-2.0 (permissive) · 60e944a1cd04f877 · report
_add_candidate mem0ai/mem0/mem0/utils/entity_extraction.py found in paper text by Syntology unverified Apache-2.0 (permissive) · 5ee1f4818e7f81a5 · report
_add_ner_candidates mem0ai/mem0/mem0/utils/entity_extraction.py found in paper text by Syntology unverified Apache-2.0 (permissive) · 24e930481bb6698f · report
_add_proper_name_candidates mem0ai/mem0/mem0/utils/entity_extraction.py found in paper text by Syntology unverified Apache-2.0 (permissive) · bc4f7d91fbb29c7f · report
_add_quoted_candidates mem0ai/mem0/mem0/utils/entity_extraction.py found in paper text by Syntology unverified Apache-2.0 (permissive) · c2e1a0f1532866f6 · report
_add_technical_identifier_candidates mem0ai/mem0/mem0/utils/entity_extraction.py found in paper text by Syntology unverified Apache-2.0 (permissive) · da514d98bd792e73 · report
_add_topic_phrase_candidates mem0ai/mem0/mem0/utils/entity_extraction.py found in paper text by Syntology unverified Apache-2.0 (permissive) · 63bbf2b4b4e4e511 · report
_extract_entities_from_doc mem0ai/mem0/mem0/utils/entity_extraction.py found in paper text by Syntology unverified Apache-2.0 (permissive) · 7d39898fd2610bf2 · report
_is_list_item_name_token mem0ai/mem0/mem0/utils/entity_extraction.py found in paper text by Syntology unverified Apache-2.0 (permissive) · a5f6f09c6d78957f · report
extract_entities mem0ai/mem0/mem0/utils/entity_extraction.py found in paper text by Syntology unverified Apache-2.0 (permissive) · 803fac58e74c7e8b · report

Results from the paper

The Papers with Code archive ends with its 2025-07-28 snapshot. This paper's arXiv identifier, 2601.01885, was issued in January 2026, after that date, so the archive has no leaderboard rows for it.

Report a problem or propose a change · a person checks every report against the paper or source before anything changes; decisions are listed on /corrections