# Evolving Agents in the Dark: Retrospective Harness Optimization via Self-Preference Page: https://stenobird.com/podcast/daily-paper-cast-7079649/evolving-agents-in-the-dark-retrospective-harness-optimization-via-self-preference Text version: https://stenobird.com/podcast/daily-paper-cast-7079649/evolving-agents-in-the-dark-retrospective-harness-optimization-via-self-preference.md Podcast: [Daily Paper Cast](https://stenobird.com/podcast/daily-paper-cast-7079649) Published: 2026-06-11T04:28:45+00:00 Episode link: https://share.transistor.fm/s/c45684dd Audio file: https://media.transistor.fm/c45684dd/a53be3e6.mp3 Processing state: not_requested JSON: https://stenobird.com/v1/public/podcasts/daily-paper-cast-7079649/episodes/evolving-agents-in-the-dark-retrospective-harness-optimization-via-self-preference Duration seconds: 1269 ## Resource 🤗 Upvotes: 48 | cs.AI, cs.CL, cs.LG Authors: Wenbo Pan, Shujie Liu, Chin-Yew Lin, Jingying Zeng, Xianfeng Tang, Xiangyang Zhou, Yan Lu, Xiaohua Jia Title: Evolving Agents in the Dark: Retrospective Harness Optimization via Self-Preference Arxiv: http://arxiv.org/abs/2606.05922v2 Abstract: AI agents rely on a harness of skills, tools, and workflows to solve complex problems. Continually improving this harness is essential for adapting to new tasks. However, existing optimization methods typically require ground-truth validation sets, yet such labeled data is difficult to acquire in practical deployment settings. To address this problem, we introduce Retrospective Harness Optimization (RHO), a self-supervised method that optimizes the agent harness using only past trajectories. Specifically, RHO selects a diverse coreset of challenging tasks from past trajectories and re-solves them in parallel. The agent analyzes these rollouts using self-validation and self-consistency, then generates candidate harness updates and selects the most effective one by its own pairwise self-preference. We evaluate RHO across three diverse domains, spanning software engineering, technical work, and knowledge work. Notably, a single optimization round improves the pass rate on SWE-Bench Pro from 59% to 78% without any external grading. Furthermore, our analysis demonstrates that RHO effectively targets prior failure modes. As a result, the optimized harness alters the agent's behavior patterns and sustains higher accuracy during long-horizon sessions. ## Actions - request_transcript: `POST https://stenobird.com/v1/public/podcasts/daily-paper-cast-7079649/episodes/evolving-agents-in-the-dark-retrospective-harness-optimization-via-self-preference/transcription-requests` — Idempotently request low-priority transcript generation for this episode. - read_markdown: `GET https://stenobird.com/podcast/daily-paper-cast-7079649/evolving-agents-in-the-dark-retrospective-harness-optimization-via-self-preference.md` — Read the agent-friendly Markdown representation of this episode resource. A page view does not enqueue transcription. Agents should invoke `request_transcript` explicitly when they need this episode processed. ## Transcript Full transcripts are not published on public pages unless there is a clear rights basis.