Try again, please: Why coding agents should go back and check their work.
If at first you don’t succeed, try, try again. It’s a saying so old that nobody is quite sure who
Developers are realizing the importance of revisiting their work when using AI coding agents. Krista Opsahl-Ong, Ivan Zhou, and Erich Elsen from Databricks' AI Research Team emphasize that agents should be evaluated on their ability to incorporate feedback, rethink their approach, and fix mistakes. Currently, evaluations often only measure single turns, failing to capture agents' capability to recover when their initial attempt fails.
Databricks has introduced its "Try Again" evaluation for coding benchmarks, measuring how agents perform on representative tasks reflecting real-world software development challenges. The team tested this approach on SWE-bench Live and Databricks Bench V2 using Codex and Claude Code agents from OpenAI and Anthropic, respectively. Agents were given up to five attempts, continuing from their previous solution in the same workspace.
The evaluation showed that GPT-6 Sol improved over multiple attempts and eventually surpassed Sonnet by 5 percentage points. Databricks' CTO, Aron Brand, states that every time an agent requests approval or a check, developers face additional decisions. To mitigate this, he suggests that developers provide agents with clear automated checks, allowing them to retry up to a set limit before human review of the final result.
Industry experts like Fitz Nowlan from SmartBear and Rick Spencer from Suse caution against expecting AI agents to perform 100% of the work and advocate for a more iterative, pragmatic approach. They argue that embracing iterative pragmatism is crucial in the agentic era, where agents write code and developers provide judgment and taste to recognize when the result is good.
Rewritten by urgent.news; may contain errors — check the original. How we use AI.
Source: thenewstack.io