betaFeedback

WorksComputer Science

Self-Evolving Coding Agents via Harness-Policy Optimization

Abstract

Large language model (LLM) agents have shown promising potential in coding tasks, and their performance is jointly determined by the policy model and the harness that mediates their interaction with the environment. Indeed, harness and policy are mutually reinforcing and evolving only one component is suboptimal—a harness tuned for one checkpoint may not target the failure modes of an updated policy, while policy learning remains limited to the trajectories elicited by a fixed harness. In light of this, we propose Self-HPO, a recursive self-improving framework for coding agents that alternates harness and policy optimization, using the evolving policy as its own harness proposer. Specifically, in each round, the current policy first analyzes its own failures and proposes new harness candidates (H-step). The policy is then updated through reinforcement learning (RL) under the selected harness (P-step), and hard tasks identified during training form the next harness search set, keeping harness optimization targeted to the policy's evolving failure modes. Across three coding benchmarks, Self-HPO consistently outperforms harness-only and policy-only baselines, improving Qwen3.5-35B-A3B's average resolve rate from 57.8% to 64.8%, with gains generalizing to out-of-distribution settings. Further analysis shows that both optimized components retain gains even when paired with their base counterparts, while their joint gain exceeds the sum of their individual gains. Self-HPO also improves reliability (Pass@1) and expands the capability frontier (Pass@k) over the base agent. Additionally, we show that with a stronger external model (e.g., Opus 4.8) as the harness proposer, the same framework yields a further performance boost.

https://github.com/MSR-Orchard/Self-HPO https://huggingface.co/self-hpo

Introduction

Large language model (LLM) agents have made rapid progress on complex, multi-step tasks such as software engineering [28, 78], web navigation [19, 70] (Zhou et al. 2024), and computer use [75, 1]. Such an agent consists of two components: the policy model and its harness, which is the external scaffold that decides what the model observes, how its actions are executed, what feedback it receives, and when an episode terminates [80, 54, 78, 19, 34, 89]. Typically, the policy model defines the agent’s capability boundary, while the harness determines how these capabilities are elicited, hence the same model may succeed or fail on one problem depending on its harness [34, 89].

There have been two main lines of research on improving such agents. Harness optimization holds the policy fixed and searches over prompts, workflows, or agent code [22, 34, 89], whereas policy optimization holds the harness fixed and updates the model from successful trajectories or verifiable rewards [53, 18, 68]. However, harness-only optimization cannot improve the underlying model, while policy-only training can learn only from the trajectories that its fixed harness elicits. Although recent works begin to optimize both components [31, 7], they rely on an external harness proposer and face the challenge of a moving optimization target as the policy and its failure modes evolve, leaving self-driven evolution for coding agents underexplored.

In this work, we introduce Self-HPO, a framework for recursive self-improvement driven by the agent’s own policy. As illustrated in Figure 1, Self-HPO alternates harness optimization (H-step) with policy optimization under the optimized harness (P-step). Harness optimization exposes and compensates for the weaknesses of the current policy, while policy optimization internalizes the elicited behaviors into the model and shifts the failures that the next harness should target. Specifically, in the H-step, the current policy analyzes its failed trajectories and proposes harness revisions targeting its own failure modes, and selects the updated harness based on search-set performance (§ 2.2). In the P-step, the policy is updated using reinforcement learning under the optimized harness (§ 2.3). In the next H-step, the updated policy serves as the harness proposer, with hard tasks identified from the preceding P-step as the search set to keep harness search aligned with the policy’s evolving failure modes.

Figure 1. Self-HPO recursively improves the harness and policy using the agent itself. Left: In each H-step, the current policy proposes an improved harness, and each P-step then updates the policy through reinforcement learning with the optimized harness. Right: Average resolve rate over SWE-Bench Verified, SWE-Bench Multilingual, and SWE-Bench Pro along the H- and P-steps. Policy-only and Harness-only denote the RLVR Peng et al., [50] and Self-Harness Zhang et al., [89] baselines.

We instantiate Self-HPO with Qwen3.5-35B-A3B (Qwen Team, [52]) as the base policy, and mini-SWE-agent (Yang et al., [78]) as the seed harness. Across three coding benchmarks, Self-HPO consistently outperforms policy-only and harness-only optimization, with the average resolve rate improving at every optimization step, as demonstrated in Figure 1. On SWE-Bench Verified (Chowdhury et al., [12]), it improves the base resolve rate from 61.0% to 69.5%, with transferable gains on the out-of-distribution SWE-Bench Multilingual (Yang et al., [79]) and SWE-Bench Pro (Deng et al., [13]). Ablations further show that evolving the harness search set with hard tasks identified during policy learning yields better performance than reusing a fixed set. We also extend Self-HPO to the external-model setup where Opus 4.8 is used as an external harness proposer, which further raises the resolve rate on SWE-Bench Verified to 71.6%. The main contributions of this work are as follows:

  • We propose Self-HPO, a recursive self-improving framework for coding agents that alternates harness and policy optimization, where the agent uses its own policy as the harness proposer and adapts harness search to the policy’s evolving failure modes.

  • We demonstrate that Self-HPO consistently outperforms policy-only and harness-only baselines across three coding benchmarks, improving the average resolve rate from 57.8% to 64.8%, with gains generalizing to out-of-distribution settings.

  • Our study shows that both optimized components of Self-HPO retain gains even when paired with their base counterparts, while their joint gain exceeds the sum of their individual gains. We also find that Self-HPO not only improves reliability (pass@1) but also expands the capability frontier (pass@k) of the agent.

Self-HPO: Self-Evolving via Harness-Policy Optimization

Problem Setup

Given a software-engineering task xx, a coding agent combines a policy PP, parameterized by an LLM, with a harness HH, which controls context, tools, feedback, and termination. The resulting trajectory

τ∼πH,P(⋅∣x)\tau\sim\pi_{H,P}(\cdot\mid x) is scored by an executable verifier y(x,τ)∈{0,1}y(x,\tau) \in\{0,1\}. We measure a harness–policy pair by its expected resolve rate on the training data D\mathcal{D}:

J(H,P)=Ex∼DEτ∼πH,P(⋅∣x)[y(x,τ)].(1)J(H,P) = \mathbb{E}_{x\sim\mathcal{D}}\mathbb{E}_{\tau\sim\pi_{H,P}(\cdot\mid x)}[y(x,\tau)]. \tag*{(1)}

We study the problem of self-improving a coding agent’s own harness and policy. The harness changes which behaviors the current policy can reliably express, while a policy update changes the failures that the next harness should target. As shown in Figure 2, each H-step holds the policy fixed while using it to analyze failures and propose harness revisions, and each P-step then freezes this harness and updates the policy through reinforcement learning. The updated policy becomes the next harness proposer, with hard tasks identified from the training process forming the next search set.

Figure 2. Overview of Self-HPO. Top (H-step): The frozen policy analyzes the agent’s failures on the search set and proposes new harness candidates. Bottom (P-step): With the updated harness, the policy evolves through reinforcement learning. The updated policy becomes the next harness proposer, while tasks never resolved during this P-step form the next search set.

We call this alternating framework Harness-Policy Optimization (HPO) and implement it in two setups. In the self-improving setup (Self-HPO), the evolving policy proposes its own harness candidates, so no separate proposer model is needed. For reference, we also instantiate the same HPO loop with Opus 4.8 as a fixed external proposer.

A formal description of Self-HPO is presented in Algorithm 1. Starting from a base policy P0P_0, a seed harness H0H_0, and a random search set S0⊂DS_0 \subset\mathcal{D}, the method alternates two updates. At round tt (starting from t=0t=0), the H-step keeps PtP_t fixed and uses it to propose KK harness candidates {Htk}k=1K\{H_t^k\}_{k=1}^{K}, retaining the best-scoring harness on StS_t as Ht+1H_{t+1}. The P-step then freezes Ht+1H_{t+1} and updates PtP_t to Pt+1P_{t+1} on D\mathcal{D} using reinforcement learning. The resulting training rollouts identify the next hard-task set St+1S_{t+1} and the loop stops when the hard-task set stabilizes between rounds.

H-step: Failure-Conditioned Harness Search

Self-proposer for harness optimization. The H-step uses the frozen PtP_t as both task solver and harness proposer. The current pair (Ht,Pt)(H_t,P_t) first generates trajectories on StS_t, and the proposer inspects the current failures and produces targeted revisions to the prior executable runtime logic (see prompt in Appendix § 9). Each of the KK search iterations revises the current best harness, starting from HtH_t, using the accumulated experience of all evaluated harnesses and their trajectories. All candidates are evaluated on the same search set StS_t.

Evolving search set. The search set remains fixed within an H-step but evolves between rounds. For initialization, we sample S0S_0 uniformly from D\mathcal{D}. Subsequent search sets consist of hard tasks identified from the training trajectories generated during the preceding P-step, where a task is considered hard if it is never resolved in any of its rollouts in that P-step. The next H-step regenerates trajectories on those hard tasks with the updated harness–policy pair, producing fresh failure evidence for proposal. Harness search therefore follows the failures exposed by the preceding policy update instead of repeatedly optimizing against the initial tasks.

Algorithm 1 Self Harness-Policy Optimization (Self-HPO)
Require: Seed harness $H_0$, base policy $P_0$, training data $\mathcal{D}$, harness search budget $K$
1: $t \leftarrow 0$, randomly initialize harness search set $\mathcal{S}_t \subset \mathcal{D}$
2: while not converged do ▷ Stopping criterion (§2)
    /* H-step: search harness with the current policy as proposer */
3: Score $v_0$, trajectories $\mathcal{T}_0 \leftarrow \operatorname{Eval}(H_t, P_t, \mathcal{S}_t)$, experience $\mathcal{E} \leftarrow \{(H_t, \mathcal{T}_0)\}$, $v_{\mathrm{best}} \leftarrow v_0$, $H_{t+1} \leftarrow H_t$
4: for $k = 1, \ldots, K$ do
5: $H_t^k \leftarrow \operatorname{ProposeHarness}(H_{t+1}, P_t, \mathcal{E})$ ▷ Self-proposer (§2.2)
6: $v_k, \mathcal{T}_k \leftarrow \operatorname{Eval}(H_t^k, P_t, \mathcal{S}_t)$, $\mathcal{E} \leftarrow \mathcal{E} \cup \{(H_t^k, \mathcal{T}_k)\}$
7: if $v_k > v_{\mathrm{best}}$ then
8: $H_{t+1} \leftarrow H_t^k$, $v_{\mathrm{best}} \leftarrow v_k$
    /* P-step: train the policy under the updated harness */
