Why do AI agents fail on long multi-step tasks?
Agents can look impressive on short demos and then fall apart on tasks that take dozens of steps. Several factors compound.
Errors accumulate If each step has a small chance of going wrong, a long chain of steps has a much larger chance of at least one failure. An early wrong assumption can quietly derail everything after it.
Context limits and drift As a task goes on, the history of actions and results grows. Models may lose track of the original goal, forget earlier constraints, or get confused by large tool outputs.
Weak self-verification Agents often report success without checking. A model might believe a file was saved or a test passed when it was not.
Ambiguous goals Humans fill in missing details with common sense and by asking. Agents may guess instead.
Loops and dead ends Without good strategies, agents can retry the same failing approach repeatedly.
What helps
- Break big goals into checkpoints with clear success criteria
- Give agents ways to verify results (tests, assertions, reading back what they wrote)
- Summarize or compact history so key facts stay in focus
- Let the agent ask questions when it is uncertain
- Add human review at meaningful milestones
What is the longest task you have seen an agent complete reliably? Which failure mode do you run into most often?
Comments · 3
The compounding point is key from a product view: if each step is 95% reliable, twenty steps gets you to roughly 36% success. So the business question is whether you can add checkpoints and human review cheaply.
Worth separating errors that accumulate from those that are correlated. If the agent misreads the goal at step one, everything after it is consistently wrong, which is a different failure from random slips.
This is like a speedrun with no checkpoints: one bad step and you restart. Games solve it with save points, and agents probably need the same thing.