Scaling Agentic Data for Long-Horizon Terminal Intelligence

1,535Executable environments
27Behavioral patterns
25Professional domains
12 / 12Benchmarks improved

Motivation

Terminal commands are only part of autonomous work. Our long-horizon trajectories connect exploration, evidence-based judgment, strategy revision, and verification into a complete problem-solving process.

Method

Two stages turn professional problems into executable tasks that elicit—and entangle—long-horizon behavioral patterns.

Professional domains

25 domains463 subdomains

From software and scientific computing to education, agriculture, and public services.

Agentic behavioral patterns

Exploration, diagnosis, construction, verification, and coordination within one sustained effort.

27 patterns Five families

    Environment showcase

    Build software, train models, and solve problems beyond code.

    Six synthetic task environments. Previews use original requirements, source excerpts, and input data—not agent rollouts or full simulators.

    Trajectory statistics

    Longer interactions, with sustained chains of actions and terminal feedback.

    52.82Mean interaction turns

    40P50

    98P90

    Shared teacher protocol.
    300 sampled tasks per compared method; 2,852 TerminalHorizon trajectories.

    Experimental results

    Training on 2,852 trajectories improves Qwen3.5-27B across all 12 benchmarks.

    Scores (%). Base: Qwen3.5-27B. Gains in percentage points. TB 2.0 base score: official model card. AutomationBench reports two metrics.

    Training-data scaling

    Terminal-Bench 2.1

    Model-size comparison

    Terminal-Bench 2.1

    Long-Horizon Task Applications

    Four RSI-Exam cases. The research process, the final result, and the difference between models.

    12hAutonomous research budget
    per model, per case

    BibTeX

    @misc{zou2026scalingagenticdatalonghorizon,
      title = {Scaling Agentic Data for Long-Horizon Terminal Intelligence},
      author = {Shun Zou and Ziyu Ma and Yi Zou and Yong Wang and Lin Chen and Zehui Chen and Guanhua Chen and Xiangxiang Chu and Feng Zhao},
      year = {2026},
      eprint = {2610.13166},
      archivePrefix = {arXiv},
      primaryClass = {cs.CL},
      url = {https://arxiv.org/abs/2610.13166}
    }

    Research figure