LiteCoder-Terminal: Scaling Long-Horizon Terminal Environments for Learning Language Agents
Not on the map. Why?
Abstract (arXiv)
Mastering terminal environments requires language agents capable of multi-step planning, feedback-grounded execution, and dynamic state adaptation. However, training such agents is currently bottlenecked by a reliance on scraped external repositories, which limits domain diversity, environment controllability, and the targeting of specific capability deficits. We introduce LiteCoder-Terminal-Gen, a zero-dependency synthesis pipeline that autonomously generates executable and verifiable terminal training environments directly from domain specifications. Using this framework, we construct two large-scale resources: LiteCoder-Terminal-SFT, comprising 11,255 expert trajectories across 10 domains, and LiteCoder-Terminal-RL, featuring 602 verifiable environments for trajectory-level preference optimization. Supervised fine-tuning of Qwen-family models on our SFT dataset yields agents that significantly outperform their base counterparts. Notably, our 32B variant achieves 29.06%, 18.54%, and 34.00% pass@1 on Terminal Bench 1.0, 2.0, and Pro, respectively. Furthermore, applying Direct Multi-turn Preference Optimization (DMPO) on our RL environments yields additional performance gains. These results systematically demonstrate that fully synthetic, executable environments offer a scalable and verifiable supervision signal for mastering complex, real-world command-line workflows.
Key facts. Cited by 7 papers in the map (data through 7 Oct 2026). Builds on 24 of its 28 references that are in the map. First posted on arXiv 28 May 2026.
Builds on
24 of 28 references.
References · 24
- 2020Language Models are Few-Shot Learnerscited by 32,199
- 2022Training language models to follow instructions with human feedbackcited by 15,712
- 2023Llama 2: Open Foundation and Fine-Tuned Chat Modelscited by 12,865
- 2022ReAct: Synergizing Reasoning and Acting in Language Modelscited by 8,355
- 2025Qwen3 Technical Reportcited by 8,195
- 2023Toolformer: Language Models Can Teach Themselves to Use Toolscited by 4,072
- 2023SWE-bench: Can Language Models Resolve Real-World GitHub Issues?cited by 3,193
- 2023WebArena: A Realistic Web Environment for Building Autonomous Agentscited by 1,908
- 2024OSWorld: Benchmarking Multimodal Agents for Open-Ended Tasks in Real Computer Environmentscited by 1,134
- 2024OpenHands: An Open Platform for AI Software Developers as Generalist Agentscited by 956
- 2026DeepSeek-V4: Towards Highly Efficient Million-Token Context Intelligencecited by 877
- 2025Kimi K2: Open Agentic Intelligencecited by 523
12 more
- 2026Terminal-Bench: Benchmarking Agents on Hard, Realistic Tasks in Command Line Interfacescited by 515
- 2026GLM-5: from Vibe Coding to Agentic Engineeringcited by 502
- 2024Magpie: Alignment Data Synthesis from Scratch by Prompting Aligned LLMs with Nothingcited by 341
- 2025OpenThoughts: Data Recipes for Reasoning Modelscited by 287
- 2025SWE-smith: Scaling Data for Software Engineering Agentscited by 255
- 2024Direct Multi-Turn Preference Optimization for Language Agentscited by 63
- 2026On Data Engineering for Scaling LLM Terminal Capabilitiescited by 34
- 2026LongCLI-Bench: A Preliminary Benchmark and Study for Long-horizon Agentic Programming in Command-Line Interfacescited by 29
- 2025Let It Flow: Agentic Crafting on Rock and Roll, Building the ROME Model within an Open Agentic Learning Ecosystemcited by 28
- 2026Large-Scale Terminal Agentic Trajectory Generation from Dockerized Environmentscited by 27
- 2026TermiGen: High-Fidelity Environment and Robust Trajectory Synthesis for Terminal Agentscited by 24
- 2025Nex-N1: Agentic Models Trained via a Unified Ecosystem for Large-Scale Environment Constructioncited by 17
Built on by
Citing papers per year: 2026: 7.
7 papers.
- 2026Recursive Synthesis for Long-Horizon Terminal Taskscited by 8
- 2026CalibForge: Adversarial Solver Calibration for Scaling Learnable Terminal Taskscited by 5
- 2026NexForge: Scaling Agent Capabilities through Requirement-Driven Task Synthesis for LLMscited by 4
- 2026FACET: Preserving Source Intent and Executable State in Terminal Task Synthesiscited by 3
- 2026Terminal-Universe: Turning Agent Trajectories into Scalable Terminal Environmentscited by 3
- 2026OctoLong: Mid-Training On Cross-Repository Code Contexts Enhances Long-Context Modelingcited by 1
- 2026Block Parallelism For Efficient Distributed Long-Context Diffusion Language Model Trainingcited by 0
- 2026Block Parallelism For Efficient Distributed Long-Context Diffusion Language Model Training16 Sep 2026
- 2026Terminal-Universe: Turning Agent Trajectories into Scalable Terminal Environments3 Sep 2026
- 2026FACET: Preserving Source Intent and Executable State in Terminal Task Synthesis19 Aug 2026
- 2026CalibForge: Adversarial Solver Calibration for Scaling Learnable Terminal Tasks6 Aug 2026
- 2026Recursive Synthesis for Long-Horizon Terminal Tasks5 Aug 2026
- 2026OctoLong: Mid-Training On Cross-Repository Code Contexts Enhances Long-Context Modeling5 Aug 2026
- 2026NexForge: Scaling Agent Capabilities through Requirement-Driven Task Synthesis for LLMs15 Jul 2026
Similar, not cited
Close in wording, no citation either way
- 2026Terminal-World: Scaling Terminal-Agent Environments via Agent Skills
- 2026Tmax: A simple recipe for terminal agents
- 2026Endless Terminals: Scaling RL Environments for Terminal Agents
- 2026T1: Terminal Agent Reinforcement Learning for Long-Horizon Tasks
- 2026SETA: Scaling Environments for Terminal Agents
- 2026Branching Policy Optimization: Sandbox-Native Language Agent Reinforcement Learning
- 2026Meta-Task: Turning Terminal Task Synthesis into a Terminal Task for Scalable Agent Training
- 2026Learning Generalizable Behaviors for Terminal Agents