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:
- Using LLMs as judges for complex, subjective tasks
- Developing more sophisticated self-correction mechanisms
- Expanding the framework to handle more diverse task types
This advancement represents a significant step toward creating truly autonomous AI agents capable of reliable enterprise automation.
Related News
Shopify Leverages MCP-UI to Enhance AI Agent Commerce
Shopify engineers discuss using MCP-UI to integrate web components into AI agents for its agentic commerce initiative.
Beginner Guide to Building AI Agents with GPT and CrewAI
Learn how to create practical AI agents from scratch using GPT, n8n, CrewAI, and Streamlit with step-by-step instructions to ship your first agent in a weekend.
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.