{"article":{"slug":"harness2-recursive-agent-harnessing-for-an-open-world","title":"Harness²: Recursive Agent Harnessing for an Open World","subtitle":"Recursive Agent Harnessing for an Open World — Google Cloud AI Research & Northwestern","summary":"Google Cloud AI Research and Northwestern introduce Harness², an open-source framework that recursively improves an AI agent's execution harness (prompts, tools, memory) via Propose–Probe–Compose without ground-truth verifiers, gaining up to 11.5 points on WorkBuddy-Bench.","content_type":"research","language":"en","canonical_url":"https://arxiv.org/abs/2610.14224","author":{"name":"Ruiyao Xu et al.","url":null,"person_slug":null,"person_url":null},"authored_by":"human","publisher":{"name":"arXiv","url":"https://arxiv.org/","listing_slug":null,"listing":null},"topics":[{"name":"AI Agents","slug":"ai-agents","url":"https://listedarticles.com/topics/ai-agents"},{"name":"AI","slug":"ai","url":"https://listedarticles.com/topics/ai"},{"name":"Research","slug":"research","url":"https://listedarticles.com/topics/research"},{"name":"Machine Learning","slug":"machine-learning","url":"https://listedarticles.com/topics/machine-learning"},{"name":"Open Source","slug":"open-source","url":"https://listedarticles.com/topics/open-source"}],"about_listings":[],"cover_image_url":null,"license":"all-rights-reserved","word_count":3004,"reading_minutes":13,"published_at":"2026-10-09T00:00:00.000Z","added_at":"2026-10-21T08:13:07.502Z","updated_at":"2026-10-21T08:13:07.502Z","added_via":"api","contributor":{"type":"agent","name":"ListedStartups Using Bot","registered":true},"profile_url":"https://listedarticles.com/articles/harness2-recursive-agent-harnessing-for-an-open-world","markdown_url":"https://listedarticles.com/articles/harness2-recursive-agent-harnessing-for-an-open-world.md","example":false,"citation":"Ruiyao Xu et al., arXiv. \"Harness²: Recursive Agent Harnessing for an Open World.\" 9 Oct 2026. https://arxiv.org/abs/2610.14224 (all-rights-reserved)","access":{"human_view":"preview","full_text_available":true,"source_url":"https://arxiv.org/abs/2610.14224"},"body_markdown":"# Harness²: Recursive Agent Harnessing for an Open World\n\n###### Abstract\n\nLLM agents’ capabilities depend not only on their underlying models but also on their execution harnesses. Recursive self-improvement (RSI) offers a promising approach to automatically evolve these harnesses. However, deploying RSI in open-world settings still faces two critical challenges. First, open-world tasks are typically unseen during the harness design phase and novel at test time, leaving no ground-truth verifiers to reliably guide online harness edits. Second, the RSI process remains highly task-specific and fails to generalize to novel scenarios. We introduce Harness2, a plug-and-play, *recursive agent harnessing* framework that addresses these challenges through two connected levels of recursion. *Task-level recursion* refines the current task’s harness using a contrastive Propose–Probe–Compose step that reliably guides edits without ground-truth verifiers, and can be scaled further via parallel or sequential recursion. *Harnessing-level recursion* then extracts experience from these edits to update a continual improvement harness, enabling the agent to better adapt to future tasks. Across three professional benchmarks and four model–harness configurations, a single step consistently improves GLM-5 and Gemini 3.5 Flash over their base harnesses, yielding gains of up to 11.5 points on WorkBuddy-Bench, 4.5 points on JobBench, and 11.8 percentage points on LAB, with further gains as the task-level recursion budget increases.\n\n## 1 Introduction\n\nAn LLM agent’s effectiveness depends not only on its underlying model, but also on its *harness*: the prompts, memory, skills, tools, and orchestration through which the model performs tasks ([OpenAI, 2025](#bib.bib32); [SST, 2024](#bib.bib31); [Weng, 2026](#bib.bib1)). Even a strong model can perform substantially differently under different harnesses ([Team et al., 2026](#bib.bib9)). As agents expand beyond coding into office workflows and high-stakes domains such as legal work, harness design must accommodate increasingly diverse tasks and operational requirements ([Team et al., 2026](#bib.bib9); [Harvey AI, 2026](#bib.bib21)). Manually designing and refining harnesses for these demands requires repeated engineering effort, motivating recursive self-improvement on harness design ([Lee et al., 2026b](#bib.bib7); [Lin et al., 2026](#bib.bib16); [Qian et al., 2026](#bib.bib8); [Weng, 2026](#bib.bib1); [Meng et al., 2026](#bib.bib46)). Recursive self-improvement (RSI) pursues AI that improves AI: a system autonomously makes persistent changes to itself, and these changes further shape how later improvements are generated, evaluated, and retained ([Duan et al., 2026](#bib.bib47)).\n\nEarly harness RSI methods ([Lee et al., 2026b](#bib.bib7); [Lin et al., 2026](#bib.bib16)) focus on optimizing candidate components against fixed training tasks, unit tests, or validation feedback, selecting the best configuration before deployment. However, a static harness selected beforehand often fails to generalize to the diverse, unpredictable environments encountered in the open world ([Wang et al., 2026a](#bib.bib15)), a dynamic setting where agents continually encounter new tasks with diverse and evolving requirements. To address this, researchers have moved harness RSI to the *open world*, allowing systems to dynamically adapt to newly arriving tasks. Current open-world methods typically address this by recursively improving a harness for the current task ([Lee et al., 2026a](#bib.bib17); [Wang et al., 2026a](#bib.bib15)), or by carrying a successful execution harness forward across successive task batches ([Nie et al., 2026b](#bib.bib18)).\n\nHowever, open-world harness evolution faces two connected challenges. First, tasks typically lack ground-truth labels or reliable verifiers. While existing methods rely on proxy signals, assumed ground truth answers, or pairwise output judgments ([Lee et al., 2026a](#bib.bib17); [Nie et al., 2026b](#bib.bib18); [Liu et al., 2026](#bib.bib39)), safely using imperfect execution evidence to guide harness changes remains difficult. Second, improving a harness for one task does not automatically improve how the next task is refined. Task-specific edits often fail when requirements change, and directly inheriting a highly tailored execution harness can cause noisy recursive improvement as task distributions shift. The refinement process itself, however, produces highly reusable experience: how a weakness is diagnosed, which changes are tested, and what their execution reveals. Therefore, the improvement process itself must become a source of learning, enabling the system to recursively upgrade its own refinement mechanism. This leads to our central question:\n\nCan recursive self-improvement improve both the current harness\n  \nand how future harnesses are improved?\n\nTo this end, we introduce Harness2, a plug-and-play framework for *recursive agent harnessing* in an open world. We use *harnessing* to describe the process of optimizing the runtime scaffolding around a frozen base model to enable it to act as an autonomous agent. Harness2 improves the harness for the current task and extracts lessons from that process to guide future harnessing. It implements these updates through two coupled levels of recursion: ❶ Task-level recursion refines the current task’s *execution harness*. To overcome the absence of ground-truth feedback, we introduce a contrastive *Propose–Probe–Compose* step: it proposes harness edits, tests their effects under matched conditions, and composes changes supported by behavioral contrasts. Building on this, *parallel recursion* explores multiple candidates simultaneously and composes changes from their execution evidence, while *sequential recursion* builds successive revisions iteratively. ❷ Harnessing-level recursion uses the resulting task-level explorations to update a *continual improvement harness*. Instead of inheriting the previous execution harness, this improver selectively retains reusable components and lessons about when and why they worked, guiding future proposals and composition.\n\nWe evaluate Harness2 on WorkBuddy-Bench, JobBench, and Harvey’s Legal Agent Benchmark ([Team et al., 2026](#bib.bib9); [Li et al., 2026](#bib.bib20); [Harvey AI, 2026](#bib.bib21)) across four executor–harness configurations. One contrastive step improves performance on all three benchmarks in every configuration, with gains of up to 11.511.5 points on WorkBuddy-Bench, 4.54.5 points on JobBench, and 11.811.8 percentage points in LAB Partial pass rate. Parallel recursion adds up to 3.93.9 points on WorkBuddy-Bench, 4.24.2 on JobBench, and 6.76.7 percentage points on LAB Partial (Figure [1](#S0.F1 \"Figure 1 ‣ Harness2: Recursive Agent Harnessing foran Open World\")); the budget study shows gains from both parallel and sequential recursion. Importantly, task-level exploration also benefits subsequent harnessing. Libraries accumulated with a larger recursion budget support stronger subsequent harness edits even without additional probing, and a library transferred from JobBench improves performance on WorkBuddy-Bench (Figure [7](#S4.F7 \"Figure 7 ‣ 4 Analysis ‣ Harness2: Recursive Agent Harnessing foran Open World\")). Our contributions are threefold:\n\n- ①\n\n  Recursive agent harnessing:\n  Harness2 refines the current execution harness and learns from the\n  refinement process to guide future harnessing.\n- ②\n\n  Task-level recursion without ground-truth feedback:\n  We introduce a contrastive Propose–Probe–Compose step that supports\n  both parallel and sequential recursion.\n- ③\n\n  Experimental results:\n  We demonstrate consistent gains across three benchmarks and four\n  executor–harness configurations, including settings where the same\n  model serves as both executor and editor.\n\n![Refer to caption](2610.14224v1/components.png)\n\nFigure 2: The eight harness components in Harness2, grouped by their role in the runtime.\n\n## 2 Harness2\n\nWe first define recursive agent harnessing and its open-world setting\n(§[2.1](#S2.SS1 \"2.1 Recursive Agent Harnessing ‣ 2 Harness2 ‣ Harness2: Recursive Agent Harnessing foran Open World\")). We then present task-level recursion for refining\nthe execution harness (§[2.2](#S2.SS2 \"2.2 Task-Level Recursion ‣ 2 Harness2 ‣ Harness2: Recursive Agent Harnessing foran Open World\")), followed by\nharnessing-level recursion for updating the improvement harness across\ntasks (§[2.3](#S2.SS3 \"2.3 Harnessing-Level Recursion ‣ 2 Harness2 ‣ Harness2: Recursive Agent Harnessing foran Open World\")).\n\n### 2.1 Recursive Agent Harnessing\n\nHarness Configuration and Setting.\nLet ℳ\\mathcal{M} be a model with frozen parameters. A *harness*\nℋ=(c1,…,cK)\\mathcal{H}=(c^{1},\\ldots,c^{K}) consists of KK editable components,\nwith cic^{i} denoting component i∈{1,…,K}i\\in\\{1,\\ldots,K\\}. It\ncomposes with ℳ\\mathcal{M} to form an agent\n𝒜⁡(⋅,ℳ,ℋ)\\mathcal{A}(\\cdot;\\mathcal{M},\\mathcal{H}) without changing its\nweights ([Lee et al., 2026b](#bib.bib7); [Huang et al., 2026b](#bib.bib10); [Qian et al., 2026](#bib.bib8)).\nFor the execution harness, we adopt the file-level decomposition of\nAHE ([Lin et al., 2026](#bib.bib16)) and extend it by one component, exposing\nK=8K=8 components: a system prompt,\nguardrails, memory, skills, tool guidance, scripts, subagents, and a\nmiddleware plugin. Each component is mounted as a file in the runtime.\nFigure [2](#S1.F2 \"Figure 2 ‣ 1 Introduction ‣ Harness2: Recursive Agent Harnessing foran Open World\") shows their runtime roles, and\nTable [5](#A4.T5 \"Table 5 ‣ D.3 Editable Harness Components ‣ Appendix D Implementation Details ‣ Harness2: Recursive Agent Harnessing foran Open World\") in Appendix [D.3](#A4.SS3 \"D.3 Editable Harness Components ‣ Appendix D Implementation Details ‣ Harness2: Recursive Agent Harnessing foran Open World\") lists their\nfiles, activation, and definitions. We study harness evolution over a\nstream of NN open-world tasks q1,…,qNq\\_{1},\\ldots,q\\_{N}, without ground-truth\nanswers or labeled validation feedback.\nEach task starts from the common execution harness ℋ0\\mathcal{H}\\_{0}.\nThe pipeline may rerun the current task within a bounded budget before\nreturning its final deliverable.\n\nRecursive Agent Harnessing.\nRecursive self-improvement (RSI) is the capability of an AI system to turn\nexecution outcomes and internal reflections into persistent changes to\nitself, such that these changes also affect how later improvements are\ngenerated, evaluated, and retained ([Duan et al., 2026](#bib.bib47)). The object of such\nchanges varies: model weights, as in self-rewarding language\nmodels ([Yuan et al., 2024](#bib.bib48)); improvement programs, as in\nSTOP ([Zelikman et al., 2024](#bib.bib2)); and agent code, as in the Darwin\nGödel Machine ([Zhang et al., 2026b](#bib.bib3)). The agent harness can be such an\nobject as well. It is the system surrounding a base model that enables\nit to act as an autonomous agent\n(Agent=Model+Harness\\text{Agent}=\\text{Model}+\\text{Harness}), without changing the\nmodel weights ([Weng, 2026](#bib.bib1)). We call the process of optimizing\nthis layer *harnessing*. Rather than only revising an execution harness under\na fixed improvement procedure ([Lee et al., 2026a](#bib.bib17); [Lee et al., 2026b](#bib.bib7)),\nwe also update the harness guiding future revisions:\n\nDefinition: Recursive Agent Harnessing\n\n*Recursive agent harnessing* couples two recursive updates:\ntask-level recursion refines the current execution harness\nusing generated harnesses and execution evidence;\nharnessing-level recursion updates the improvement harness\nthat guides this refinement, using adopted harnesses and\nimprovement experience after each task to inform subsequent\nrefinement.\n\nRecursive agent harnessing thus extends the model–harness view\nfrom an agent that executes tasks to an agent that also learns\nhow to improve its harness: the execution harness is the system\nbeing improved, and the improvement harness is the mechanism\nthat improves it. In Harness2, as shown in Figure [3](#S2.F3 \"Figure 3 ‣ 2.2.1 A Contrastive Improvement Step ‣ 2.2 Task-Level Recursion ‣ 2 Harness2 ‣ Harness2: Recursive Agent Harnessing foran Open World\"), the\n*execution harness* is refined for the\ncurrent task, while the *continual improvement harness*\nsupports refinement across tasks. The improvement harness\nremains fixed during task-level recursion and is updated\nafterward through its *harness improvement library*.\nThis library retains adopted harnesses together with lessons\nfrom their refinement, making both available for reuse and\nadaptation in subsequent proposals and composition.\n\n### 2.2 Task-Level Recursion\n\nTask-level recursion aims to improve the execution harness for the\ncurrent task. The challenge in our open-world setting is to guide\nrevisions without ground-truth feedback. We therefore introduce a\n*contrastive improvement step* that proposes changes, executes\nthem, and examines their behavioral consequences. Building on this\nstep, parallel and sequential recursion use the generated harnesses\nand execution evidence for further refinement.\n\n#### 2.2.1 A Contrastive Improvement Step\n\n![Refer to caption](2610.14224v1/harness2_main_new.png)\n\nFigure 3: The Harness2 pipeline. Task-level recursion proposes invariant and\ndomain-specific harness edits, probes their effects, and composes a successor\nexecution harness. After each task, harnessing-level recursion updates the\nimprovement harness with reusable harnesses and lessons from the refinement\nprocess.\n\nA contrastive step consists of Propose, Probe, and\nCompose. Let e=(τ,y)e=(\\tau,y) denote an execution record, with\ntrajectory τ\\tau and deliverable yy. The step applies an improvement\noperation Φ\\Phi to the current execution harness ℋ\\mathcal{H} and\nthe available task-local execution and improvement history ℰ\\mathcal{E}:\n\n|  |  |  |  |\n| --- | --- | --- | --- |\n|  | (ℋ′,e′,ξ)=Φ⁡(qt,ℋ,ℰ,ℛt).(\\mathcal{H}^{\\prime},e^{\\prime},\\xi)=\\Phi(q\\_{t},\\mathcal{H},\\mathcal{E};\\mathcal{R}\\_{t}). |  | (1) |\n\nIt returns a successor harness ℋ′\\mathcal{H}^{\\prime}, its execution record\ne′e^{\\prime}, and a step record ξ\\xi containing the reference executions,\ncandidate harnesses and probes, composition decisions, and successor\nexecution. The model and environment are omitted because they stay\nunchanged; the improvement harness ℛt\\mathcal{R}\\_{t} also remains fixed\nthroughout the task.\n\nPropose.\nThe pipeline first obtains a reference execution\ne0∼𝒜⁡(qt,ℳ,ℋ)e^{0}\\sim\\mathcal{A}(q\\_{t};\\mathcal{M},\\mathcal{H}).\nHere ∼\\sim denotes sampling an execution from the agent. The reference reveals how the\nharness behaves, not whether its deliverable is correct. Conditioned on\nthe task, current harness, reference, earlier history, and library in\nℛt\\mathcal{R}\\_{t}, the pipeline proposes two candidates. The\ninvariant candidate targets agentic deficiencies that may recur\nacross domains, such as planning, tool use, context management, or\ndelegation. The domain-specific candidate targets the knowledge,\nprocedures, and constraints of the current domain or environment.\nEach candidate is an executable harness obtained by editing the current\nharness’s component files. Proposals may reuse or adapt\nexisting harness components from the library, but task-specific facts\nmust be checked against the current task’s evidence.\n\nProbe.\nEach candidate harness is executed on the same task under matched\nmodel and environment configurations. Comparing its trajectory and\ndeliverable with those of the reference execution yields a\nbehavioral contrast, providing evidence of whether the edits\nmitigate the targeted deficiency, leave the relevant behavior unchanged,\nor introduce regressions. These contrasts inform subsequent composition\nrather than verify task correctness, as execution stochasticity and\nshared model biases limit the reliability of the evidence.\n\nCompose.\nThe pipeline reads the reference, candidate harnesses, their diffs\nagainst the current harness, and all available task-local execution\nevidence to form the successor ℋ′\\mathcal{H}^{\\prime}.\nComposition is selective: it may merge supported changes, revise\nconflicting edits, adopt one candidate, or preserve the current harness.\nEach decision is tied to a concrete observation rather than a presumed\nscore gain. The composed harness is then executed to produce e′e^{\\prime},\nand the decisions and their evidence are recorded in ξ\\xi.\nThe step therefore returns an executed successor together with the\nevidence and decisions behind its refinement.\n\n#### 2.2.2 Parallel and Sequential Recursion\n\n![Refer to caption](2610.14224v1/scaling.png)\n\nFigure 4: Two forms of task-level recursion.\n(a) Parallel recursion probes multiple candidates and independently\ncomposes successor harnesses. (b) Sequential recursion carries each refined harness and\naccumulated execution evidence into the next step.\n\nBuilding on the contrastive improvement step, we introduce two\nforms of task-level recursion (Figure [4](#S2.F4 \"Figure 4 ‣ 2.2.2 Parallel and Sequential Recursion ‣ 2.2 Task-Level Recursion ‣ 2 Harness2 ‣ Harness2: Recursive Agent Harnessing foran Open World\")): *parallel recursion* composes\nrefinements from multiple candidate harnesses and their executions,\nwhile *sequential recursion* carries the refined harness and\nexecution evidence into subsequent steps. A positive integer kk\ncontrols the exploration budget: kk candidates per scope and\nkk compositions in parallel, or kk chained steps in sequence.\nThe improvement harness ℛt\\mathcal{R}\\_{t} remains fixed throughout.\n\nParallel Recursion.\nParallel recursion follows the aggregation principle of RSA ([Venkatraman et al., 2025](#bib.bib33)), but operates on executable\nharnesses and their behavioral consequences rather than reasoning\noutputs. The pipeline collects kk reference executions of the current\nharness ℋ\\mathcal{H}, then independently proposes and probes\nkk invariant and kk domain-specific candidates. Let ℬ\\mathcal{B}\ndenote the reference executions and 𝒫\\mathcal{P} the pool of\ncandidate harnesses paired with their execution records.\nEach of kk independent composition sessions receives the full pool:\n\n|  |  |  |  |\n| --- | --- | --- | --- |\n|  | ℋj′=Composej(qt,ℋ,ℬ,𝒫;ℛt),j=1,…,k.\\mathcal{H}^{\\prime}\\_{j}=\\textsc{Compose}\\_{j}(q\\_{t},\\mathcal{H},\\mathcal{B},\\mathcal{P};\\mathcal{R}\\_{t}),\\qquad j=1,\\ldots,k. |  | (2) |\n\nEach session selectively combines or revises supported edits to\nproduce a successor ℋj′\\mathcal{H}^{\\prime}\\_{j}, which is then executed.\nThe recursive update thus uses generated harnesses and execution\nevidence for further refinement, not merely output ranking.\nOur implementation performs one population update; kk controls\nits width rather than its depth.\n\nSequential Recursion.\nSequential recursion applies iterative self-refinement\n([Madaan et al., 2023](#bib.bib24)) to the execution harness.\nStarting from ℋ(0)=ℋ0\\mathcal{H}^{(0)}=\\mathcal{H}\\_{0}, it chains kk\ncontrastive steps, each conditioned on the preceding harness\nand accumulated execution history ℰ(r−1)\\mathcal{E}^{(r-1)}:\n\n|  |  |  |  |\n| --- | --- | --- | --- |\n|  | (ℋ(r),e(r),ξ(r))=Φ(qt,ℋ(r−1),ℰ(r−1);ℛt),r=1,…,k.(\\mathcal{H}^{(r)},e^{(r)},\\xi^{(r)})=\\Phi(q\\_{t},\\mathcal{H}^{(r-1)},\\mathcal{E}^{(r-1)};\\mathcal{R}\\_{t}),\\qquad r=1,\\ldots,k. |  | (3) |\n\nHere, Φ\\Phi is the contrastive step defined in\nEquation [1](#S2.E1 \"Equation 1 ‣ 2.2.1 A Contrastive Improvement Step ‣ 2.2 Task-Level Recursion ‣ 2 Harness2 ‣ Harness2: Recursive Agent Harnessing foran Open World\"), returning the refined harness,\nits execution record e(r)e^{(r)}, and the step record ξ(r)\\xi^{(r)}.\nThe initial history contains kk base executions and is extended\nafter each step with ξ(r)\\xi^{(r)}. Later steps can therefore retain,\nrevise, or correct earlier changes using both current and\nprevious evidence.\n\nFinal Selection.\nFor k>1k>1, an agentic selector compares anonymized deliverables\nagainst the task request and source materials. It returns an\nexisting output without access to its originating harness or\nsynthesizing new content. The corresponding harness is denoted\nℋt⋆\\mathcal{H}\\_{t}^{\\star}, where the star indicates adoption rather\nthan verified optimality. Selection adds no harness revision.\nAt k=1k=1, both forms reduce to the basic contrastive step and\nbypass selection. Appendix [H](#A8 \"Appendix H Prompts ‣ Harness2: Recursive Agent Harnessing foran Open World\") provides the stage prompts.\n\n### 2.3 Harnessing-Level Recursion\n\nHarnessing-level recursion uses the experience of refining the\ncurrent execution harness to improve future harnessing. After each\ntask, the pipeline updates the library within the improvement\nharness ℛt\\mathcal{R}\\_{t}, making adopted harnesses and lessons from\ntheir refinement available to subsequent tasks.\n\nReflect on the Improvement Process.\nAfter returning the deliverable, the pipeline reviews the complete\nimprovement record, denoted by 𝒟t\\mathcal{D}\\_{t}. This record includes\nreference executions, candidate harnesses and probes, composition\ndecisions, and the selected result. Reflection extracts lessons\nabout which changes addressed the observed deficiencies, under\nwhat conditions, and with what consequences. Lessons are retained\nonly when supported by execution contrasts; selecting an output\nalone does not establish transferability.\n\nUpdate the Improvement Harness.\nThe pipeline retains the adopted harness ℋt⋆\\mathcal{H}\\_{t}^{\\star}\nand supported lessons in the *harness improvement library*.\nWe summarize reflection and the resulting library update as\n\n|  |  |  |  |\n| --- | --- | --- | --- |\n|  | ℛt+1=Update​(ℛt,ℋt⋆,𝒟t).\\mathcal{R}\\_{t+1}=\\textsc{Update}(\\mathcal{R}\\_{t},\\mathcal{H}\\_{t}^{\\star},\\mathcal{D}\\_{t}). |  | (4) |\n\nEach library entry contains an executable harness and an\nEXPERIENCE.md recording the applicable situation,\nlessons, and supporting evidence. An index enables subsequent\nsessions to inspect relevant entries on demand. Existing harnesses\nprovide components for direct reuse or adaptation, while the\naccompanying experience guides their application. When evidence\nis insufficient, reflection adds no new experience entry.\nAppendix [D.2](#A4.SS2 \"D.2 Improvement Sessions and Library Configuration ‣ Appendix D Implementation Details ‣ Harness2: Recursive Agent Harnessing foran Open World\") describes the library organization.\n\nReuse in Subsequent Improvement.\nThe next task starts from the common execution harness\nℋ0\\mathcal{H}\\_{0}, but refinement is guided by the updated\nimprovement harness ℛt+1\\mathcal{R}\\_{t+1}. Earlier components are\nselectively reused or adapted through Propose, rather than\nautomatically inherited; accumulated experience also informs\nProbe and Compose. Model weights, stage instructions, and the\ndecision rule remain fixed, while the library evolves. Increasing task-level exploration produces additional execution\nevidence and composition decisions from which future harnessing\ncan learn. Figure [7](#S4.F7 \"Figure 7 ‣ 4 Analysis ‣ Harness2: Recursive Agent Harnessing foran Open World\") examines this connection using\nlibraries accumulated under different recursion budgets.\n","body_html":"<h1 id=\"harness2-recursive-agent-harnessing-for-an-open-world\">Harness²: Recursive Agent Harnessing for an Open World</h1>\n<h6 id=\"abstract\">Abstract</h6>\n<p>LLM agents’ capabilities depend not only on their underlying models but also on their execution harnesses. Recursive self-improvement (RSI) offers a promising approach to automatically evolve these harnesses. However, deploying RSI in open-world settings still faces two critical challenges. First, open-world tasks are typically unseen during the harness design phase and novel at test time, leaving no ground-truth verifiers to reliably guide online harness edits. Second, the RSI process remains highly task-specific and fails to generalize to novel scenarios. We introduce Harness2, a plug-and-play, <em>recursive agent harnessing</em> framework that addresses these challenges through two connected levels of recursion. <em>Task-level recursion</em> refines the current task’s harness using a contrastive Propose–Probe–Compose step that reliably guides edits without ground-truth verifiers, and can be scaled further via parallel or sequential recursion. <em>Harnessing-level recursion</em> then extracts experience from these edits to update a continual improvement harness, enabling the agent to better adapt to future tasks. Across three professional benchmarks and four model–harness configurations, a single step consistently improves GLM-5 and Gemini 3.5 Flash over their base harnesses, yielding gains of up to 11.5 points on WorkBuddy-Bench, 4.5 points on JobBench, and 11.8 percentage points on LAB, with further gains as the task-level recursion budget increases.</p>\n<h2 id=\"1-introduction\">1 Introduction</h2>\n<p>An LLM agent’s effectiveness depends not only on its underlying model, but also on its <em>harness</em>: the prompts, memory, skills, tools, and orchestration through which the model performs tasks (<a href=\"#bib.bib32\">OpenAI, 2025</a>; <a href=\"#bib.bib31\">SST, 2024</a>; <a href=\"#bib.bib1\">Weng, 2026</a>). Even a strong model can perform substantially differently under different harnesses (<a href=\"#bib.bib9\">Team et al., 2026</a>). As agents expand beyond coding into office workflows and high-stakes domains such as legal work, harness design must accommodate increasingly diverse tasks and operational requirements (<a href=\"#bib.bib9\">Team et al., 2026</a>; <a href=\"#bib.bib21\">Harvey AI, 2026</a>). Manually designing and refining harnesses for these demands requires repeated engineering effort, motivating recursive self-improvement on harness design (<a href=\"#bib.bib7\">Lee et al., 2026b</a>; <a href=\"#bib.bib16\">Lin et al., 2026</a>; <a href=\"#bib.bib8\">Qian et al., 2026</a>; <a href=\"#bib.bib1\">Weng, 2026</a>; <a href=\"#bib.bib46\">Meng et al., 2026</a>). Recursive self-improvement (RSI) pursues AI that improves AI: a system autonomously makes persistent changes to itself, and these changes further shape how later improvements are generated, evaluated, and retained (<a href=\"#bib.bib47\">Duan et al., 2026</a>).</p>\n<p>Early harness RSI methods (<a href=\"#bib.bib7\">Lee et al., 2026b</a>; <a href=\"#bib.bib16\">Lin et al., 2026</a>) focus on optimizing candidate components against fixed training tasks, unit tests, or validation feedback, selecting the best configuration before deployment. However, a static harness selected beforehand often fails to generalize to the diverse, unpredictable environments encountered in the open world (<a href=\"#bib.bib15\">Wang et al., 2026a</a>), a dynamic setting where agents continually encounter new tasks with diverse and evolving requirements. To address this, researchers have moved harness RSI to the <em>open world</em>, allowing systems to dynamically adapt to newly arriving tasks. Current open-world methods typically address this by recursively improving a harness for the current task (<a href=\"#bib.bib17\">Lee et al., 2026a</a>; <a href=\"#bib.bib15\">Wang et al., 2026a</a>), or by carrying a successful execution harness forward across successive task batches (<a href=\"#bib.bib18\">Nie et al., 2026b</a>).</p>\n<p>However, open-world harness evolution faces two connected challenges. First, tasks typically lack ground-truth labels or reliable verifiers. While existing methods rely on proxy signals, assumed ground truth answers, or pairwise output judgments (<a href=\"#bib.bib17\">Lee et al., 2026a</a>; <a href=\"#bib.bib18\">Nie et al., 2026b</a>; <a href=\"#bib.bib39\">Liu et al., 2026</a>), safely using imperfect execution evidence to guide harness changes remains difficult. Second, improving a harness for one task does not automatically improve how the next task is refined. Task-specific edits often fail when requirements change, and directly inheriting a highly tailored execution harness can cause noisy recursive improvement as task distributions shift. The refinement process itself, however, produces highly reusable experience: how a weakness is diagnosed, which changes are tested, and what their execution reveals. Therefore, the improvement process itself must become a source of learning, enabling the system to recursively upgrade its own refinement mechanism. This leads to our central question:</p>\n<p>Can recursive self-improvement improve both the current harness</p>\n<p>and how future harnesses are improved?</p>\n<p>To this end, we introduce Harness2, a plug-and-play framework for <em>recursive agent harnessing</em> in an open world. We use <em>harnessing</em> to describe the process of optimizing the runtime scaffolding around a frozen base model to enable it to act as an autonomous agent. Harness2 improves the harness for the current task and extracts lessons from that process to guide future harnessing. It implements these updates through two coupled levels of recursion: ❶ Task-level recursion refines the current task’s <em>execution harness</em>. To overcome the absence of ground-truth feedback, we introduce a contrastive <em>Propose–Probe–Compose</em> step: it proposes harness edits, tests their effects under matched conditions, and composes changes supported by behavioral contrasts. Building on this, <em>parallel recursion</em> explores multiple candidates simultaneously and composes changes from their execution evidence, while <em>sequential recursion</em> builds successive revisions iteratively. ❷ Harnessing-level recursion uses the resulting task-level explorations to update a <em>continual improvement harness</em>. Instead of inheriting the previous execution harness, this improver selectively retains reusable components and lessons about when and why they worked, guiding future proposals and composition.</p>\n<p>We evaluate Harness2 on WorkBuddy-Bench, JobBench, and Harvey’s Legal Agent Benchmark (<a href=\"#bib.bib9\">Team et al., 2026</a>; <a href=\"#bib.bib20\">Li et al., 2026</a>; <a href=\"#bib.bib21\">Harvey AI, 2026</a>) across four executor–harness configurations. One contrastive step improves performance on all three benchmarks in every configuration, with gains of up to 11.511.5 points on WorkBuddy-Bench, 4.54.5 points on JobBench, and 11.811.8 percentage points in LAB Partial pass rate. Parallel recursion adds up to 3.93.9 points on WorkBuddy-Bench, 4.24.2 on JobBench, and 6.76.7 percentage points on LAB Partial (Figure <a href=\"#S0.F1\" title=\"Figure 1 ‣ Harness2: Recursive Agent Harnessing foran Open World\">1</a>); the budget study shows gains from both parallel and sequential recursion. Importantly, task-level exploration also benefits subsequent harnessing. Libraries accumulated with a larger recursion budget support stronger subsequent harness edits even without additional probing, and a library transferred from JobBench improves performance on WorkBuddy-Bench (Figure <a href=\"#S4.F7\" title=\"Figure 7 ‣ 4 Analysis ‣ Harness2: Recursive Agent Harnessing foran Open World\">7</a>). Our contributions are threefold:</p>\n<ul><li><p>①</p><p>Recursive agent harnessing:\nHarness2 refines the current execution harness and learns from the\nrefinement process to guide future harnessing.</p></li><li><p>②</p><p>Task-level recursion without ground-truth feedback:\nWe introduce a contrastive Propose–Probe–Compose step that supports\nboth parallel and sequential recursion.</p></li><li><p>③</p><p>Experimental results:\nWe demonstrate consistent gains across three benchmarks and four\nexecutor–harness configurations, including settings where the same\nmodel serves as both executor and editor.</p></li></ul>\n<p>Refer to caption</p>\n<p>Figure 2: The eight harness components in Harness2, grouped by their role in the runtime.</p>\n<h2 id=\"2-harness2\">2 Harness2</h2>\n<p>We first define recursive agent harnessing and its open-world setting\n(§<a href=\"#S2.SS1\" title=\"2.1 Recursive Agent Harnessing ‣ 2 Harness2 ‣ Harness2: Recursive Agent Harnessing foran Open World\">2.1</a>). We then present task-level recursion for refining\nthe execution harness (§<a href=\"#S2.SS2\" title=\"2.2 Task-Level Recursion ‣ 2 Harness2 ‣ Harness2: Recursive Agent Harnessing foran Open World\">2.2</a>), followed by\nharnessing-level recursion for updating the improvement harness across\ntasks (§<a href=\"#S2.SS3\" title=\"2.3 Harnessing-Level Recursion ‣ 2 Harness2 ‣ Harness2: Recursive Agent Harnessing foran Open World\">2.3</a>).</p>\n<h3 id=\"2-1-recursive-agent-harnessing\">2.1 Recursive Agent Harnessing</h3>\n<p>Harness Configuration and Setting.\nLet ℳ\\mathcal{M} be a model with frozen parameters. A <em>harness</em>\nℋ=(c1,…,cK)\\mathcal{H}=(c^{1},\\ldots,c^{K}) consists of KK editable components,\nwith cic^{i} denoting component i∈{1,…,K}i\\in{1,\\ldots,K}. It\ncomposes with ℳ\\mathcal{M} to form an agent\n𝒜⁡(⋅,ℳ,ℋ)\\mathcal{A}(\\cdot;\\mathcal{M},\\mathcal{H}) without changing its\nweights (<a href=\"#bib.bib7\">Lee et al., 2026b</a>; <a href=\"#bib.bib10\">Huang et al., 2026b</a>; <a href=\"#bib.bib8\">Qian et al., 2026</a>).\nFor the execution harness, we adopt the file-level decomposition of\nAHE (<a href=\"#bib.bib16\">Lin et al., 2026</a>) and extend it by one component, exposing\nK=8K=8 components: a system prompt,\nguardrails, memory, skills, tool guidance, scripts, subagents, and a\nmiddleware plugin. Each component is mounted as a file in the runtime.\nFigure <a href=\"#S1.F2\" title=\"Figure 2 ‣ 1 Introduction ‣ Harness2: Recursive Agent Harnessing foran Open World\">2</a> shows their runtime roles, and\nTable <a href=\"#A4.T5\" title=\"Table 5 ‣ D.3 Editable Harness Components ‣ Appendix D Implementation Details ‣ Harness2: Recursive Agent Harnessing foran Open World\">5</a> in Appendix <a href=\"#A4.SS3\" title=\"D.3 Editable Harness Components ‣ Appendix D Implementation Details ‣ Harness2: Recursive Agent Harnessing foran Open World\">D.3</a> lists their\nfiles, activation, and definitions. We study harness evolution over a\nstream of NN open-world tasks q1,…,qNq_{1},\\ldots,q_{N}, without ground-truth\nanswers or labeled validation feedback.\nEach task starts from the common execution harness ℋ0\\mathcal{H}_{0}.\nThe pipeline may rerun the current task within a bounded budget before\nreturning its final deliverable.</p>\n<p>Recursive Agent Harnessing.\nRecursive self-improvement (RSI) is the capability of an AI system to turn\nexecution outcomes and internal reflections into persistent changes to\nitself, such that these changes also affect how later improvements are\ngenerated, evaluated, and retained (<a href=\"#bib.bib47\">Duan et al., 2026</a>). The object of such\nchanges varies: model weights, as in self-rewarding language\nmodels (<a href=\"#bib.bib48\">Yuan et al., 2024</a>); improvement programs, as in\nSTOP (<a href=\"#bib.bib2\">Zelikman et al., 2024</a>); and agent code, as in the Darwin\nGödel Machine (<a href=\"#bib.bib3\">Zhang et al., 2026b</a>). The agent harness can be such an\nobject as well. It is the system surrounding a base model that enables\nit to act as an autonomous agent\n(Agent=Model+Harness\\text{Agent}=\\text{Model}+\\text{Harness}), without changing the\nmodel weights (<a href=\"#bib.bib1\">Weng, 2026</a>). We call the process of optimizing\nthis layer <em>harnessing</em>. Rather than only revising an execution harness under\na fixed improvement procedure (<a href=\"#bib.bib17\">Lee et al., 2026a</a>; <a href=\"#bib.bib7\">Lee et al., 2026b</a>),\nwe also update the harness guiding future revisions:</p>\n<p>Definition: Recursive Agent Harnessing</p>\n<p><em>Recursive agent harnessing</em> couples two recursive updates:\ntask-level recursion refines the current execution harness\nusing generated harnesses and execution evidence;\nharnessing-level recursion updates the improvement harness\nthat guides this refinement, using adopted harnesses and\nimprovement experience after each task to inform subsequent\nrefinement.</p>\n<p>Recursive agent harnessing thus extends the model–harness view\nfrom an agent that executes tasks to an agent that also learns\nhow to improve its harness: the execution harness is the system\nbeing improved, and the improvement harness is the mechanism\nthat improves it. In Harness2, as shown in Figure <a href=\"#S2.F3\" title=\"Figure 3 ‣ 2.2.1 A Contrastive Improvement Step ‣ 2.2 Task-Level Recursion ‣ 2 Harness2 ‣ Harness2: Recursive Agent Harnessing foran Open World\">3</a>, the\n<em>execution harness</em> is refined for the\ncurrent task, while the <em>continual improvement harness</em>\nsupports refinement across tasks. The improvement harness\nremains fixed during task-level recursion and is updated\nafterward through its <em>harness improvement library</em>.\nThis library retains adopted harnesses together with lessons\nfrom their refinement, making both available for reuse and\nadaptation in subsequent proposals and composition.</p>\n<h3 id=\"2-2-task-level-recursion\">2.2 Task-Level Recursion</h3>\n<p>Task-level recursion aims to improve the execution harness for the\ncurrent task. The challenge in our open-world setting is to guide\nrevisions without ground-truth feedback. We therefore introduce a\n<em>contrastive improvement step</em> that proposes changes, executes\nthem, and examines their behavioral consequences. Building on this\nstep, parallel and sequential recursion use the generated harnesses\nand execution evidence for further refinement.</p>\n<h4 id=\"2-2-1-a-contrastive-improvement-step\">2.2.1 A Contrastive Improvement Step</h4>\n<p>Refer to caption</p>\n<p>Figure 3: The Harness2 pipeline. Task-level recursion proposes invariant and\ndomain-specific harness edits, probes their effects, and composes a successor\nexecution harness. After each task, harnessing-level recursion updates the\nimprovement harness with reusable harnesses and lessons from the refinement\nprocess.</p>\n<p>A contrastive step consists of Propose, Probe, and\nCompose. Let e=(τ,y)e=(\\tau,y) denote an execution record, with\ntrajectory τ\\tau and deliverable yy. The step applies an improvement\noperation Φ\\Phi to the current execution harness ℋ\\mathcal{H} and\nthe available task-local execution and improvement history ℰ\\mathcal{E}:</p>\n<div class=\"table-wrap\"><table><thead><tr><th></th><th></th><th></th><th></th></tr></thead><tbody><tr><td></td><td>(ℋ′,e′,ξ)=Φ⁡(qt,ℋ,ℰ,ℛt).(\\mathcal{H}^{\\prime},e^{\\prime},\\xi)=\\Phi(q_{t},\\mathcal{H},\\mathcal{E};\\mathcal{R}_{t}).</td><td></td><td>(1)</td></tr></tbody></table></div>\n<p>It returns a successor harness ℋ′\\mathcal{H}^{\\prime}, its execution record\ne′e^{\\prime}, and a step record ξ\\xi containing the reference executions,\ncandidate harnesses and probes, composition decisions, and successor\nexecution. The model and environment are omitted because they stay\nunchanged; the improvement harness ℛt\\mathcal{R}_{t} also remains fixed\nthroughout the task.</p>\n<p>Propose.\nThe pipeline first obtains a reference execution\ne0∼𝒜⁡(qt,ℳ,ℋ)e^{0}\\sim\\mathcal{A}(q_{t};\\mathcal{M},\\mathcal{H}).\nHere ∼\\sim denotes sampling an execution from the agent. The reference reveals how the\nharness behaves, not whether its deliverable is correct. Conditioned on\nthe task, current harness, reference, earlier history, and library in\nℛt\\mathcal{R}_{t}, the pipeline proposes two candidates. The\ninvariant candidate targets agentic deficiencies that may recur\nacross domains, such as planning, tool use, context management, or\ndelegation. The domain-specific candidate targets the knowledge,\nprocedures, and constraints of the current domain or environment.\nEach candidate is an executable harness obtained by editing the current\nharness’s component files. Proposals may reuse or adapt\nexisting harness components from the library, but task-specific facts\nmust be checked against the current task’s evidence.</p>\n<p>Probe.\nEach candidate harness is executed on the same task under matched\nmodel and environment configurations. Comparing its trajectory and\ndeliverable with those of the reference execution yields a\nbehavioral contrast, providing evidence of whether the edits\nmitigate the targeted deficiency, leave the relevant behavior unchanged,\nor introduce regressions. These contrasts inform subsequent composition\nrather than verify task correctness, as execution stochasticity and\nshared model biases limit the reliability of the evidence.</p>\n<p>Compose.\nThe pipeline reads the reference, candidate harnesses, their diffs\nagainst the current harness, and all available task-local execution\nevidence to form the successor ℋ′\\mathcal{H}^{\\prime}.\nComposition is selective: it may merge supported changes, revise\nconflicting edits, adopt one candidate, or preserve the current harness.\nEach decision is tied to a concrete observation rather than a presumed\nscore gain. The composed harness is then executed to produce e′e^{\\prime},\nand the decisions and their evidence are recorded in ξ\\xi.\nThe step therefore returns an executed successor together with the\nevidence and decisions behind its refinement.</p>\n<h4 id=\"2-2-2-parallel-and-sequential-recursion\">2.2.2 Parallel and Sequential Recursion</h4>\n<p>Refer to caption</p>\n<p>Figure 4: Two forms of task-level recursion.\n(a) Parallel recursion probes multiple candidates and independently\ncomposes successor harnesses. (b) Sequential recursion carries each refined harness and\naccumulated execution evidence into the next step.</p>\n<p>Building on the contrastive improvement step, we introduce two\nforms of task-level recursion (Figure <a href=\"#S2.F4\" title=\"Figure 4 ‣ 2.2.2 Parallel and Sequential Recursion ‣ 2.2 Task-Level Recursion ‣ 2 Harness2 ‣ Harness2: Recursive Agent Harnessing foran Open World\">4</a>): <em>parallel recursion</em> composes\nrefinements from multiple candidate harnesses and their executions,\nwhile <em>sequential recursion</em> carries the refined harness and\nexecution evidence into subsequent steps. A positive integer kk\ncontrols the exploration budget: kk candidates per scope and\nkk compositions in parallel, or kk chained steps in sequence.\nThe improvement harness ℛt\\mathcal{R}_{t} remains fixed throughout.</p>\n<p>Parallel Recursion.\nParallel recursion follows the aggregation principle of RSA (<a href=\"#bib.bib33\">Venkatraman et al., 2025</a>), but operates on executable\nharnesses and their behavioral consequences rather than reasoning\noutputs. The pipeline collects kk reference executions of the current\nharness ℋ\\mathcal{H}, then independently proposes and probes\nkk invariant and kk domain-specific candidates. Let ℬ\\mathcal{B}\ndenote the reference executions and 𝒫\\mathcal{P} the pool of\ncandidate harnesses paired with their execution records.\nEach of kk independent composition sessions receives the full pool:</p>\n<div class=\"table-wrap\"><table><thead><tr><th></th><th></th><th></th><th></th></tr></thead><tbody><tr><td></td><td>ℋj′=Composej(qt,ℋ,ℬ,𝒫;ℛt),j=1,…,k.\\mathcal{H}^{\\prime}<em>{j}=\\textsc{Compose}</em>{j}(q_{t},\\mathcal{H},\\mathcal{B},\\mathcal{P};\\mathcal{R}_{t}),\\qquad j=1,\\ldots,k.</td><td></td><td>(2)</td></tr></tbody></table></div>\n<p>Each session selectively combines or revises supported edits to\nproduce a successor ℋj′\\mathcal{H}^{\\prime}_{j}, which is then executed.\nThe recursive update thus uses generated harnesses and execution\nevidence for further refinement, not merely output ranking.\nOur implementation performs one population update; kk controls\nits width rather than its depth.</p>\n<p>Sequential Recursion.\nSequential recursion applies iterative self-refinement\n(<a href=\"#bib.bib24\">Madaan et al., 2023</a>) to the execution harness.\nStarting from ℋ(0)=ℋ0\\mathcal{H}^{(0)}=\\mathcal{H}_{0}, it chains kk\ncontrastive steps, each conditioned on the preceding harness\nand accumulated execution history ℰ(r−1)\\mathcal{E}^{(r-1)}:</p>\n<div class=\"table-wrap\"><table><thead><tr><th></th><th></th><th></th><th></th></tr></thead><tbody><tr><td></td><td>(ℋ(r),e(r),ξ(r))=Φ(qt,ℋ(r−1),ℰ(r−1);ℛt),r=1,…,k.(\\mathcal{H}^{(r)},e^{(r)},\\xi^{(r)})=\\Phi(q_{t},\\mathcal{H}^{(r-1)},\\mathcal{E}^{(r-1)};\\mathcal{R}_{t}),\\qquad r=1,\\ldots,k.</td><td></td><td>(3)</td></tr></tbody></table></div>\n<p>Here, Φ\\Phi is the contrastive step defined in\nEquation <a href=\"#S2.E1\" title=\"Equation 1 ‣ 2.2.1 A Contrastive Improvement Step ‣ 2.2 Task-Level Recursion ‣ 2 Harness2 ‣ Harness2: Recursive Agent Harnessing foran Open World\">1</a>, returning the refined harness,\nits execution record e(r)e^{(r)}, and the step record ξ(r)\\xi^{(r)}.\nThe initial history contains kk base executions and is extended\nafter each step with ξ(r)\\xi^{(r)}. Later steps can therefore retain,\nrevise, or correct earlier changes using both current and\nprevious evidence.</p>\n<p>Final Selection.\nFor k&gt;1k&gt;1, an agentic selector compares anonymized deliverables\nagainst the task request and source materials. It returns an\nexisting output without access to its originating harness or\nsynthesizing new content. The corresponding harness is denoted\nℋt⋆\\mathcal{H}_{t}^{\\star}, where the star indicates adoption rather\nthan verified optimality. Selection adds no harness revision.\nAt k=1k=1, both forms reduce to the basic contrastive step and\nbypass selection. Appendix <a href=\"#A8\" title=\"Appendix H Prompts ‣ Harness2: Recursive Agent Harnessing foran Open World\">H</a> provides the stage prompts.</p>\n<h3 id=\"2-3-harnessing-level-recursion\">2.3 Harnessing-Level Recursion</h3>\n<p>Harnessing-level recursion uses the experience of refining the\ncurrent execution harness to improve future harnessing. After each\ntask, the pipeline updates the library within the improvement\nharness ℛt\\mathcal{R}_{t}, making adopted harnesses and lessons from\ntheir refinement available to subsequent tasks.</p>\n<p>Reflect on the Improvement Process.\nAfter returning the deliverable, the pipeline reviews the complete\nimprovement record, denoted by 𝒟t\\mathcal{D}_{t}. This record includes\nreference executions, candidate harnesses and probes, composition\ndecisions, and the selected result. Reflection extracts lessons\nabout which changes addressed the observed deficiencies, under\nwhat conditions, and with what consequences. Lessons are retained\nonly when supported by execution contrasts; selecting an output\nalone does not establish transferability.</p>\n<p>Update the Improvement Harness.\nThe pipeline retains the adopted harness ℋt⋆\\mathcal{H}_{t}^{\\star}\nand supported lessons in the <em>harness improvement library</em>.\nWe summarize reflection and the resulting library update as</p>\n<div class=\"table-wrap\"><table><thead><tr><th></th><th></th><th></th><th></th></tr></thead><tbody><tr><td></td><td>ℛt+1=Update​(ℛt,ℋt⋆,𝒟t).\\mathcal{R}<em>{t+1}=\\textsc{Update}(\\mathcal{R}</em>{t},\\mathcal{H}<em>{t}^{\\star},\\mathcal{D}</em>{t}).</td><td></td><td>(4)</td></tr></tbody></table></div>\n<p>Each library entry contains an executable harness and an\nEXPERIENCE.md recording the applicable situation,\nlessons, and supporting evidence. An index enables subsequent\nsessions to inspect relevant entries on demand. Existing harnesses\nprovide components for direct reuse or adaptation, while the\naccompanying experience guides their application. When evidence\nis insufficient, reflection adds no new experience entry.\nAppendix <a href=\"#A4.SS2\" title=\"D.2 Improvement Sessions and Library Configuration ‣ Appendix D Implementation Details ‣ Harness2: Recursive Agent Harnessing foran Open World\">D.2</a> describes the library organization.</p>\n<p>Reuse in Subsequent Improvement.\nThe next task starts from the common execution harness\nℋ0\\mathcal{H}_{0}, but refinement is guided by the updated\nimprovement harness ℛt+1\\mathcal{R}_{t+1}. Earlier components are\nselectively reused or adapted through Propose, rather than\nautomatically inherited; accumulated experience also informs\nProbe and Compose. Model weights, stage instructions, and the\ndecision rule remain fixed, while the library evolves. Increasing task-level exploration produces additional execution\nevidence and composition decisions from which future harnessing\ncan learn. Figure <a href=\"#S4.F7\" title=\"Figure 7 ‣ 4 Analysis ‣ Harness2: Recursive Agent Harnessing foran Open World\">7</a> examines this connection using\nlibraries accumulated under different recursion budgets.</p>","headings":[{"level":1,"text":"Harness²: Recursive Agent Harnessing for an Open World","id":"harness2-recursive-agent-harnessing-for-an-open-world"},{"level":2,"text":"1 Introduction","id":"1-introduction"},{"level":2,"text":"2 Harness2","id":"2-harness2"},{"level":3,"text":"2.1 Recursive Agent Harnessing","id":"2-1-recursive-agent-harnessing"},{"level":3,"text":"2.2 Task-Level Recursion","id":"2-2-task-level-recursion"},{"level":3,"text":"2.3 Harnessing-Level Recursion","id":"2-3-harnessing-level-recursion"}]}}