AI Agents

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

HHaozhen ZhangQQuanyu LongJJianzhu BaoTTao FengWWeizhi ZhangHHaodong YueWWenya Wang
Published
February 2, 2026
Authors
7
Word Count
11,903
Code
Includes code

Enhancing AI memory management with adaptive skills.

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 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 controller that learns to select a small set of relevant skills, paired with an LLM-based executor that produces skill-guided memories. Beyond learning skill selection, MemSkill introduces a 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.

Key Takeaways

  • 1

    Memory management in AI can be adaptive and self-evolving.

  • 2

    MemSkill introduces learnable and evolvable memory skills.

  • 3

    Skills are selected and evolved based on interaction data.

Limitations

  • Reliance on human-designed initial skill bank.

  • Requires substantial training data for skill evolution.

Keywords

Large Language Modelmemory systemslearnable memory skillsevolvable memorycontrollerexecutordesignerskill selectionskill evolutionagent skillsinteraction tracesmemory extractionmemory consolidationmemory pruning

More in AI Agents

View all
MemSkill: Learning and Evolving Memory Skills for Self-Evolving Agents | Paperchime