Optimizing LLM-Agents with History-Driven Task Planning
- Authors
-
-
Ewan Ritchford
-
- Abstract
-
The proliferation of intelligent agents based on large language models (LLMs) has shifted the focus towards efficient task planning and tool invocation for complex tasks. Traditionally, agents from scratch for each task, leading to inefficiencies in task planning and tool usage. This study introduces a history-driven task planning method to leverage execution history and enhance task planning efficiency. The method addresses two key issues: the repetitive exploration of task planning paths and the regeneration of intermediate code artifacts in similar tasks. By transforming historical task planning trajectories into actionable experience and automating the generation of reusable modules, the approach significantly reduces LLM token consumption and increases task completion rates. The study also presents the History-based Agent Optimization Kit (HAOK), which integrates seamlessly with existing agents to optimize prompts and enhance performance.
- References
- Downloads
- Published
- 2025-03-30
- Issue
- Vol. 4 No. 3 (2025)
- Section
- Articles
- License
-

This work is licensed under a Creative Commons Attribution 4.0 International License.
Academic Scholar Hub Press also operates under the Creative Commons Licence CC-BY 4.0. This allows for copy and redistribute the material in any medium or format for any purpose, even commercially. The premise is that you must provide appropriate citation information.
