跳到正文
arXiv cs.AI· Zekai Li, Zhenke Liu, Yonghao Li, Junhan Liu, Xulong Xiao, Jiapeng Zhang·· 3 小时前AI 评分36

LIBRA:程序化归纳可执行工具库的框架

LIBRA: Programmatic Induction of Executable Tool Libraries

AI 导读

LIBRA 框架通过运行时组装,将扁平工具目录归纳为可执行工具库,解决多工具任务中检索器遗漏前置依赖工具的问题。LLM 为每个工具生成调用契约、可复用输出与成功条件,并在沙箱中验证组合关系,无需依赖标注、工具使用轨迹或任务特定训练。

正文 · 原文

View PDF HTML (experimental)

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 this http URL 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.
Comments: 10 pages, 5 figures. Introduces LIBRA, a query-agnostic tool library built via execution-validated prerequisites in a sandbox (avg ARR review score: 3.5/5). Demonstrates consistent performance gains across three benchmarks while discussing sandbox dependencies and library construction trade-offs
Subjects: Software Engineering (cs.SE); Artificial Intelligence (cs.AI); Information Retrieval (cs.IR)
Cite as: arXiv:2611.05445 [cs.SE]
  (or arXiv:2611.05445v1 [cs.SE] for this version)
  https://doi.org/10.48550/arXiv.2611.05445

arXiv-issued DOI via DataCite (pending registration)

Submission history

From: Zhenke Liu [view email]
[v1] Tue, 3 Nov 2026 16:57:04 UTC (1,672 KB)

来源:arXiv cs.AI · arxiv.org