Recursive Synthesis for Long-Horizon Terminal Tasks
Summary
This paper introduces Recursive Synthetic Terminal Tasks (RST), a recursive verified synthesis framework for generating long-horizon terminal-agent training data at scale, producing 37,484 tasks and improving Qwen3.5 models on terminal benchmarks.
View Cached Full Text
Cached at: 08/07/26, 01:54 AM
Paper page - Recursive Synthesis for Long-Horizon Terminal Tasks
Source: https://huggingface.co/papers/2608.05466 Published on Aug 5
·
Submitted byhttps://huggingface.co/zli12321
LZXon Aug 6
Authors:
,
,
,
,
,
,
,
,
,
Abstract
High-qualitylong-horizontrainingdataforterminalagentsisexpensivetoproduce,oftencostinghundredstothousandsofdollarspertask,becauseeachtaskmustkeeptheinstruction,environment,referencesolution,andverifiermutuallyconsistent.Humanauthoringdoesnotscale,anddirectgenerationwithlargelanguagemodels(LLMs)oftenbreaksthesedependencies.WepresentRecursiveSyntheticTerminalTasks(RST),arecursiveverifiedsynthesisframeworkforconstructinglong-horizonterminal-agenttasksatscale.Startingfromverifiedseedtasks,RSTextendsthereferencesolution,realignstheverifierandinstructiontothenewworkflow,validatestheresultinafreshsandbox,andreusesacceptedtasksasseedsforsubsequentrounds.Acrossfifteenrecursiverounds,RSTproduces37,484synthesizedterminal-agenttasksatroughly\0.05pertask.Taskdifficultyincreasessubstantiallyoverrounds:themedianreferencesolutiongrowsfrom67to374lines,themediannumberofexecutedcommandsgrowsfrom40to244,andDeepSeek-V4-Propass@4dropsfrom90%atR_1to2.5%atR_{15}$.Todemonstratetrainingutility,wecollectrejection-sampledQwen3.5trajectoriesonthesynthesizedtasksandusethemforsupervisedfine-tuning.Fine-tuningonthesetrajectoriesimprovesQwen3.5-27BandQwen3.5-122B-A10Bbyupto10pointsonTerminal-Bench~2,Terminal-BenchHard,andLong-HorizonTerminalBench,whileagenticPPOliftsQwen3.5-27Bto49.44\%,32.00\%,and22.07\%onthethreebenchmarks,correspondingtorelativegainsof20.0\%,41.2\%,and21.9\%overthebasemodel.Moreover,after15rounds,therecursionshowsnoceiling:synthesisyieldandvalidationratesremainstableasdifficultykeepsclimbing,indicatingthattheprocesscancontinuewellbeyondthescalereportedhere.
View arXiv pageView PDFProject pageAdd to collection
Get this paper in your agent:
hf papers read 2608\.05466
Don’t have the latest CLI?curl \-LsSf https://hf\.co/cli/install\.sh \| bash
Models citing this paper0
No model linking this paper
Cite arxiv.org/abs/2608.05466 in a model README.md to link it from this page.
Datasets citing this paper0
No dataset linking this paper
Cite arxiv.org/abs/2608.05466 in a dataset README.md to link it from this page.
Spaces citing this paper0
No Space linking this paper
Cite arxiv.org/abs/2608.05466 in a Space README.md to link it from this page.
Collections including this paper0
No Collection including this paper
Add this paper to acollectionto link it from this page.
Similar Articles
@DeFiMinty: Can AI systems keep generating harder training tasks for AI agents? New research from Tencent suggests they can. Recurs…
New research from Tencent introduces Recursive Synthetic Terminal Tasks (RST), a method that progressively generates harder, verifiable training tasks for AI agents. Starting from 639 tasks, it produced 37,484 verified tasks across 15 rounds, and reinforcement learning with these tasks improved Qwen3.5-27B from 22.7% to 32.0% on Terminal-Bench Hard.
LiteCoder-Terminal: Scaling Long-Horizon Terminal Environments for Learning Language Agents
LiteCoder-Terminal-Gen introduces a zero-dependency synthetic pipeline that generates executable terminal training environments, producing SFT and RL datasets that enable language agents to achieve significant performance gains on Terminal Bench benchmarks.
CLI-Universe: Towards Verifiable Task Synthesis Engine for Terminal Agents
CLI-Universe is a synthesis engine that generates verifiable terminal-agent tasks via multi-dimensional capability taxonomy and evidence-guided research, producing a distilled dataset of 6,000 trajectories. Fine-tuning Qwen3-32B on this dataset achieves 33.4% on Terminal-Bench 2.0, setting a new state-of-the-art for open-source models at or below 32B parameters.
Terminal-World: Scaling Terminal-Agent Environments via Agent Skills
Terminal-World introduces a fully automated pipeline that uses agent skills to synthesize high-quality training data for terminal agents, enabling models to outperform baselines with only 1.2% of the training data. The method co-derives task instructions, environments, and teacher trajectories from skill primitives.
Testing Agents on Long-Horizon Terminal Work (GitHub Repo)
Long-Horizon Terminal-Bench (LHTB) is a 46-task benchmark for evaluating LLM agents on sustained terminal work over hundreds of steps, revealing that even the best models solve only ~28% of tasks.