Terminal-Bench: Benchmarking Agents on Hard, Realistic Tasks in Command Line Interfaces
Mike A. Merrill, Alexander Glenn Shaw, Nicholas Carlini, Boxuan Li, Harsh Raj, Ivan Bercovich et al. · 2026 · 387 citationsRead the paper
All 85 authors
Lin Shi, Jeong Yeon Shin, Thomas Walshe, E. Kelly Buchanan, Jun-Hong Shen, Guanghao Ye, Haowei Lin, Jason Poulos, Maoyu Wang, Marianna Nezhurina, Jenia Jitsev, Di Lu, Orfeas Menis Mastromichalakis, Zhiwei Xu, Zizhao Chen, Yue Liu, Robert Zhang, Leon Liangyu Chen, Anurag Kashyap, Jan-Lucas Uslu, Jeffrey Li, Jianbo Wu, Minghao Yan, Song Bian, Vedang Sharma, Ke Sun, Steven Dillmann, Akshay Anand, Andrew Lanpouthakoun, Bardia Koopah, Changran Hu, Etash Guha, Gabriel H. S. Dreiman, Jiacheng Zhu, Karl Krauth, Li Zhong, Niklas Muennighoff, Robert K. Amanfu, Shangyin Tan, Shreyas Pimpalgaonkar, Tushar Aggarwal, Xiangning Lin, Xin Lan, Xuandong Zhao, Yiqing Liang, Yuanli Wang, Zilong Wang, Changzhi Zhou, David Heineman, Hange Liu, Harsh Trivedi, John Yang, Junhong Lin, Manish Shetty, Michael Yang, Nabil Omi, Negin Raoof, Shanda Li, Terry Yue Zhuo, Wuwei Lin, Yiwei Dai, Yuxin Wang, Wenhao Chai, Shang Zhou, Dariush Wahdany, Ziyu She, Jiaming Hu, Zhikang Dong, Yuxuan Zhu, Sasha Cui, Ahson Saiyed, Arinbjörn Kolbeinsson, Jesse Hu, Christopher Michael Rytting, Ryan Marten, Yixin Wang, Alexandros G. Dimakis, Andy Konwinski, Ludwig Schmidt
AI agents may soon become capable of autonomously completing valuable, long-horizon tasks in diverse domains. Current benchmarks either do not measure real-world tasks, or are not sufficiently difficult to meaningfully measure frontier models. To this end, we present Terminal-Bench 2.0: a carefully curated hard benchmark composed of 89 tasks in computer terminal environments inspired by problems from real workflows. Each task features a unique environment, human-written solution, and comprehensive tests for verification. We show that frontier models and agents score less than 65\% on the benchmark and conduct an error analysis to identify areas for model and agent improvement. We publish the dataset and evaluation harness to assist developers and researchers in future work at https://www.tbench.ai/ .
What the full text shows
Working prototype- The highest average resolution rate achieved was by Codex CLI paired with GPT-5.2. — 63% (Terminal-Bench 2.0)
- Open-weight models performed significantly lower than proprietary models, with the best (Kimi K2 Thinking with Terminus 2) resolving a minority of tasks. — 36% (Terminal-Bench 2.0)
- Model selection is more impactful than the agent scaffold for performance. — 52% increase in resolution rate when switching GPT-5-Nano to GPT-5.2 for Codex CLI (Terminal-Bench 2.0)
- State-of-the-art performance nearly doubled over an eight-month period. — ~2x increase (Between release of Gemini 2.5 Pro and GPT-5.2)
- Frontier models and agents generally struggle with the benchmark. — <65% score (Terminal-Bench 2.0)
- Setup
- 32,155 total trials across 89 tasks, utilizing 32 to 100 parallel containers via Daytona.
- How
- The researchers developed Terminal-Bench 2.0, a benchmark of 89 realistic terminal tasks, and evaluated six agents across 16 frontier models using the Harbor evaluation harness. They used a neutral scaffold called Terminus 2 to decouple model performance from agent engineering.
- Limitations
- Potential for agents to cheat by locating the dataset/oracle solutions via internet access. · Risk of model developers training on the benchmark dataset (contamination). · External dependencies (APIs, packages) may change over time despite pinned versions. · Possibility of some tasks failing verification criteria due to the use of crowd contributions.
Summarized by Gemma 4 from the open-access full text · 8 Nov 2026. Read it