9: $P_{t+1}, \mathcal{T}_{\mathrm{RL}} \leftarrow \operatorname{RL}(H_{t+1}, P_t, \mathcal{D})$
10: $\mathcal{S}_{t+1} \leftarrow \operatorname{SelectHardTasks}(\mathcal{T}_{\mathrm{RL}})$ ▷ Evolving search set (§2.3)
11: $t \leftarrow t + 1$
12: return $H_t, P_t$

P-step: Policy Optimization under the Optimized Harness

The P-step improves the policy through reinforcement learning under the optimized harness Ht+1H_{t+1}. Starting from PtP_t, we collect on-policy trajectories over D\mathcal{D} as the policy is updated. An executable verifier assigns binary outcome rewards, and our default optimizer combines Group Relative Policy Optimization (GRPO) [53] with Balanced Adaptive Rollout (BAR) from Orchard [50]. BAR adaptively draws additional trajectories to construct reward-balanced groups, reducing uninformative zero-variance groups under sparse outcome rewards, and GRPO then updates the policy using the resulting group-relative advantages. The tasks that were never resolved during this P-step are identified as the hard-task set St+1\mathcal{S}_{t+1}, which will be passed together with the updated policy Pt+1P_{t+1} to the next H-step.

Experiments

Experimental Setup

Harness, model, and data. All experiments use Qwen3.5-35B-A3B [52] as the base policy and mini-SWE-agent [80, 78] as the seed harness. Following Orchard [50], we construct a training set of 2,484 tasks from SWE-rebench [3], SWE-rebench V2 [4], and Scale-SWE (Zhao et al., 2026), which is used for both harness search and policy optimization. We perform two rounds of alternating harness and policy optimization based on the stopping criterion, with K=6K = 6 harness candidates per H-step and 50 RL updates per P-step. Appendix A describes the implementation details.

Benchmarks and evaluation metrics. SWE-Bench Verified (SWE-Verified) contains 500 human-validated GitHub issues and is our primary benchmark [28, 12]. We further evaluate out-of-distribution performance on SWE-Bench Multilingual (SWE-Multi; 300 tasks) [79] and the public V2 set of SWE-Bench Pro (SWE-Pro; 642 tasks) [13], covering other programming languages and more diverse repository-level tasks. We report resolve rate, the percentage of tasks whose generated patches pass the benchmark verifier. Main results are averaged over three evaluation runs (avg@3) with standard deviations.

Baselines. We compare our method with policy-only and harness-only baselines under two setups, with the base agent as a reference. In the self-improving setup, RLVR [50] updates the policy under the seed harness, whereas Self-Harness [89] optimizes the harness using the base policy as proposer without updating its weights. Self-HPO alternates both updates and uses the current policy to propose harness changes. In the external-model setup, supervised fine-tuning (SFT) learns from resolved Opus 4.8 trajectories on the same training tasks, while Meta-Harness [34] uses Opus 4.8 to optimize the harness with the target policy fixed. HPO combines external harness proposals with RL policy updates.

Main Results

Self-HPO consistently outperforms policy-only and harness-only optimization. As shown in Table 1, jointly optimizing the harness and policy achieves the best performance on all three benchmarks within each setup. Without an external proposer, Self-HPO reaches 69.5% on SWE-Verified, outperforming RLVR and Self-Harness by 2.0 and 4.3 points, respectively. Its average score improves from 57.8% for Base to 64.8%, exceeding the stronger single-component baseline, RLVR, by 2.9 points. The same pattern holds with external supervision: HPO surpasses Meta-Harness by 2.5 points on SWE-Verified and 2.8 points on average. These consistent gains support optimizing the harness and policy together. Appendix § 7 further compares these results with frontier models on SWE-Verified.

MethodHarness OptPolicy OptSWE-VerifiedSWE-MultiSWE-ProAvg.
Base✘✘61.0±0.261.0 \pm0.254.2±0.354.2 \pm0.358.3±1.258.3 \pm1.257.8±0.457.8 \pm0.4
Setting 1: External-model setup (Opus 4.8)
SFT✘✓65.0±1.165.0 \pm1.149.6±0.849.6 \pm0.849.1±0.649.1 \pm0.654.6±0.554.6 \pm0.5
Meta-Harness (Lee et al., [34])✓✘69.1±1.969.1 \pm1.956.5±0.956.5 \pm0.964.8±1.464.8 \pm1.463.5±0.863.5 \pm0.8
HPO (ours)✓✓71.6±0.971.6 \pm0.961.4±0.761.4 \pm0.766.0±0.566.0 \pm0.566.3±0.466.3 \pm0.4
Setting 2: Self-improving setup
RLVR (Peng et al., [50])✘✓67.5±0.867.5 \pm0.856.3±1.056.3 \pm1.061.8±1.361.8 \pm1.361.9±0.661.9 \pm0.6
Self-Harness (Zhang et al., [89])✓✘65.2±1.565.2 \pm1.554.3±0.754.3 \pm0.760.7±0.960.7 \pm0.960.1±0.660.1 \pm0.6
Self-HPO (ours)✓✓69.5±0.969.5 \pm0.959.7±0.859.7 \pm0.865.2±1.465.2 \pm1.464.8±0.664.8 \pm0.6

Table 1. Main results on in-distribution (SWE-Bench Verified) and out-of-distribution evaluations (SWE-Bench Multilingual and SWE-Bench Pro). The optimization columns indicate whether each method updates the harness or policy. We report the mean resolve rates with standard deviations over three runs. Bold marks the best result within each setup.

The gains generalize to out-of-distribution benchmarks. Although harness search and policy optimization use only tasks from Python projects, the gains transfer to SWE-Multi, which covers nine non-Python languages, and SWE-Pro, which spans a broader range of languages and engineering tasks. Self-HPO achieves 59.7% and 65.2%, respectively, improving over Base by 5.5 and 6.9 points and over RLVR by 3.4 points on both benchmarks. The benefit is particularly clear on SWE-Multi, where Self-Harness improves over Base by only 0.1 point, compared with 5.5 points for Self-HPO. The same trend holds in the external-model setup, where HPO reaches 61.4% and 66.0%, outperforming both single-component baselines. These results show that the benefits of joint harness–policy optimization extend beyond the Python training domain.

Learning from Opus 4.8 through harness optimization is more effective than SFT distillation. SFT and Meta-Harness represent two different approaches for transferring knowledge from Opus 4.8: SFT distills generated trajectories into the model weights, whereas Meta-Harness uses external proposals to optimize the harness while keeping the model fixed. Meta-Harness outperforms SFT by 4.1 points on SWE-Verified and 8.9 points on average. The gap is largest out of domain: SFT falls below Base on both SWE-Multi and SWE-Pro, while Meta-Harness improves on both. HPO further improves on Meta-Harness, indicating that policy optimization remains beneficial when coupled with an optimized harness.

Alternating harness and policy optimization drives continued agent improvement. Figure 3 traces the optimization trajectories of Self-HPO and the two one-sided baselines. Self-HPO and Self-Harness begin with the same first H-step, but their trajectories diverge once Self-HPO updates its policy. Across all three benchmarks, the second H-step improves the updated Self-HPO policy, and the following P-step provides a further gain. In contrast, another harness-only update does not consistently improve performance: Self-Harness drops from 55.0% to 54.3% on SWE-Multi. The final Self-HPO pair surpasses both single-component baselines on every benchmark, supporting repeated adaptation of the harness to the evolving policy. Figure 6 in the appendix provides a candidate-level view of harness search on SWE-Verified.

Figure 3. Optimization trajectories across harness and policy updates. Resolve rates (%) on SWE-Bench Verified, SWE-Bench Multilingual, and SWE-Bench Pro are shown on the common Base–H1H_1–P1P_1–H2H_2–P2P_2 schedule. Self-HPO alternates H- and P-steps, whereas Self-Harness and RLVR update only the harness and policy, respectively. Markers with dashed outlines indicate steps at which the corresponding method performs no update.

Figure 6. Best-so-far performance during harness evolution on SWE-Bench Verified. Circles show individual candidate scores. Candidates 1–6 are shared, while 7–12 belong to the separate Self-Harness and Self-HPO branches. Vertical increases and stars mark Self-HPO’s two P-steps. Dashed horizontal lines show Base and final RLVR performance.

Ablations

We examine the policy-update strategy, search-set construction, and harness proposer on SWE-Verified. Table 2 uses HPO as the reference for ablating the shared H-step–P-step framework, and replacing its external proposer with the current policy gives Self-HPO.

ConfigurationResolve rate (%)
HPO71.6
w/ SFT in P-step67.2 (−4.4)
w/ RFT in P-step70.5 (−1.1)
w/ Fixed search set in H-step70.1 (−1.5)
w/ Self-proposer in H-step69.5 (−2.1)

Table 2. Ablation study. Resolve rates reported on SWE-Bench Verified.

RL yields stronger policy updates than SFT/RFT. We replace RL in the P-step with either SFT on trajectories distilled from Opus 4.8 or rejection-sampling fine-tuning (RFT) on the target policy’s own successful trajectories. SFT reduces the final resolve rate from 71.6% to 67.2%, while RFT reaches 70.5%, trailing RL by 1.1 points. Even when fine-tuning uses the policy’s own successful trajectories, it still falls short of RL, supporting RL as the default P-step.

Evolving the search set helps harness optimization keep pace with the policy. Reusing the initial search set lowers performance from 71.6% to 70.1%. The evolving set instead directs the next H-step toward hard tasks from the preceding P-step rollouts. The gain supports refreshing the search target as the agent improves: failures relevant to an earlier policy need not remain the most useful targets for its successor.

