Self-Evolving Agent Harness

Chuyang Wei, Haoxiang Guan, Minghang Zhu, Kexin Zhou, Jiyan He +3 more
10/13/2026
cs.AIcs.CL

Official code: zgcagi/Harness-RSI (4 stars, CC-BY-4.0, last commit 2026-10-13).

Abstract

Harness self-evolution revises an agent's software scaffolding, including prompts, memory, workflows, and executable components, while keeping model weights fixed. We formalize a feedback-driven process in which accepted revisions persist across runs. The framework separates update targets from proposal and admission mechanisms. It distinguishes changes to interpreted state from revisions to tools and code, repository-level control logic, and plugin composition. We characterize search through evolutionary optimization and examine its reliability through continual PAC-learning. Under explicit assumptions, the analysis yields an expected generalization bound, a retention bound conditional on historical regression budgets, and a high-probability admission rule using fresh, independent validation data. We examine how persistent harness revisions affect knowledge sharing and organizational workflows, with implications for scientific reliability, physical safety, and institutional accountability. Cases from prior work illustrate model--harness co-design, distributed execution, and plugin reuse. Reliable deployment requires continual validation as task distributions and evaluators change, with independent safeguards for learning, runtime privileges, and consequential actions. We provide a comprehensive 66-page discussion of related work, theory, algorithms, evaluation, applications, and the broader impact of Harness RSI, together with continuously updated code and supplementary materials, at https://github.com/zgcagi/Harness-RSI.

View on arXivView PDF

Code Implementations(1)

zgcagi/Harness-RSIOfficial100%
CC-BY-4.0

Harness self-evolution: update targets, theory, evaluation, and reported evidence. Bilingual reading list and project website.

40CSS, HTMLOct 1, 20261 weeks agoCC-BY-4.0
agent-evaluationagent-harnessagent-memoryagent-skillsawesome+8 more

Similar Papers

Cite this paper

@article{wei2026selfevolving,
  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    = {http://arxiv.org/abs/2610.18813v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2610.18813.svg)](https://codeofpaper.com/paper/2610.18813)

Discussion