Share your thoughts, 1 month free Claude Pro on usSee more
WorkDL logo mark

MemToolAgent: Leveraging Memory for Tool Using Agents Based on Environment and User Feedback

About

Modern large language model (LLM) agents can use external tools to help users solve complex tasks. However, for problems that require learning from long-term historical events or from previous agent-environment interactions, LLM agents are required to use memory mechanisms to store and retrieve experiences. While sophisticated memory systems exist for dialogue agents, few studies have empirically examined how to improve agents' tool-using capabilities through past user-agent conversations. We propose MemToolAgent, a framework that improves tool use through memory management. Our approach contains a memory extraction module that processes past experiences into structured memory entries, and a retrieval module that dynamically selects a subset of the stored memory entries. This enables more personalized and accurate responses aligned with user preferences and feedback without requiring LLM fine-tuning. In summary, this work has three main contributions: (1) a unified memory entry format that improves both general-purpose and personalized tool use without LLM fine-tuning, (2) a reflection-based memory extraction that uses environment and user feedback to distill wrong executions into critiques to store, and (3) a retrieval module that chooses how many past experiences to use based on the memory similarity distribution. MemToolAgent achieves 29%, 80%, and 17% relative improvements compared to strong baselines on the WorkBench, NESTFUL, and PEToolBench benchmarks, respectively.

Suleyman Armagan Er, Danilo Ribeiro, Yogesh Virkar, Surafel Lakew, Adi Kalyanpur, James Gung, Thomas Delteil, Arshit Gupta• 2026

Related benchmarks

TaskDatasetResultRank
Agent Tool UseWorkBench
Analytics Success Rate92.59
4
General Purpose Tool UseWorkBench
Analytics Success Rate86.11
4
General Purpose Tool UseNestFUL
F1 Functional96
4
Personalized Tool OrchestrationPEToolBench 50-query (test)
Tool Accuracy82
3
Showing 4 of 4 rows

Other info

Follow for update