Self-proposal retains strong performance without an external proposer. Replacing Opus 4.8 with the current target policy yields 69.5%, a 2.1-point decrease from HPO. Although external proposals provide an advantage, Self-HPO still exceeds both self-improving single-component baselines in Table 1. Therefore, an external model is helpful but not required for our method.

Analysis

Both optimized components retain benefits even when paired with their base counterparts. Table 3 cross-evaluates policies and harnesses. Applying H2H_2 to the base policy improves resolve rate from 61.0% to 64.5%, while deploying P2P_2 under the seed harness reaches 64.4%. Combining H2H_2 and P2P_2 reaches 69.5%, an 8.5-point gain over Base that exceeds the sum of their individual gains (3.5 + 3.4 = 6.9 points) by 1.6 points. These results show that each component retains part of the improvement on its own, while combining them gives the largest gain.

P0P_0P1P_1P2P_2
H0H_061.0±0.261.0 \pm0.261.7±1.361.7 \pm1.364.4±1.164.4 \pm1.1
H1H_164.3±1.164.3 \pm1.167.8±1.667.8 \pm1.668.1±1.068.1 \pm1.0
H2H_264.5±1.564.5 \pm1.568.6±0.568.6 \pm0.569.5±0.969.5 \pm0.9

Table 3. Cross-evaluating Self-HPO policies and harnesses on SWE-Bench Verified. Rows vary the harness and columns vary the policy.

Self-HPO improves reliability (pass@1) and expands the capability frontier (pass@kk). To examine whether the gains persist beyond pass@1, Figure 4a and Figure 4b compare Base and the final Self-HPO pair using eight attempts per task on SWE-Verified. As shown in Figure 4a, Self-HPO remains above Base for every kk from 1 to 8, and pass@8 increases from 80.0% to 84.8%, a gain of 4.8 points. Figure 4b shows pass@1 gains of 17.2 and 12.9 points on Medium and Easy tasks, where Base sometimes succeeds but remains inconsistent, and a 6.1-point gain on Hard tasks. At the same time, Self-HPO’s pass@1 decreases by 2.2 points on the Resolved group, showing that improvement is not uniform across tasks. Together, the gains on Medium and Easy tasks demonstrate improved reliability, while the gains on Hard tasks and the higher pass@8 show the expanded capability frontier.

Figure 4. Pass@k performance on SWE-Bench Verified and RL training signal. (a) pass@kk curve of Base and Self-HPO; (b) pass@1 by task difficulty, categorized by Base success rate pp: Hard (p=0p = 0), Medium (0<p≤0.50 < p \le0.5), Easy (0.5<p<10.5 < p < 1), and Resolved (p=1p = 1). (c) Fraction of zero-success rollout groups for RLVR and Self-HPO’s final P-step.

Self-HPO reduces zero-success rollout groups during training. During the final Self-HPO P-step (Figure 4c), the fraction of zero-success groups, in which no rollout succeeds, declines to 6.5% over the final ten updates, whereas it remains mostly between 11% and 17% over the last 50 updates of RLVR. Under binary outcome rewards, such groups give GRPO no within-group reward contrast, so reducing them alleviates reward sparsity during policy optimization.

Case Studies

Harness evolution adds targeted controls around the existing agent loop. Figure 5 contrasts the seed harness with the harness obtained after HPO’s second H-step. The optimized harness retains the underlying model-query and command-execution loop, but intervenes before budget exhaustion and at submission. First, it warns the model as the step or time limit approaches and prompts a best-effort submission before the episode ends with an empty result. Second, a one-time empty-patch guard asks the model to include newly created files via git add -N. Third, it delays the first submission that passes the empty-patch guard to prompt a check of API names and signatures against the repository and tests. Finally, a fallback uses the sandbox’s Git diff when the submitted patch fails the apply check. These changes target distinct ways in which useful repository edits can fail to become a valid submission. They combine explicit runtime checks, such as detecting an empty patch, with behavioral guidance, such as requesting an interface check. Harness optimization can therefore change execution and termination logic, in addition to prompts. Appendix § 9 gives a detailed diff against the seed harness together with the injected messages, and Appendix § 10 walks through a task on which an evolved harness changes the outcome for the same policy.

Seed versus optimized harness

Figure 5. Seed versus optimized harness (HPO, second H-step). Left: the default agent loop, with the four failure modes it lets through (✗). Right: the optimized harness subclasses the seed agent and overrides only step(), and each added check (✓) addresses the matching failure mode. Shared functions and classes use the same color on both sides. See Figure 8 for a detailed diff.

Related Work

Harness optimization for LLM agents. Harnesses govern an agent’s interaction with tools and environments [80, 78]. Optimization spans prompts and programs [51, 30, 15, 2] (Yuks elgonkul et al. 2025), contexts [81, 57] (Zhang et al. 2026f), and workflows [22, 63, 17] (Zhang et al. 2025). Agents reuse feedback through refinement and reflection [40, 54], skills [62], and memory [65] (Zhao et al. 2024). Program evolution also improves solutions and agents [44, 32, 88, 90 c]. Recent systems revise harnesses from execution evidence [34, 35, 89, 48, 67, 76], shared experience [71], demonstrations [5, 27], or self-preferences [46]. Other work studies continual adaptation [37, 77], task selection [42], generalization through search controls and modular edits [74, 72] (Zhang et al. 2026d), and fixed-budget evaluation [61]. These methods adapt the agent around a fixed task-solving policy, whereas Self-HPO also updates the policy that the harness serves.

Policy learning and self-improvement. Iterative training uses filtered reasoning [87, 55, 84], refreshed preferences [10, 83, 47], self-play curricula [25 a] (Zhao et al. 2025), negative teachers [49], or evolving environments [24]. Software engineering agents learn from executable environments [45, 26, 79], software-evolution supervision [68], and self-play code repair [69, 11]. Policy improvement also draws on verifiable-reward RL [53, 18, 50], harness-guided distillation [82], and test-time learning during solution search [64, 86]. These methods train the policy under a fixed harness, whereas in Self-HPO the harness co-evolves with the policy being trained.

Joint harness–policy evolution. Joint adaptation spans prompts and weights [56, 60, 38] (Zhang et al. 2026e), executable harnesses and policies [21, 29, 9, 31, 39, 8 a], and policies with evolving skills or external state [16, 20, 43] (Xia et al. 2026a), including safety-oriented co-evolution [41]. MetaRSI composes data generation, harness editing, and model training within a self-improvement loop [59]. Concurrent work traces interventions [14], studies transfer and multi-harness training [33, 66], and separates the ability to edit a harness from the ability to benefit from one [36]. Self-HPO differs from these methods along two axes. First, the policy trained in the P-step becomes the harness proposer of the next H-step, whereas WHALE [31] keeps a frozen external proposer and Evo2^{2} [76] trains a separate proposer for a frozen solver. HASE [39] also trains a self-proposing policy, but places harness edits in the RL action space instead of alternating harness search with RL. Second, Self-HPO selects the next harness search set from tasks that remain unsolved during RL, whereas WHALE, Evo², and HASE search on a fixed task set. Appendix § 8 gives a more detailed comparison with concurrent work.

Conclusion

We introduced Self-HPO, a recursive self-improving framework for coding agents that alternates harness and policy optimization. The evolving policy proposes its own harness revisions, learns through RL under the selected harness, and supplies hard tasks for the next round of harness search. Across three coding benchmarks, Self-HPO consistently outperforms policy-only and harness-only baselines, improving the average resolve rate from 57.8% to 64.8%. Analyses further show that harness and policy improvements are complementary and that Self-HPO improves reliability (pass@1) and expands the capability frontier (pass@kk) over the base agent.

Implementation Details

Agent implementation. We use Qwen3.5-35B-A3B [52] as the backbone and SGLang (Zheng et al., 2024) for model serving. RL and SFT use the slime framework on one node with eight B200 GPUs. The seed harness follows the mini-SWE-agent interface (Yang et al., [78]), through which the model executes bash commands in a task-specific repository environment.

Optimization data. The initial search set S0S_0 consists of 300 tasks randomly sampled from the training data DD. For subsequent H-steps, the search set consists of hard tasks from DD, identified using the verified trajectories collected during the preceding P-step: a task is hard if it is never resolved in any of its rollouts in that P-step. These task IDs are reused to generate fresh failure evidence with the updated policy at the next H-step.

Harness optimization. Self-HPO uses the current policy checkpoint as both task solver and harness proposer. The proposer examines the experience of evaluated harnesses and their trajectories, including failed trajectories, and revises the current best harness. HPO instead uses Opus 4.8 to propose revisions, while retaining the same alternating H-step–P-step structure. In both configurations, each H-step evaluates K=6K = 6 candidates, each run once per search task, and the selected harness is held fixed during the next policy update. The Self-Harness and Meta-Harness baselines use the same search budget.

Policy optimization. Each P-step initializes from the policy produced by the preceding round and collects on-policy trajectories under the updated harness. The executable verifier supplies outcome rewards, and the policy is optimized with GRPO and Balanced Adaptive Rollout (BAR) ([53, 50]). Let A(τi)\mathcal{A}(\tau_i) denote the assistant-generated token positions in trajectory τi\tau_i, A^i\hat{A}_i its group-relative advantage, and ρi,u(θ)\rho_{i,u}(\theta) the ratio of updated-policy to rollout-policy token probabilities. The clipped objective is

LP(θ)=−Ei[1∣A(τi)∣∑u∈A(τi)min⁡(ρi,u(θ)A^i,clip⁡(ρi,u(θ),1−εlow,1+εhigh)A^i)](2)\mathcal{L}_P(\theta) = -\mathbb{E}_i \left[ \frac{1}{\lvert\mathcal{A}(\tau_i)\rvert} \sum_{u \in\mathcal{A}(\tau_i)} \min\left(\rho_{i,u}(\theta)\hat{A}_i,\operatorname{clip}\left(\rho_{i,u}(\theta),1-\varepsilon_{\mathrm{low}},1+\varepsilon_{\mathrm{high}}\right)\hat{A}_i\right) \right] \tag*{(2)}

