← Latest papers
💬 NLP

Co-Harness: Co-Evolving Harnesses and Model Weights for LLM Agents

Co-Harness is a framework that jointly optimizes an LLM agent's runtime harness and model parameters through an alternating process of harness refinement and model fine-tuning, enabling autonomous recovery, efficiency gains, and strategy discovery beyond the limitations of fixed-harness post-training.

Original authors: Zhengyu Chen, Teng Xiao, Huaisheng Zhu, Yige Yuan, Luan Zhang, Jingang Wang

Published 2026-07-28
📖 3 min read☕ Coffee break read

Original authors: Zhengyu Chen, Teng Xiao, Huaisheng Zhu, Yige Yuan, Luan Zhang, Jingang Wang

Original paper licensed under CC BY 4.0 (http://creativecommons.org/licenses/by/4.0/). This is an AI-generated explanation of the paper below. It is not written or endorsed by the authors. For technical accuracy, refer to the original paper. Read full disclaimer

Imagine you are trying to teach a brilliant but inexperienced apprentice how to solve complex puzzles. In the world of artificial intelligence, this apprentice is a "Large Language Model" (LLM)—a computer program that can read, write, and reason. But an LLM doesn't work in a vacuum; it needs a workshop. This workshop is called a "Harness." Think of the Harness as the set of tools, the instruction manual, the safety rails, and the memory bank the apprentice uses to do their job. It includes things like how the computer talks to a calculator, how it remembers previous steps, and how it knows when to ask for help.

For a long time, scientists treated the apprentice and the workshop as two separate things. They would spend years training the apprentice to be smarter, but they would keep the workshop exactly the same, using the same old tools and instructions they had designed by hand. The problem is, if the workshop has a wobbly table or a confusing map, even the smartest apprentice will stumble. They might fail not because they aren't smart enough, but because the environment they are working in is broken. This paper asks a simple but powerful question: What if we didn't just train the apprentice, but also fixed the workshop at the same time? What if the apprentice could help us figure out what was wrong with the tools, and then we could teach them using the new, better tools?

This is exactly what the researchers behind Co-Harness discovered. They created a system where the AI model and its "workshop" (the Harness) evolve together, like a dance partner learning to move in sync. Instead of just fixing the AI and hoping for the best, their system looks at every time the AI fails a task. It asks, "Was this because the AI was confused, or because the tool it was holding was broken?" If the tool was the problem—say, a confusing instruction or a missing safety hook—the system automatically fixes that tool. Then, it uses the AI's success with the new tool to teach the AI how to be even better.

The results are like watching a snowball grow into a boulder. The researchers tested this on tough math and logic puzzles. They found that by letting the AI and its tools improve together, the system got significantly smarter. After just two rounds of this "co-evolution," the AI's accuracy on difficult math tests jumped by over 20 percentage points on average. In one specific case, the system ran for over 200 hours without any human help, fixing its own crashes, speeding up its work, and even inventing a new strategy of combining multiple attempts to get the right answer. The paper suggests that this "dual-loop" approach—fixing the environment and training the brain simultaneously—is a much more powerful way to build intelligent agents than the old method of keeping the environment static. It turns out that to make a genius, you sometimes have to build a better playground first.

Drowning in papers in your field?

Get daily digests of the most novel papers matching your research keywords — with technical summaries, in your language.

Try Digest →