Reproduce “Evolving Agents in the Dark: Retrospective Harness Optimization via Self-Preference” on OpenResearch
Run Claude Code, Codex or any coding agent as a research agent: literature, hypotheses and experiments on your laptop, cluster or cloud GPUs.
Universal app for Apple silicon and Intel. Requires macOS 11 or later.
About this paper
Wenbo Pan, Shujie Liu, Chin-Yew Lin, Jingying Zeng, Xianfeng Tang, Xiangyang Zhou, Yan Lu, Xiaohua Jia
RHO improves an agent’s persistent harness from records of past task attempts, without external grading during optimization. It selects difficult tasks, diagnoses failures and disagreements, proposes changes to instructions, skills, or tools, and retains a change only when the agent prefers its attempts. In one round, held-out SWE-Bench Pro pass rate rose from 0.59 to 0.78 for a Codex-style agent.
Key insights
- An agent's own unlabeled past trajectories contain sufficient information to effectively optimize its entire harness, including executable tools and skills.
- A balanced selection of difficult and diverse tasks in the coreset is crucial for generating effective and comprehensive diagnostic signals.
- Combining self-validation (identifying individual run issues) and self-consistency (identifying behavioral divergences) provides robust guidance for harness improvement.
Summary by alphaXiv.
Tip: change arxiv.org to autoarxiv.org in any arXiv abstract link to open the paper here.