翻篇收录说明
翻篇网页快照

Where Agents Fail: Part 1 - DEV Community

https://dev.to/googleai/where-agents-fail-part-1-54hg

最近抓取:2026-12-03 23:19:41(北京时间)

最近内容变化:2026-11-30 18:47:41(北京时间)

这是最近一次有效抓取的文本快照,不含网页脚本、图片和动态交互内容。实际网页可能已更新。

访问原网页

页面简介

AI models are smarter than ever, yet they still make obvious mistakes. Part 1 of a new series analyzing real coding sessions to find recurring agent failure patterns and test whether they're fixable. Tagged with ai, googlecloud, agents, coding.

正文摘录

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. Max Quimby Max Quimby Max Quimby Follow Tech lead in computeleap.com Location Washington Joined Mar 14, 2026 • Nov 20 Copy link Hide 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. jacob foster jacob foster jacob foster Follow SaaS founder building CRM and sales automation tools for startups and growing businesses. Joined May 28, 2026 • Nov 21 Copy link Hide 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! Leanroute Leanroute Leanroute Follow AI Gateway for Models and Tools Location Singapore Joined Aug 3, 2026 • Nov 21 Copy link Hide 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 - breaking up the tasks into small chunks. These guys are very effective with small chunks. Tasks without ambiguity - not everyone is perfect in communication, how can everyone be great and prompts and expect the 5 years old model to understand without Ambiguity. Validation - 💯% of the times. For my project I have automated some tests but I do validate manually as well. Authorization - it's important to set the boundaries to what agent can possibly do. No blanket authorization. Sal Parvez | ML Systems RI Sal Parvez | ML Systems RI Sal Parvez | ML Systems RI Follow Self-taught full-stack engineer. Founder of ML Systems, a Rhode Island construction tech company. Shipped a React Native app to both stores plus the Next.js/tRPC/Postgres platform behind it. Location Rhode Island Education B.S. Finance, University of Rhode Island Work Founder & Lead Engineer at ML Systems Joined Sep 3, 2026 • Nov 21 Copy link Hide 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. Emily Woods Emily Woods Emily Woods Follow Joined May 4, 2026 • Nov 23 Copy link Hide 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. Gábor Mészáros Gábor Mészáros Gábor Mészáros Follow Backend developer turned builder. 20 years in software, now building Reporails - instruction governance for coding agents. Writing about context engineering and patterns that make AI agents reliable. Location Hungary Joined Dec 5, 2025 • Nov 20 Copy link Hide That's why you should look what actually is being told and how to your subagents Tim Zinin Tim Zinin Tim Zinin Follow Nerd. AI, mountains, a dog and running. I write about technology and artificial intelligence: what is happening and where it is heading. Joined Feb 19, 2026 • Nov 22 Copy link Hide 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? Indra Prasetya Indra Prasetya Indra Prasetya Follow Senior Software Engineer focused on backend, databases, infrastructure, and AI coding agents. Sharing real systems, practical fixes, and reproducible results. Location Indonesia Education Mikroskil University: B.Sc. Information Systems, 2014 Work Founder at Qansa | Senior Software Engineer Joined Nov 16, 2026 • Nov 20 Copy link Hide 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! Odinaka Robert Nnamani Odinaka Robert Nnamani Odinaka Robert Nnamani Follow I build backend systems and write about what I learn. Building rootmail.io and drizzle-pg-extras (open source, on npm). heypascal.me Joined Oct 4, 2024 • Nov 21 Copy link Hide 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. Elmar Chavez Elmar Chavez Elmar Chavez Follow Licensed civil engineer turned full stack developer | DEV moderator. Email chavezelmar03@gmail.com Location Calapan City, Oriental Mindoro, Philippines Education Graduate of Bachelor of Science in Civil Engineering from TIP-Manila Pronouns Mr. / Engr. Work Full Stack Developer Joined Mar 5, 2026 • Nov 21 Copy link Hide 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).