Your agent says the bug is fixed, but it's not. AI models are smarter than ever, yet they still make obvious mistakes.
I'm starting Where Agents Fail, a new series where I analyze thousands of real agent sessions, find common failure patterns, and try to fix them.
This first post is the intro. It covers a few patterns that stood out early on, and each new episode will dig into one specific failure pattern and test whether it's fixable with strategies you can use today.
Looking across real sessions
I started this project by analyzing 160 of my own recent sessions, pulling out every moment where the agent did something wrong and I had to step in and correct it. That gave me 231 specific agent mistakes.
I've also started digging into public datasets to see how far these patterns go beyond my own work, and 'replaying' those key failure moments on frontier models like Gemini 4 Carbon to see if they persist.
One early signal from the public SWE-chat dataset (more than 11,000 coding sessions): developer messages reporting a failure dropped by about a third between early 2026 and the summer.
With each frontier model release, certain categories of issues dissolve and new ones show up.
Three patterns that stood out so far
- Saying something is fixed when it isn't. The agent makes a change, sees the tests pass, and announces that everything works, while the actual app is still broken.
- Going further than you asked. You ask for a plan or quick thoughts on a problem, and the agent jumps straight into coding a feature or opening a pull request.
- Overcorrecting on feedback. You leave narrow feedback on one detail, and the agent turns it into a blanket global rule across the entire project.
Staying up to date on AI best practices means paying just as much attention to the limitations that stick around as to what each new generation unlocks. In the next post, I'll go deep on one of these patterns and share what happened when I tried to fix it.
Top comments (10)
Pattern 1 is the one that costs real days, and your framing of why nails it: the agent trusts a proxy (green tests) for the actual goal (a working app). What moved the needle for us was forcing evidence tied to the user-visible outcome rather than the proxy — a screenshot, a real request/response, a log line from the running thing — before "done" is allowed to leave the agent's mouth.
Pattern 3, overcorrecting narrow feedback into a global rule, is underdiscussed and brutal in long-lived projects, because the blanket rule silently fires months later on unrelated work and you've forgotten it exists.
Genuinely curious whether your 231 mistakes cluster by model generation. You hinted certain categories dissolve with each frontier release — does pattern 1 actually shrink with better models, or does it just move? My bet is the latter: the agent gets better at the task and stays exactly as confident when it's still wrong, so the failure rate drops but the silence of the remaining failures gets worse. Looking forward to part 2.
AI agents are becoming more capable, but reliability is still a major challenge. Passing tests doesn't always mean the actual problem is fixed. I think better validation, clear instructions, and human oversight are essential to making AI agents truly useful in real-world development. Looking forward to the next part of this series!
I have been working with LLMs and agents extensively for a few months.
All 3 patterns are spot on!
Here's what works for me -
All three have a job-site twin. "Fixed" before anyone walked it. A sub who was asked for a price and started demo. And the hardest one to spot: you correct one detail and the whole crew changes how they do everything. Counting 231 of your own corrections is the right place to start. I'd be curious which pattern costs the most time to catch.
The plan to code failure makes me want two separate scores: did the agent produce a correct result, and did it stay within the action the user authorized? A technically good patch should still fail a planning-only task. I’d use this harness design prompt to work through that distinction, with scope violations checked from the tool trace rather than the agent’s final summary.
That's why you should look what actually is being told and how to your subagents
The first pattern is the one I would instrument most carefully: a green test can cover only the implementation, not the user’s actual path. I try to require a readback of the changed system as acceptance evidence, not merely a successful build or the agent’s summary. Are you tagging failures where the missing check was an external readback separately from failures inside the test suite?
Pattern #2 (going further than asked) is especially common when agents lack explicit execution boundaries in their runtime environment. In our own autonomous agent harness, enforcing a hard separation between 'planning mode' and 'execution mode' using strict system prompt states and gated tool access reduced unintended file modifications and premature PR creations by over 90%.
Looking forward to Part 2 on how you approach fixing these failure modes programmatically!
231 mistakes from 160 sessions is a proper sample size for a series like this. pattern 1 is the everyday one, a green test suite while the app is still broken.
I don't use AI agents yet but this post is informative for me. Please this up. (I'm more intrigued in the first pattern).