← Latest papers
💻 computer science

TerminalWorld: Benchmarking Agents on Real-World Terminal Tasks

The paper introduces TerminalWorld, a scalable data engine that automatically reverse-engineers 1,530 high-fidelity terminal tasks from 80,870 real-world recordings to benchmark AI agents, revealing that current frontier models struggle with authentic workflows and perform poorly compared to existing expert-curated benchmarks.

Original authors: Zhaoyang Chu, Jiarui Hu, Xingyu Jiang, Pengyu Zou, Han Li, Chao Peng, Peter O'Hearn, Earl T. Barr, Mark Harman, Federica Sarro, He Ye

Published 2026-05-22
📖 5 min read🧠 Deep dive

Original authors: Zhaoyang Chu, Jiarui Hu, Xingyu Jiang, Pengyu Zou, Han Li, Chao Peng, Peter O'Hearn, Earl T. Barr, Mark Harman, Federica Sarro, He Ye

Original paper licensed under CC BY 4.0 (http://creativecommons.org/licenses/by/4.0/). This is an AI-generated explanation of the paper below. It is not written or endorsed by the authors. For technical accuracy, refer to the original paper. Read full disclaimer

Imagine you are trying to teach a robot how to use a computer's "command line"—that black screen where programmers type text commands instead of clicking icons. For a long time, the way we tested these robots was like giving them a puzzle made up by a strict teacher. The teacher would say, "Here is a tricky riddle; solve it!" If the robot solved the riddle, we thought it was smart.

But the authors of this paper, TERMINALWORLD, realized there's a problem: Real life isn't a riddle. Real life is messy, unpredictable, and full of specific tools people actually use every day. A robot that can solve a riddle might still fail when asked to actually fix a server or organize files in a real office.

Here is how they fixed this, explained simply:

1. The "Fly on the Wall" Approach

Instead of inventing fake tasks, the researchers went to a public website called asciinema. This is like a YouTube channel, but for computer screens. Developers voluntarily upload recordings of their actual work sessions.

  • The Analogy: Imagine you want to teach a student how to cook. Instead of writing a recipe book from scratch (which might be too perfect or weird), you go to a kitchen, record 80,000 hours of real chefs cooking real meals, and then ask, "Okay, what did they just do?"
  • The Result: They collected 80,870 real recordings of developers working.

2. The "Robot Chef" Engine

Raw recordings are messy. They have typos, failed attempts, and long lists of system messages that don't matter. The researchers built a special "data engine" (a smart software system) to clean this up.

  • Step 1: Understanding the Goal. The engine looks at a messy recording and asks a super-smart AI, "What was this person actually trying to achieve?" It turns a messy log into a clear instruction: "Block these bad IP addresses and save the list to this file."
  • Step 2: Building the Kitchen. The recording doesn't tell you what tools the chef had. The engine has to guess what software and files were needed, build a perfect digital copy of that computer environment (using something called a "Docker container"), and make sure the original commands would actually work there.
  • Step 3: The Safety Net. Since there's no teacher to grade the work, the engine creates its own "test." It runs the solution and checks: "Did the file appear? Is the list correct?" If the test fails, it fixes the test until it's perfect.

3. The New "Real World" Exam

From those 80,000 recordings, they created a massive new test bank called TERMINALWORLD.

  • It has 1,530 validated tasks.
  • It covers 18 different types of real jobs, from setting up cloud servers to fixing database errors.
  • It uses 1,280 different computer commands, 91% of which were never seen in previous tests.

They also created a smaller, super-hard version called TERMINALWORLD-VERIFIED (200 tasks) that humans double-checked to make sure it's 100% accurate.

4. The Shocking Results

They put the world's smartest AI models (like the latest versions of Claude, GPT, and Gemini) and their "agent" frameworks (the software that helps the AI use the computer) through this new test.

Here is what they found:

  • The "Efficiency Paradox": The smarter the AI, the more it sometimes struggles. The best AI only passed 62.5% of the tasks. When they failed, they didn't just give up; they kept trying, wasting huge amounts of time and money exploring the wrong paths. It's like a student who keeps re-reading the same confusing paragraph over and over instead of asking for help.
  • The "Puzzle vs. Reality" Gap: There was almost no connection between how well an AI did on the old "riddle" tests (Terminal-Bench) and how well it did on this new "real life" test.
    • Analogy: An AI might be a champion at solving Sudoku puzzles (the old test) but completely fail at actually driving a car in traffic (the new test). The old tests were just too different from real work.
  • Agents vs. Humans: When the AI solved a task, it rarely did it the same way the human in the recording did. They took different paths to get to the same destination. This is actually good! It means the AI isn't just copying; it's figuring out its own way, even if that way is longer than the human's.

The Bottom Line

The paper argues that we can no longer trust tests that are made up by experts in a lab. To know if an AI is truly ready to work in the real world, we must test it on real human workflows that are messy, complex, and constantly changing.

TERMINALWORLD is a tool that automatically turns real human work into a test, ensuring that as developers change how they work, our tests for AI evolve right alongside them. It's a move from testing "can you solve a puzzle?" to "can you do the job?"

Drowning in papers in your field?

Get daily digests of the most novel papers matching your research keywords — with technical summaries, in your language.

Try Digest →