WorksComputer Science
HookEvo: A Framework for Coordinated Plugin Evolution on Hook-Enabled Agent Runtimes
Abstract
Repairing failures in tool-using agents can require coordinated changes to how the harness interprets tool receipts, assembles context, and checks actions. We introduce HookEvo, a framework that uses an existing agent runtime's lifecycle hooks to evolve task-specific harnesses. We instantiate HookEvo on DeepSeek Harness. In each round, a separate improver diagnoses failures from execution traces and proposes a candidate. HookEvo evaluates the candidate against the current harness on matched tasks and carries the retained version into the next round. A single candidate can jointly edit executable plugin handlers and the state they share within a task, allowing a tool receipt to inform context and control a later action. Using a frozen Qwen3-4B executor, the selected harnesses lead the reported Qwen3-4B comparisons, achieving 95.41% on ALFWorld, 70.56% on DBBench, 48.17% on WebShop, and 41.67% on OSBench. Across three improvers and three edit scopes, from skill text to single-component and coordinated executable edits, GPT-6.1 Sol shows the largest average gain from the broadest scope. Our code is available at https://huangshengzebluesky.github.io/hookevo/.
Our code is available at https://huangshengzebluesky.github.io/HookEvo/.
Introduction
A tool-using agent relies on a harness to assemble the model’s context and mediate tool calls [30, 27, 23]. After a tool returns a result, the harness determines what information reaches the model at the next step and whether a subsequent tool call can proceed. Changing how the harness uses this feedback can therefore change the agent’s behavior even when the model weights are fixed.
Prior work uses execution feedback to optimize different parts of an agent harness. SkillOpt proposes edits to a skill document and retains revisions that improve performance on a validation set [28]. AFlow searches over workflows expressed in code, using execution results to guide changes to their operators and control flow [32]. PluginRSI improves individual plugins, adds the resulting variants to a library, and recombines them into candidate harnesses [19]. These choices determine which changes an improver can propose together and evaluate as a single candidate.
The scope of a candidate matters when a repair requires changes that only work together. Recording a fact from a tool result may leave the task score unchanged if no later action check reads it. Revising the check alone may be equally ineffective if the harness never records the fact it needs. Evaluated separately, either edit may be discarded before the other is proposed. Evaluating them together lets their combined effect count toward retention, but the improver must first recognize the dependency in execution traces and revise both parts consistently.
To address this challenge, we introduce HookEvo, a framework that lets an improver revise interdependent parts of an agent harness in a single candidate. We implement HookEvo on DeepSeek Harness (DSH) [4], whose lifecycle hooks expose tool receipts, context assembly, and action checks. Given execution traces and the current harness source, the improver can jointly change what one handler records in episode state and how another uses that state at a later step. HookEvo evaluates the resulting candidate against its parent on matched tasks, so the retention decision reflects the combined effect of the edits. The retained harness becomes the parent for the next round, and the measured outcome informs the next proposal.
We evaluate HookEvo through three research questions.
RQ1. Across task scenarios, how do the harnesses evolved by HookEvo perform relative to prior methods using the same executor?
RQ2. How does the benefit of allowing coordinated edits in a single candidate vary across improvers?
RQ3. How do the improver and the edit scope shape the mechanisms in the evolved harnesses?
With a frozen Qwen3-4B executor, we compare the harnesses evolved by Sol under the coordinated edit scope (C) with a same-executor Life-Harness rerun and published Qwen3-4B results across four benchmarks. We then compare test success for Luna, Terra, and Sol under three edit scopes: skill text (A), one independent component (B), and coordinated edits to handlers and shared state (C), as illustrated in Figure 1. To examine the mechanisms behind these results, we compare the selected harnesses across improvers under C and across edit scopes for Sol.
Figure 1. Edit scope and improver performance. (a) One proposal can revise skill text (A), one independent component (B), or a composition of mechanisms that share episode state (C). (b) In the illustrated C candidate, one mechanism processes a tool receipt and another uses the resulting state to guide context assembly and check the next action. (c) Mean test success across four benchmarks and the observed gain from A to C in percentage points (Table 3).
Our contributions are threefold.
A unified representation and evolution method. HookEvo represents harness edits as changes to plugin content, code, and composition on an existing hook-enabled runtime. The improver can revise both the han
dlers that write shared state and those that read it. The controller evaluates their combined effect on matched tasks.
A study of edit scope and improver capability. We cross three edit scopes with three improvers at high reasoning effort. Moving from A to C increases mean test success across four benchmarks by 25.91 percentage points for Sol, 7.24 for Luna, and 5.75 for Terra.
Benchmark results and reproducible artifacts. With a frozen Qwen3-4B executor, the selected Sol-C harnesses lead the reported Qwen3-4B comparisons on ALFWorld (95.41%), DBBench (70.56%), WebShop (48.17%), and OSBench (41.67%). We provide the harnesses, checkpoint results, evolution histories, and candidate-generation interfaces.
Related Work
Figure 2 maps prior candidate artifacts to possible implementations on DSH. For example, an improver can edit skill text loaded into context or an action filter that runs before a tool call. The host installs plugins through ctx.plugin(module, config), and the installed wrapper connects candidate handlers to DSH lifecycle events.
Figure 2. Mapping prior candidate artifacts to a shared HookEvo representation. The left column groups the artifacts optimized by prior methods. The middle column gives possible implementations using DeepSeek Harness (DSH) plugins and services. The right column shows a candidate whose text, plugin code, state logic, and wiring can be inspected and edited together by the improver and loaded into the existing DSH runtime.
Prompt and program optimization. OPRO searches instructions using the scores of earlier candidates, while Pro-TeGi converts minibatch errors into textual update directions [26, 16]. DSPy expresses language-model pipelines as optimizable programs; MIPRO jointly searches their instructions and demonstrations [7, 15]. TextGrad propagates language feedback through computation graphs [31], and GEPA combines trajectory reflection with Pareto-based candidate search [1]. SkillOpt optimizes a reusable skill through bounded edits, validation, and rejected edit feedback [28]. These methods establish feedback-guided optimization over language artifacts and modular programs. Our study examines how an improver uses broader permissions to construct executable harnesses.
Feedback, experience, and reusable skills. Self-Refine improves an output through iterative feedback, and Reflexion carries verbal feedback into subsequent trials [14, 20]. ExpeL extracts reusable insights from task experience; AutoGuide selects context-aware guidelines; AutoManual builds environmental rules and instruction manuals [34, 2] (Fu et al. 2024). Voyager accumulates executable skills in a persistent library [22]. HookEvo uses episode state for a different purpose: sharing facts from the current task across handlers.
Agent architecture and workflow search. ADAS uses a meta agent to write agent programs from an archive of previous designs (Hu, Lu, and Clune 2025). AgentSquare evolves and recombines planning, reasoning, tool-use, and memory modules [17]. AFlow searches code-represented workflows by revising operators and their composition [32].
Runtime interfaces and harness evolution. SWE-agent demonstrates the importance of agent-computer interfaces, and CodeAct uses executable code as a compositional action space [27, 23]. ALIGN generates environment interfaces; AutoHarness synthesizes code harnesses from environment feedback [11, 13]. Life-Harness organizes adaptation across runtime lifecycle layers (Xu, Wen, and Li 2026). Meta-Harness gives its proposer access to prior source, scores, and traces [9]; AHE connects component, trajectory, and decision observability [10]; HarnessX evolves typed, composable harness primitives [3]. These systems establish executable runtime behavior as an optimization target.
The right column of Figure 2 shows how HookEvo combines editable text, plugin code, state logic, and plugin wiring into one candidate. A candidate can revise instructions, replace one component, or jointly revise handlers and the episode state they share.
Method
HookEvo optimizes a harness around a frozen executor. Here contains skill instructions and configuration, and defines the executable handlers, their state, and their dependencies. For a task distribution and normalized task score , the objective is to minimize , where denotes execution randomness. Figure 3 follows one update from the current harness to the version retained for the next round.
Figure 3. One round of HookEvo. Parent runs supply traces for the improver and baseline outcomes for paired evaluation. A scoped patch yields one candidate. Under scope C, its handlers can share state across execution steps within a task. The controller compares the two harnesses on matched runs, carries the retained source into the next round, and returns measured changes and its decision to the improver.
Composable Candidate Space
Let denote the edits that a single proposal may make to under scope . Scope A exposes the skill text. Scope B exposes four independent components (skill, memory, action check, and receipt interpretation) and permits a proposal to replace one. Scope C permits a skill edit or a joint replacement of skill text and executable plugin code. The code defines an ordered collection of mechanisms whose handlers can share episode state. A single proposal can therefore
change what information is recorded and how later handlers use it.
Observation, Attribution, and Candidate Construction
At round , the controller runs on training batch . The execution traces provide identifier for the improver, while the controller keeps the task scores and emitted hook outputs as the baseline for this round. The improver examines those traces alongside the parent source, the available runtime interfaces , and feedback from the previous round. It relates a failure in the traces to behavior that the current harness can change:
The diagnosis serves as a repair direction in discrete program space (Pryzant et al. 2023; Yekṣegunol et al. 2025). The edit scope determines which replacements can implement that repair:
Attribution and editing take place in one improver call. The response names the target (aspect), supplies its replacement (content), and gives the rationale (reason). The controller copies and installs the replacement to form ; the candidate inherits all other parts of the parent. If assembly fails, the controller returns and returns the error as feedback.
For a scope-C composition, DeepSeek Harness (DSH) [4] passes fresh episode state to create(state) at task setup. On a tool receipt, observe can update the state and explain can annotate the receipt. At a later step, guide can read the state to augment the context alongside the skill text, and check can read it before a proposed tool call proceeds. These handlers are optional. The controller evaluates the installed composition as a unit. Retaining the code preserves these bindings across rounds, while each new task starts with fresh state.
Paired Evaluation, Retention, and Feedback
The controller runs with the same frozen executor and pairs each outcome with the parent outcome for the same task, trial, and seed. For matched runs , the mean paired score change is
For each pair, it also compares the emitted hook outputs, denoted by for the parent and for the candidate in Figure 3. A transition from failure to success counts as a repair, and the reverse counts as a regression.
The candidate becomes if it improves the benchmark’s training objective, changes the hook outputs on at least one matched run, and, when a validation split is available, maintains or improves the validation objective. Otherwise . In either case, the next improver call receives with the edit rationale, before-and-after scores, observed hook changes, counts of repairs and regressions, and the retention decision. Held-out test evaluation follows the completed search. Appendix A gives the algorithm and runtime interfaces, and Appendix B describes the A/B/C experimental setup.
Experiments
Experimental setup
Tasks and metric. The same frozen Qwen3-4B-Instruct-2507 executor ([25]) acts in four environments: ALFWorld household tasks ([21]) (109 test tasks), DBBench database tasks (300), WebShop shopping tasks ([29]) (200), and OSBench shell tasks (144). DBBench and OSBench come from AgentBench (Liu et al. 2024). We report the percentage of held-out tasks completed under each benchmark’s native success criterion. On WebShop, only a fully successful purchase counts. Table 1 lists the reference task splits.
| Dataset | Train | Validation | Test |
| ALFWorld | 300 | 0 | 109 |
| DBBench | 300 | 0 | 300 |
| WebShop | 100 | 0 | 200 |
| OSBench | 80 | 20 | 144 |
Table 1. Reference splits (distinct tasks).
Search and comparisons. An external improver (Luna, Terra, or Sol, each at high reasoning effort) proposes harness edits from execution traces. A proposal may revise skill text (A), replace one independent component (B), or jointly revise handlers and shared state (C). Rotating pools use six 50-task batches, with one proposal per batch. We compare the resulting harnesses with published Qwen3-4B results and a local Life-Harness rerun using the same executor. Means weight benchmarks equally. Appendix § 9 gives the search budgets and evaluation protocols; Appendix § 11 defines the metrics.
RQ1: Benchmark Performance and Applicability
The same search loop produces a separate harness for each environment using its native tools and scorer. Sol-C ranks first among the displayed Qwen3-4B results (Table 2). Its highest measured test means exceed the local Life-Harness rerun by 7.64, 6.45, 6.84, and 4.86 points on ALFWorld, DBBench, WebShop, and OSBench, respectively. Figure 4 locates these checkpoints along each search.
Figure 4. Sol-C search histories (Table 2): 40 rounds for ALFWorld, DBBench, and OSBench; 80 across two WebShop stages. Gray shows candidate scores, dashed blue their trend, and green retained scores (six-round means for DBBench and WebShop). Stars mark peak test means with sample SD over three executions.
| Improver | Scope | ALFWorld | DBBench | WebShop | OSBench | Mean |
| GPT-6 Luna | A | 23.85 | 53.00 | 32.33 | 34.26 | 35.86 |
| B | 14.07 | 54.56 | 31.33 | 37.50 | 34.36 | |
| C | 48.62 | 57.00 | 30.67 | 36.11 | 43.10 | |
| GPT-6.1 Terra | A | 26.91 | 53.78 | 30.50 | 39.58 | 37.69 |
| B | 29.97 | 53.78 | 29.33 | 33.56 | 36.66 | |
| C | 52.91 | 54.00 | 32.83 | 34.03 | 43.44 | |
| GPT-6.1 Sol | A | 27.22 | 52.89 | 34.33 | 37.73 | 38.04 |
| B | 33.33 | 53.56 | 37.67 | 39.58 | 41.03 | |
| C | 95.41 | 70.56 | 48.17 | 41.67 | 63.95 |
Table 2. Reported and local benchmark results for Qwen3-4B-family executors.
Improver Performance by Edit Scope
Which improver benefits most when a proposal can change several components together? Table 3 crosses the three improvers with all three scopes on each benchmark.
| Benchmark | GPT-6 Luna | GPT-6.1 Terra | GPT-6.1 Sol | |||
| Δ | Mechanism | Δ | Mechanism | Δ | Mechanism | |
| ALFWorld | +32.11 | Training traces show receipt reminders and wrong-object checks. | +36.40 | Training traces show pickup guidance and a target check in two-object tasks. | +78.90 | Inventory and search history tell the action check when to require a pickup or stop a repeated search. |
| DBBench | +13.00 | An empty read can hold up submission until the agent checks the result. | +10.00 | A SQL skill tells the agent how to quote identifiers. | +26.56 | A log of successful writes guards two decisions: whether to repeat a write and whether to submit. |
| WebShop | +1.17 | A checklist prompts the agent to inspect options and price. | +3.33 | A search skill preserves model numbers and sizes across queries. | +18.67 | Search and option plugins share product state. Checkout can be blocked until a required option is selected. |
| OSBench | +14.61 | A counting skill distinguishes files from matching lines. | +12.53 | A command check flags misleading pipelines. Receipt annotations explain the output. | +20.17 | A skill specifies which files to inspect and which quantity to count. |
Table 3. Mechanisms evolved by each improver under scope C. Δ is the change in test success (percentage points) relative to bare Qwen3-4B on the same benchmark (Appendix § 11).
Gain by improver. From A to C, mean success rises by 7.24 points for Luna, 5.75 for Terra, and 25.91 for Sol. Only Sol improves from A to B and again from B to C on all four tasks. From A to C, Luna loses ground on WebShop and Terra on OSBench.
Gap between improvers. Sol leads the next improver by 0.35 points in A, 4.37 in B, and 20.51 in C. The widest scope then separates the improvers most clearly under the reported training pools, budgets, and selection rules.
| Method | ALFWorld | DBBench | WebShop | OSBench |
| Results reported in prior work | ||||
| Life-Harness (Xu, Wen, and Li 2026) | 88.07 | 65.00 | 45.50 | 39.60 |
| Bare (Xu, Wen, and Li 2026) | 16.51 | 44.00 | 29.50 | 21.50 |
| ALIGN (Liu et al. 2026) | 28.36 | — | 18.00 | — |
| AgentSquare (Shang et al. [17]) | 29.36 | — | 18.50 | — |
| Meta-Harness (Life rerun) (Lee et al. [9]) | 35.80 | 50.30 | 42.50 | 25.70 |
| AHE (Life rerun) (Lin et al. [10]) | 89.00 | 57.30 | 39.00 | 37.50 |
| Harness-R1 (paper) (Shao et al. [18]) | 29.10 | 55.70 | 38.60 | — |
| Local evaluations | ||||
| Life-Harness (local) (Xu, Wen, and Li 2026) | 87.77±1.91 | 64.11±0.38 | 41.33±0.29 | 36.81±0.00 |
| HookEvo (Sol, scope C) | 95.41±0.00 | 70.56±0.38 | 48.17±0.29 | 41.67±1.84 |
Table 1 (PDF p. 6).
Test success (%); local results show sample SD. Harness-R1 specifies Qwen3-4B only and tests 500 WebShop tasks (ours: 200). Life-Harness reports ALIGN and AgentSquare (Table 11) and reruns Meta-Harness and AHE (Table 1) (Xu, Wen, and Li 2026). Bold: best; underline: runner-up.
Test success (%) at high reasoning effort. The mean weights all benchmarks equally.
RQ3: How Do Improvers and Edit Scopes Shape the Harnesses?
We examine the selected harnesses in two comparisons. At fixed scope C, Table 4 links each improver’s gain over the bare executor to the mechanism it produced. With Sol fixed, Table 5 compares the successive scope gains and traces how the selected mechanisms use tool feedback.
| Benchmark | Mechanism | Mechanism | ||
| ALFWorld | +6.12 | Target-tracking instructions gain inventory updates from tool receipts. | +62.08 | The action check goes beyond call format: it reads inventory and can block departure before pickup. |
| DBBench | +0.67 | SQL naming guidance is supplemented by repair suggestions after a query fails. | +17.00 | A log of successful writes lets the harness block duplicate writes or early submission. |
| WebShop | +3.33 | The option checklist gains page feedback that highlights matching choices. | +10.50 | Search and checkout share option state, so a missing selection can block purchase. |
| OSBench | +1.85 | A receipt annotation tells the agent whether its command counted files or lines. | +2.08 | A written rule for file selection and aggregation replaces the output annotation. |
Table 5. Mechanisms evolved by Sol as edit scope expands. is the change in test success from the narrower to the wider scope, in percentage points.
How do gains vary with the mechanism? Under scope C, Sol yields the largest gain over the bare executor on every benchmark (Table 4). On WebShop, Luna’s checklist and Terra’s search instructions gain 1.17 and 3.33 points, respectively. Sol gains 18.67 points with a harness that records selected options and consults that record before checkout.
Which dependencies matter? On DBBench, both Luna and Sol act on query history. Luna asks for a second look after an empty result. Sol uses the outcome of a write to govern both a repeat attempt and submission. OSBench shows a different ordering: Terra uses both a command check and receipt annotations, while Sol obtains the highest score with a written counting rule.
How much does joint editing add beyond independent component edits? With Sol fixed, we compare two differences in test success on each benchmark. A edits skill text. B can revise one component per proposal. C can revise how one handler records evidence and how another uses it in the same proposal.
Where do independent edits fall short? Across benchmarks, mean success gains are 2.99 points from A to B and 22.92 from B to C. A-to-B gains range from 0.67 to 6.12 points (Table 5). B can already improve the information supplied to the agent. On ALFWorld it even has both inventory memory and an action check, but the check validates only call format. C connects those components: inventory now determines whether the harness permits the next move. The gain from B to C is 62.08 points, compared with 6.12 from A to B.
When is the second gain larger? DBBench and WebShop show the same pattern. Once a write receipt or an option selection becomes a condition on a later action, the B-to-C gain exceeds the A-to-B gain by 16.33 and 7.17 points, respectively. OSBench provides a contrasting case: C retains a counting instruction, and the two gains differ by only 0.23 points. Thus, the largest increases coincide with harnesses that use earlier observations to control later actions. The gains compare selected harnesses from separate searches, including a continued search for WebShop C.
Conclusion
HookEvo lets an improver revise the handlers that record tool feedback and those that use it in a single candidate. With a frozen Qwen3-4B executor, the selected Sol-C harnesses achieved the highest measured test means among the reported Qwen3-4B comparisons on all four benchmarks. Moving from skill-text edits to coordinated edits yielded different gains across improvers: 25.91 percentage points for Sol, 7.24 for Luna, and 5.75 for Terra on average. The retained harnesses also differed in how they used that scope. On WebShop, Sol linked option selection to a checkout check, while on OSBench its retained harness supplied a written counting rule.
Limitations. Training data allocation varied across some runs: some reused a fixed task pool, while others rotated through batches. These schedules expose the improver to different trajectories, so the contribution of data allocation to the observed performance differences remains unclear.
Next steps. First, we will test whether an improver can use execution traces to choose the edit scope for each proposal under a fixed search budget. Second, we will disable the handlers that write and read episode state, separately and together, to measure how their interaction affects task success.
Harness Evolution Algorithm
The A/B/C controllers implement the architecture in Figure 3: observe the current harness, propose a scoped edit, compare the candidate with its parent, and feed the measured decision into the next update. The editable scope determines the candidate representation. The executor, runtime hooks, and evaluation controller provide the surrounding execution structure.
Harness State and Runtime Interfaces
A harness consists of skill instructions and an executable composition . The runtime creates fresh state for each episode and invokes handlers at the corresponding execution events. An observation handler reads a tool call and its receipt; a guidance handler exposes relevant state in the next model context; an action handler checks a proposed call; and an explanation handler annotates tool feedback. These interfaces let an edit change how evidence is acquired, retained, and used in subsequent decisions.
Scope A replaces skill text. Scope B replaces one independent component: skill text, memory, an action check, or receipt interpretation. Unedited components are inherited, and executable components maintain separate state. Scope C replaces skill text or a composition of named mechanisms whose handlers can share episode state. A coordinated edit can therefore introduce a fact, its producer, and its downstream consumers together.
Diagnosis and Candidate Construction
The improver receives the current instructions and executable source, the available runtime interfaces, sampled successful and failed trajectories, and the preceding evaluation decision. The source and interfaces describe the parent’s existing capabilities. The trajectories reveal where those capabilities fail or succeed; the preceding decision supplies the measured effects of the last attempted repair.
A proposal identifies the editable aspect, supplies its replacement, and explains the evidence and intended behavioral change. Diagnosis and implementation are returned together. For a composed mechanism, the proposal specifies which handler records each fact and which handlers consume it. The host applies the replacement to a copy of the parent and checks the replacement format and executable syntax before evaluation.
Evolution Procedure
Algorithm 1 summarizes one search from initialization through held-out evaluation.
Selection and Feedback
Let denote the configured training objective, and let indicate a difference in the emitted hook outputs on paired tasks. The retention rule is
Algorithm 1 Feedback-Guided Harness Evolution
Input: initial harness , frozen executor, improver , edit scope , training schedule, optional validation set, and search budget .
Initialize: retained harness ; previous feedback .
Observe. While budget remains, obtain the next training batch and the parent outcomes, trajectories, and hook outputs. Select successful and failed traces as proposal evidence.
Attribute and propose. Give the parent source, runtime interfaces, sampled trajectories, previous feedback , and allowed edits . Obtain a diagnosis and one candidate edit.
Construct the candidate. Copy the parent and apply the scoped replacement to form . If it cannot be assembled, retain and pass the assembly result to the next round.
Execute and compare. Run through the runtime hooks with fresh episode state. Pair its results with the parent outcomes on matching tasks, trials, and seeds. Compare the training objective, emitted hook outputs, repaired failures, and regressions. Compare validation scores when a validation set is present.
Select. Retain if its training objective improves, its emitted hook outputs change, and its validation objective does not decrease when used. Otherwise retain .
Feed back. Set to this round’s proposal, measured outcomes, and retention decision. Continue from the retained harness.
Output: the retained harness and the sequence of evaluated edits and decisions. Evaluate retained checkpoints on held-out tasks after search. where is true if no validation set is used, and otherwise requires . Hook outputs comprise context guidance, action-check reasons, and receipt annotations; plugin-load events are excluded. The next proposal receives the latest decision, including both repairs and regressions. Accepted code persists across rounds, while runtime state is reset between episodes.
Correspondence to the A/B/C Implementation
The bundled controllers implement observation with score and trace_sample; model assembles the source, interface, sampled evidence, and previous feedback into the improver request. Its response binds the rationale to the replacement through the fields reason, aspect, and content. The install function realizes the scope-specific replacement. These operations correspond to the evidence inputs, improver workspace, and candidate block in Figure 3.
The runtime wrappers implement the diagram’s execution block: guide contributes to context assembly, check runs before tool execution, and observe followed by explain processes the receipt. B constructs independent memory, action, and receipt components; C calls create(state) to construct mechanisms sharing fresh episode state. The controllers then use measure and signature for paired scores and observable hook effects, record the retention decision, and provide it to the next model call. This closes the diagram’s retained-code and measured-feedback loop.
Improver Prompt and Scope-Specific Instructions
The following template reproduces the instruction text in the controllers’ model function. Angle-bracket placeholders replace the values inserted at each round. The same template is used for A, B, and C; the editable-aspect descriptions and supplied executable sources depend on scope.
Role: improve a frozen Qwen agent in <benchmark> by turning training observations into one reusable candidate edit.
Inputs: the current parent, visible training traces, previous measured feedback, and the runtime interfaces.
Editable aspects: <editable-aspect descriptions>. Choose exactly one aspect. Return its complete replacement in content and describe the evidence, expected behavior, and potential regression in reason. All other aspects are inherited. Each executable aspect is a self-contained JavaScript module, uses only its function arguments and its own local state, and is wired to its designated interface by the host. The host runs paired evaluation, records observed effects and decides promotion. The traces below are observations.
Parent: <parent identifier>
Interface reference: <runtime interface reference>
Current skill: <parent skill text>
Current executable aspects: <parent executable sources>
Previous measured feedback: <previous decision>
Training observations: <sampled training traces>
Editable-aspect descriptions. The controller inserts the following descriptions as a JSON object. A includes only skill; B includes skill, memory, action, and receipt; C includes skill and composition.
skill. Reusable strategy and task guidance as plain text.
memory. Episode-local state. JS export function create() returns {observe(call, receipt), guide()}. observe updates local facts; guide returns a short factual state summary.
action. One action precondition. JS export function create() returns {check(call)}. Return a reason string to ask the actor to revise, or undefined to continue.
receipt. One receipt interpretation or recovery rule. JS export function create() returns {explain(call, receipt)}. Return a short annotation or undefined.
composition. One coherent executable mechanism edit. Return JSON text in content with keys skill and code. code is a JavaScript module exporting create(state), returning an ordered array of named mechanisms {id, observe(call, receipt), guide(), check(call), explain(call, receipt)}. Handlers are optional. The host supplies episode-local shared state. Name which mechanism writes each fact and which other mechanism uses it. All mechanisms may be edited together when the proposed repair requires it.
For C, “own local state” in the common prompt is the episode-local state supplied to the composition; its mechanisms share that object as specified in the composition instruction. The controller supplies the parent source and runtime interfaces directly to the improver in Figure 3.
Evidence inserted into the prompt. Each sampled trajectory supplies its task identifier, native score, and opening and closing messages. Sampling draws from both successful and failed parent episodes, using the round identifier to seed the sampler. The previous-decision field is empty initially and thereafter contains the latest measured decision. The exact rendered prompt is saved before the improver call, so a proposal can be replayed with its original evidence. The bundled sampler specifies serialization and truncation details.
Candidate and Feedback Formats
The improver returns one JSON object. All three fields below are required strings, and the response schema permits no additional fields:
{
"aspect": "<permitted aspect>",
"content": "<complete replacement>",
"reason": "<rationale>"
}
The permitted aspects are those listed in A.6. For a skill edit, content is the replacement text. For B’s executable aspects, it is module source exporting create(). For C’s composition edit, it is a serialized JSON object with two fields, skill and code. The latter exports create(state) and returns an ordered array of named mechanisms. The following is an interface skeleton, with handler bodies supplied by the improver:
export function create(state) {
return [{
id: "mechanism-name",
observe(call, receipt) {
/* update state */
},
guide() { /* context guidance */ },
check(call) {
/* denial or undefined */
},
explain(call, receipt) {
/* annotate receipt */
}
}];
}
Handlers are optional. The host calls observation handlers before receipt-explanation handlers, adds guidance during context assembly, and applies action checks before native tool execution. This ordering implements the information path shown in Figure 3.
The feedback record contains candidate and parent identifiers, the batch, the edited aspect and proposal rationale, before/after measurements, optional validation measurements, the observed-effect flag, repaired and regressed task counts, and the adoption decision. Measurements include strict success and mean native reward; the configured objective determines promotion. Invalid assembly instead records the error and retains the parent. Only the latest decision is inserted into the next prompt; the sequence of decisions is saved separately.
Ablation Setup for Candidate Edit Scope
Executor and environments. We use a frozen Qwen3-4B-Instruct-2507 executor on ALFWorld, DBBench, WebShop, and OSBench. Each benchmark adapter supplies task initialization, native tools, environment feedback, and scoring. Training trajectories drive candidate generation and selection. Validation, where present, supplies the non-degradation check in Appendix A. Held-out evaluation follows the completed search.
Improvers and editable scopes. The study crosses GPT-6 Luna, GPT-6.1 Terra, and GPT-6.1 Sol, each at high reasoning effort, with scopes A, B, and C. The scope definitions below govern candidate construction within the common loop in Appendix A.
| Scope | Permitted update |
| A | Replace skill instructions. |
| B | Replace one independent skill, memory, action-check, or receipt component; inherit the others. |
| C | Replace skill instructions or jointly revise executable mechanisms and their shared episode state. |
Table 6. Editable representations in the A/B/C study.
Training batches and search budgets. In rotating-pool runs, we partition 300 distinct training tasks into six batches of 50 and cycle through the batches. Each round uses one batch to generate evidence for one proposed harness update and to compare the candidate with its parent. We limit the evidence considered at each update because long contexts can make it harder for the improver to focus on the steps relevant to a failure. Fixed-pool runs reuse pool each round. Most runs in the scope comparison have a 40-round budget; the ALFWorld Sol-C result in Table 3 comes from a 20-round run. Figure 4 shows the histories associated with the leaderboard checkpoints: 40 rounds each for ALFWorld, DBBench, and OSBench, and two successive 40-round stages for WebShop.
Evaluation procedure. Within each update, parent and candidate are compared on the same task, trial, and seed schedule under the benchmark’s training objective. The controller records score changes and observed execution effects before making the retention decision. The task manifests and objective are inputs to this procedure; the edit scope determines which replacements the improver may propose.
Reported measurements. The held-out sets contain 109 ALFWorld, 300 DBBench, 200 WebShop, and 144 OSBench tasks. Results report native task success. WebShop counts fully successful purchases. Headline evaluations use three executions. Table 3 reports the mean task success for each improver and edit scope. Appendix D defines checkpoint reporting and the evolution curves. Appendix E describes the resulting harness mechanisms.
Additional Method and Model Comparisons
| Executor | Method / harness | ALFWorld | DBBench | WebShop | OSBench | Source |
| Qwen3-4B: evolved artifacts and additional baselines | ||||||
| Qwen3-4B | Ours: Sol high | Local | ||||
| Qwen3-4B | ALIGN (released) (Liu et al. 2026) | – | – | Local | ||
| Qwen3-4B | ReAct [30] | – | – | – | Local | |
| Qwen3-4B | ReflAct [8] | – | – | – | Local | |
| Qwen3-4B | AutoManual [2] | – | – | – | Local | |
| Qwen3-4B | Harness-R1 patch [18] | – | – | – | Local | |
| Qwen3-4B | Prompt-evolving1 | 13.8 | 60.7 | 30.0 | 18.8 | (Xu, Wen, and Li 2026) |
| Qwen3-4B | SkillFM | 77.01 | – | 14.60 | – | [33] |
| Larger open-model executors | ||||||
| Qwen2.5-14B | Life-Harness | 83.49 | 66.00 | 45.00 | 40.97 | (Xu, Wen, and Li 2026) |
| Qwen2.5-32B | Life-Harness | 92.66 | 69.33 | 46.50 | 45.83 | (Xu, Wen, and Li 2026) |
| Qwen2.5-72B | Life-Harness | 85.32 | 71.33 | 48.00 | 47.22 | (Xu, Wen, and Li 2026) |
| Llama-3.3-70B | Life-Harness | 92.66 | 68.67 | 44.00 | 39.58 | (Xu, Wen, and Li 2026) |
| Qwen3.6-27B | Life-Harness | 89.91 | 74.33 | 43.00 | 56.94 | (Xu, Wen, and Li 2026) |
| Qwen3.6-35B-A3B | Life-Harness | 89.91 | 71.33 | 45.00 | 54.17 | (Xu, Wen, and Li 2026) |
| Frontier-model executors | ||||||
| GPT-5.5 high | Bare | 93.6 | 67.7 | 75.1 | 47.4 | (Xu, Wen, and Li 2026) |
| GPT-5.5 high | Life-Harness | 95.4 | 75.0 | 75.8 | 53.1 | (Xu, Wen, and Li 2026) |
| Opus 4.8 high | Bare | 97.2 | 71.7 | 73.8 | 50.4 | (Xu, Wen, and Li 2026) |
| Opus 4.8 high | Life-Harness | 98.1 | 74.3 | 82.7 | 50.8 | (Xu, Wen, and Li 2026) |
| Gemini 3.1 Pro | Bare | 96.3 | 76.5 | 67.3 | 50.0 | (Xu, Wen, and Li 2026) |
| Gemini 3.1 Pro | Life-Harness | 96.3 | 78.4 | 68.1 | 48.6 | (Xu, Wen, and Li 2026) |
| Additional optimization methods | ||||||
| GPT-5.5 | TextGrad | 82.80 | – | – | – | [31, 28] |
| GPT-5.5 | GEPA | 85.80 | – | – | – | [1, 28] |
| GPT-5.5 | SkillOpt | 95.50 | – | – | – | [28] |
| GPT-4o | AgentSquare | 69.50 | – | – | – | [17] |
| GPT-4o | ADAS | 54.30 | – | – | – | [17] (Hu, Lu, and Clune 2025) |
| GPT-4o | ReflAct | 93.30 | – | – | – | [8] |
| GPT-4-turbo | AutoManual | 97.40 | – | – | – | [2] |
| GPT-3.5 series | AutoGuide | 79.10 | – | 46.00 | – | (Fu et al. 2024) |
| PaLM-540B | ReAct | 57.00 | – | 40.00 | – | [30] |
The evolved Qwen3-4B harnesses exceed the displayed Life-Harness Qwen2.5-14B scores on all four benchmarks and the Qwen2.5-32B scores on ALFWorld, DBBench, and WebShop.
Table 7. Comparison of evolved Qwen3-4B harnesses with additional methods and larger executors. Scores are test success (%); local measurements report mean and sample SD. Sources identify the numerical evaluations.
Metric Definitions and Reporting
Test success and repeated execution. For held-out tasks and repeat , let denote native task success. The repeat-level percentage is . We report the mean over the available complete repeats and their sample standard deviation:
Local headline evaluations use three repeats. Table 3 reports success rates only. Luna and Terra under C on DBBench and OSBench each use one execution. WebShop success counts fully successful purchases.
Baseline-adjusted gains and error bars. Gain is measured test success minus the Life-Harness bare-Qwen3-4B reference (Xu, Wen, and Li 2026): 16.51%, 44.00%, 29.50%, and 21.50% for ALFWorld, DBBench, WebShop, and OSBench. Error bars show the sample SD of repeated checkpoint evaluations.
Evolution traces. Candidate training includes each recorded proposal. Retained training uses the accepted candidate’s score, or its evaluated parent’s score if the proposal is rejected, on that round’s task batch. Test markers identify measured checkpoints. The horizontal axis spans the full search budget. Figure 4 averages available training scores over the latest six search rounds for the rotating-batch panels; it preserves the initial measured point and leaves the fixed-pool ALFWorld and OSBench scores unaveraged. The window resets at the WebShop stage boundary. Early rounds average the available recorded scores.
Harness Architectures and Implementation Details
ALFWorld
DBBench
Figure 6. DBBench harness. Query contracts constrain SQL construction. The write-workflow, result-bridge, sql-recovery, and budget-conductor plugins maintain local records. The result bridge parses SQL receipts into final-answer arguments.
WebShop
Figure 7. WebShop harness. The search-evidence and option-ledger plugins use the same resume policy and share an agent-keyed WeakMap. Receipt observations update product and option evidence used in later search and purchase checks.
OSBench
Figure 8. OSBench harness. The retained skill in config.skill is added at prompt assembly. The executable composition is empty. The frozen executor uses the native shell tools and submits through the native answer action.
Core Implementation Excerpts
These excerpts show the main state updates, decisions, or hook bindings of each installed plugin in Figure 5–8. The WebShop helper modules and the OSBench composition are included because they explain how state and skills are used. Comments mark omissions, and long lines wrap for display.
Figure 5. ALFWorld harness. The action-hint plugin parses accepted tool receipts and records episode state. Context assembly and the pre-execution guard use that state. The task-guide plugin supplies the household procedure.
ALFWorld
task-guide.mjs. Adds the household procedure to the assembled system prompt.
ac.on(’system-prompt/assemble’, async (
assembly, context, next) => {
// ...
return {...result,sections:[...result.
sections,{name,order:25,text,interpolate
:false}]};
action-hint.mjs. Reads accepted receipts into episode state and checks the next action against the current task facts. The guard uses the state to recommend a recovery action.
ac.on(’tools/post-execute’, async (call,
result, next) => {
const decision = await next();
if (decision.kind !== ’accept’) return
decision;
const raw = getRawBusinessResult(call.
callId);
observe(typeof raw?.content === ’
string’ ? raw.content : textOf(result.
content));
// ...
const recovery = recommend();
const skippedPickup = !held &&
recovery?.startsWith(’take ’ + target +
’ ’) && action !== recovery;
const emptyLamp = lamp && String(
action).startsWith(’use ’ + lamp + ’ ’)
&& held.split(’ ’)[0] !== target;
if (recovery && (!actions.includes(
action) || skippedPickup || emptyLamp))
{
recoveries++;
}
DBBench
schema-contract.mjs. Uses the exact schema identifiers and checks reserved column names before SQL execution.
const t=p.taskContext?.table||{}, columns
=(t.table_info?.columns||[]).map(x=>x.
name);
const quote=s=>’‘’+String(s).replaceAll
(’‘’,’‘‘’)+’‘’;
// ...
if(config.guard)p.ac.on(’tools/pre-execute
’,async(call,next)=>{
// ...
const bad=columns.filter(x=>/^rank$|^
group$|^order$/i.test(x)).find(x=>new
RegExp(’\\b’+x+’\\b’,’i’).test(masked));
literal-contract.mjs. Collects example cell values and exposes guidance on exact literal matching at prompt assembly.
const samples=cols.map((col,i)=>({column:
col.name,examples:[...new Set(rows.map(r
=>String(r[i]??’’)))].slice(0,config.
samples||3)}));
// ...
p.ac.on(’system-prompt/assemble’,async(a,c
,next)=>{
const r=await next();p.audit({method_id:
name,hook:’system-prompt/assemble’,text
});return {...r,sections:[...r.sections
,{name,order:30,text,interpolate:false
}]};
write-workflow.mjs. Records successful writes and attaches checks for duplicate writes and premature submission.
p.ac.on(’tools/post-execute’,async(call,
result,next)=>{
// ...
if(/^(INSERT|UPDATE|DELETE)\b/i.test(q.
trim())&&!/^\d{4} \(/.test(raw)&&!p.
getRawBusinessResult(call.callId)?.error
){writes.push(q);checked=false;}
// ...
if(config.dedupe)p.ac.on(’tools/pre-
execute’,async(call,next)=>{
// ...
if(config.proof)p.ac.on(’tools/pre-execute
’,async(call,next)=>{
result-bridge.mjs. Parses SELECT receipts into values or tuples for final-answer arguments.
if(!/^SELECT\b/.test(args?.query?.trim()
||’’))return d;
latest=raw;const rows=rowsOf(raw);answers
=rows.map(row=>{const cells=cellsOf(row)
;return cells.length===1?decode(cells
[0]):row;});
if(!config.annotate||!rows.length)return
d;
sql-recovery.mjs. Keeps a local record of SQL errors and counts repeated failures.
const q=args?.query||’’,raw=p.
getRawBusinessResult(call.callId)?.
content||’’;let annotation=’’;
if(/^ \d{4} \(/.test(raw)){
last=errors.push(raw.slice(0,300));
repeats.set(q,(repeats.get(q)||0)+1);
budget-conductor.mjs. Tracks SQL calls, writes and errors, and obtains the current step for budget guidance.
const q=args?.query||’’,raw=p.
getRawBusinessResult(call.callId)?.
content||’’;last=q;
if(/^ \d{4} \(/.test(raw))errors++;else if
(/^(INSERT|UPDATE|DELETE)\b/i.test(q.
trim()))write++;
// ...
p.ac.on('system-prompt/assemble',async(a,c
,next)=>{
const r=await next();const step=p.
getVisibleInput()?.step||1;
numeric-calendar.mjs. Uses a pre-execution check to catch numeric ordering and aggregation over text columns.
p.ac.on('tools/pre-execute',async(call,
next)=>{
// ...
if(new RegExp('\\b(?:MIN|MAX)\\(\\s*'+
token+'\\s*\\)','i').test(q)||new RegExp
('\\bORDER\\s+BY\\s+'+token+'(?:\\s+(?:
ASC|DESC))?(?:\\s+LIMIT|\\s*;?\\s*$|\\s
*,)','i').test(q)){
intent-contract.mjs. Separates fields used to select a row from fields used to assign new values.
const selector=m&&field(m[1]),target=m&&
field(m[3]);
const plan=selector&&target?{selector:{
column:selector,value:m[2]},assignment:{
column:target,value:m[4]}}:null;
WebShop
search-evidence.mjs. Installs the shared policy and refreshes the visible page and price bound from tool receipts.
installResumeRole(ctx,name,resumeFeatures);
// ...
const previous=latest;const before=
actions(previous);latest=raw;
const obs=raw.split('Available Actions:')
[0];
const instruction=obs.match(/Instruction
:\s*\[SEP\]\s*(.*?)\[SEP\]/s)?.[1]||'';
const bound=instruction.match(/price
lower than\s*([\d.]+)/i);if(bound)upper=
Number(bound[1]);
option-ledger.mjs. Installs the same policy and checks for blocking option issues at checkout.
installResumeRole(ctx,name,resumeFeatures);
// ...
ac.on('tools/pre-execute',async(call,next)
=>{
// ...
if(call.name==='click_action'&&norm(args.
value)==='buy now'&&(blockingIssues.
length||fortuneTypeIssue||
flashCapacityIssue||truffleTypeIssue)&&!
warned.has(currentId)&&warningCount<2){
resume-policy.mjs. Reuses task-local state keyed by agent context and update it from accepted tool receipts.
const states=new WeakMap();
// ...
let st=states.get(ac);
// ...
ac.on('tools/post-execute',async(call,
result,next)=>{
const d=await next();if(d.kind!=='accept
')return d;const receipt=
getRawBusinessResult(call.callId);if(!
receipt)return d;
const f=observe(st,call,result,receipt,
Number(getVisibleInput().step)||st.step
+1);const notes=[];
visible-state.mjs. Extracts option groups by matching page values against the visible clickable actions.
const clickable=new Set(actions(raw));const
groups=[];let group;
for(let i=start;i<end-1;i++){
if(!clickable.has(parts[i])){group={label:
parts[i],values:[]};groups.push(group);}
else if(group)group.values.push(parts[i]);
}
return groups.filter(g=>g.values.length);
OSBench
scale-slot.mjs. Adds the retained filesystem instructions at prompt assembly. The wrapper also accepts guidance from executable mechanisms when any are installed.
ac.on('system-prompt/assemble', async (
assembly, context, onward) => {
const result = await onward();
const guidance = mechanisms.map(m => m
.guide?.()).filter(Boolean);
const text = [config.skill, ...
guidance].filter(Boolean).join('\n');
if (!text) return result;
scale-composition.mjs. Returns an empty mechanism list for the retained harness.
export function create() { return []; }
Retained skill. The instructions are stored in config.skill in composition.json. They specify the path and scope, selection rules, target quantity and units. The unselected memory, action and receipt modules are empty stubs.
References
- [1]Agrawal, L. A.; Tan, S.; Soylu, D.; Ziems, N.; Khare, R.; Opsahl-Ong, K.; Singhvi, A.; Shandilya, H.; Ryan, M. J.; Jiang, M.; Potts, C.; Sen, K.; Dimakis, A.; Stoica, I.; Klein, D.; Zaharia, M.; and Khattab, O. 2026. GEPA: Reflective Prompt Evolution Can Outperform Reinforcement Learning. In ICLR.arxiv.org/abs/2507.19457
- [2]Chen, M.; Li, Y.; Yang, Y.; Yu, S.; Lin, B.; and He, X. 2024. AutoManual: Constructing Instruction Manuals by LLM Agents via Interactive Environmental Learning. In Advances in Neural Information Processing Systems, vol- ume 37, 589–631.arxiv.org/abs/2405.16247
- [3]Chen, T.; Lu, S.; Zhao, K.; Meng, W.; Teng, H.; Li, T.; Li, C.; Liu, X.; Liang, J.; Zhang, Z.; Xie, Y.; Qiu, H.; Shao, K.; and Luan, J. 2026. HarnessX: A Composable, Adaptive, and Evolvable Agent Harness Foundry. arXiv preprint arXiv:2606.14249.arxiv.org/abs/2606.14249
- [4]DeepSeek AI. 2026. DeepSeek Harness: Everything is a Plugin. https://github.com/deepseek-ai/deepseek-harness.
- [7]Khattab, O.; Singhvi, A.; Maheshwari, P.; Zhang, Z.; Santhanam, K.; Vardhamanan, S.; Haq, S.; Sharma, A.; Joshi, T. T.; Moazam, H.; Miller, H.; Zaharia, M.; and Potts, C. 2024. DSPy: Compiling Declarative Language Model Calls into Self-Improving Pipelines. In ICLR.arxiv.org/abs/2310.03714
- [8]Kim, J.; Rhee, S.; Kim, M.; Kim, D.; Lee, S.; Sung, Y.; and Jung, K. 2025. ReflAct: World-Grounded Decision Making in LLM Agents via Goal-State Reflection. In Proceedings of the 2025 Conference on Empirical Methods in Natural Language Processing, 33433–33465.arxiv.org/abs/2505.15182
- [9]Lee, Y.; Nair, R.; Zhang, Q.; Lee, K.; Khattab, O.; and Finn, C. 2026. Meta-Harness: End-to-End Optimization of Model Harnesses. In Proceedings of the Third Conference on Language Modeling.arxiv.org/abs/2603.28052
- [10]Lin, J.; Liu, S.; Pan, C.; Lin, L.; Dou, S.; Xi, Z.; Huang, X.; Yan, H.; Han, Z.; Gui, T.; and Jiang, Y.-G. 2026. Agentic Harness Engineering: Observability-Driven Automatic Evolution of Coding-Agent Harnesses. arXiv preprint arXiv:2604.25850.arxiv.org/abs/2604.25850
- [11]Liu, K.; Lei, X.; Wang, Z.; Li, P.; and Liu, Y. 2026. Agent-Environment Alignment via Automated Interface Generation. In Proceedings of the 15th International Joint Conference on Natural Language Processing and the 5th Conference of the Asia-Pacific Chapter of the Association for Computational Linguistics (Volume 1: Long Papers), 1480–1512.arxiv.org/abs/2505.21055
- [13]Lou, X.; Lázaro-Gredilla, M.; Dedieu, A.; Wendelken, C.; Lehrach, W.; and Murphy, K. P. 2026. AutoHarness: improving LLM agents by automatically synthesizing a code harness. arXiv preprint arXiv:2603.03329.arxiv.org/abs/2603.03329
- [14]Madaan, A.; Tandon, N.; Gupta, P.; Hallinan, S.; Gao, L.; Wiegrefe, S.; Alon, U.; Dziri, N.; Prabhumoye, S.; Yang, Y.; Gupta, S.; Majumder, B. P.; Hermann, K.; Welleck, S.; Yazdanbakhsh, A.; and Clark, P. 2023. Self-Refine: Iterative Refinement with Self-Feedback. In Advances in Neural Information Processing Systems, volume 36, 46534–46594.arxiv.org/abs/2303.17651
- [15]Opsahl-Ong, K.; Ryan, M. J.; Purtell, J.; Broman, D.; Potts, C.; Zaharia, M.; and Khattab, O. 2024. Optimizing Instructions and Demonstrations for Multi-Stage Language Model Programs. In Proceedings of the 2024 Conference on Empirical Methods in Natural Language Processing, 9340–9366.
- [16]Pryzant, R.; Iter, D.; Li, J.; Lee, Y.; Zhu, C.; and Zeng, M. 2023. Automatic Prompt Optimization with “Gradient Descent” and Beam Search. In Proceedings of the 2023 Conference on Empirical Methods in Natural Language Processing, 7957–7968.arxiv.org/abs/2305.03495
- [17]Shang, Y.; Li, Y.; Zhao, K.; Ma, L.; Liu, J.; Xu, F.; and Li, Y. 2025. AgentSquare: Automatic LLM Agent Search in Modular Design Space. In ICLR.arxiv.org/abs/2410.06153
- [18]Shao, S.; Zhang, K.; Li, Q.; Wang, S.; Wang, H.; Jiao, W.; Lu, Y.; Guo, Y.; Liu, W.; and Zhang, W. 2026. Harness-R1: Learning to Edit Executable Runtime Harnesses from Agent Failure Trajectories. arXiv preprint arXiv:2608.02276.arxiv.org/abs/2608.02276
- [19]Shi, Y.; Miao, Y.; Chen, Y.; Zhang, J.; Sun, Y.; Song, X.; Wang, X.; and Zhang, A. 2026. PluginRSI: Recursive Improvement of Agent Harnesses with Reusable Plugins. arXiv preprint arXiv:2609.32423.arxiv.org/abs/2609.32423
- [20]Shinn, N.; Cassano, F.; Gopinath, A.; Narasimhan, K.; and Yao, S. 2023. Reflexion: language agents with verbal reinforcement learning. In Advances in Neural Information Processing Systems, volume 36, 8634–8652.arxiv.org/abs/2303.11366
- [21]Shridhar, M.; Yuan, X.; Côté, M.-A.; Bisk, Y.; Trischler, A.; and Hausknecht, M. 2021. ALFWorld: Aligning Text and Embodied Environments for Interactive Learning. In ICLR.arxiv.org/abs/2010.03768
- [22]Wang, G.; Xie, Y.; Jiang, Y.; Mandlekar, A.; Xiao, C.; Zhu, Y.; Fan, L.; and Anandkumar, A. 2024a. Voyager: An Open-Ended Embodied Agent with Large Language Models. Transactions on Machine Learning Research.arxiv.org/abs/2305.16291
- [23]Wang, X.; Chen, Y.; Yuan, L.; Zhang, Y.; Li, Y.; Peng, H.; and Ji, H. 2024b. Executable Code Actions Elicit Better LLM Agents. In Proceedings of the 41st International Conference on Machine Learning, volume 235 of Proceedings of Machine Learning Research, 50208–50232.arxiv.org/abs/2402.01030
- [25]Yang, A.; Li, A.; Yang, B.; Zhang, B.; Hui, B.; Zheng, B.; Yu, B.; Gao, C.; Huang, C.; Lv, C.; Zheng, C.; Liu, D.; Zhou, F.; Huang, F.; Hu, F.; Ge, H.; Wei, H.; Lin, H.; Tang, J.; Yang, J.; Tu, J.; Zhang, J.; Yang, J.; Yang, J.; Zhou, J.; Zhou, J.; Lin, J.; Dang, K.; Bao, K.; Yang, K.; Yu, L.; Deng, L.; Li, M.; Xue, M.; Li, M.; Zhang, P.; Wang, P.; Zhu, Q.; Men, R.; Gao, R.; Liu, S.; Luo, S.; Li, T.; Tang, T.; Yin, W.; Ren, X.; Wang, X.; Zhang, X.; Ren, X.; Fan, Y.; Su, Y.; Zhang, Y.; Zhang, Y.; Wan, Y.; Liu, Y.; Wang, Z.; Cui, Z.; Zhang, Z.; Zhou, Z.; and Qiu, Z. 2025. Qwen3 Technical Report. arXiv preprint arXiv:2505.09388.arxiv.org/abs/2505.09388
- [26]Yang, C.; Wang, X.; Lu, Y.; Liu, H.; Le, Q. V.; Zhou, D.; and Chen, X. 2024a. Large Language Models as Optimizers. In ICLR.arxiv.org/abs/2309.03409
- [27]Yang, J.; Jimenez, C.; Wettig, A.; Lieret, K.; Yao, S.; Narasimhan, K.; and Press, O. 2024b. SWE-agent: Agent-Computer Interfaces Enable Automated Software Engineering. In Advances in Neural Information Processing Systems, volume 37, 50528–50652.arxiv.org/abs/2405.15793
- [28]Yang, Y.; Gong, Z.; Huang, W.; Yang, Q.; Zhou, Z.; Huang, Z.; Li, Y.; Gao, X.; Dai, Q.; Liu, B.; Qiu, K.; Yang, Y.; Chen, D.; Yang, X.; and Luo, C. 2026. SkillOpt: Executive Strategy for Self-Evolving Agent Skills. In NeurIPS 2026.
- [29]Yao, S.; Chen, H.; Yang, J.; and Narasimhan, K. 2022. Web-Shop: Towards Scalable Real-World Web Interaction with Grounded Language Agents. In Advances in Neural Information Processing Systems, volume 35, 20744–20757.arxiv.org/abs/2207.01206
- [30]Yao, S.; Zhao, J.; Yu, D.; Du, N.; Shafran, I.; Narasimhan, K.; and Cao, Y. 2023. ReAct: Synergizing Reasoning and Acting in Language Models. In ICLR.arxiv.org/abs/2210.03629
- [31]Yuksekgonul, M.; Bianchi, F.; Boen, J.; Liu, S.; Lu, P.; Huang, Z.; Guestrin, C.; and Zou, J. 2025. Optimizing generative AI by backpropagating language model feedback. Nature, 639: 609–616.DOI
- [32]Zhang, J.; Xiang, J.; Yu, Z.; Teng, F.; Chen, X.; Chen, J.; Zhuge, M.; Cheng, X.; Hong, S.; Wang, J.; Zheng, B.; Liu, B.; Luo, Y.; and Wu, C. 2025. AFlow: Automating Agentic Workflow Generation. In ICLR.arxiv.org/abs/2410.10762
- [33]Zhang, Z.; He, J.; Zhang, Y.; and Pan, J. Z. 2026. SkillFM: Generating Skills for LLM Agents via Latent Flow Matching. arXiv preprint arXiv:2609.39382.arxiv.org/abs/2609.39382
- [34]Zhao, A.; Huang, D.; Xu, Q.; Lin, M.; Liu, Y.-J.; and Huang, G. 2024. ExpeLe: LLM Agents Are Experiential Learners. In AAAI, 19632–19642.arxiv.org/abs/2308.10144







