MemDev-Bench: Does Memory Help Code Agents?Benchmarking Memory Systems over Real Repository Histories
Guorui Chen, Tao Liu, Zhenzhen Huang, Yidan Zhang, Liyu Jiang, Shuoyuan Wang, Hanchen Sun, Xu He, Dong Li, Yihan Hu, Jianye Hao, Lei Feng
Abstract
Code agents increasingly work on evolving real repositories, and memory systems aim to help them reuse earlier experience. However, such experience is diverse and evolving, so it remains unclear how memory systems organize it and thereby affect code agents. Existing benchmarks cannot answer this reliably because they lack either temporally valid histories or control over prior-task relevance. In this paper, we present MemDev-Bench to evaluate how memory systems affect code agents over diverse repository histories. It pairs each task with relevance-annotated earlier tasks from the same repository to build histories with controlled relevance. We also build an automated pipeline that reliably makes these earlier tasks executable and verifiable, producing 4,869 historical tasks for 555 base tasks. Based on MemDev-Bench, our systematic evaluation of memory systems across diverse development scenarios yields three main findings. (1) Memory mainly improves fine-grained localization and editing, increasing functional correctness. (2) Memory also causes failures on otherwise solvable tasks even with related history, and unrelated history tends to increase such failures. These failures mainly stem from agents reusing memory without reassessing its applicability. (3) Compared with using memory systems, directly providing agents with raw historical trajectories substantially reduces their steps. Further analysis suggests that agents save these steps by reusing process information that compressed memories tend to omit. These results suggest that future memory systems should preserve process information and reassess memory applicability against current task context.
Create a lesson
Related papers
ESM-Bench: A Benchmark for Evaluating Whether AI Agents Understand Earth System Model Physics and Code
Shared title terminologycs.AIKoutian Wu, Yuxuan Cao, Gengchen Mai et al.
GenXR-Bench: Benchmarking Coding Agents for Interactive XR Development
Shared title terminologycs.AIWilliam Huang, David Li, Xiang 'Anthony' Chen et al.
Why Bother Me Again? Benchmarking Personal Agent Memory for Interaction Preferences
Shared title terminologycs.AIJialin Li, Zhenhao Chen, Hanjun Luo et al.
When Does Experience Memory Help Closed-Loop LLM Driving Agents? A Controlled Evaluation with Resampled Warmup Pools, Token-Matched Fillers, and Audited Baselines
Shared title terminologycs.AIYingxin Jia, Xuanyi Li
DuplexLedger: Benchmarking Transactional Memory in Full-Duplex Speech Agents
Shared title terminologycs.AIYuxuan Li, Xiangchen Guan, Kunrong Li et al.
REM: What to Store, When to Recall, What to Forget in Experience Memory for Coding Agents
Shared title terminologycs.AIXinyi Lisa Chen, Pedro Herrero-Vidal, Xiaohan Chen et al.