Papers / LLMs
Terminal-Bench (2026)
Terminal-Bench: Benchmarking Agents on Hard, Realistic Tasks in Command Line Interfaces
Hard, expert-written tasks that an agent must finish inside a real terminal, graded by testing the state it leaves behind.
Why it matters
Coding agents like Claude Code and Codex CLI work in terminals, and their work is much more than writing patches. Terminal-Bench measures that broader job, and since its first release in 2025 it has become, with SWE-bench, one of the two agent scores most model reports include.
- Year
- 2026
- Authors
- Mike A. Merrill, Alexander G. Shaw, Nicholas Carlini, Boxuan Li, Harsh Raj, Ivan Bercovich, Lin Shi, et al.
- Venue
- ICLR 2026
- Data
- Terminal-Bench
The idea
Each task is an instruction, a Docker container, a human-written reference solution and tests. The agent can do anything in the container (build software, configure servers, train a model, reimplement a COBOL program in Python), and the tests check only the final files and processes, not the commands it ran. Of 229 crowd-sourced tasks from 93 contributors, 89 survived three human reviews and an agent that tried to cheat them, forming Terminal-Bench 2.0.
The result
Across 16 models and six agents (over 32,000 runs), the best, GPT-5.2 in Codex CLI, resolved 62.9% of tasks; the best open-weight model, Kimi K2 Thinking, 35.7%. Some tasks were solved by no agent at all. The state of the art nearly doubled in the eight months between Gemini 2.5 Pro and GPT-5.2.
The data
Builds on
- SWE-bench (2023): Turned 2,294 real GitHub issues into tasks where a model must patch the repository so that the project's own tests pass.
