Agent 与自动化 4.0 · 优秀 2026-10-10 · 论文

ProgAgent: Learning Tool Orchestration through Programmatic Training

把程序化工具调用(PTC)从推理期优化做成完整训练栈DTC 顺序调用工具响应堆积进上下文导致 context rot 与编排崩溃;PTC 经可执行代码调用工具中间结果存运行时变量ProgAgent 提供可验证长时程任务合成管线轻量 PTC 运行时与两阶段训练配方,仅用 215 个任务在四种环境规模实例化即超过同规模基线:LOCA-bench 上 ProgAgent-14B 在 64k token 环境状态拿到 30.7% 通过率而基线全零;跨 harness 实验显示 PTC 训练的模型在两种评测接口下都胜过 DTC 训练

打开原文回到归档

ProgAgent: Learning Tool Orchestration through Programmatic Training

原文链接: https://arxiv.org/abs/2610.14774

要点 (中文)

把程序化工具调用(PTC)从推理期优化做成完整训练栈。DTC 顺序调用工具、响应堆积进上下文导致 context rot 与编排崩溃;PTC 经可执行代码调用工具、中间结果存运行时变量。ProgAgent 提供可验证长时程任务合成管线、轻量 PTC 运行时与两阶段训练配方,仅用 215 个任务在四种环境规模实例化即超过同规模基线:LOCA-bench 上 ProgAgent-14B 在 64k token 环境状态拿到 30.7% 通过率而基线全零;跨 harness 实验显示 PTC 训练的模型在两种评测接口下都胜过 DTC 训练。

Key claims (English)

ProgAgent turns Programmatic Tool Calling into a full training stack: a verifiable long-horizon task synthesis pipeline, a lightweight PTC runtime and a two-stage recipe. Using only 215 tasks at four environment scales it beats comparable baselines; on LOCA-bench ProgAgent-14B reaches 30.7% pass at a 64k-token environment state where baselines score zero, and PTC-trained models outperform DTC-trained ones under both evaluation interfaces.

Obsidian 证据摘录

ProgAgent — 程序化训练学工具编排(相对逐步 Direct Tool Calling)。
—— Hermes 定时任务/AI-前沿一手源/2026-10-16-AI前沿一手源_Nemotron35-RuleTrek-SwarmRSI.md

原文抓取

arXiv abstract page (submitted 10 Oct 2026)

Authors: Hao Li, Keqing He, Longtao Zheng, Junlong Li, Weihao Zeng, Qian Liu, Yuzhen Huang Comments: Project page: this https URL

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.