Agentic AI
New Framework Helps AI Agents Fix Code More Reliably and Cheaply
Researchers introduce EviACT, a system that uses execution feedback to guide AI agents through bug repair with fewer failed attempts and lower API costs.
Automated program repair powered by large language models has evolved from simply generating patches to managing repairs across entire code repositories through interactive agents. Yet current approaches struggle to leverage execution results effectively when deciding where to locate bugs, how to create fixes, and whether fixes actually work. A new paper from researchers presents an answer to these challenges.
What is EviACT?#
EviACT (Evidence-to-Action) is an agentic repair framework designed to use execution evidence—the real-world results of running code—to guide decisions at each stage of the repair process. Rather than treating evidence as a post-hoc validation step, the system bakes execution feedback directly into the repair workflow.
How the System Works#
The framework coordinates three evidence-driven safeguards:
- Retrieval scaffold: Grounds the repair context by ensuring the agent has access to relevant code before attempting fixes
- Compile gate: Filters out invalid edits before they become a problem, preventing the agent from pursuing broken changes
- Test-driven gate: Checks whether the target test passes before running the full regression suite, catching fixes that solve the immediate bug but might break something else
Performance Gains#
Across four separate benchmarks, EviACT outperformed the strongest available baselines by 1.6 to 6.0 percentage points in bug resolution rates. More striking was the cost efficiency: where comparison data existed, the system achieved 70–89% lower reported per-bug API expenses than baseline approaches. Ablation studies indicate these improvements stem directly from the coordinated chain of evidence-informed decisions, suggesting that systematic use of execution feedback makes agentic repair both more effective and more economical.

