Memp framework enhances AI agent efficiency with procedural memory
Researchers from Zhejiang University and Alibaba Group develop Memp, a framework that gives LLM agents dynamic procedural memory to improve performance and reduce costs.

Researchers from Zhejiang University and Alibaba Group have developed Memp, a novel framework that enhances large language model (LLM) agents by giving them dynamic procedural memory - similar to how humans learn skills through practice. This breakthrough, detailed in their arXiv paper, addresses key limitations in current AI agent systems.
The Problem with Current AI Agents
- Current LLM agents often fail at complex, multi-step tasks due to unpredictable events
- They lack the ability to learn from past experiences, requiring them to restart from scratch
- Procedural knowledge is typically hard-coded, making systems rigid and expensive to update
How Memp Works
Memp creates a continuous learning loop with three stages:
- Building Memory: Stores experiences in either step-by-step format or as abstract scripts
- Retrieving Memory: Uses vector search or keyword matching to find relevant past experiences
- Updating Memory: Continuously improves memory through:
- Adding new experiences
- Filtering for successful outcomes
- Reflecting on failures to correct errors

Key Findings from Testing
- Improved Success Rates: Agents achieved higher task completion rates
- Greater Efficiency: Reduced steps and token consumption by 30-50%
- Knowledge Transfer: Smaller models like Qwen2.5-14B performed better when using memories from larger models like GPT-4o
Enterprise Implications
- Cost Reduction: Smaller models can leverage procedural memories from expensive models
- Reliability: Agents become more robust to environmental changes
- Adaptability: Continuous learning enables long-term performance improvements
Future Directions
The researchers highlight the need for better evaluation metrics, suggesting:
Related News
Beginner-Friendly AI Agent Projects to Learn and Build
Explore five practical AI agent projects for beginners, covering scheduling, coding, content creation, research, and search functionalities.
Claude Sonnet 4 5 Advances AI Agents Toward OS Like Capabilities
Anthropic's Claude Sonnet 4.5 coding model demonstrates how AI agents could evolve into dynamic operating systems, raising questions about future app development and security.
About the Author

Dr. Sarah Chen
AI Research Expert
A seasoned AI expert with 15 years of research experience, formerly worked at Stanford AI Lab for 8 years, specializing in machine learning and natural language processing. Currently serves as technical advisor for multiple AI companies and regularly contributes AI technology analysis articles to authoritative media like MIT Technology Review.