DemoEvolve: Demonstration-Guided Harness Evolution under Sparse Feedback

Lirong Che, Yuzhe yang, Peiwen lin, Xu Cao, Chuang wang +2 more
5/23/2026
cs.AI

No confident code implementation found for this paper.

Abstract

Harness evolution enables frozen language model agents to adapt to unfamiliar tasks by modifying the external programs that govern their behavior. For long-horizon tasks, each rollout is costly, and a limited interaction budget may yield few examples of effective behavior.

Show full abstract

Sparse, delayed feedback also makes it difficult for a coding agent to diagnose failures and determine which modifications will improve performance. We present DemoEvolve, which uses human demonstrations to guide harness evolution under limited interaction budgets. The coding agent examines demonstrations alongside its own rollout history, extracts strategies and the conditions under which they apply, and turns them into reusable harness components. We compare demonstration guidance with self-rollout evolution and augmentation with retrieved textual knowledge under the same evolution procedure and agent interaction budget. On held-out seeds, DemoEvolve improves mean capped final-round progress from 16.83 to 20.00 in Balatro and mean floor reached from 18.17 to 28.83 in Slay the Spire 2, compared with the respective base harnesses. These results suggest that demonstrations can help harness evolution make better use of limited interaction experience by providing concrete guidance for diagnosis and modification.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{che2026demoevolve,
  title  = {DemoEvolve: Demonstration-Guided Harness Evolution under Sparse Feedback},
  author = {Lirong Che and Yuzhe yang and Peiwen lin and Xu Cao and Chuang wang and Xueqian wang and Jian su},
  year   = {2026},
  eprint = {2605.24539},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2605.24539v2}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2605.24539.svg)](https://codeofpaper.com/paper/2605.24539)

Discussion