MemSkill: Learning and Evolving Memory Skills for Self-Evolving Agents

Haozhen Zhang, Quanyu Long, Jianzhu Bao, Tao Feng, Weizhi Zhang +2 more
2/2/2026
cs.CLcs.AIcs.LG

No official code found. Best implementation: ViktorAxelsen/MemSkill (572 stars, Apache-2.0, last commit 2026-03-31).

Abstract

Most Large Language Model (LLM) agent memory systems rely on a small set of static, hand-designed operations for extracting memory. These fixed procedures hard-code human priors about what to store and how to revise memory, making them rigid under diverse interaction patterns and inefficient on long histories. To this end, we present \textbf{MemSkill}, which reframes these operations as learnable and evolvable memory skills, structured and reusable routines for extracting, consolidating, and pruning information from interaction traces. Inspired by the design philosophy of agent skills, MemSkill employs a \emph{controller} that learns to select a small set of relevant skills, paired with an LLM-based \emph{executor} that produces skill-guided memories. Beyond learning skill selection, MemSkill introduces a \emph{designer} that periodically reviews hard cases where selected skills yield incorrect or incomplete memories, and evolves the skill set by proposing refinements and new skills. Together, MemSkill forms a closed-loop procedure that improves both the skill-selection policy and the skill set itself. Experiments on LoCoMo, LongMemEval, HotpotQA, and ALFWorld demonstrate that MemSkill improves task performance over strong baselines and generalizes well across settings. Further analyses shed light on how skills evolve, offering insights toward more adaptive, self-evolving memory management for LLM agents.

View on arXivView PDF

Code Implementations(1)

Apache-2.0

MemSkill: Learning and Evolving Memory Skills for Self-Evolving Agents

57237Shell, PythonJan 30, 20266 months agoApache-2.0

Similar Papers

Cite this paper

@article{zhang2026memskill,
  title  = {MemSkill: Learning and Evolving Memory Skills for Self-Evolving Agents},
  author = {Haozhen Zhang and Quanyu Long and Jianzhu Bao and Tao Feng and Weizhi Zhang and Haodong Yue and Wenya Wang},
  year   = {2026},
  eprint = {2602.02474},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2602.02474v1}
}

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

Discussion