Paper commentary
Self-Evolving Agent Harness
Harness self-evolution can be bounded with continual PAC-learning guarantees
- Problem Selecting agent scaffolding revisions on observed runs can overfit past tasks and forget earlier capabilities. Gains on observed runs don't show that a revision will hold up later.
- Method The authors treat harness updates as evolutionary search and bound its generalization, retention and admission. They admit a candidate only when fresh validation tasks give a negative upper bound.
- Results The authors derive a bound on the expected generalization gap and a high-probability admission rule. Both hold under explicit independence and sampling assumptions.
Why empirical selection isn't enough
Harness self-evolution changes the scaffolding around a model while its weights stay fixed. Deployed agents face task environments that shift, so the scaffolding has to keep adapting. A revision that scores well on the runs that produced it tells little about new tasks or older ones. The paper therefore treats generalization and retention as questions for statistical guarantees, not for observed scores.
Selecting on empirical fitness alone leads to two failure modes. Accepted revisions can overfit the tasks that selected them. They can also forget capabilities that earlier revisions had. Continual PAC-learning gives a way to state these risks as bounds rather than anecdotes. The analysis assumes the n_k tasks in each round are drawn independently from an exogenous distribution.
Loss lies in [0,1] and is averaged over execution randomness, with the model and evaluator held fixed. Stability under task replacement bounds the expected generalization gap by a sensitivity term, as in equation (5).
Retention is bounded by summing per-round regression budgets across later transitions, as in equation (6). The historical-risk budgets are separate assumptions, and their allowances accumulate across rounds. Deployment adds drift, because the task distribution and the evaluator can both change over time. Admission therefore needs fresh, independent validation tasks, and the Hoeffding bound in equation (8) supplies the high-probability rule.
What counts as a harness update
A harness change counts as self-evolution only when two requirements both hold, so the test has two parts. The harness is the software and configuration around a model, with model adapters inside it and learned parameters outside it. The final assessment J sits outside the harness, so candidates can revise internal critics or provisional checks but can't rewrite the scoring.
Each round, the incumbent harness H k−1 generates a batch of b rollouts, and each rollout carries its trajectory, outcome, and available feedback. If no candidate is admitted, the incumbent stays in place, so the harness doesn't change in that round. Each retained revision then changes the state that later executions use, and that execution's feedback can guide the next update.
The first requirement is operational feedback and update continuity, meaning the system builds or selects revisions from its own executions. Environments, automated assessors, and people can supply that feedback, but admission may still need human approval. The second requirement is persistence across runs, so accepted revisions get stored and loaded later and one interaction can shape later execution.
Both requirements concern repeatability, so one observed update can show the capability when both hold.
Revising the update mechanism itself adds another level of recursion. Self-evolution names the update process, while self-improvement names a gain established by comparison.
Where revisions land in the system
The authors sort harness updates by the state they change, which is the state that later runs inherit. Executable revisions reach further, rewriting capability implementations, runtime control logic, or how plugins get composed. The distinction matters because persistent state decides how a revision propagates and which failures software recovery can undo.
The line between the two groups follows the artifact's role in the system, not the programming language it's written in. A workflow that only sequences fixed operators stays interpreted, because it routes work through coordination interfaces that don't change. Changing an operator's implementation counts as an executable revision, even when the executor stays the same.
Revising the runtime mechanisms that enact coordination also counts as an executable revision.
The first two describe how far a mutation reaches, while plugin composition describes how components and runtime services get bound and replaced. Component-level revision keeps the surrounding orchestration outside the editable surface and changes only callable procedures or designated modules.
Classifying the update target doesn't tell us whether a method meets the feedback, continuity, and persistence requirements.
Bounding generalization and retention
The analysis treats the state after each round as the harness, skills, archive, and feedback memory built so far. Each round draws n_k tasks from an exogenous distribution D_k, and these draws stay independent within and across rounds. The loss for a harness lies in [0,1], averaged over execution randomness, so risk is the expected loss over tasks.
The authors write the risk as R_s(H) and its empirical counterpart as the average loss over the sampled tasks.
Stability is tested by replacing one sampled task with a fresh draw and rerunning every downstream update. The term beta_{s,k} averages how much the loss on each sampled task changes between the original and the rerun harness. Replace-one exchangeability then bounds the absolute expected gap between R_s(H_k) and its empirical risk by beta_{s,k}.
This bound controls the expected gap, so it says nothing about the gap in any single run. The authors note that small code edits don't by themselves make the full update process stable.
For retention, the authors assume each later transition raises risk on R_s by at most a fixed budget epsilon_{s,u}. Telescoping the forgetting F_{s,k} produces a sum of these budgets from u = s+1 to k. Combined with stability, the expected risk on round s is bounded by its empirical risk, beta_{s,s}, and the summed budgets, as in equation (6).
Admitting candidates with fresh validation
The admission step starts from the historical mixture, which averages the risk over the earlier rounds. At each of T rounds, the method fixes at most K candidates and then draws a fresh validation set V_k of m tasks. Those validation tasks come from the same mixture and stay independent of how the candidates were built, given the prior history.
For a candidate H′, the paired loss difference averages the per-task gap between H′ and the incumbent over V_k.
Conditional Hoeffding bounds, with a union bound over at most KT comparisons, give the upper bound in Equation (8). That bound holds simultaneously with probability at least 1 − δ, which turns the empirical gap into a certificate on the historical mixture. A candidate is accepted only when its upper bound is negative, and otherwise the incumbent is retained.
The guarantee relies on fresh tasks, and search-time checks don't meet that assumption. HarnessBank screens candidates on training tasks before a separate final test. Self-Harness reuses a held-out regression split for a similar check. The authors say that secrecy and comparison-count corrections don't remove adaptive dependence. They recommend fresh samples or adaptive-valid inference instead, citing Dwork et al.
(2015a).
The scope note says independent tasks set the sample size, while extra rollouts only reduce execution noise. Edits or merges informed by V_k need fresh validation, because mixture gains don't ensure groupwise retention. Without a discrepancy bound from executable checks or independent human assessment, the certificate covers only the evaluator-defined loss.
SpreadsheetBench results for HarnessOpt
HarnessOpt carries the SkillOpt-Lite study from skill editing into runtime revision. The authors evaluate this on SpreadsheetBench, with accuracy reported as a percentage.
Table 2 compares five conditions across four models: Initial, SkillOpt, SkillOpt-Lite, HO only, and HO + skill. The same model reaches 66.19 under SkillOpt-Lite, so HarnessOpt with skill adds further gains on that baseline. The HO + skill column is the with-skill condition, and the values are converted from proportions in Table 3 of Shen et al.
(2026a).
The sharpest comparison sets GPT-5.4-nano with HarnessOpt and skill at 77.58 against GPT-5.5 with SkillOpt at 76.20. The authors read this crossover as a sign of model–harness pairing.
The table doesn't show superiority at matched cost. A cheaper model with a better harness isn't established by this comparison.
Plugin reuse costs in EIP
Everything Is a Plugin (EIP) extends plugin architectures to capabilities that are generated, validated and mounted during operation. Interface contracts support compatibility checks, but they don't establish behavioral isolation or safe admission. In the simulated office workload, a Codex plugin lets the agent generate batch-lookup and summarization tools during execution.
The spreadsheets from different company regions differ in language and content, but they share similar calculations. On the first task, tool calls drop from 13 to 3 in the EIP setup. Wall time rises 54.9% over the baseline. Tokens rise 15.7% over the baseline.
A separate cumulative series in Table 3 shows savings starting with the second task. After five tasks, the cumulative difference reaches 110,351 tokens and 22.97 s of savings. Row 1 of that series reports 4,895 tokens and 6.74 s, while the first-task totals imply 6,453 tokens and 8.51 s. Because the two reports don't match for the first task, they can't be read as one cost trajectory.
On LiveBrowseComp, XYZ + dsh-everything scored 51.39, compared to 48.7 for XYZ-Aquila-mini among models under 40B. The source places XYZ + dsh-everything first among the six displayed under-40B entries. Across all eleven entries, it ranks second. The source doesn't specify the unit of these scores, so Table 4 keeps them as printed.
These reports show potential reuse savings and model–harness pairing, not a measured general benefit.
Limitations: where the claims outrun the evidence
The admission rule certifies a candidate only against the historical mixture, not against arbitrary future task distributions. The Hoeffding step depends on fresh, independent validation tasks, so search-time checks that reuse training tasks fall outside it. HarnessBank reuses training tasks for screening, and Self-Harness reuses a held-out regression split, so both lack the assumed independence.
The stability term β bounds an expected gap, so it says nothing about the gap in any single run. Small code edits don't by themselves establish stability of the full update process.
The historical-risk budgets are assumptions the authors make, not consequences of stability, and their allowances add up across rounds. The guarantee for target risk holds only when the evaluator-to-target discrepancy η is bounded by executable checks or independent human assessment. Without that bound, the certificate covers only the evaluator-defined loss.
The authors name judge bias as a reason to recalibrate η independently after evaluator changes.
The SpreadsheetBench comparisons aren't matched-cost studies, so the crossover shows model–harness pairing rather than superiority. GPT-5.4-nano with HarnessOpt and skill reaches 77.58%, compared with 76.20% for GPT-5.5 with SkillOpt. Because these two EIP reports disagree, they can't be read as one cost trajectory.
The authors list repair costs, reuse frequency and interface changes as measurements that future studies still need to make.
Paper info
- Authors
- Chuyang Wei, Haoxiang Guan, Minghang Zhu, Kexin Zhou, Jiyan He, Xiren Zhou, Huanhuan Chen, Yifei Shen
- Venue
- arXiv · Preprint
- First published
- 2026-10-13
- Added
- 2026-10-20
- Updated
- 2026-10-13
- Version
- v1
- arXiv
- 2610.18813
- Category
- cs.AI · cs.CL
- Original paper terms
- arXiv non-exclusive 1.0
- What we show
- Paper info and commentary
AI commentary is a separate explanation from the original paper and may contain errors. The original paper and figures follow each source's terms of use and any rights noted separately.
Quote from the paper
Chuyang Wei, Haoxiang Guan, Minghang Zhu, Kexin Zhou, Jiyan He, Xiren Zhou, Huanhuan Chen, Yifei Shen (2026). Self-Evolving Agent Harness. arXiv:2610.18813v1. https://arxiv.org/abs/2610.18813v1
BibTeX
@misc{wei2026self,
title = {{Self-Evolving Agent Harness}},
author = {Chuyang Wei and Haoxiang Guan and Minghang Zhu and Kexin Zhou and Jiyan He and Xiren Zhou and Huanhuan Chen and Yifei Shen},
year = {2026},
eprint = {2610.18813},
archivePrefix = {arXiv},
url = {https://arxiv.org/abs/2610.18813v1}
}