Evolving Agents in the Dark: Retrospective Harness Optimization via Self-Preference
Not on the map. Why?
Abstract (arXiv)
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.
Key facts. Cited by 19 papers in the map (data through 14 Oct 2026). Builds on 15 of its 43 references that are in the map. First posted on arXiv 4 Jun 2026.
Builds on
15 of 43 references.
References · 15
- 2024DeepSeekMath: Pushing the Limits of Mathematical Reasoning in Open Language Modelscited by 9,379
- 2023MemGPT: Towards LLMs as Operating Systemscited by 1,389
- 2022Large Language Models Are Human-Level Prompt Engineerscited by 1,045
- 2023DSPy: Compiling Declarative Language Model Calls into Self-Improving Pipelinescited by 832
- 2026Terminal-Bench: Benchmarking Agents on Hard, Realistic Tasks in Command Line Interfacescited by 585
- 2023C-Pack: Packed Resources For General Chinese Embeddingscited by 578
- 2026Meta-Harness: End-to-End Optimization of Model Harnessescited by 309
- 2025Sleep-time Compute: Beyond Inference Scaling at Test-timecited by 43
- 2026Gaia2: Benchmarking LLM Agents on Dynamic and Asynchronous Environmentscited by 33
- 2026MemMA: Coordinating the Memory Cycle through Multi-Agent Reasoning and In-Situ Self-Evolutioncited by 12
- 2026M^star: Every Task Deserves Its Own Memory Harnesscited by 11
- 2026Towards Long-Horizon Interpretability: Efficient and Faithful Multi-Token Attribution for Reasoning LLMscited by 7
3 more
- 2025Can LLMs Refuse Questions They Do Not Know? Measuring Knowledge-Aware Refusal in Factual Taskscited by 6
- 2026MulVul: Retrieval-augmented Multi-Agent Code Vulnerability Detection via Cross-Model Prompt Evolutioncited by 6
- 2026WebTrap: Stealthy Mid-Task Hijacking of Browser Agents During Navigationcited by 2
Built on by
Citing papers per year: 2026: 19.
19 papers.
Sort:
By area:
- 2026JIT-Agent: Scaling Harness Intelligence via Just-in-Time Harness Evolutioncited by 16
- 2026AutoSaddler: Automatic Harness Optimization with Durable Updates from Agent Execution Tracescited by 15
- 2026RRSI: Regularized Recursive Self-Improvement of Agent Harnessescited by 13
- 2026WHALE: A Simple Recipe for Joint Harness-Weight Optimizationcited by 11
- 2026ModularRSI: Modular and Generalizable Recursive Harness Self-Improvementcited by 9
- 2026Verify Smarter, Evolve Further: Efficient Harness Evolution through Behavior-Aware Verificationcited by 7
- 2026NeoHorse-1: Towards Recursive Self-Improvement via Agentic Post-Training with Routing Harnesscited by 4
- 2026Graph Engineering in the Era of LLM Agents: From Individual Intelligence to System Intelligencecited by 3
- 2026Grow the Harness, Not the Context: From Strategy-Free Scaffolds to Reusable Specialist Agentscited by 3
- 2026EvoUndo: Recoverability-Constrained Self-Evolution for LLM Agent Harnessescited by 2
- 2026Eureka: Task-Conditioned Meta-Agent Orchestration for Scientific Discoverycited by 1
- 2026CineForge: Self-Improving Agents for Long-Horizon Video Generationcited by 1
7 more
- 2026Why Git Is the Memory Solution for the Agentic Development Lifecyclecited by 0
- 2026RLHarness: Co-evolving Procedural Skills with Reinforcement Learning for Long-horizon Multimodal Reasoningcited by 0
- 2026Beyond Scripted Search: Sample-Efficient Reward Discovery via Agentic Black-box Optimizationcited by 0
- 2026From Migration to Calibration: Aligning Agents with Deployment Requirementscited by 0
- 2026Turbo Harness: Instance-Adaptive Harness Optimizationcited by 0
- 2026ActiveSaddler: Automated Curriculum Learning for Agent Harness Optimizationcited by 0
- 2026ServeLearnBench: How Well Can Agents Self-Improve from Serving Experience?cited by 0
- 2026ServeLearnBench: How Well Can Agents Self-Improve from Serving Experience?6 Oct 2026
- 2026ActiveSaddler: Automated Curriculum Learning for Agent Harness Optimization1 Oct 2026
- 2026Turbo Harness: Instance-Adaptive Harness Optimization30 Sep 2026
- 2026From Migration to Calibration: Aligning Agents with Deployment Requirements28 Sep 2026
- 2026Beyond Scripted Search: Sample-Efficient Reward Discovery via Agentic Black-box Optimization26 Sep 2026
- 2026RLHarness: Co-evolving Procedural Skills with Reinforcement Learning for Long-horizon Multimodal Reasoning26 Sep 2026
- 2026Grow the Harness, Not the Context: From Strategy-Free Scaffolds to Reusable Specialist Agents22 Sep 2026
- 2026RRSI: Regularized Recursive Self-Improvement of Agent Harnesses21 Sep 2026
- 2026ModularRSI: Modular and Generalizable Recursive Harness Self-Improvement14 Sep 2026
- 2026NeoHorse-1: Towards Recursive Self-Improvement via Agentic Post-Training with Routing Harness8 Sep 2026
- 2026WHALE: A Simple Recipe for Joint Harness-Weight Optimization31 Aug 2026
- 2026CineForge: Self-Improving Agents for Long-Horizon Video Generation30 Aug 2026
7 more
- 2026EvoUndo: Recoverability-Constrained Self-Evolution for LLM Agent Harnesses28 Aug 2026
- 2026Verify Smarter, Evolve Further: Efficient Harness Evolution through Behavior-Aware Verification27 Aug 2026
- 2026JIT-Agent: Scaling Harness Intelligence via Just-in-Time Harness Evolution26 Aug 2026
- 2026AutoSaddler: Automatic Harness Optimization with Durable Updates from Agent Execution Traces24 Aug 2026
- 2026Graph Engineering in the Era of LLM Agents: From Individual Intelligence to System Intelligence21 Aug 2026
- 2026Eureka: Task-Conditioned Meta-Agent Orchestration for Scientific Discovery19 Aug 2026
- 2026Why Git Is the Memory Solution for the Agentic Development Lifecycle15 Jul 2026
- 2026JIT-Agent: Scaling Harness Intelligence via Just-in-Time Harness Evolutioncited by 16
- 2026AutoSaddler: Automatic Harness Optimization with Durable Updates from Agent Execution Tracescited by 15
- 2026RRSI: Regularized Recursive Self-Improvement of Agent Harnessescited by 13
- 2026Verify Smarter, Evolve Further: Efficient Harness Evolution through Behavior-Aware Verificationcited by 7
- 2026NeoHorse-1: Towards Recursive Self-Improvement via Agentic Post-Training with Routing Harnesscited by 4
- 2026Graph Engineering in the Era of LLM Agents: From Individual Intelligence to System Intelligencecited by 3
- 2026Grow the Harness, Not the Context: From Strategy-Free Scaffolds to Reusable Specialist Agentscited by 3
- 2026EvoUndo: Recoverability-Constrained Self-Evolution for LLM Agent Harnessescited by 2
- 2026CineForge: Self-Improving Agents for Long-Horizon Video Generationcited by 1
- 2026Why Git Is the Memory Solution for the Agentic Development Lifecyclecited by 0
- 2026Beyond Scripted Search: Sample-Efficient Reward Discovery via Agentic Black-box Optimizationcited by 0
- 2026ActiveSaddler: Automated Curriculum Learning for Agent Harness Optimizationcited by 0
12 most cited of 13 All 13 (JSON)
- 2026ServeLearnBench: How Well Can Agents Self-Improve from Serving Experience?6 Oct 2026
- 2026ActiveSaddler: Automated Curriculum Learning for Agent Harness Optimization1 Oct 2026
- 2026Beyond Scripted Search: Sample-Efficient Reward Discovery via Agentic Black-box Optimization26 Sep 2026
- 2026Grow the Harness, Not the Context: From Strategy-Free Scaffolds to Reusable Specialist Agents22 Sep 2026
- 2026RRSI: Regularized Recursive Self-Improvement of Agent Harnesses21 Sep 2026
- 2026NeoHorse-1: Towards Recursive Self-Improvement via Agentic Post-Training with Routing Harness8 Sep 2026
- 2026CineForge: Self-Improving Agents for Long-Horizon Video Generation30 Aug 2026
- 2026EvoUndo: Recoverability-Constrained Self-Evolution for LLM Agent Harnesses28 Aug 2026
- 2026Verify Smarter, Evolve Further: Efficient Harness Evolution through Behavior-Aware Verification27 Aug 2026
- 2026JIT-Agent: Scaling Harness Intelligence via Just-in-Time Harness Evolution26 Aug 2026
- 2026AutoSaddler: Automatic Harness Optimization with Durable Updates from Agent Execution Traces24 Aug 2026
- 2026Graph Engineering in the Era of LLM Agents: From Individual Intelligence to System Intelligence21 Aug 2026
12 newest of 13 All 13 (JSON)
- 2026WHALE: A Simple Recipe for Joint Harness-Weight Optimizationcited by 11
- 2026Eureka: Task-Conditioned Meta-Agent Orchestration for Scientific Discoverycited by 1
- 2026From Migration to Calibration: Aligning Agents with Deployment Requirementscited by 0
- 2026Turbo Harness: Instance-Adaptive Harness Optimizationcited by 0
- 2026Turbo Harness: Instance-Adaptive Harness Optimization30 Sep 2026
- 2026From Migration to Calibration: Aligning Agents with Deployment Requirements28 Sep 2026
- 2026WHALE: A Simple Recipe for Joint Harness-Weight Optimization31 Aug 2026
- 2026Eureka: Task-Conditioned Meta-Agent Orchestration for Scientific Discovery19 Aug 2026
Similar, not cited
Close in wording, no citation either way
- 2026EvoHarness-RL: Learning Self-Evolving Runtime Harness for Long-Horizon LLM Agents
- 2026MemoHarness: Agent Harnesses That Learn from Experience
- 2026Rethinking the Evaluation of Harness Evolution for Agents
- 2026HarnessX: A Composable, Adaptive, and Evolvable Agent Harness Foundry
- 2026Harness Handbook: Making Evolving Agent Harnesses Readable,Navigable, and Editable
- 2026Recursive Harness Self-Improvement
- 2026Harness-R1: Learning to Edit Executable Runtime Harnesses from Agent Failure Trajectories
- 2026Mixture of Self-Improving Branches For Agent Harness Optimization