LIBRA: Programmatic Induction of Executable Tool Libraries
Zekai Li, Zhenke Liu, Yonghao Li, Junhan Liu, Xulong Xiao, Jiapeng Zhang
Key points
From the paper's conclusion- For multi tool tasks, this recovers the goal matching tool while omitting prerequisite tools required by the workflow.We introduce LIBRA, a framework for Library Induction by Runtime Assembly that turns a flat tool catalog into an executable tool library.
Abstract
Large language model agents increasingly retrieve tools from large catalogs, yet most retrievers rank each tool independently by request similarity. For multi tool tasks, this recovers the goal matching tool while omitting prerequisite tools required by the workflow.We introduce LIBRA, a framework for Library Induction by Runtime Assembly that turns a flat tool catalog into an executable tool library. An LLM proposes per tool contracts of candidate invocations, reusable outputs and state changes, and success conditions; LIBRA then tests these compositions in a sandbox and retains the relations supported at runtime. Constructed before user queries, the library requires no dependency annotations, tool use trajectories, or task specific training, and supports both one-shot and agentic retrieval. On AppWorld, BFCL, and SciToolEval, LIBRA improves one-shot Recall and NDCG over the same dense retriever by 7.9 and 3.7 percentage points on average. Within ToolReAGt, it yields corresponding gains of 4.5 and 2.9 points after ten retrieval iterations.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- Explore Separately, Adopt Selectively: Execution-Guided Tool Use over Large Tool LibrariesarXiv · 2026
- The evolution of tool use in LLM agents: from single-tool call to multi-tool orchestrationArtificial Intelligence Review · 2026
- AgentTune: A Unified Training Lifecycle for Tool-Using LLM AgentsarXiv · 2026
- RATED: Reliability-Aware AI Agent Tool Retrieval via Execution DynamicsarXiv · 2026
- I-PTC: Interactive Programmatic Tool Calling for Stateful Tool-Augmented AgentsarXiv · 2026
- Don't Prompt Your Agents. Equip Them: Skillware as a Modular Standard for Sovereign, Auditable, and Deterministic Capability Execution for Logical SystemsarXiv · 2026