where εlow=0.2\varepsilon_{\mathrm{low}} = 0.2 and εhigh=0.28\varepsilon_{\mathrm{high}} = 0.28 are the clipping thresholds. BAR generates eight rollouts per task and selects four to form a reward-balanced group with a success fraction between 0.25 and 0.75. Sampling continues until 32 groups pass filtering, yielding 128 training trajectories per batch. Each batch is optimized for one epoch with a global batch size of 128, corresponding to one optimizer update. We use Adam with a constant learning rate of 10−610^{-6}, weight decay 0.01, an entropy coefficient of 10−410^{-4}, and no KL penalty. Rollouts use temperature 0.95 and top-pp 0.95. RLVR uses the same configuration under the seed harness, with 50 updates per P-step.

Additional Evaluation Details

Evaluation configurations. All evaluations use a step limit of 250 and temperature and top-pp of 0.95. Task attempts that fail because of sandbox or API errors are rerun, and resolve rates are computed over all tasks in each benchmark.

SFT configuration. The SFT baseline in Table 1 fine-tunes the base policy on Opus 4.8 trajectories collected on the RL training tasks, keeping only resolved trajectories. It trains for two epochs with batch size 64 and a constant learning rate of 5×10−65 \times10^{-6} after a 10% warmup. In Table 2, SFT instead replaces RL in the P-step of HPO.

Search-frontier curves. Figure 6 provides a candidate-level view of harness search, complementing the selected H-step and P-step endpoints in Figure 3. After the shared first H-step reaches 64.3%, continued harness-only search improves the best score to 65.2%. Self-HPO instead updates the policy to 67.8% before resuming search. Its second H-step then reaches 68.6%, followed by 69.5% after the second policy update. The separation between the two branches shows the benefit of policy updates alongside continued harness search.

Table 4: Comparison with frontier models on SWE-Bench Verified. Resolve rates (%) of frontier models on the SWE-Bench Verified leaderboard ([58]) and of Qwen3.5-35B-A3B with methods from Table 1. Bold marks Self-HPO. Parameter counts are those stated in the developers’ model cards (“–” if not stated).

Pass@k calculation. Figure 4 compares Base and the final Self-HPO pair with eight attempts per task. Following Chen et al. [6], for a task with cc successes among n=8n = 8 attempts, we compute

pass⁡@k=1−(n−ck)(nk),k=1,…,8,\operatorname{pass}@k = 1 - \frac{\binom{n-c}{k}}{\binom{n}{k}}, \qquad k = 1,\ldots,8,

and average over tasks. Pass@1 averages the success frequency, whereas pass@8 records whether any of the eight attempts succeeds. The shaded regions show 95% bootstrap confidence intervals.

Comparison with frontier models. Table 4 compares our method with frontier models on the SWE-Bench Verified leaderboard [58].

ModelHarnessTotal ParamsActive ParamsResolve Rate
Frontier models
Gemini 3 Flashmini-SWE-agent––75.8
MiniMax-M2.5mini-SWE-agent––75.8
Claude Opus 4.6mini-SWE-agent––75.6
GLM-5mini-SWE-agent744B40B72.8
GPT-5.2mini-SWE-agent––72.8
Kimi K2.5mini-SWE-agent1T32B70.8
DeepSeek-V3.2mini-SWE-agent––70.0
Gemini 3 Promini-SWE-agent––69.6
Claude Haiku 4.5mini-SWE-agent––66.6
Kimi K2 Thinkingmini-SWE-agent1T32B63.4
MiniMax-M2mini-SWE-agent230B10B61.0
Devstral Small 2mini-SWE-agent24B24B56.4
GPT-5 minimini-SWE-agent––56.2
Qwen3-Coder-480B-A35Bmini-SWE-agent480B35B55.4
GLM-4.6mini-SWE-agent––55.4
Devstral 2mini-SWE-agent123B123B53.8
Qwen3.5-35B-A3B
Basemini-SWE-agent35B3B61.0
SFTmini-SWE-agent35B3B65.0
Self-Harnessmini-SWE-agent (optimized)35B3B65.2
RLVRmini-SWE-agent35B3B67.5
Self-HPO (ours)mini-SWE-agent (optimized)35B3B69.5

Table 4. Comparison with frontier models on SWE-Bench Verified.

MethodCodingPolicy updateHarness proposerHarness search set
Meta-Harness✓FrozenFrozen external modelFixed
Self-Harness✓FrozenFrozen self-proposerFixed
Task-CoEvolve✓FrozenFrozen external modelEvolving (high-variance tasks)
Evo2^{2}✓FrozenEvolving separate proposerFixed
WHALE✗SFTFrozen external modelFixed
HASE✗RLEvolving self-proposerFixed
Self-HPO✓RLEvolving self-proposerEvolving (hard tasks from RL)

Table 5. Conceptual comparison of Self-HPO and related methods. Coding indicates whether the method is evaluated on coding tasks. Policy update indicates whether the task-solving policy is frozen or updated through training such as supervised fine-tuning (SFT) or reinforcement learning (RL). Harness proposer is the model that modifies the harness, which can be either frozen or updated across rounds. Harness search set denotes the task set used to collect diagnostic trajectories for harness optimization. In Self-HPO, the evolving policy itself proposes harness revisions, and hard tasks identified during training form the next harness search set, keeping harness optimization targeted to the policy’s evolving failure modes.

Conceptual Comparison with Related Methods

Table 5 compares Self-HPO with Meta-Harness [34], Self-Harness [89], Task-CoEvolve [42], Evo2^{2} [76], WHALE [31], and HASE [39] in terms of coverage of the coding domain, how the policy learns, who proposes harness changes, and how harness-search tasks are selected.

The trained solver becomes the next harness proposer. Self-Harness revises its harness with a fixed policy, WHALE uses a frozen external proposer alongside policy learning, and Evo2^{2} trains a separate proposer while the task-solving policy stays frozen. Self-HPO instead reuses the updated task-solving policy as the proposer in the next round: the H-step holds policy weights fixed, and the P-step performs RL under the selected harness. HASE also trains a self-proposing policy, but places task solving and harness editing in a joint RL action space, with persistent edits reviewed at phase boundaries.

Policy training also determines the next harness-search tasks. The P-step supplies two inputs to the next H-step: the updated proposer Pt+1P_{t+1} and a search set St+1S_{t+1} drawn from hard tasks encountered during RL. Thus, policy learning changes both who proposes and which tasks guide the search. Task-CoEvolve also adapts task selection, but uses outcome variance across candidate harnesses within search rather than difficulty exposed during policy training. Self-HPO updates task IDs between H-steps and keeps them fixed within each H-step.

Harness Details and Prompt Templates

Seed harness. The seed harness H0H_0 is the mini-SWE-agent ReAct loop [80, 78]: the agent issues bash tool calls in a task-specific sandbox and ends the episode by printing the patch after a fixed submission command. Its task prompt contains the issue description followed by fixed instructions, including the exact command used to submit the patch.

Harness search space. A candidate harness is a Python class that subclasses the seed agent, together with its prompt templates. It may override the agent’s step, for example to inspect the agent’s state, return feedback before accepting a submission, replace the submitted patch, or intervene at any step. All repository access goes through the sandbox. The policy and sampling configuration (temperature and top-pp of 0.95) are fixed across candidates.

Harness proposer. Figure 7 shows the system prompt of the harness proposer. The proposer runs as a coding agent with shell access to the parent harness, its trajectories on the search set, reference fixes for search-set tasks, the outputs of earlier candidates, and notes that the proposer appends after each search round.

Harness Proposer System Prompt
Harness Proposer System Prompt

You are the harness optimizer for a fixed policy {P_t}. The search set contains {N}
hard training tasks that the policy never solved during the preceding P-step. The
parent harness is {H_best}, the current best harness. The starting harness of this search
solves {s}% of the search set under the frozen sampling configuration. Your goal is to
→ design ONE new harness mechanism, of your own design,
that is added on top of the parent harness and solves more search-set tasks than the
parent.

CONSTRAINTS
- Keep every method of the parent harness verbatim and add exactly one new mechanism.
- The policy, sampling configuration (temperature 0.95, top-p 0.95), step limit,
  maximum tokens, and verifier are frozen.
- Never inject reference patches or task-specific facts into the agent's context; the
  mechanism must compute its own signal at runtime.

EXPERIENCE (read it before designing; treat it as evidence, not a mandate)
- Candidates evaluated so far in this search: scores, code, and trajectories.
- Notes left by earlier proposals in this search.
Diagnostics computed from the starting harness's runs on the search set:
- Coverage gap: the source files required by the reference fix versus the files the
  agent touched.
- Precision gap: failures in which every required file was edited but the fix was
  incorrect.
- Submission loss: failures in which a real source edit appears in the trajectory but
  the final submitted patch is empty or malformed.
- Reference-fix archetypes (multi-file, signature change, new import, guard, error
  handling, ...) versus what the agent produced.
Decide for yourself which failure is the largest and most reachable by a harness, or
find another one.

WORKFLOW
0. Review the experience: the earlier notes and every candidate evaluated so far.
   For the most recent one, read the tasks it made worse and better than the starting
   harness (trajectories and reference fixes), and work out why.
1. Read several failing trajectories and compare a few with the reference fix to form
   your own hypothesis about the dominant failure cause.
2. Design a mechanism with a detectable trigger in the agent's own state and a
   concrete action: for example, intercept a submission and return feedback so that
   the agent gets another turn to act on it, replace the submitted patch, or act at
   any step.
3. Implement it in a copy of the parent harness. All repository access must go
   through the sandbox environment.
4. Write a one-line purpose (diagnosed cause → mechanism), append what you learned
   this round to the notes, and stop. The search then checks that the candidate keeps
   every parent method and fires on real sandbox tasks, and returns any failure to you
   to fix.

Figure 7. Harness proposer system prompt (condensed). Values in braces change between search iterations and rounds. The parent is the current best harness, and in the first round the search set is the random S0S_0 and the parent starts from the seed harness. Implementation-specific instructions, such as file paths, the sandbox interface, and validation scripts, are omitted.

Optimized harness. Figure 5 shows a condensed view of the harness selected in HPO’s second H-step. Figure 8 shows the same harness as a diff against the seed harness. The optimized harness keeps the seed prompts unchanged and inherits the seed agent loop. Its only change is an override of step() that adds four checks. Three of these checks add a message to the conversation, listed in full in Figure 9.

