Agentic AI
Framework teaches AI agents to build and improve their own memory systems
A new approach lets language model agents autonomously develop better ways to store and manage information, rather than relying on fixed hand-coded rules.
Most language model agents today manage memory using rigid, pre-designed operations that humans build into them from the start. These fixed procedures struggle when faced with varied real-world scenarios and become increasingly inefficient as interaction histories grow longer.
A new framework called MemSkill flips this approach on its head, treating memory operations as learnable, adaptable routines that agents can improve over time. Rather than locking in human assumptions about what information matters and how to organize it, the system lets agents develop memory strategies tailored to their specific challenges.
How MemSkill Works#
The framework operates through three key components working in tandem:
- Controller: Learns which memory skills to apply in different situations, selecting from a pool of available routines rather than using all of them indiscriminately
- Executor: An LLM-powered module that applies the selected skills to generate memories from interaction traces
- Designer: Periodically reviews failure cases where skills performed poorly, then proposes refinements to existing skills and invents entirely new ones
This closed-loop design creates continuous improvement—the system gets better both at choosing which skills to use and at developing better skills themselves.
Tested Across Multiple Tasks#
Researchers evaluated MemSkill on four different benchmark environments: LoCoMo, LongMemEval, HotpotQA, and ALFWorld. The results showed consistent improvements over strong baseline approaches, with the system demonstrating the ability to transfer learned skills across different domains without retraining.
The analysis of how skills evolved during training offers practical insights into what makes adaptive memory management work for LLM-based agents. Code for the approach has been made publicly available.

