Research ·
Harness Self-Evolution for Long-Horizon Terminal Agents
RiseHarness is a framework that iteratively improves long-horizon terminal agent harnesses with model weights fixed, using traces from successful and failed runs of the same tasks to guide targeted harness changes.

Long-horizon terminal agents often solve a task on one run but fail on repeated runs, since stochastic errors can propagate through actions and context. RiseHarness, a new framework from a Hugging Face paper, addresses this gap between capability and reliable execution by evolving the agent harness itself while keeping model weights unchanged.
The framework targets 'flipping tasks' where the same configuration sometimes succeeds and sometimes fails, using successful runs as references for failure analysis. It combines agent trajectories with internal harness traces from a runtime monitor to see how model actions interact with command execution, feedback, context management, and completion decisions. A Harness Handbook links this evidence to harness behaviors and source code, and the system searches other harness frameworks for relevant implementations to adapt as design references. Candidate changes go through behavioral checks and repeated task evaluation, and versions with measured gains seed the next iteration.
Evaluation covers task success and reliability across models, ablations of harness execution evidence and external research, and transfer to unseen benchmarks with the same model. For builders, the approach suggests that reliability gains can come from improving shared interaction mechanisms in the harness rather than fine-tuning the model.
References
- Hugging Face · huggingface.co
Read the full story at Hugging Face ↗Like, save or discuss on Buzz