跳到正文
arXiv:cs.AI· Hao Li, Keqing He, Longtao Zheng, Junlong Li, Weihao Zeng, Qian Liu, Yuzhen Huang·· 16 小时前

ProgAgent:通过程序化训练学习工具编排

ProgAgent: Learning Tool Orchestration through Programmatic Training

AI 导读

ProgAgent 是一套完整的程序化工具调用(PTC)训练方案,包含可验证长时程任务合成管线、轻量级 PTC 运行时和两阶段训练配方。仅用 215 个任务、四种环境规模实例化训练后,ProgAgent-14B 在 LOCA-bench 上以 64k-token 环境状态取得 30.7% 通过率,而同规模基线得分为零。

正文

View PDF HTML (experimental)

Abstract:Large language models (LLMs) are increasingly expected to orchestrate diverse tools over long-horizon tasks. Existing agents typically use Direct Tool Calling (DTC), where the model invokes tools sequentially, and tool responses accumulate in the model context, which can lead to context rot and orchestration breakdown. In contrast, Programmatic Tool Calling (PTC) invokes tools through executable code and stores intermediate results in runtime variables rather than appending them to the context. Prior work has explored PTC mainly as an inference-time optimization, but its benefits for agentic training remain unclear, and suitable verifiable training tasks are scarce. In this work, we introduce ProgAgent, a full PTC training stack, comprising a pipeline for synthesizing verifiable long-horizon tasks, a lightweight PTC runtime, and a two-stage training recipe. Using only 215 tasks instantiated at four environment scales, ProgAgent yields higher pass rates than the evaluated baselines of comparable size across four benchmarks. On LOCA-bench, ProgAgent-14B achieves a 30.7% pass rate at a 64k-token environment state, where these baselines score zero. Cross-harness experiments show that PTC-trained models outperform DTC-trained models under both evaluation interfaces, suggesting that the benefits of PTC training extend beyond the interface.
Comments: Project page: this https URL
Subjects: Artificial Intelligence (cs.AI)
Cite as: arXiv:2610.14774 [cs.AI]
  (or arXiv:2610.14774v1 [cs.AI] for this version)
  https://doi.org/10.48550/arXiv.2610.14774

arXiv-issued DOI via DataCite (pending registration)

Submission history

From: Hao Li [view email]
[v1] Sat, 10 Oct 2026 09:57:26 UTC (447 KB)

来源:arXiv:cs.AI · arxiv.org