Why AI Agents Fail at Terminal Tasks: 7 Patterns
Why do AI agents fail at tasks? Our reviewers read every failed run from a frontier agent on our terminal tasks. Seven patterns stood out, none about knowledge.
A failed run just says "fail". It doesn't tell you why. To learn anything from it, you have to read the run, compare it with the hidden rule the task was built on and write down what went wrong. Our reviewers did that for every failure in our bank of terminal tasks, command line jobs graded by hidden tests.
AI agents, models that run commands and act on their own, mostly fail at hard tasks because of how they search, not what they know. In our reviewers' notes, a strong agent most often locked onto the wrong rule shape, gave up early with time left, or missed the one quantity linking the parts of a problem.
The big picture first. The model, a frontier agent and one of the most capable available, solved 63% of fair tasks on the first try. A second try added only about six points, and 84% of failures repeated on the second attempt. So most failures were real weaknesses, not bad luck. These are the seven patterns our reviewers kept writing down.
A note on the numbers. A single failed run often shows more than one pattern, so the percentages below add up to more than 100.
1. It locks onto one rule shape
The model picks a formula shape early, then spends the rest of its time tuning constants. If the true rule has a different form, like a product of two values, a wrap instead of a cap, or a lookup table, it never finds it. It appeared in 55% of failed runs, and only 5 of 26 recovered on a retry.
2. It gives up early
Our reviewers marked this as the most common main cause. The model stops with 40% or more of its time left, often after a partial fit or right after spotting the key clue, and writes a placeholder answer. It appeared in 53% of failed runs, and only 4 of 36 recovered on a retry.
3. It gets the frame but misses the link
The model rebuilds most of the structure but misses the one quantity that connects the parts, like a carried remainder or a memory between events. This showed up in 43% of failed runs. On one task the model matched 1,134 of 1,330 rows and still failed, because it missed one small capacity value.
4. Its search is too big
It has the right family of rules but brute forces it with no pruning, and the search never finishes. That was 36% of failed runs.
5. It submits a near miss
It matches most of the examples, often 60% or more, and stops without finding the branch that fails. This showed up in 19% of failed runs.
6. It fits the data but breaks the brief
It finds a rule that reproduces every example but goes against a sentence in the instructions. This was a common reason for a pass on one attempt and a fail on the other.
7. It blames the task
When stuck, it claims the data contradicts the brief. We saw this twice and audited both tasks carefully. Both were fair. It's one reason our reviewers always check fairness themselves instead of taking the model's complaint at face value. A detailed complaint that names two concrete readings is a different story, though. See how we audit a benchmark for ambiguous tasks.
Do AI agents fail because they lack knowledge?
No. Not lack of knowledge. Not compute. Rarely time. Easy tasks took a median of about six minutes. Failed attempts on the hardest tasks ran a median of 32 minutes before the model stopped. Only three runs were correct but too slow.
These weaknesses are about how the model searches, not about any one subject. That's good news for our task designers, because they can build hard, fair tasks in almost any field by targeting the search itself: hide the shape, add one linking quantity, and give enough examples for a careful solver to find it. For our reviewers, the list also works as a check on the task. A failure that shows one of these patterns points to the model. A failure that fits none of them is a reason to look harder at the task itself.
The same habits show up in our DevOps tasks for AI agents, where strong models trusted a status table instead of checking the evidence.
How can you spot these failures in your own agent runs?
Watch how a run ends, not only what it outputs. An answer that stops early, with time left on the clock, deserves a second look.
Quick answers
What is the most common reason AI agents fail hard tasks? In the failed runs our reviewers read, it was giving up early with lots of time left, and locking onto the wrong rule shape.
Does a second attempt help AI agents much? Not much. A second try added about six percentage points, and 84% of failures repeated.
What is a failure mode in AI evaluation? A repeatable way a model goes wrong, like stopping early or fixing on one formula. Our reviewers label each failed run with the patterns it shows.
Can a failed run mean the task is broken? Sometimes. A failure that fits none of these patterns, or a model note that names two concrete readings, is a reason for a reviewer to recheck the task before blaming the model.
Need Failure Analysis Your Team Can Act On?
Our reviewers read every failed run, compare it with the task's hidden rule and label what went wrong. If your lab needs that kind of analysis delivered alongside the tasks themselves, on a clear timeline, our Human-in-the-Loop Validation team can help.
Talk to UsKeep reading
All articles- AI & MLMay 27, 2026
Why AI Agents Miss Edge Cases Nobody Mentions
Why do AI models miss edge cases? Mostly because they stop looking. Named cases were missed 22% of the time, unnamed ones 74%. What our failed runs showed.
- AI & MLSep 3, 2026
Terminal-Bench 2.0 vs 3.0: What Changed in Task Design
Terminal-Bench 2.0 vs 3.0: the newer version is harder and covers far more kinds of work. What that shift changed in how our engineers design terminal tasks.
- AI & MLNov 11, 2026
How to Give Human Feedback on AI Agent Work
How to give human feedback on AI responses that a model can learn from: evidence for every judgment, consistent flags and a clear reason for each preference.