Self-Harness Lets Agents Modify Their Own Wrappers
量子位 · wechat · 2026-07-19
The Shanghai Artificial Intelligence Laboratory team has proposed Self-Harness. Instead of altering the underlying model, the model analyzes its own execution trajectories to identify failure modes and then proposes constrained modifications to the outer Harness. Regression tests determine whether these changes are adopted.
Tested on Terminal-Bench-2.0 across multiple backend models, this approach—keeping the base model, tool environment, and evaluation protocol identical while only modifying the Harness—yielded significant improvements: a 104% total gain for Qwen3.5-35B-A3B, 28% for MiniMaxM2.5, and 24% for GLM-5.
The paper breaks down the three-step pipeline: weakness mining, Harness proposal, and regression verification. It provides examples showing that different models exhibit distinct typical issues, such as delaying file output, looping endlessly after tool failures, or struggling to manage shell states and the transition from exploration to implementation.
Related event: Agent Harness Self-Improvement and Domain-Specific Design(6 posts)→
More from coding & agent
- Chaining dependent MCP tool calls: no rollback, duplicate risk — agentrsdg · 2026-09-11
- DeepMind-led paper makes design docs the source of truth, code disposable — SMART regenerates in 1.5-3h for ~$100 — Roger_M_Taylor · 2026-09-11
- Agent-built classifier labels 192k docs for $0.70 vs $13-26 with frontier LLMs — vanstriendaniel · 2026-09-11
- MathModelAgent gains traction: auto-solves math modeling and writes a submission-ready paper — jihe520 · 2026-09-11
- alphaXiv open-sources OpenResearch to run parallel research agents with any model — alphaXiv · 2026-09-11
- DeskcommCRM: open-source AI sales CRM with native agents and WhatsApp hits 1k stars — melgarafael · 2026-09-11