Optimized harness diff against the seed

Figure 8. Harness changes from HPO’s second H-step. Shown as a diff against the seed agent’s step() (+ added, − removed). Helper calls are condensed into short names. The message texts are listed in Figure 9.

Budget valve and empty-patch guard prompt templates

Figure 9.

(1) Budget valve: RESCUE_TEXT

[BUDGET ALMOST EXHAUSTED -- STOP EXPLORING AND SUBMIT NOW]

You are nearly out of steps/time and have not submitted a patch. An empty result scores
→ zero, but a focused best-effort edit can pass. Right now:
1. Decide the single most likely fix location from what you already know -- do NOT start
→ new open-ended exploration.
2. Make that concrete edit to the source file (the smallest change that matches the PR's
→ literal request).
3. Immediately create and submit the patch, in SEPARATE commands:
git diff -- <the source files you modified> > patch.txt
echo COMPLETE_TASK_AND_SUBMIT_FINAL_OUTPUT && cat patch.txt
Do this in your next one or two commands.
(2) Empty-patch guard: EMPTY_GUARD_TEXT

[YOUR SUBMISSION IS EMPTY -- it contains no source-code changes, so it cannot fix anything.
→ Not finalized.]

You have not edited any source file yet (patch.txt is empty or has no diff hunks). Do NOT
→ give up. Re-localize the bug:
1. Re-read the PR and grep for the exact symbol/message/flag it names.
2. Open the file where that symbol lives and make the concrete edit the PR requires.
3. IMPORTANT -- did your fix CREATE a NEW file (a brand-new module)? A plain `git diff` does
→ NOT show untracked new files, so your patch looks empty even though the file exists.
→ Stage new files first so they appear as additions:
cd /testbed && git add -N <the new file(s) you created>
4. Verify with `cd /testbed && git --no-pager diff` that a real change (or a `new file mode`
→ hunk) now shows.
5. Then `cd /testbed && git diff -- <files> > patch.txt` and submit with:
echo COMPLETE_TASK_AND_SUBMIT_FINAL_OUTPUT && cat patch.txt
Messages added by the optimized harness

Figure 9 (PDF p. 21). Messages added by the optimized harness. The messages that the harness in Figure 8 adds to the conversation, shown in full. Each is added at most once per task and is followed by another policy turn. The numbers match the checks in Figure 5 and Figure 8.

Case Study: Where the Harness Intervenes

To illustrate how an evolved harness changes the outcome for a fixed policy, we compare two runs of the final Self-HPO policy P2P_2 on the SWE-Bench Verified task sphinx-doc__sphinx-9658: one under the seed harness H0H_0 and one under the evolved harness H2H_2. Here H2H_2 is the harness from Self-HPO’s second H-step, which differs from the HPO harness in Appendix § 9. We show the final steps of each run, labeling the task, the agent’s reasoning, its actions, the resulting observations, and any message injected by the harness. “[…]” marks omitted content. Purple notes summarize the key steps, so the example can be followed by reading them alone.

The two runs reach the same point: the policy has edited the source, the existing tests pass, and it prepares to finish with a summary of its changes. Under H0H_0 (Figure 10), this summary becomes the final submission, so no code change is evaluated. Under H2H_2 (Figure 11), the harness holds the first submission, reports that the submitted patch contains no files, and returns control to the policy, which writes the diff, checks the fix, and submits a valid patch. The PR-intent reminder in this example is a false positive, since its keywords come from unrelated parts of the issue text.

Failure case: policy P2 with the seed harness H0

Figure 10. Failure case: policy P2P_2 with the seed harness H0H_0. The run ends with a prose summary as the submission, so sphinx-doc__sphinx-9658 is unresolved.

Success case: policy P2 with the evolved harness H2

Figure 11. Success case: policy P2P_2 with the evolved harness H2H_2. The harness holds the first submission, and the policy then submits a valid patch that resolves sphinx-doc__sphinx-9658.

Case 1 (Failure Case): Policy P2P_2 with the seed harness H0H_0

Task

<pr_description>
Consider the following PR description:
Inherited classes not correctly documented when mocked
### Describe the bug
We're experiencing an issue when documenting classes that inherit mocked classes. [...]
The base class is listed as "Bases: `torch.nn.`" instead of "Bases: `torch.nn.Module`".
[...]
</pr_description>
[task instructions of the seed harness]

[131 earlier steps omitted]

Agent

Good, I only modified the source files, not test files. Let me now run a final
→ comprehensive test to make sure the fix works correctly:

Action

cd /testbed && python -m pytest tests/test_util_typing.py tests/test_ext_autodoc.py \
    tests/test_ext_autodoc_automodule.py tests/test_ext_inheritance_diagram.py -x --tb=short
→ 2>&1 | tail -20

Observation

[...]
================== 99 passed, 7 skipped, 7 warnings in 2.00s ===================

(1) The agent’s edits are in place and the existing tests pass.

Agent

All tests pass. The fix is complete. Let me summarize what was done:
## Summary
[...]

Action

cd /testbed && echo COMPLETE_TASK_AND_SUBMIT_FINAL_OUTPUT && cat << 'EOF'
## Summary of Changes
### Issue
When documenting classes that inherit from mocked classes, the "Bases" section
incorrectly showed `torch.nn.` instead of `torch.nn.Module`.
[...]
All existing tests pass with these changes.
EOF

(2) To finish, the agent prints a prose summary of its changes instead of the patch file.

Final submission

## Summary of Changes
### Issue
[...]
All existing tests pass with these changes.

(3) The seed harness accepts this output as the submission. No code change reaches the grader, so the task is unresolved.

Case 2 (Success Case): Policy P2P_2 with the evolved harness H2H_2

Task

[... same task as above ...]

[114 earlier steps omitted]

Agent

The fix looks correct. Let me run a broader test to make sure I haven't broken anything:

Action

cd /testbed && python3 -m pytest tests/test_ext_autodoc*.py tests/test_util_typing.py \
    tests/test_ext_inheritance_diagram.py -x 2>&1 | tail -20

Observation

[...]
================== 195 passed, 7 skipped, 7 warnings in 3.53s ==================

▶ (1) Same situation as under H0H_0: the edits are in place and the tests pass.

Agent

All 195 tests pass (7 skipped). The fix is complete and working. Let me write a summary of the fix:

Summary

[...]

Action

cd /testbed && echo COMPLETE_TASK_AND_SUBMIT_FINAL_OUTPUT && cat sphinx/util/typing.py |
→ head -130 \
| tail -20 && echo "---" && cat sphinx/util/typing.py | tail -10

▶ (2) The agent again tries to finish without submitting a patch.

Harness

[Full Files Auditor - Coverage Check]
----------------------------------------
You touched 1 files during exploration: ['sphinx/util/typing.py']
Your submitted patch has 0 files: (none)

FOUND GAP: 1 touched files NOT in your patch:

Potential missing files:
- sphinx/util/typing.py

[PR Intent Reminder]
----------------------------------------
Your patch may not address the core PR intent. Key terms from PR:
- sphinx.ext.viewcode
- sphinx_autodoc_typehints
- version
- sphinxcontrib.apidoc
- sphinx.ext.napoleon

Your submitted patch does not mention these key terms.
Consider: Does your edit actually address the issue described?

▶ (3) H2H_2 holds this submission once and reports that the submitted patch contains no files.

Agent

The task mentioned a patch file was created. Let me verify my changes are correct and → submit them properly.

Action

cd /testbed && git diff > patch.txt && cat patch.txt

Observation

diff --git a/sphinx/util/typing.py b/sphinx/util/typing.py
index 87707d48f..142503422 100644
--- a/sphinx/util/typing.py
+++ b/sphinx/util/typing.py
@@ -117,6 +117,12 @@ def restify(cls: Optional[Type]) -> str:
        return cls
    elif cls in INVALID_BUILTIN_CLASSES:
        return ':py:class:`%s`' % INVALID_BUILTIN_CLASSES[cls]
+    elif _get_ismock()(cls):
+        # This is a mock object. Use its type's attributes.
+        if sys.version_info >= (3, 7):
+            return _restify_py37(type(cls))
+        else:
+            return _restify_py36(type(cls))
    elif inspect.isNewType(cls):
[...]

▶ (4) Prompted by the feedback, the agent writes its working-tree changes into a patch.

Agent

The patch shows my changes correctly. Let me verify the fix works correctly and then → submit it. Action

cd /testbed && python3 -c "
from sphinx.ext.autodoc.mock import _MockModule
from sphinx.util.typing import restify
mock_mod = _MockModule('torch.nn')
class DeepKernel(mock_mod.Module):
    pass
result = restify(DeepKernel.__orig_bases__[0])
print('Result:', result)
[...]"

Observation

Result: :py:class:torch.nn.Module Expected: :py:class:torch.nn.Module Fix works: True

▶ (5) It checks the fix on the example from the issue.

Agent

The fix is working correctly. Now let me submit the final output.

Action

echo COMPLETE_TASK_AND_SUBMIT_FINAL_OUTPUT && cat /testbed/patch.txt

Final submission

diff --git a/sphinx/util/typing.py b/sphinx/util/typing.py
[...]

▶ (6) The final submission is a valid patch, which resolves the task.

