RRSI: Regularized Recursive Self-Improvement of Agent Harnesses
An LLM agent’s capability is largely magnified by its harness, namely the prompts, control flow, tooling, memory, and context management surrounding the frozen backbone model. Recent methods increasingly automate this process by iteratively proposing and selecting component-wise edits of an agent harness, practically establishing a form of recursive self-improvement (RSI) at the agent-system level. However, such recursive evolution may overfit by memorizing the training tasks, showing large in-distribution gains that shrink or even vanish on out-of-distribution benchmarks. We introduce Regularized Recursive Self-Improvement of Agent Harnesses (RRSI), which incorporates the principles of regularizations into harness self-improvement by constraining the evolution candidate proposal and selection. The proposer operates with a temporally annealed budget, limiting how many edits a candidate can bundle, and it encourages unexplored trajectories based on evolution history. The selector is equipped with a critic and a pruner: the critic screens benchmark-specific proposals, while the pruner, removes changes that are too small, too expensive, or no longer useful. Together these constraints favor reusable agent mechanisms over benchmark-specific ones or even noises.
Introduction. Modern LLM agents are systems rather than standalone models (Lopopolo, 2026; Rajasekaran, 2026). A frozen backbone model is wrapped in a harness of prompts, control flow, tool interfaces, memory and context management. Agent harness decides whether the same model reads the right file before editing it, recovers from a failed command, manages efficient working context, and writes its findings into the deliverables. Much recent progress in agent products came from harness engineering rather than from new model weights (Karten et al., 2026a; Weng, 2026; Zhang and Khattab, 2026). However, this engineering relies on manual efforts, where humans inspect failed trajectories and tweak the scaffold by hand, so progress is limited by how many trajectories an engineer can read. Recent methods automate this loop by using LLMs to optimize harness components from task feedback (Chen et al., 2026; Karten et al., 2026b; Lee et al., 2026a,b; Lin et al., 2026a; Lou et al., 2026; Nie et al., 2026; Niklaus, 2026; Zhang et al., 2026a,e).
Discussion / Conclusion. Our study focuses on harness-level recursive self-improvement with frozen backbone models, and therefore does not address settings where model weights are updated during evolution. In addition, RRSI still relies on a finite evolve set and several regularization hyperparameters, so its effectiveness may depend on the quality of the feedback signal and the chosen search budget. Finally, although we evaluate transfer across multiple domains, benchmarks, and policy models, broader validation is needed to determine how well the method generalizes to substantially different agent architectures, tool ecosystems, and longer-running self-improvement processes.
Lines of inquiry this paper opens 24
Research framings built by reading the notes related to this paper — the questions it feeds into.
How should memory consolidation strategies shape agent performance over time?- Can persistent memory and identity files alone create genuine agent socialization?
- Does state persistence in AI systems create the same temporal presence as human waiting?
- What memory and planning capabilities do AI companions need for evolving user needs?
- How does the agentic layer amplify individual agent failure modes?
- How do multi-agent LLM systems fail at coordination and role consistency?
- Why does human interaction remain the hardest failure mode for agents?
- How do LLM user simulators track and maintain consistent goal states across multi-turn interactions?
- Do emotion-driven actions in agent simulators capture genuine belief revision or just reactive behavior?
- Can parallel agents or complementary mechanisms replace single-human interrogation of LLMs?
- Why do longer forecasting horizons degrade LLM accuracy in role-play?
- Should user simulators be trained via RL like agents or decomposed into trackable state components?
- How should GUI agents remember patterns across different software environments?
- Why do workflow abstractions fail in embodied agent environments?
- Could a single agent system switch memory granularity between tasks?