arXiv:2605.20876cs.CLcs.AI2026-05被引 8

用智能体技能自动生成命令行训练环境,解决数据稀缺问题。

Terminal-World: Scaling Terminal-Agent Environments via Agent Skills

论文配图:Terminal-World: Scaling Terminal-Agent Environments via Agent Skills
图 1 · 摘自论文原文
  • 以智能体技能为核心,协同生成任务、环境与执行路径
  • 构建5723个环境,32B模型仅用1.2%数据超越基线4.5分
  • 适合研究终端智能体、自动化训练数据生成的开发者

终端智能体将大语言模型扩展至直接执行命令行任务,但其进展受限于高质量训练数据的匮乏。现有方法依赖人类定义的种子或GitHub代码库生成部分组件,再补全其余部分,导致任务分布狭窄、环境与任务语义不匹配,且探索路径效率低下。为此,我们提出Terminal-World,一个完全自动化的流水线,以智能体技能作为核心合成单元,联合编码目标、触发条件及执行方式,实现任务指令、环境和教师轨迹的共同生成。为进一步拓展合成空间,Terminal-World通过技能组和技能图实现多角色与跨领域任务合成。基于该流水线,我们构建了5,723个训练环境,并训练出Terminal-World-8B/14B/32B模型,在6个基准上持续优于终端智能体基线。值得注意的是,仅使用相同教师模型和1.2%的训练数据,Terminal-World-32B在Terminal-Bench 2.0上以31.5的Pass@1表现超越Nemotron-Terminal-32B 4.5分,并达到43.8的Pass@3。

原文摘要 · Abstract (English)

Terminal agents extend Large Language Models with the ability to execute tasks directly in command-line environments, but their progress is bottlenecked by the scarcity of high-quality training data. Existing approaches bootstrap from partial sources such as human-defined seeds or GitHub repositories to instantiate one component and then complete the rest, producing tasks confined to narrow seed distributions, environments misaligned with task semantics, and inefficient trajectories from unguided exploration. To address these limitations, we introduce Terminal-World, a fully automated pipeline that uses agent skills as the central synthesis primitive, which jointly encode what to accomplish, when to apply (preconditions and environment state), and how to execute, enabling task instructions, environments, and teacher trajectories to be co-derived. To further broaden the synthesis space, Terminal-World composes skills into skill teams and skill graphs for multi-role and cross-domain task synthesis. Using this pipeline, we construct 5,723 training environments and train Terminal-World-8B/14B/32B, evaluated across 6 benchmarks where the Terminal-World series consistently outperforms terminal-agent baselines. Notably, using the same teacher model and only 1.2% of the training data, Terminal-World-32B surpasses Nemotron-Terminal-32B on Terminal-Bench 2.0 by +4.5 Pass@1 (31.5) and achieves 43.8 Pass@3.

终端智能体自动合成技能建模

Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。