OctoTools: An Agentic Framework with Extensible Tools for Complex Reasoning
Pan Lu, Bowen Chen, Sheng Liu, Rahul Thapa, Joseph Boen, James Zou
TL;DR
OctoTools presents a training-free, extensible agentic framework that orchestrates diverse external tools through a structured planner-executor workflow. By introducing standardized tool cards and a task-specific toolset optimization, it enables multi-step reasoning across 16 benchmarks with substantial gains over GPT-4o and other agent frameworks. The work provides in-depth analyses of planning, tool usage, and decomposition strategies, and demonstrates robustness to weaker LLMs. Together, these contributions offer a modular, transparent path toward more capable and general AI agents for complex problem solving.
Abstract
Solving complex reasoning tasks may involve visual understanding, domain knowledge retrieval, numerical calculation, and multi-step reasoning. Existing methods augment large language models (LLMs) with external tools but are restricted to specialized domains, limited tool types, or require additional training data. In this paper, we introduce OctoTools, a training-free, user-friendly, and easily extensible open-source agentic framework designed to tackle complex reasoning across diverse domains. OctoTools introduces standardized tool cards to encapsulate tool functionality, a planner for both high-level and low-level planning, and an executor to carry out tool usage. We validate OctoTools' generality across 16 diverse tasks (including MathVista, MMLU-Pro, MedQA, and GAIA-Text), achieving substantial average accuracy gains of 9.3% over GPT-4o. Furthermore, OctoTools outperforms AutoGen, GPT-Functions and LangChain by up to 10.6% when given the same set of tools. Through comprehensive analysis and ablations, OctoTools demonstrates advantages in task planning, effective tool usage, and multi-step problem solving.
