🤖 AI Summary
To address LLMs’ weak task planning capability and brittle tool invocation in complex scenarios, this paper proposes TPTU—the first structured LLM agent framework that explicitly decouples and formalizes task planning and tool utilization as dual core competencies. It introduces a collaborative reasoning mechanism between single-step and sequential agents, supports extensible agent-type specialization, and integrates prompt engineering, dynamic tool selection, multi-step reasoning scheduling, and structured output parsing—ensuring compatibility with diverse mainstream LLMs. A systematic evaluation of 12 LLMs across representative tasks reveals three fundamental bottlenecks: insufficient planning depth, poor tool generalization, and weak error recovery. Based on these findings, we establish the first benchmark suite tailored for practical AI agents, providing both theoretical foundations and empirical pathways for advancing agent architecture design and capability enhancement. (149 words)
📝 Abstract
With recent advancements in natural language processing, Large Language Models (LLMs) have emerged as powerful tools for various real-world applications. Despite their prowess, the intrinsic generative abilities of LLMs may prove insufficient for handling complex tasks which necessitate a combination of task planning and the usage of external tools. In this paper, we first propose a structured framework tailored for LLM-based AI Agents and discuss the crucial capabilities necessary for tackling intricate problems. Within this framework, we design two distinct types of agents (i.e., one-step agent and sequential agent) to execute the inference process. Subsequently, we instantiate the framework using various LLMs and evaluate their Task Planning and Tool Usage (TPTU) abilities on typical tasks. By highlighting key findings and challenges, our goal is to provide a helpful resource for researchers and practitioners to leverage the power of LLMs in their AI applications. Our study emphasizes the substantial potential of these models, while also identifying areas that need more investigation and improvement.