References

  1. [1]Saaket Agashe, Kyle Wong, Vincent Tu, Jiachen Yang, Ang Li, and Xin Eric Wang. Agent S2: A compositional generalist-specialist framework for computer use agents. arXiv preprint arXiv:2504.00906, 2025.arxiv.org/abs/2504.00906
  2. [2]Lakshya A Agrawal, Shangyin Tan, Dilara Soylu, Noah Ziems, Rishi Khare, Krista Opsahl-Ong, Arnay Singhvi, Herumb Shandilya, Michael J Ryan, Meng Jiang, Christopher Potts, Koushik Sen, Alexandros G. Dimakis, Ion Stoica, Dan Klein, Matei Zaharia, and Omar Khattab. GEPA: Reflective prompt evolution can outperform reinforcement learning. In International Conference on Learning Representations, 2026.arxiv.org/abs/2507.19457
  3. [3]Ibragim Badertdinov, Alexander Golubev, Maksim Nekrashevich, Anton Shevtsov, Simon Karasik, Andrei Andriushchenko, Maria Trofimova, Daria Litvintseva, and Boris Yangel. SWE-rebench: An automated pipeline for task collection and decontaminated evaluation of software engineering agents. arXiv preprint arXiv:2505.20411, 2025.arxiv.org/abs/2505.20411
  4. [4]Ibragim Badertdinov, Maksim Nekrashevich, Anton Shevtsov, and Alexander Golubev. SWE-rebench V2: Language-agnostic SWE task collection at scale. arXiv preprint arXiv:2602.23866, 2026.arxiv.org/abs/2602.23866
  5. [5]Lirong Che, Yuzhe Yang, Peiwen Lin, Xu Cao, Chuang Wang, Xueqian Wang, and Jian Su. DemoEvolve: Demonstration-guided harness evolution under sparse feedback. arXiv preprint arXiv:2605.24539, 2026.arxiv.org/abs/2605.24539
  6. [6]Mark Chen et al. Evaluating large language models trained on code. arXiv preprint arXiv:2107.03374, 2021.arxiv.org/abs/2107.03374
  7. [7]Mingju Chen, Can Lv, Guibin Zhang, Heng Chang, and Shiji Zhou. HarnessForge: Joint harness and policy evolution for adaptive agent systems. arXiv preprint arXiv:2606.01779, 2026a.arxiv.org/abs/2606.01779
  8. [8]Tingyang Chen, Shuo Lu, Kang Zhao, Weicheng Meng, Hanlin Teng, Tianhao Li, Chao Li, Xule Liu, Jian Liang, Zhizhong Zhang, Yuan Xie, Heng Qu, Kun Shao, and Jian Luan. HarnessX: A composable, adaptive, and evolvable agent harness foundry. arXiv preprint arXiv:2606.14249, 2026b.arxiv.org/abs/2606.14249
  9. [9]Zhengyu Chen, Teng Xiao, Huaisheng Zhu, Yige Yuan, Luan Zhang, and Jingang Wang. Co-Harness: Co-evolving harnesses and model weights for LLM agents. arXiv preprint arXiv:2607.22688, 2026c.arxiv.org/abs/2607.22688
  10. [10]Zixiang Chen, Yihe Deng, Huizhuo Yuan, Kaixuan Ji, and Quanquan Gu. Self-play fine-tuning converts weak language models to strong language models. In Forty-first International Conference on Machine Learning, 2024.arxiv.org/abs/2401.01335
  11. [11]Caroline Choi, Zeyneb Kaya, Shirley Wu, Tengyu Ma, Tatsunori Hashimoto, and Ludwig Schmidt. Anchored self-play for code repair. arXiv preprint arXiv:2607.03523, 2026.arxiv.org/abs/2607.03523
  12. [12]Neil Chowdhury, James Aung, Chan Jun Shern, Oliver Jaffe, Dane Sherburn, Giulio Starace, Evan Mays, Rachel Dias, Marwan Aljubeh, Mia Glaese, Carlos E. Jimenez, John Yang, Leyton Ho, Tejal Patwardhan, Kevin Liu, and Aleksander Madry. Introducing SWE-bench Verified, 2024. URL https://openai.com/index/introducing-swe-bench-verified/.
  13. [13]Xiang Deng, Jeff Da, Edwin Pan, Yannis Yiming He, Charles Ide, Kanak Garg, Niklas Lauffer, Andrew Park, Nitin Pasari, Chetan Rane, Karmini Sampath, Maya Krishnan, Srivatsa Kundurthy, Sean Hendryx, Zifan Wang, Vijay Bharadwaj, Jeff Holm, Raja Aluri, Chen Bo Calvin Zhang, Noah Jacobson, Bing Liu, and Brad Kenstler. SWE-Bench Pro: Can AI agents solve long-horizon software engineering tasks? arXiv preprint arXiv:2509.16941, 2025.arxiv.org/abs/2509.16941
  14. [14]Tianyu Fan and Chao Huang. HELIX: Model-harness co-evolution for recursive self-improvement. arXiv preprint arXiv:2608.13951, 2026.arxiv.org/abs/2608.13951
  15. [15]Chrisantha Fernando, Dylan Sunil Banarse, Henryk Malichewski, Simon Osindero, and Tim Rocktäschel. Promptbreeder: Self-referential self-improvement via prompt evolution. In Forty-first International Conference on Machine Learning, 2024.arxiv.org/abs/2309.16797
  16. [16]Zenghuang Fu, Zhaoyang Li, Qiyuan Ai, Haoyu Wu, Minghui Wu, Chenxu Zhao, Ante Wang, Guannan He, and Changwei Wang. Self-play meets skill evolution: Self-evolving search agents that pose, solve, and remember. arXiv preprint arXiv:2607.29468, 2026.arxiv.org/abs/2607.29468
  17. [17]Hongcheng Gao, Yue Liu, Yufei He, Longxu Dou, Chao Du, Zhijie Deng, Bryan Hooi, Min Lin, and Tianyu Pang. FlowReasoner: Reinforcing query-level meta-agents. arXiv preprint arXiv:2504.15257, 2025.arxiv.org/abs/2504.15257
  18. [18]Daya Guo, Dejian Yang, Haowei Zhang, Junxiao Song, Peiyi Wang, Qihao Zhu, Runxin Xu, Ruoyu Zhang, Shirong Ma, Xiao Bi, et al. DeepSeek-R1 incentivizes reasoning in LLMs through reinforcement learning. Nature, 645(8081):633–638, 2025.DOI
  19. [19]Hongliang He, Wenlin Yao, Kaixin Ma, Wenhao Yu, Yong Dai, Hongming Zhang, Zhenzhong Lan, and Dong Yu. WebVoyager: Building an end-to-end web agent with large multimodal models. In Proceedings of the 62nd Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers), pp. 6864–6890, 2024.
  20. [20]Zelin He, Haotian Lin, Boran Han, Wei Zhu, Haoyang Fang, Bernie Wang, Xuan Zhu, Runze Li, and Matthew Reimrher. ReSkill: Reconciling skill creation with policy optimization in agentic RL. arXiv preprint arXiv:2606.01619, 2026.arxiv.org/abs/2606.01619
  21. [21]Prannay Hebbar, Yogendra Manawat, Samuel Verboomen, Alesia Ivanova, Selvam Palanimalai, Kunal Bhatia, and Vignesh Baskaran. SIA: Self improving AI with harness & weight updates. arXiv preprint arXiv:2605.27276, 2026.arxiv.org/abs/2605.27276
  22. [22]Shengran Hu, Cong Lu, and Jeff Clune. Automated design of agentic systems. arXiv preprint arXiv:2408.08435, 2024.arxiv.org/abs/2408.08435
  23. [24]Chengsong Huang, Zifeng Wang, Rujun Han, Jun Yan, Yanfei Chen, Zoey CuiZhu, Ke Jiang, Peng Xia, Han Yu, Yufan Zhuang, Yifei Ming, Jiaqi Pan, Bhavana Dalvi Mishra, Jiaxin Huang, Burak Gokt urk, Tomas Pfister, and Chen-Yu Lee. EnvHarness: Awakening static worlds for agent learning. arXiv preprint arXiv:2608.19880, 2026b.arxiv.org/abs/2608.19880
  24. [25]Chengsong Huang, Wenhao Yu, Xiaoyang Wang, Hongming Zhang, Zongxia Li, Ruosen Li, Jiaxin Huang, Haitao Mi, and Dong Yu. R-Zero: Self-evolving reasoning LLM from zero data. In The Fourteenth International Conference on Learning Representations, 2026c.arxiv.org/abs/2508.05004
  25. [26]Naman Jain, Jaskirat Singh, Manish Shetty, Liang Zheng, Koushik Sen, and Ion Stoica. R2E-Gym: Procedural environments and hybrid verifiers for scaling open-weights SWE agents. arXiv preprint arXiv:2504.07164, 2025.arxiv.org/abs/2504.07164
  26. [27]Wen Jiang, Mingmin Chu, Yimeng Tian, Qianxin Zhang, Haofei Yang, Rui Yang, Yang Liu, Tao Lv, and Fanming Li. HarnessEvolve: Learning from reference trajectories for reliable agent self-evolution. arXiv preprint arXiv:2609.00829, 2026.arxiv.org/abs/2609.00829
  27. [28]Carlos E Jimenez, John Yang, Alexander Wettig, Shunyu Yao, Kexin Pei, Ofir Press, and Karthik R Narasimhan. SWE-bench: Can language models resolve real-world Github issues? In The Twelfth International Conference on Learning Representations, 2024.arxiv.org/abs/2310.06770
  28. [29]Seth Karten, Joel Zhang, Tersoo Upaa, Jr, Ruirong Feng, Wenzhe Li, Chengshuai Shi, Chi Jin, and Kiran Vodrahalli. Continual Harness: Online adaptation for self-improving foundation agents. arXiv preprint arXiv:2605.09998, 2026.arxiv.org/abs/2605.09998
  29. [30]Omar Khattab, Arnav Singhvi, Paridhi Maheshwari, Zhiyuan Zhang, Keshav Santhanam, Sri Vardhamanan, Saiful Haq, Ashutosh Sharma, Thomas T. Joshi, Hanna Moazam, Heather Miller, Matei Zaharia, and Christopher Potts. DSPy: Compiling declarative language model calls into self-improving pipelines. arXiv preprint arXiv:2310.03714, 2023.arxiv.org/abs/2310.03714
  30. [31]Haech­an Kim, Yoonho Lee, Gisang Lee, Chelsea Finn, and Kangwook Lee. WHALE: A simple recipe for joint harness-weight optimization. arXiv preprint arXiv:2609.00196, 2026.arxiv.org/abs/2609.00196
  31. [32]Robert Tjarko Lange, Yuki Imajuku, and Edoardo Cetin. ShinkaEvolve: Towards open-ended and sample-efficient program evolution. In The Fourteenth International Conference on Learning Representations, 2026.arxiv.org/abs/2509.19349
  32. [33]Chenqian Le, Jiayi Cheng, Qijia He, Runhao Li, Yinghao Li, and Xupeng Chen. Multi-harness reinforcement learning for coding agents: Training gains and harness dependence. arXiv preprint arXiv:2609.04518, 2026.arxiv.org/abs/2609.04518
  33. [34]Yoonho Lee, Roshen Nair, Qizheng Zhang, Kangwook Lee, Omar Khattab, and Chelsea Finn. Meta-Harness: End-to-end optimization of model harnesses. arXiv preprint arXiv:2603.28052, 2026.arxiv.org/abs/2603.28052
  34. [35]Jiahang Lin, Shichun Liu, Chengjun Pan, Lizhi Lin, Shihan Dou, Zhiheng Xi, Xuanjing Huang, Hang Yan, Zhenhua Han, Tao Gui, and Yu-Gang Jiang. Agentic harness engineering: Observability-driven automatic evolution of coding-agent harnesses. arXiv preprint arXiv:2604.25850, 2026a.arxiv.org/abs/2604.25850
  35. [36]Minhua Lin, Juncheng Wu, Zijun Wang, Zhan Shi, Yisi Sang, Bing He, Zewen Liu, Tianxin Wei, Zongyu Wu, Zhiwei Zhang, Dakou Wang, Xiang Zhang, Benoit Dumoulin, Cihang Xie, Yuyin Zhou, Shuhang Wang, and Hanqing Lu. Harness updating is not harness benefit: Disentangling evolution capabilities in self-evolving LLM agents. arXiv preprint arXiv:2605.30621, 2026b.arxiv.org/abs/2605.30621
  36. [37]Zewen Liu, Zhan Shi, Yisi Sang, Bing He, Minhua Lin, Tianxin Wei, Dakou Wang, Benoit Dumoulin, Wei Jin, and Hanqing Lu. Adaptive Auto-Harness: Sustained self-improvement for agentic system deployment on open-ended task streams. arXiv preprint arXiv:2606.01770, 2026.arxiv.org/abs/2606.01770
  37. [38]Xinyu Lu, Kaiqi Zhang, Jinglin Yang, Boxi Cao, Yaojie Lu, Hongyu Lin, Min He, Xianpei Han, and Le Sun. P²O: Joint policy and prompt optimization. arXiv preprint arXiv:2603.21877, 2026.arxiv.org/abs/2603.21877
  38. [39]Haochen Luo, Yi Huang, Sichun Luo, Fengyuan Liu, Lei Li, Zefa Hu, Junlan Feng, and Qi Liu. Harness-aware self-evolving: Co-evolving model weights, harness, and task solutions. arXiv preprint arXiv:2607.03935, 2026.arxiv.org/abs/2607.03935
  39. [40]Aman Madaan, Niket Tandon, Prakhar Gupta, Skyler Hallinan, Luyu Gao, Sarah Wiegreffe, Uri Alon, Nouha Dziri, Shrimai Prabhumoye, Yiming Yang, Shashank Gupta, Bodhisattwa Prasad Majumder, Katherine Hermann, Sean Welleck, Amir Yazdanbakhsh, and Peter Clark. Self-Refine: Iterative refinement with self-feedback. arXiv preprint arXiv:2303.17651, 2023.arxiv.org/abs/2303.17651
  40. [41]Qinghua Mao, Wanying Qu, Dadi Guo, Leitao Yuan, Qingyu Liu, Yu Li, Guanxu Chen, Yanwei Fu, Xi Lin, Xia Hu, and Dongrui Liu. SafeEvolve: Harness-policy co-evolution from agent experience for safety alignment. arXiv preprint arXiv:2609.02786, 2026.arxiv.org/abs/2609.02786
  41. [42]Atsuyuki Miyai, Kiyoharu Aizawa, and Toshihiko Yamasaki. Task-CoEvolve: Efficient harness optimization via adaptive validation task selection. arXiv preprint arXiv:2608.20169, 2026.arxiv.org/abs/2608.20169
  42. [43]Xuying Ning, Dongqi Fu, Tianxin Wei, Yuanchen Bei, Xiyuan Yang, Wujiang Xu, Yueqi Song, Bingxuan Li, Zihao Li, Hanqing Zeng, et al. EvoHarness-RL: Learning runtime harness coordination for self-evolving agents. arXiv preprint arXiv:2608.05446, 2026.arxiv.org/abs/2608.05446
  43. [44]Alexander Novikov, Ngân Vũ, Marvin Eisenberger, Emilien Dupont, Po-Sen Huang, Adam Zsolt Wagner, Sergey Shirobokov, Borislav Kozlovskii, Francisco J. R. Ruiz, Abbas Mehrabian, M. Pawan Kumar, Abigail See, Swarat Chaudhuri, George Holland, Alex Davies, Sebastian Nowozin, Pushmeet Kohli, and Matej Balog. AlphaEvolve: A coding agent for scientific and algorithmic discovery. arXiv preprint arXiv:2506.13131, 2025.arxiv.org/abs/2506.13131
  44. [45]Jiayi Pan, Xingyao Wang, Graham Neubig, Navdeep Jaitly, Heng Ji, Alane Suhr, and Yizhe Zhang. Training software engineering agents and verifiers with SWE-Gym. In Forty-second International Conference on Machine Learning, 2025.arxiv.org/abs/2412.21139
  45. [46]Wenbo Pan, Shujie Liu, Chin-Yew Lin, Jingying Zeng, Xianfeng Tang, Xiangyang Zhou, Yan Lu, and Xiaohua Jia. Evolving agents in the dark: Retrospective harness optimization via self-preference. arXiv preprint arXiv:2606.05922, 2026. Accepted to Findings of EMNLP 2026.arxiv.org/abs/2606.05922
  46. [47]Richard Yuanzhe Pang, Weizhe Yuan, Kyunghyun Cho, He He, Sainbayar Sukhbaatar, and Jason Weston. Iterative reasoning preference optimization. In Advances in Neural Information Processing Systems, volume 37, 2024.arxiv.org/abs/2404.19733
  47. [48]Sungho Park, Wonjoong Kim, Rongyuan Tan, Jue Zhang, Wook-Shin Han, Pengfei Gao, Chanyoung Park, Yongqiang Yao, Rao Fu, Elsie Nallipogu, Qingwei Lin, Saravan Rajmohan, and Dongmei Zhang. AutoSaddler: Automatic harness optimization with durable updates from agent execution traces. arXiv preprint arXiv:2608.23041, 2026.arxiv.org/abs/2608.23041
  48. [49]Rongcan Pei, Zhepei Wei, Shuyoo Xu, Xinyu Zhu, Wei-Lin Chen, and Yu Meng. Negative self-distillation: Learning to reason by avoiding flaws. arXiv preprint arXiv:2609.11699, 2026.arxiv.org/abs/2609.11699
  49. [50]Baolin Peng, Wenlin Yao, Qianhui Wu, Hao Cheng, Xiao Yu, Rui Yang, Tao Ge, Alessandro Sordoni, Xingdi Yuan, Yelong Shen, Pengcheng He, Tong Zhang, Zhou Yu, and Jianfeng Gao. Orchard: An open-source agentic modeling framework. arXiv preprint arXiv:2605.15040, 2026.arxiv.org/abs/2605.15040
  50. [51]Reid Pryzant, Dan Iter, Jerry Li, Yin Lee, Chenguang Zhu, and Michael Zeng. Automatic prompt optimization with “gradient descent” and beam search. In Proceedings of the 2023 Conference on Empirical Methods in Natural Language Processing, pp. 7957–7968, 2023.arxiv.org/abs/2305.03495
  51. [52]Qwen Team. Qwen3.5-35B-A3B model card, 2026. URL https://huggingface.co/Qwen/Qwen3.5-35B-A3B.
  52. [53]Zhihong Shao, Peiyi Wang, Qihao Zhu, et al. DeepSeekMath: Pushing the limits of mathematical reasoning in open language models. arXiv preprint arXiv:2402.03300, 2024.arxiv.org/abs/2402.03300
  53. [54]Noah Shinn, Federico Cassano, Edward Berman, Ashwin Gopinath, Karthik Narasimhan, and Shunyu Yao. Reflexion: Language agents with verbal reinforcement learning. arXiv preprint arXiv:2303.11366, 2023.arxiv.org/abs/2303.11366
  54. [55]Avi Singh, John D. Co-Reyes, Rishabh Agarwal, et al. Beyond human data: Scaling self-training for problem-solving with language models. Transactions on Machine Learning Research, 2024.arxiv.org/abs/2312.06585
  55. [56]Dilara Soylu, Christopher Potts, and Omar Khattab. Fine-tuning and prompt optimization: Two great steps that work better together. In Proceedings of the 2024 Conference on Empirical Methods in Natural Language Processing, 2024.arxiv.org/abs/2407.10930
  56. [57]Qi Sun, Stefan Nielsen, Rio Yokota, and Yujin Tang. Evolutionary context search for automated skill acquisition. arXiv preprint arXiv:2602.16113, 2026.arxiv.org/abs/2602.16113
  57. [58]SWE-bench Team. SWE-bench leaderboards, 2026. URL https://www.swebench.com/. Accessed: October 14, 2026.
  58. [59]Zihan Tan, Leixin Sun, Zitong Shi, Yitao Liu, Jiajun Wu, Nathaniel Brooks, Jiaru Qian, Xiaoran Shang, Suyuan Huang, Yi Ding, et al. MetaRSI / RSI2: A meta-recursive self-improving system for recursive self-improving systems themselves. arXiv preprint arXiv:2609.06396, 2026.arxiv.org/abs/2609.06396
  59. [60]Rishabh Tiwari, Kusha Sareen, Lakshya A Agrawal, Joseph E. Gonzalez, Matei Zaharia, Kurt Keutzer, Inderjit S Dhillon, Rishabh Agarwal, and Devvrit Khatri. Learning, fast and slow: Towards LLMs that adapt continually. arXiv preprint arXiv:2605.12484, 2026.arxiv.org/abs/2605.12484
  60. [61]Varun Ursekar, Apaar Shanker, Yash Maurya, Shehab Yasser, Vijay S. Kalmath, Veronica Chathrath, and Yuan Xue. HarnessOpt-Bench: Evaluating LLMs at harness optimization. arXiv preprint arXiv:2608.06301, 2026.arxiv.org/abs/2608.06301
  61. [62]Guanzhi Wang, Yuqi Xie, Yunfan Jiang, Ajay Mandlekar, Chaowei Xiao, Yuke Zhu, Linxi Fan, and Anima Anandkumar. Voyager: An open-ended embodied agent with large language models. arXiv preprint arXiv:2305.16291, 2023.arxiv.org/abs/2305.16291
  62. [63]Yinjie Wang, Ling Yang, Guohao Li, Mengdi Wang, and Bryon Aragam. ScoreFlow: Mastering LLM agent workflows via score-based preference optimization. arXiv preprint arXiv:2502.04306, 2025a.arxiv.org/abs/2502.04306
  63. [64]Yiping Wang, Shao-Rong Su, Zhiyuan Zeng, Eva Xu, Liliang Ren, Xinyu Yang, Zeyi Huang, Xuehai He, Luyao Ma, Baolin Peng, Hao Cheng, Pengcheng He, Weizhu Chen, Shuohang Wang, Simon Shaolei Du, and Yelong Shen. ThetaEvolve: Test-time learning on open problems. arXiv preprint arXiv:2511.23473, 2025b.arxiv.org/abs/2511.23473
  64. [65]Zora Zhiruo Wang, Jiayuan Mao, Daniel Fried, and Graham Neubig. Agent workflow memory. In Forty-second International Conference on Machine Learning, 2025c.arxiv.org/abs/2409.07429
  65. [66]Hongliang Wei, Xiaobing Tu, Yinggui Wang, Zhengxi Liu, Rongkun Xue, Jinkui Ren, Xiantao Zhang, Debin Zhao, and Xiaopeng Fan. HarnessBadT: Joint learnability-transferability scheduling for multi-harness agentic reinforcement learning. arXiv preprint arXiv:2609.13739, 2026a.arxiv.org/abs/2609.13739
  66. [67]Tianxin Wei, Zhan Shi, Minhua Lin, Bing He, Zewen Liu, Yisi Sang, Yuanchen Bei, Xuying Ning, Jiaru Zou, Ting-Wei Li, et al. Evo-Harness: Context-to-harness skill compilation for self-evolving agents. arXiv preprint arXiv:2608.15071, 2026b.arxiv.org/abs/2608.15071
  67. [68]Yuxiang Wei, Olivier Duchenne, Jade Copet, Quentin Carbonneaux, Lingming Zhang, Daniel Fried, Gabriel Synnaeve, Rishabh Singh, and Sida Wang. SWE-RL: Advancing LLM reasoning via reinforcement learning on open software evolution. In The Thirty-ninth Annual Conference on Neural Information Processing Systems, 2025a.arxiv.org/abs/2502.18449
  68. [69]Yuxiang Wei, Zhiqing Sun, Emily McMilin, Jonas Gehring, David Zhang, Gabriel Synnaeve, Daniel Fried, Lingming Zhang, and Sida Wang. Toward training superintelligent software agents through self-play SWE-RL. arXiv preprint arXiv:2512.18552, 2025b.arxiv.org/abs/2512.18552
  69. [70]Zhepei Wei, Wenlin Yao, Yao Liu, Weizhi Zhang, Qin Lu, Liang Qiu, Changlong Yu, Puyang Xu, Chao Zhang, Bing Yin, Hyokyun Yun, and Lihong Li. WebAgent-R1: Training web agents via end-to-end multi-turn reinforcement learning. In Proceedings of the 2025 Conference on Empirical Methods in Natural Language Processing, pp. 7909–7928, 2025c.arxiv.org/abs/2505.16421
  70. [71]Zhaotian Weng, Antonis Antoniades, Deepak Nathani, Zhen Zhang, Xiao Pu, and Xin Eric Wang. Group-evolving agents: Open-ended self-improvement via experience sharing. arXiv preprint arXiv:2602.04837, 2026.arxiv.org/abs/2602.04837
  71. [72]Siwei Wu, Jincheng Ren, Yizhi Li, Haau-Sing Li, Chengran Yang, Xudong Ma, Yuxuan Zhang, Weicheng Gu, Jian Yang, Riza Batista-Navarro, Chuanyi Zhang, Xianglong Liu, Ming Zhou, Bryan Dai, and Chenghua Lin. ModularRSI: Modular and generalizable recursive harness self-improvement. arXiv preprint arXiv:2609.14857, 2026.arxiv.org/abs/2609.14857
  72. [74]Peng Xia, Rujun Han, Zifeng Wang, Yanfei Chen, Yufan Zhuang, Yoonho Lee, Chengsong Huang, Han Yu, Zhongying CuiZhu, Yifei Ming, Huaxiu Yao, Burak Gokturk, Tomas Pfister, and Chen-Yu Lee. RRSI: Regularized recursive self-improvement of agent harnesses. arXiv preprint arXiv:2609.24972, 2026b.arxiv.org/abs/2609.24972
  73. [75]Tianbao Xie, Danyang Zhang, Jixuan Chen, Xiaochuan Li, Siheng Zhao, Ruisheng Cao, Toh Jing Hua, Zhoujun Cheng, Dongchan Shin, Fangyu Lei, Yitao Liu, Yiheng Xu, Shuyan Zhou, Silvio Savarese, Caiming Xiong, Victor Zhong, and Tao Yu. OSWorld: Benchmarking multimodal agents for open-ended tasks in real computer environments. In Advances in Neural Information Processing Systems, 2024.arxiv.org/abs/2404.07972
  74. [76]Chejian Xu, Shujian Zhang, Wenxuan Zhou, John Lambert, Beck Chen, Bo Li, Andrew Hard, and Rajiv Mathews. Evo²: Evolving the evolver through weight-harness co-evolution. arXiv preprint arXiv:2610.13025, 2026a.arxiv.org/abs/2610.13025
  75. [77]Ruiyao Xu, Yanfei Chen, Zhongying CuiZhu, Bhavana Dalvi Mishra, Yifei Ming, Han Yu, Rujun Han, Chen-Yu Lee, and Tomas Pfister. Harness²: Recursive agent harnessing for an open world. arXiv preprint arXiv:2610.14224, 2026b.arxiv.org/abs/2610.14224
  76. [78]John Yang, Carlos E. Jimenez, Alexander Wettig, Kilian Lieret, Shunyu Yao, Karthik R. Narasimhan, and Ofir Press. SWE-agent: Agent-computer interfaces enable automated software engineering. In Advances in Neural Information Processing Systems, 2024.arxiv.org/abs/2405.15793
  77. [79]John Yang, Kilian Lieret, Carlos E. Jimenez, Alexander Wettig, Kabir Khandpur, Yanzhe Zhang, Binyuan Hui, Ofir Press, Ludwig Schmidt, and Diyi Yang. SWE-smith: Scaling data for software engineering agents. In The Thirty-ninth Annual Conference on Neural Information Processing Systems Datasets and Benchmarks Track, 2025.arxiv.org/abs/2504.21798
  78. [80]Shunyu Yao, Jeffrey Zhao, Dian Yu, Nan Du, Izhak Shafran, Karthik Narasimhan, and Yuan Cao. ReAct: Synergizing reasoning and acting in language models. In International Conference on Learning Representations, 2023.arxiv.org/abs/2210.03629
  79. [81]Haoran Ye, Xuning He, Vincent Arak, Haonan Dong, and Guojie Song. Meta context engineering via agentic skill evolution. arXiv preprint arXiv:2601.21557, 2026a.arxiv.org/abs/2601.21557
  80. [82]Haoran Ye, Yuxing Lu, Haonan Dong, Zhaochेन Su, and Guojie Song. Harness-Zero: Harness distillation via agent-as-harness. arXiv preprint arXiv:2609.24974, 2026b.arxiv.org/abs/2609.24974
  81. [83]Weizhe Yuan, Richard Yuanzhe Pang, Kyunghyun Cho, Xian Li, Sainbayar Sukhbaatar, Jing Xu, and Jason Weston. Self-rewarding language models. In International Conference on Machine Learning, 2024.arxiv.org/abs/2401.10020
  82. [84]Zheng Yuan, Hongyi Yuan, Chengpeng Li, Guanting Dong, Keming Lu, Chuanqi Tan, Chang Zhou, and Jingren Zhou. Scaling relationship on learning mathematical reasoning with large language models. arXiv preprint arXiv:2308.01825, 2023.arxiv.org/abs/2308.01825
  83. [86]Mert Yuksekgonul, Daniel Koceja, Xinhao Li, Federico Bianchi, Jed McCaleb, Xiaolong Wang, Jan Kautz, Yejin Choi, James Zou, Carlos Guestrin, and Yu Sun. Learning to discover at test time. arXiv preprint arXiv:2601.16175, 2026.arxiv.org/abs/2601.16175
  84. [87]Eric Zelikman, Yuhuai Wu, Jesse Mu, and Noah D. Goodman. STaR: Bootstrapping reasoning with reasoning. arXiv preprint arXiv:2203.14465, 2022.arxiv.org/abs/2203.14465
  85. [88]Eric Zelikman, Eliana Lorch, Lester Mackey, and Adam Tauman Kalai. Self-taught optimizer (STOP): Recursively self-improving code generation. In Conference on Language Modeling, 2024.arxiv.org/abs/2310.02304
  86. [89]Hangfan Zhang, Shao Zhang, Kangcong Li, Chen Zhang, Yang Chen, Yiqun Zhang, Lei Bai, and Shuyue Hu. Self-Harness: Harnesses that improve themselves. arXiv preprint arXiv:2606.09498, 2026a.arxiv.org/abs/2606.09498
  87. [90]Jenny Zhang, Shengran Hu, Cong Lu, Robert Tjarko Lange, and Jeff Clune. Darwin Gödel Machine: Open-ended evolution of self-improving agents. In The Fourteenth International Conference on Learning Representations, 2026b.arxiv.org/abs/2505.22954

Paper details

vlnc:W_es65eqhs
Version
v1 · latest
Published
Fresh — added to the Hub within the last 30 days
Added
License
CC BY 4.0
Usage

views · 10

downloads · 0

A view counts once per browser per day, a download each time the PDF is requested.

  • Computer Science

Not recorded for this paper

View statement
Looking for related papers…
Contents