by zgcagi
Harness self-evolution: update targets, theory, evaluation, and reported evidence. Bilingual reading list and project website.
# Add to your Claude Code skills
git clone https://github.com/zgcagi/Harness-RSISee how Harness-RSI compares with popular alternatives.
Harness-RSI is an open-source ai agents skill for AI coding assistants such as Claude Code, Codex CLI, and ChatGPT, built by zgcagi. Harness self-evolution: update targets, theory, evaluation, and reported evidence. Bilingual reading list and project website. It has 74 GitHub stars.
Harness-RSI's catalog security scan is still queued. You can run an instant dependency and prompt-injection check now with the "Scan for vulnerabilities" button above.
Clone the repository with "git clone https://github.com/zgcagi/Harness-RSI" and add it to your Claude Code skills directory (see the Installation section above).
Harness-RSI is primarily written in Python. It is open-source under zgcagi on GitHub, so you can review or fork the full source.
Yes. SkillsLLM lists many other AI Agents skills you can browse and compare side by side. Open the AI Agents category from the badge at the top of this page, or use the Related Skills and comparison links further down to weigh Harness-RSI against similar tools.
No comments yet. Be the first to share your thoughts!
Available after the catalog security scan passes.
⚠️ Third-Party Software Notice
This skill is third-party open-source software developed and hosted independently on GitHub. SkillsLLM is an informational directory and does not control or maintain the underlying repository.
Any security checks, ratings, or warnings displayed by SkillsLLM are automated and limited in scope. They do not constitute a security certification or guarantee that the software is safe, error-free, or free from malicious code, vulnerabilities, compromised dependencies, or prompt-injection risks.
Review the source code, permissions, dependencies, and configuration before installing or running any third-party skill. Use is at your own risk. To the maximum extent permitted by applicable law, SkillsLLM is not liable for losses arising from third-party software.
The deep catalog scan for this skill is still queued. Run an instant dependency check now instead.
Self-Evolving Agent Harness · arXiv · Project Page · Reading List · Citation · 中文版 ·
Companion materials for our survey of how execution experience becomes persistent harness state under a fixed base model. We organize update mechanisms, examine evolutionary search and continual PAC learning, assess reported evidence, and discuss applications and societal effects. The repository PDF is the 12 October 2026 working draft. Figures retain the manuscript layout; click to view them at full resolution.
Background Related Surveys · Definition · Taxonomy · Precursors
Literature Interpreted · Executable · Theory · Evaluation
Resources Applications & Outlook · Reported Evidence · Contributing · Citation
TMLR'26 — organizes self-evolution by what, when, how, and where to evolve. [paper]arXiv'25 — organizes methods by optimizer feedback. [paper] [list]arXiv'26 — unified review of memory, skills, protocols, and harness engineering. [paper]arXiv'26 — organizes by the role of code in the agent loop. [paper] [list]arXiv'26 — from bounded self-refinement to autonomous research loops, organized by loop closure. [paper]arXiv'26 — separates model and scaffold updates under frozen parameters and discusses independent evaluation and component controls. [paper] [list]arXiv'26 — distinguishes proposal eligibility, runtime activation, and admission, and discusses component controls under a common budget. [paper]A harness $H$ is the software and configuration that governs how a model $M$ operates in an environment $E$. It includes tools, context construction, memory, and execution control. The final evaluator $J$ scores a trajectory and stays outside the candidate’s editable surface; internal critics and provisional verifiers may belong to the mutable harness.
$$ \tau \sim \mathrm{Run}(M,H,E), \qquad y=J(\tau) $$
Harness self-evolution uses a batch of trajectories $\mathcal{B}_k$ to revise the state used by later runs:
$$ H_{k+1}=\mathrm{Update}(H_k,\mathcal{B}_k) $$
The update mechanism remains available for further revisions, and an accepted state is saved and loaded by a later run. Rejected candidates leave the harness unchanged. The analysis holds $M$ fixed; systems that also train weights are read here for their harness-side changes. Offline optimizers and mechanisms with limited persistence are marked in the entries.
Self-evolution describes this update process whether or not the accepted state performs better; self-improvement is a beneficial change supported by an explicit comparison. Harness RSI (recursive self-improvement) remains a conventional short name for the area, not a guarantee that every accepted revision helps. Whether an update operated and improved performance requires the evaluation evidence below.
Runtime responsibilities and mechanisms. An implementation may combine or omit components.
Interpreted updates revise content read by a fixed host; executable updates revise the implementations it invokes. Evaluation forms a separate branch, while theory cuts across update targets.
Reference numbers follow the manuscript; source links appear in the reading list below. See also the taxonomy data.
Adv. Computers'65 — frames recursive improvement as a machine designing a better successor to itself. [paper]Artif. Intell.'83 — learned heuristics, including heuristics that modify other heuristics, shape later search. [paper]arXiv'03 — a self-rewrite executes only after the system proves the rewrite improves expected utility. [paper]These methods revise instructions, memory, or coordination specifications read by fixed components. Entries note offline optimization and task-local adaptation where applicable.
Use candidate scores to propose and select prompt revisions.
ICLR'23 — proposes instructions from input–output demonstrations and keeps the highest-scoring candidate. [paper] [project]ICLR'24 — feeds earlier instructions and scores to an optimizer model that proposes the next candidate. [paper] [code]Translate errors, critiques, or execution traces into edits to text parameters.
EMNLP'23 — converts task errors into natural-language "gradients" and beam-searches over the edited prompts. [paper]Nature'25 — backpropagates textual critiques through a graph of LLM calls to edit any text variable in the system. [paper]ICLR'26 Oral — uses execution-trace reflection to revise prompts and Pareto selection to retain candidates. [paper]NeurIPS'24 — treats the execution trace as a computation graph and generates edits from rich feedback through a generative optimizer. [paper] [project]arXiv'25 — optimizes the optimizer's own prompts, accepting an update only when a validation split improves. [paper]arXiv'25 — co-adapts the prompt and a semantic causal graph for domain deployments. [paper]arXiv'26 — rewrites persistent system prompts using accumulated task feedback. [paper] [code]Search over the instructions that generate later mutations.
ICML'24 — co-evolves task prompts and the mutation prompts that generate them. [paper]arXiv'25 — decouples prompt components and steers mutation along identified directions. [paper]arXiv'25 — evolves instructions through structured debates, ranking candidates by Elo tournament. [paper]Distill execution trajectories into knowledge retrieved by later runs.
NeurIPS'23 — stores verbal self-reflection on a failure and reloads it for another attempt at the same task. [paper]AAAI'24 — extracts cross-task insights from a training pool of trajectories, with add/edit/upvote/downvote curation. [paper]ICML'25 — induces recurring sub-goal workflows from trajectories, offline from a training split or online from the task stream. [paper]arXiv'25 — a cross-domai