mlsanityData to 14 Oct 2026

Evolving Agents in the Dark: Retrospective Harness Optimization via Self-Preference

arXiv 2606.05922 ↗First posted 4 Jun 2026cs.AI cs.CL cs.LGcited by 19

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

  1. 2024DeepSeekMath: Pushing the Limits of Mathematical Reasoning in Open Language Modelscited by 9,379
  2. 2023MemGPT: Towards LLMs as Operating Systemscited by 1,389
  3. 2022Large Language Models Are Human-Level Prompt Engineerscited by 1,045
  4. 2023DSPy: Compiling Declarative Language Model Calls into Self-Improving Pipelinescited by 832
  5. 2026Terminal-Bench: Benchmarking Agents on Hard, Realistic Tasks in Command Line Interfacescited by 585
  6. 2023C-Pack: Packed Resources For General Chinese Embeddingscited by 578
  7. 2026Meta-Harness: End-to-End Optimization of Model Harnessescited by 309
  8. 2025Sleep-time Compute: Beyond Inference Scaling at Test-timecited by 43
  9. 2026Gaia2: Benchmarking LLM Agents on Dynamic and Asynchronous Environmentscited by 33
  10. 2026MemMA: Coordinating the Memory Cycle through Multi-Agent Reasoning and In-Situ Self-Evolutioncited by 12
  11. 2026M^star: Every Task Deserves Its Own Memory Harnesscited by 11
  12. 2026Towards Long-Horizon Interpretability: Efficient and Faithful Multi-Token Attribution for Reasoning LLMscited by 7
3 more
  1. 2025Can LLMs Refuse Questions They Do Not Know? Measuring Knowledge-Aware Refusal in Factual Taskscited by 6
  2. 2026MulVul: Retrieval-augmented Multi-Agent Code Vulnerability Detection via Cross-Model Prompt Evolutioncited by 6
  3. 2026WebTrap: Stealthy Mid-Task Hijacking of Browser Agents During Navigationcited by 2

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2026: 19.

19 papers.

Sort:

By area:

  1. 2026JIT-Agent: Scaling Harness Intelligence via Just-in-Time Harness Evolutioncited by 16
  2. 2026AutoSaddler: Automatic Harness Optimization with Durable Updates from Agent Execution Tracescited by 15
  3. 2026RRSI: Regularized Recursive Self-Improvement of Agent Harnessescited by 13
  4. 2026WHALE: A Simple Recipe for Joint Harness-Weight Optimizationcited by 11
  5. 2026ModularRSI: Modular and Generalizable Recursive Harness Self-Improvementcited by 9
  6. 2026Verify Smarter, Evolve Further: Efficient Harness Evolution through Behavior-Aware Verificationcited by 7
  7. 2026NeoHorse-1: Towards Recursive Self-Improvement via Agentic Post-Training with Routing Harnesscited by 4
  8. 2026Graph Engineering in the Era of LLM Agents: From Individual Intelligence to System Intelligencecited by 3
  9. 2026Grow the Harness, Not the Context: From Strategy-Free Scaffolds to Reusable Specialist Agentscited by 3
  10. 2026EvoUndo: Recoverability-Constrained Self-Evolution for LLM Agent Harnessescited by 2
  11. 2026Eureka: Task-Conditioned Meta-Agent Orchestration for Scientific Discoverycited by 1
  12. 2026CineForge: Self-Improving Agents for Long-Horizon Video Generationcited by 1
7 more
  1. 2026Why Git Is the Memory Solution for the Agentic Development Lifecyclecited by 0
  2. 2026RLHarness: Co-evolving Procedural Skills with Reinforcement Learning for Long-horizon Multimodal Reasoningcited by 0
  3. 2026Beyond Scripted Search: Sample-Efficient Reward Discovery via Agentic Black-box Optimizationcited by 0
  4. 2026From Migration to Calibration: Aligning Agents with Deployment Requirementscited by 0
  5. 2026Turbo Harness: Instance-Adaptive Harness Optimizationcited by 0
  6. 2026ActiveSaddler: Automated Curriculum Learning for Agent Harness Optimizationcited by 0
  7. 2026ServeLearnBench: How Well Can Agents Self-Improve from Serving Experience?cited by 0

Similar, not cited

Close in wording, no citation either way

  1. 2026EvoHarness-RL: Learning Self-Evolving Runtime Harness for Long-Horizon LLM Agents
  2. 2026MemoHarness: Agent Harnesses That Learn from Experience
  3. 2026Rethinking the Evaluation of Harness Evolution for Agents
  4. 2026HarnessX: A Composable, Adaptive, and Evolvable Agent Harness Foundry
  5. 2026Harness Handbook: Making Evolving Agent Harnesses Readable,Navigable, and Editable
  6. 2026Recursive Harness Self-Improvement
  7. 2026Harness-R1: Learning to Edit Executable Runtime Harnesses from Agent Failure Trajectories
  8. 2026Mixture of Self-Improving Branches For Agent Harness Optimization