HarnessFix studies 30 agent repos and lifts task completion by up to 18.4 points
青稞AI · wechat · 2026-07-25
HarnessFix finds and repairs agent-harness flaws instead of blaming the model
A team from the Institute of Software, Chinese Academy of Sciences proposes HarnessFix, a framework for diagnosing and repairing flaws in the AgentHarness layer — the execution, tool, memory, orchestration, observability, verification, and governance stack around an LLM agent.
- The paper studies 30 popular open-source LLM agent repositories and analyzes about 57,780 development records. It finds that 26,174 records (45.3%) are harness-related, and all 30 repos contain such fixes.
- The most common issues are in Lifecycle, Tooling, and Observability; 29 of 30 repos touch those layers.
- HarnessFix converts execution traces into HTIR (Harness-aware Trace Intermediate Representation), then performs root-cause analysis along data-flow and control-flow paths.
- It maps diagnoses to scoped repair operators so fixes stay bounded to the relevant harness artifacts, and then uses regression-aware verification before accepting a patch.
In evaluation on GAIA, SWE-Bench Verified, AppWorld, and Terminal-Bench 2.0 Verified, HarnessFix improves task completion rate by 6.3 to 18.4 points over the initial harness. Compared with the strongest automatic baseline, it still wins by 2.6 to 5.0 points, while using 63.5% to 100.5% fewer tokens offline.
The paper argues that many “model failures” are actually harness failures: missing parameter checks, swallowed errors, weak completion criteria, and poor observability. The key message is that agent reliability can often be improved by fixing the surrounding runtime, not just the prompt or the base model.
More from coding & agent
- Cognition's SWE-2 uses a KKT duality argument in RL to shift the effort Pareto curve — YouJiacheng · 2026-09-11
- First-ever Three.js Conference lands in Paris, with a panel on AI-shortened design workflows — OdinLovis · 2026-09-11
- Data engineering, not agent frameworks, is the real bottleneck for enterprise AI agents — dhruv2038 · 2026-09-11
- RTK Terminal Compression Cuts Tokens but Leaves Your AI Coding Bill Unchanged — Bartaseth · 2026-09-11
- GPT-6 Astra beats Factorio with enemies in 44 in-game hours at ~$4,500 API cost — liminal_bardo · 2026-09-11
- Investment Analyst Asks How to Build a Claude-Based Diligence Agent Stack — Careless_Tie2286 · 2026-09-11