Skip to content

ProgAgent: Learning Tool Orchestration through Programmatic Training

Oct 2026 · 0 citations · 45 references
Computer Science

TL;DR

ProgAgent is introduced, a full PTC training stack, comprising a pipeline for synthesizing verifiable long-horizon tasks, a lightweight PTC runtime, and a two-stage training recipe, suggesting that the benefits of PTC training extend beyond the interface.

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.

View source

Similar papers

#natural language process... Preprint Oct 2026

Evaluating LLMs as Agentic Workflow Executors in Real-World Customer Support Skills

Enterprise customer-support agents increasingly rely on Large Language Models (LLMs) to execute bounded, tool-using workflows. We study this problem through the lens of Skill LLMs: specialized executors that operate within a selected skill context and must complete a narrow, stateful workflow under policy and tool cons...

Md Tahmid Rahman Laskar, Gundeep Singh, Xue-Yong Fu et al. · 0 citations
#natural language process... Preprint Nov 2026

ToolSpace: Scaling Tool-Centric Environment Synthesis for Long-Horizon Agents

Large language models are deployed as long-horizon agents that compose diverse tools across MCP services into executable workflows. Existing MCP environment-scaling methods are data-centric: they first synthesize a database and scenario, then derive tools and tasks from them. As a result, tool interfaces may not match...

Guan-Ting Dong, Zhi-Chao Sun, Xin-Yu Yang et al. · 0 citations
Preprint Nov 2026

I-PTC: Interactive Programmatic Tool Calling for Stateful Tool-Augmented Agents

Large language models are increasingly capable of writing and executing code, suggesting a natural paradigm for tool-augmented agents: expressing tool use as programs rather than isolated calls. Programmatic tool calling (PTC) captures this idea through loops, batching, abstraction, and structured computation, but exis...

Huan-Zhi Mao, Cheng Cao, Shuo Yuan et al. · 0 citations
#artificial intelligence Preprint Oct 2026

Phronix: The Capability-Centric Learning Paradigm for Agents

Phronix is introduced, a capability-centric learning paradigm that enables agentic harnesses to acquire, validate, and refine reusable capabilities from their own executions, significantly reducing solution non-determinism and improving reliability.

Hariharan Devarajan, Neeraj Rajesh, A. Marathe et al. · 0 citations
Open access Oct 2026

LPT: Orchestrating bounded agentic loops for automated protein binder design

Current large language models (LLMs) can reason over scientific information and use code-based tools, but their training knowledge is broad rather than specialized, can be out of date and is hard to attribute to sources. Furthermore, unconstrained agentic workflows and unlimited tool use can consume large amounts of to...

Michael Uckelmann · 0 citations
#machine learning Preprint Oct 2026

LoongSage: A Production-Grade, High-Efficiency Agentic RL Framework for Frontier LLMs with Validated Recipes

Reinforcement learning (RL) has emerged as a critical phase in the post-training pipeline of large language models (LLMs). As the frontier of LLM capabilities shifts from static reasoning to agentic tasks--characterized by external tool invocation, multi-turn interactions, and long-horizon decision-making--existing mai...

LoongSage Team Bowei Song, Cai-Wei Zhao, Chu-Wen Liu et al. · 0 citations

Related blog posts

Hugging Face Blog Nov 10, 2026

Decision Models in Hugging Face

We’re on a journey to advance and democratize artificial intelligence through open source and open science.

We use cookies to run the site and, with your consent, for analytics and to show ads. See our Cookie Policy.