Measure Before You Manage: Evaluating Agent Working Memory in Coding Agents· 先测量再管理:编码代理工作内存评估
Agent working memory is heterogeneous. Objects such as instructions, artifacts, tool outputs, and agent-generated state play different semantic roles and exhibit different size, retention, and representation profiles. Recent work has begun to explore memory-management mechanisms that account for such heterogeneity. This work focuses on semantic heterogeneity and studies how it should shape the management and evaluation of working memory in coding agents. Across 55 archived coding-agent trajectories, we find that semantically different working-memory objects exhibit distinct retention and compression behavior. This heterogeneity motivates semantically informed memory management. We study two semantically informed strategies: an object-aware compression policy and a retrieval-based policy. T
研究编码代理工作内存的语义异质性及管理策略。
- 核心方法
- 通过分析55个存档的编码代理轨迹,研究语义不同的工作内存对象在保留和压缩行为上的差异,并提出两种基于语义的管理策略:对象感知压缩策略和基于检索的策略。
- 适合谁读
- 研究者、工程师
- 要解决的问题
- 编码代理的工作内存对象在语义上存在异质性,影响了内存管理的有效性。
- 关键实验
- 分析了55个存档的编码代理轨迹,展示了不同语义对象的保留和压缩行为。
- 主要贡献
- 揭示了编码代理工作内存中语义异质性的存在,提出了更有效管理这些内存对象的策略。
- 意义与局限
- 该研究有助于提高编码代理的工作效率和性能,但主要局限于对已有数据的分析,未进行实证测试。