BlogAI & ML

What Is Terminal-Bench and How Is a Task Built?

Terminal-Bench is a public benchmark that tests AI agents on real Linux terminal work. What goes into one task, and how our engineers get each one accepted.

Nomos Insights
Updated 5 min read

Terminal-Bench is a public benchmark that checks whether an AI agent, a model that runs commands and works through a job on its own, can do real work in a Linux terminal the way an engineer would. Each task gives the agent a short brief and a prepared environment, and hidden tests grade the result automatically.

Terminal-Bench 3.0 builds on the 2.x releases with harder tasks across more domains. If you are new to agent benchmarks in general, what an agentic benchmark is is a good place to start.

Our engineers spent several months designing and building tasks in this style, about 400 in total. Every one had to be new. No copies, and no reskins of tasks in the public sets.

What is inside a Terminal-Bench task?

Each task is a small, complete package with four parts: the instructions, the environment, a reference solution and hidden tests.

The instructions

A short brief, under a strict length limit, that tells the agent what to produce. It ends by telling the agent how much time it has.

The environment

A Docker image, a packaged and isolated copy of a software setup, with everything the agent needs and nothing that gives the answer away.

A reference solution

A script the task's engineer writes that solves the task from scratch. It has to score a perfect result.

Hidden tests

The engineer writes tests that are added only when grading starts, so the agent can't read them. They check the output exactly.

On top of that there's a quick sanity check in both directions. The reference solution must pass, and doing nothing must fail.

How does a task get accepted?

Before building anything, the engineer who owned the task wrote a short proposal: why the task is hard, how an expert would solve it and roughly how long that would take, how it will be checked, and which category it fits. If the idea could not be explained that clearly, it was not ready to build.

After building, each task had to clear a set of checks. Static checks, a long list of quality criteria, a check that the task isn't too similar to existing benchmark tasks, validation of the reference solution, and difficulty runs, where we ran a strong AI agent against the task. Our bar was strict. The agent had to fail most of its attempts, and the failures had to be real failures, not timeouts or setup errors.

The checks catch mechanical problems. Whether a task is fair, hard for the right reason and worth keeping is a human call, so every task then went through two rounds of expert review. The first reviewer made the call and the second checked it. Each could accept, ask for changes or reject.

What kinds of work can terminal tasks cover?

Almost any work an engineer does from a shell, from file handling to systems, data and security work.

The first phase leaned heavily on file and media work, like converting formats, editing text, managing permissions and renaming files in bulk. In the second phase we spread out across 16 categories, including systems and operations, data pipelines, low level and embedded systems, debugging, build and release work, machine learning, security and more. Systems work included DevOps tasks where the agent repairs a broken, production-like system. We wrote about the wider shift in what changed between Terminal-Bench 2.0 and 3.0 style tasks.

Testing our own task bank

After the project we went back and tested our own task bank against a newer frontier model, one of the most capable models available at the time. Each task got two independent attempts in a clean folder, with only the brief and about 60 minutes. Of the 266 tasks we could run this way, 42% beat the model at least once. Our reviewers then read the failed runs and recorded the patterns behind why AI agents fail at terminal tasks. They also re-audited the bank for fairness and retired 23 tasks that did not meet our bar. How we ran that audit gets its own post.

A terminal task is small, but every part has to be right. The brief has to be complete without giving the answer away. The environment has to be clean. The tests have to be strict without being picky. And the whole thing has to beat a strong model for a real reason.

Quick answers

What is Terminal-Bench? A public benchmark that tests whether AI agents can complete real tasks in a Linux terminal, graded by automatic tests.

What files are in a terminal benchmark task? Usually an instruction file, a Docker environment, a reference solution and hidden tests that check the output.

How hard should a terminal task be? In our work, a strong agent had to fail most of its attempts, and our reviewers had to be satisfied that every failure came from the task itself, not from a timeout or a setup error.

Do you need to know Docker to build a terminal task? It helps a lot. The task engineer has to make sure the image holds everything the agent needs and nothing that gives the answer away, and that takes hands-on Docker and Linux experience.


Need a Terminal Task Bank Built and Delivered?

Our engineers take terminal tasks from proposal to hidden tests, and every task passes two rounds of expert review before it ships. If your lab needs original, hard and fair agent tasks delivered on schedule, our AI Agent Development and Model Evaluation and Rubrics teams can help.

Get in Touch
Filed underTerminal-BenchAgentic AIBenchmarksDocker