Memp: Exploring Agent Procedural Memory

Runnan Fang, Yuan Liang, Xiaobin Wang, Jialong Wu, Shuofei Qiao +4 more
8/8/2025
cs.CLcs.AIcs.LG

Official code: zjunlp/MemP (40 stars, MIT, last commit 2026-01-30).

Abstract

Large Language Models (LLMs) based agents excel at diverse tasks, yet they suffer from brittle procedural memory that is manually engineered or entangled in static parameters. In this work, we investigate strategies to endow agents with a learnable, updatable, and lifelong procedural memory. We propose Memp that distills past agent trajectories into both fine-grained, step-by-step instructions and higher-level, script-like abstractions, and explore the impact of different strategies for Build, Retrieval, and Update of procedural memory. Coupled with a dynamic regimen that continuously updates, corrects, and deprecates its contents, this repository evolves in lockstep with new experience. Empirical evaluation on TravelPlanner and ALFWorld shows that as the memory repository is refined, agents achieve steadily higher success rates and greater efficiency on analogous tasks. Moreover, procedural memory built from a stronger model retains its value: migrating the procedural memory to a weaker model yields substantial performance gains.

View on arXivView PDF

Code Implementations(1)

zjunlp/MemPOfficial100%
MIT

MemP: Exploring Agent Procedural Memory

402PythonJan 10, 20268 months agoMIT
agentai-memorylarge-language-modelsmemory-systemmemp+1 more

Similar Papers

Cite this paper

@article{fang2025memp,
  title  = {Memp: Exploring Agent Procedural Memory},
  author = {Runnan Fang and Yuan Liang and Xiaobin Wang and Jialong Wu and Shuofei Qiao and Pengjun Xie and Fei Huang and Huajun Chen and Ningyu Zhang},
  year   = {2025},
  eprint = {2508.06433},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2508.06433v2}
}

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/2508.06433.svg)](https://codeofpaper.com/paper/2508.06433)

Discussion