Skip to content

Menu

WorksComputer Science

HarnessNet: Feedback-driven Hierarchical Joint Harness Evolution for Multi-agent Systems

Download PDFView on arXiv

Ask your agent about this work

Your agent reads this work through Valency, with its citations and similar works. Paste this at the start of a chat.

Use the Valency MCP. Work: W_72y7h3hv. Fetch it with get_paper_by_id, then find its nearest works with find_similar_papers and tell me what it adds.

Works with any MCP client. Not connected yet? Connect your agent

Abstract

AI agents can evolve by using environment feedback to revise their harnesses, the software managing model inputs, tool use, memory, and execution, while keeping foundation models frozen. Existing studies focus on single agents, leaving joint harness evolution in multi-agent systems (MAS) underexplored. A single global optimizer faces growing context and workload as the system scales, while access restrictions may prevent sharing agent internals or system-wide feedback. We propose HarnessNet, a framework for hierarchical harness evolution in MAS. Its basic unit, Agentron, comprises an evolvable forward harness, a foundation model, and a local optimizer that can observe and modify only that harness. Agentrons form a layered graph through which environment feedback propagates backward, with upstream optimizers receiving node-specific feedback from the downstream layer. This decomposes joint harness evolution into smaller, coordinated tasks with separate contexts, reducing individual optimizers' context and workload while keeping access local. Optimizers need not access all agent trajectories or raw environment feedback. Experiments on AgentBench with multiple foundation models demonstrate the feasibility of training HarnessNet. Compared with a single global optimizer, HarnessNet achieves comparable performance gains while respecting local privacy and requiring fewer tokens and less time per optimizer call. A migration study shows that the evolved harnesses remain jointly effective after replacing the foundation models, suggesting transferability across models.

Introduction

The behavior of Large Language Model (LLM) based agents depends on both the underlying models and the software infrastructure ([48] (Hu, Lu, and Clune 2025)). Agent development therefore places growing attention on refining the software that organizes and directs model capabilities. This trend reflects an emerging paradigm shift in AI system optimization: from a primary focus on model weights toward model-external components that govern system behavior, release or extend the capabilities attainable with a given foundation model. Examples include prompt engineering ([22, 38]), context engineering ([28, 36]), and, more recently, harness engineering ([53, 26]). Expressed in natural language and code, these software components and their revisions are directly accessible to human inspection and audit, supporting efforts to improve system security and controllability. Viewing the harness itself as an optimization target motivates harness evolution, which improves the agentic system through iterative harness refinement while freezing the foundation models.

Recently harness evolution studies focus on the single-agent scenario ([17, 20, 16, 24, 13] (Xu, Wen, and Li 2026)), leaving the joint harness evolution in Multi-agent System (MAS) underexplored. In single-agent approaches, people use a coding agent as the optimizer. This optimizer analyzes the agent’s execution trajectories and modifies its harness based on environment feedback. The natural extension to MAS is to have a single centralized optimizer which observes the trajectories of all agents and modifies their harnesses together. However, such a global optimizer extension faces challenges: (1) as the system scales up, this one-for-all design has a growing context length and workload burden, which can degrade its effect ([21, 8] (Du et al. 2025)); (2) in scenario with distinct access constraints, agents may not be able to expose their internal trajectories to a shared optimizer ([2, 14] (El Yagoubi, Badu-Marfo, and Al Mallah 2026)), or directly access the environment feedback of the whole system. These limitations motivate a solution that decomposes MAS harness evolution into small, semi-independent local tasks while coordinating harness updates across agents, using only local feedback. In each task, optimizer visibility and authority are restricted to the agent being updated and thus respect access boundaries.

To address the gap and challenges, we propose HarnessNet, a framework of hierarchical, feedback-driven joint harness evolution for MAS. Its fundamental agentic unit, Agentron, couples an evolvable agent harness with a local optimizer instance, whose access and authority are confined to that unit. HarnessNet organizes Agentrons into a layered supergraph, and introduces hierarchical, access-constrained joint evolution of agent harnesses. Downstream task feedback is progressively translated into node-specific optimization signals, enabling coordinated updates without centralizing all execution traces. Experiments on AgentBench (Liu et al. [23]) demonstrate significant improvements in task performance through iterative hierarchical harness evolution. Further migration studies show that evolved harnesses retain useful task-specific mechanisms across different foundation models. Contributions include:

  1. We introduce HarnessNet for feedback-driven joint harness evolution in MAS, and its basic unit Agentron.

  1. We develop an automated task-specific HarnessNet initialization procedure and train several minimal HarnessNets on AgentBench tasks. Results show that automated initialization is feasible, so is MAS-scale harness evolution through hierarchical feedback-driven process.

  1. We assess the transferability of evolved HarnessNet systems through migration studies across foundation models. Results indicate that task-specific rules learned within harnesses can remain jointly effective on different models.

  1. We compare approaches with hierarchical evolution and centralized global optimizer. Hierarchical evolution produces competitive training effects while constraining local optimizer access and reducing per-optimizer-call cost.

Agent Improvement Beyond Model Weights

Beyond the foundation model, an agent relies on semantic artifacts that shape its behavior and execution strategy. Refining these artifacts offers a way to improve agent performance without updating model weights. ProTeGi (Pryzant et al. [33]), OPRO (Yang et al. [51]), PromptAgent (Wang et al. [44]), and GEPA (Agrawal et al. [1]) optimize task instructions through iterative search and feedback, while MemAPO (Liang et al. [18]) accumulates reusable strategies and failure patterns to guide prompt refinement. Context-oriented approaches include Context Language Models (Shao et al. [39]) and Agentic Context Engineering (Zhang et al. [60]), complemented by ACON’s feedback-driven context compression (Kang et al. [15]) and HiAgent’s hierarchical working memory management (Hu et al. 2025). Reflexion (Shinn et al. [40]), A-MEM (Xu et al. 2025), and Dynamic Cheatsheet (Suzgun et al. [41]) improve the reuse of past experience through textual reflection, memory organization, and persistent strategy accumulation. AutoSkill (Yang et al. [52]), MUSE-Autoskill (Lin et al. [19]), CoEvoSkills (Zhang et al. [56]), and SkillErd (Wang et al. [43]), and MetaSkill-Evolve (Wang et al. [47]) further explore the refinement of reusable agent skills. These methods establish prompts, context, and skills as targets for agent improvement beyond model weights. Moreover, TextGrad (Yuksekgonul et al. [54]) backpropagates textual feedback instead of gradients to optimize compound AI systems, introducing human-friendly evolution signals.

Agent Harness Evolution

Agent harness evolution extends individual artifact refinement to the agent harness, the broader agent software infrastructure, as the optimization target. SICA (Robeyns, Szummer, and Aitchison [37]), Darwin Gödel Machine (Zhang et al. [59]), and MOSS (Cai et al. [3]) show that coding agents can revise their own software to create agent substrates. Meta-Harness searches over complete harness implementations using source code, traces, and scores (Lee et al. [17]). AHE structures harness components and execution evidence to support observable edits (Lin et al. [20]). Self-Harness couples model-specific weakness discovery with proposal validation (Zhang et al. [58]). Life-Harness (Xu, Wen, and Li 2026), Continual Harness (Karten et al. [16]), and Adaptive Auto-Harness (Liu et al. [24]) further extend harness evolution to runtime interventions and non-stationary task streams. MILO (Jana et al. [12]) uses multi-agent to optimize an agent harness. However, these works focus on single agent harness evolution, leaving underexplored the scenario of refining agent harnesses in MAS with end-to-end feedback. HarnessNet closes this gap by introducing a joint harness evolution process through hierarchical feedback propagation and node-specific evolution.

Multi-agent System (MAS) Evolution

Recent studies study different parts of general MAS evolution. DyLAN (Liu et al. [25]) selects task-specific agent teams and adapts communication structures. GPT-Swarm (Zhuge et al. [63]) represents language agents as optimizable graphs and updates node prompts and graph connectivity, while Agentic Supernet (Zhang et al. [55]) searches over query-dependent multi-agent architectures. ANN (Ma et al. 2026) combines layered execution with textual backpropagation to refine prompts and collaboration structures. MASS (Zhou et al. [62]) coordinate the optimization of agent prompts and collaboration structures. MASPO (Wang et al. [46]) jointly refines agent prompts by evaluating their effects on downstream agents, whereas AgentGrad (Chu et al. [5]) uses agent-level interventions to identify failure sources and guide targeted prompt updates. EvoAgentX integrates prompt and workflow optimizers (Wang et al. [45]). Beyond these approaches, TPGO (He et al. 2026) represents MAS textual configurations as a Textual Parameter Graph and optimizes its node content and structure. Autogenesis (Zhang et al. [61]) provides versioned resource interfaces and a closed-loop protocol for managing and evolving heterogeneous agent components. These works mostly investigated agent selection, prompt refinement and workflow search in MAS, leaving the broader harness evolution understudied. To fill this gap, HarnessNet treats the MAS harnesses as the optimization target.

EvolveNet (Nie et al. [29]) aggregates multiple program adaptations to evolve a shared harness across agents. In contrast, HarnessNet coordinates hierarchical local updates to execution strategies, input-output processing, and memory across heterogeneous agent harnesses.

Methods

Agentron

We introduce Agentron, a harness-based evolvable AI unit whose evolution is driven by its execution trajectories and downstream feedback. It is defined as

A=(m,h,O),(1)A = (m, h, \mathcal{O}), \tag*{(1)}

which contains three components: (1) a frozen Large Language Model (LLM) mm, which serves as the foundation model and provides reasoning capability through text; (2) a modifiable Forward Harness (FH) hh, which orchestrates interactions with the model and defines the unit’s local behaviour, including context processing, tool use, and input-output handling; and (3) a frozen optimizer O\mathcal{O}, an independent coding agent that receives outer feedback, analyzes execution trajectories, modifies the forward harness at the code level, and, when applicable, generates feedback for upstream units according to the code changes in forward harness and the upstream inputs as recorded in the execution trajectories.

As illustrated in Figure 1-Left, Agentron operates in two phases. In the forward phase, given a query from upstream units, denoted by xx, it produces a response yy and an execution trace τ\tau that records evidence for subsequent analysis:

Agentron and Agentron expansibility

Figure 1. (Left) Agentron; (Right) Agentron Expansibility

(y,τ)=A.Forward(m,h,x).(2)(y, \tau) = A.\mathit{Forward}(m, h, x). \tag*{(2)}

In the backward phase, given downstream feedback ss and the forward trace τ\tau, the frozen optimizer O\mathcal{O} proposes an updated harness h′h' and generate feedbacks ff for upstream units when applicable, following the optimizer prompt in Appendix § 11.3:

(h′,f)=A.Backward(O,h,τ,s).(3)(h', f) = A.\mathit{Backward}(\mathcal{O}, h, \tau, s). \tag*{(3)}

During this two-phase process, the foundation model MM remains unchanged in both phases. Only forward harness hh is updated. An Agentron can receive messages from multiple upstream units and broadcast outputs to multiple downstream units. Its harness determines how incoming inputs are transformed and aggregated, while its optimizer can generate unit-specific feedback for upstream units. Each intermediate response feeds the downstream units as a query and local feedback as evolving signal for upstream units. This design supports building of cascade systems composed of multiple Agentron units through sequential stacking or parallel branching, with the task environment as both the starting point and the endpoint, as illustrated in Figure 1-Right.

HarnessNet

We introduce HarnessNet, a layered multi-agent system composed of multiple Agentron units. Its backbone is represented by the non-cyclic directed graph

G=(V1,…,VL,E),(4)G = (V_1, \ldots, V_L, E), \tag*{(4)}

where

Vℓ={viℓ∣1≤i≤Nℓ}(5)V_\ell= \{v_i^\ell\mid1 \le i \le N^\ell\} \tag*{(5)}

is the set of Agentron nodes in layer ℓ\ell. Each node is an Agentron of the form

viℓ=(miℓ,hiℓ,Oiℓ),(6)v_i^\ell= (m_i^\ell, h_i^\ell, \mathcal{O}_i^\ell), \tag*{(6)}

and

E=⋃ℓ=1L−1(Vℓ×Vℓ+1)(7)E = \bigcup_{\ell=1}^{L-1} (V_\ell\times V_{\ell+1}) \tag*{(7)}

specifies full connectivity between adjacent layers.

As illustrated in Figure 2-Left, HarnessNet operates through a forward process and a backward process.

The dual-phase of HarnessNet and propagation of feedback

Figure 2. The dual-phase of HarnessNet (Left; some links are omitted for clarity) and the propagation of feedback (Right).

In the forward process (Algorithm 1), nodes are executed in topological order following Eq. (2). Each node receives the outputs of the connected nodes in the preceding layer. Its forward harness transforms and aggregates these messages, then it goes through a multi-round agentic reasoning process before producing and broadcasting outputs for the next layer. The first layer receives the task input from the environment, while the last layer returns the system response. Nodes in intermediate layers process information based on their roles and the behavior specified by their forward harnesses. By default, the first and last layers each contain a single node, although multiple nodes can be used to handle multiple environment inputs or outputs. Local parallelization is possible because nodes in the same layer can forward independently.

In the hierarchical backward process (Algorithm 2), environmental feedback is received by nodes in the last layer. Nodes are then evolved layer by layer in the reverse topological order, following Eq. (3). Each local optimizer instance updates current node forward harness after analyzing their own forward traces and local downstream feedback. Then, where applicable, feedback are generated after considering the resulting harness revisions and the upstream nodes forward outputs. This process enables node-specific local feedback generation and aggregation as illustrated in Figure 2-Right, while allowing nodes in the same layer to evolve in parallel.

Algorithm 1: HarnessNet Forward Process

Input: HarnessNet backbone GG, task query QQ

Output: Layer outputs yy, forward trace T\mathcal{T}

  1. y,T←∅,∅y,\mathcal{T}\leftarrow\emptyset,\emptyset

  2. for ℓ=1,…,L\ell=1,\ldots,L do

  3. yℓ←∅y^{\ell}\leftarrow\emptyset

  4. xℓ←yℓ−1x^{\ell}\leftarrow y^{\ell-1} if ℓ>1\ell>1 else QQ

  5. for each viℓ∈Vℓv_i^{\ell}\in V_{\ell} in parallel do

  6. yiℓ,Tiℓ←viℓ.Forward⁡(miℓ,hiℓ,xℓ)y_i^{\ell},\mathcal{T}_i^{\ell}\leftarrow v_i^{\ell}.\operatorname{Forward}(m_i^{\ell},h_i^{\ell},x^{\ell}) (Eq 2)

  7. yℓ,T←yℓ∪yiℓ,T∪Tiℓy^{\ell},\mathcal{T}\leftarrow y^{\ell}\cup y_i^{\ell},\mathcal{T}\cup\mathcal{T}_i^{\ell}

  8. end for

  9. y←y∪yℓy\leftarrow y\cup y^{\ell}

  10. end for

  11. return (y,T)(y,\mathcal{T}) (Retrieve yLy^{L} for final responses.)

Algorithm 2: HarnessNet Hierarchical Backward Process

Input: HarnessNet backbone GG, forward trace T\mathcal{T}, environment feedback ss

Intermediate: Upstream-layer feedback F\mathcal{F}, downstream-layer feedback gg

Output: Updated HarnessNet harnesses H′H^{\prime}

  1. H′←∅H^{\prime}\leftarrow\emptyset

  2. for ℓ=L,…,1\ell=L,\ldots,1 do

  3. Fℓ←∅\mathcal{F}^{\ell}\leftarrow\emptyset

  4. for each viℓ∈Vℓv_i^{\ell}\in V_{\ell} in parallel do

  5. (miℓ,hiℓ,Oiℓ)←viℓ(m_i^{\ell},h_i^{\ell},\mathcal{O}_i^{\ell})\leftarrow v_i^{\ell}

  6. giℓ←{Fkℓ+1∣vkℓ+1∈Vℓ+1}g_i^{\ell}\leftarrow\{\mathcal{F}_{k}^{\ell+1}\mid v_k^{\ell+1}\in V_{\ell+1}\} if ℓ<L\ell<L else ss

  7. if ℓ>1\ell>1 then

  8. (hiℓ)′,{fi→j∣vjℓ−1∈Vℓ−1}←viℓ.Backward⁡(Oiℓ,hiℓ,Tiℓ,giℓ)(h_i^{\ell})^{\prime},\{f_{i\to j}\mid v_j^{\ell-1}\in V_{\ell-1}\}\leftarrow v_i^{\ell}.\operatorname{Backward}(\mathcal{O}_i^{\ell},h_i^{\ell},\mathcal{T}_i^{\ell},g_i^{\ell}) (Eq 3)

  9. Fℓ←Fℓ∪{fi→j∣vjℓ−1∈Vℓ−1}\mathcal{F}^{\ell}\leftarrow\mathcal{F}^{\ell}\cup\{f_{i\to j}\mid v_j^{\ell-1}\in V_{\ell-1}\}

  10. else (hiℓ)′←viℓ.Backward⁡(Oiℓ,hiℓ,Tiℓ,giℓ)(h_i^{\ell})^{\prime}\leftarrow v_i^{\ell}.\operatorname{Backward}(\mathcal{O}_i^{\ell},h_i^{\ell},\mathcal{T}_i^{\ell},g_i^{\ell}) (Eq 3)

  11. end if

  12. viℓ←(miℓ,(hiℓ)′,Oiℓ)v_i^{\ell}\leftarrow(m_i^{\ell},(h_i^{\ell})^{\prime},\mathcal{O}_i^{\ell})

  13. H′←H′∪(hiℓ)′H^{\prime}\leftarrow H^{\prime}\cup(h_i^{\ell})^{\prime}

  14. end for

  15. end for

  16. return H′H^{\prime}

Task-aware HarnessNet Initialization

Constructing a multi-agent system typically requires heavy human input about agent roles, functions, and workflow. To overcome this problem, HarnessNet uses an Initializer I\mathcal{I}, implemented as a coding agent, to automatically plan and build initial forward harnesses for the Agentrons in the predefined HarnessNet backbone GG. It helps automate the initialization.

The initialization process (Algorithm 3) takes in task-environment knowledge KeK_e, information about the nodes’ reasoning backends KrK_r, and a default harness protocol hh specifying the repository structure, core modules, and interfaces. Using curated task-specific harness protocol hh is possible for more customized initialization. Actual task cases are strictly excluded from KeK_e to prevent data leakage.

As illustrated in Figure 3, the Initialization proceeds in three stages. (1) The initializer develops a nodes specification for the network, assigning node roles and specifying strategies for memory, execution, tool use, and input-output parsing. During this process, the Initializer is instructed to assign complementary functions across nodes and avoids homogeneity. (2) Each node’s forward harness is implemented according to this specification and the protocol hh. (3) Initializer performs a smoke test on each harness and attempts a repair if the test fails. The resulting initial harnesses are assigned to the nodes of GG to build the HarnessNet instance.

Figure 3. HarnessNet 3-Stage Task-aware Initialization Workflow. A harness template is provided at BUILD stage.

Prompt templates of three Initializer stages, the harness template hh, task knowledge KeK_e used during experiments, and reasoning backend info KrK_r are provided in Appendix A.

Algorithm 3: HarnessNet Initialization

Input: HarnessNet backbone GG, initializer I\mathcal{I}, harness protocol hh, task env knowledge KeK_e, reasoning backend info KrK_r

Output: Initial HarnessNet harnesses H0H^{0}

  1. H0←∅H^{0}\leftarrow\emptyset

  2. Vspec←I.Plan⁡(G,Ke,Kr)V_{\mathrm{spec}}\leftarrow\mathcal{I}.\operatorname{Plan}(G,K_e,K_r)

  3. for ℓ=1,…,L\ell=1,\ldots,L do

  4. for each viℓ∈Vℓv_i^{\ell}\in V_{\ell} in parallel do

  5. Hiℓ←I.Implement⁡((Vspec)iℓ,h)H_i^{\ell}\leftarrow\mathcal{I}.\operatorname{Implement}((V_{\mathrm{spec}})_{i}^{\ell},h)

  6. if I.Test⁡(Hiℓ)\mathcal{I}.\operatorname{Test}(H_i^{\ell}) is Fail do

  7. Hiℓ←I.Repair⁡(Hiℓ)H_i^{\ell}\leftarrow\mathcal{I}.\operatorname{Repair}(H_i^{\ell})

  8. H0←H0∪HiℓH^{0}\leftarrow H^{0}\cup H_i^{\ell}

  9. end for

  10. end for

  11. return H0H^{0}

HarnessNet Training

We train HarnessNet following a batch-training-and-validate schema inspired by neural network training. This is implemented as a multi-epoch training loop. Each loop traverses the whole training set and consists of multiple training-validation steps (Algorithm 4 & Algorithm 5).

At each step, the training loop does the following steps: (1) tasks from Etrain\mathcal{E}^{train} are randomly shuffled and evaluated with a fixed checkpoint HkH^{k}, which is the snapshot of all nodes harness, until a batch of bb failed cases is collected; (2) a backward process updates the harnesses using this batch, build the new checkpoint Hk+1H^{k+1}; (3) the updated snapshot Hk+1H^{k+1} is evaluated on Eval\mathcal{E}^{val}; (4) training and validation performance for this is measured by calculating the average score or case pass ratio on the training batch and validation set.

Algorithm 4: HarnessNet Validation Process

Input: HarnessNet backbone GG, validation set Eval\mathcal{E}^{val} Intermediates: Forward trace T\mathcal{T}, layer outputs yy, evolution step kk, env feedback ss, training results U\mathcal{U}, validation results V\mathcal{V} Output: Validation results V\mathcal{V}

  1. V←∅\mathcal{V} \leftarrow\emptyset

  2. for i=1,…,∥Eval∥i = 1, \ldots, \lVert\mathcal{E}^{val} \rVert do

  3. (yi,Ti)←G.Forward⁡(Eival.Query⁡)(y_i, T_i) \leftarrow G.\operatorname{Forward}(\mathcal{E}^{val}_i.\operatorname{Query}) (Algorithm 1)

  4. si←Eival.Feedback⁡(yiL)s_i \leftarrow\mathcal{E}^{val}_i.\operatorname{Feedback}(y_i^L)

  5. V←V∪si\mathcal{V} \leftarrow\mathcal{V} \cup s_i

  6. return V\mathcal{V}

Algorithm 5: HarnessNet Training Loop

Input: HarnessNet backbone GG, failure batch size bb, training set Etrain\mathcal{E}^{train}, validation set Eval\mathcal{E}^{val}, max training rounds TT Intermediates: Forward trace T\mathcal{T}, layer outputs yy, env feedback ss, training results U\mathcal{U}, validation results V\mathcal{V}, evolution step kk, checkpoints H\mathcal{H} Output: Best HarnessNet harnesses checkpoint H⋆H^{\star}

  1. k,T,s,U,V,H←0,∅,∅,∅,∅,∅k,\mathcal{T},s,\mathcal{U},\mathcal{V},\mathcal{H} \leftarrow0,\emptyset,\emptyset,\emptyset,\emptyset,\emptyset

  2. H0←{hiℓ∣viℓ∈Vℓ,1≤ℓ≤L}H^0 \leftarrow\{h_i^\ell\mid v_i^\ell\in\mathcal{V}_\ell, 1 \le\ell\le L\} (Initialized Harnesses)

  3. H←H∪H0\mathcal{H} \leftarrow\mathcal{H} \cup H^0

  4. V0←Validate⁡(G,Eval)\mathcal{V}^0 \leftarrow\operatorname{Validate}(G,\mathcal{E}^{val}) (Algorithm 4)

  5. V←V∪V0\mathcal{V} \leftarrow\mathcal{V} \cup\mathcal{V}^0

  6. for t=0,…,T−1t = 0, \ldots, T - 1 do

  7. Etrain←Etrain.Shuffle⁡()\mathcal{E}^{train} \leftarrow\mathcal{E}^{train}.\operatorname{Shuffle}()

  8. Hk,Uk←{hiℓ∣viℓ∈Vℓ,1≤ℓ≤L},∅H^k,\mathcal{U}^k \leftarrow\{h_i^\ell\mid v_i^\ell\in\mathcal{V}_\ell, 1 \le\ell\le L\},\emptyset

  9. for i=1,…,∥Etrain∥i = 1, \ldots, \lVert\mathcal{E}^{train} \rVert do

  10. (yi,Ti)←G.Forward⁡(Eitrain.Query⁡)(y_i,T_i) \leftarrow G.\operatorname{Forward}(\mathcal{E}^{train}_i.\operatorname{Query}) (Algorithm 1)

  11. si←Eitrain.Feedback⁡(yiL)s_i \leftarrow\mathcal{E}^{train}_i.\operatorname{Feedback}(y_i^L)

  12. Uk←Uk∪si\mathcal{U}^k \leftarrow\mathcal{U}^k \cup s_i

  13. if IsFailure⁡(si)\operatorname{IsFailure}(s_i) then

  14. T,s←T∪Ti,s∪si\mathcal{T},s \leftarrow\mathcal{T} \cup T_i,s \cup s_i

  15. if ∥s∥=b\lVert s \rVert= b or i==∥Etrain∥i == \lVert\mathcal{E}^{train} \rVert then

  16. Hk+1←G.Backward⁡(T,s)H^{k+1} \leftarrow G.\operatorname{Backward}(\mathcal{T},s) (Algorithm 2)

  17. Vk+1←Validate⁡(G,Eval)\mathcal{V}^{k+1} \leftarrow\operatorname{Validate}(G,\mathcal{E}^{val}) (Algorithm 4)

  18. U,V,H←U∪Uk,V∪Vk+1,H∪Hk+1\mathcal{U},\mathcal{V},\mathcal{H} \leftarrow\mathcal{U} \cup\mathcal{U}^k,\mathcal{V} \cup\mathcal{V}^{k+1},\mathcal{H} \cup H^{k+1}

  19. T,s,Uk+1←∅,∅,∅,∅\mathcal{T},s,\mathcal{U}^{k+1} \leftarrow\emptyset,\emptyset,\emptyset,\emptyset

  20. k←k+1k \leftarrow k + 1

  21. end if

  22. end if

  23. end for

  24. end for

  25. H⋆←GetBest⁡(H,(U,V))H^{\star} \leftarrow\operatorname{GetBest}(\mathcal{H},(\mathcal{U},\mathcal{V}))

  26. return H⋆H^{\star} (Trained HarnessNet Harnesses)

The final snapshot H⋆H^{\star} is selected from all evaluated snapshots. Similar to traditional neural network training, we select the best training checkpoint H⋆H^{\star} by considering both the training performance U\mathcal{U} and validation performance V\mathcal{V}, based on the performance curve convergence status and point scores.

In order to reduce the experiment cost, at each training step, we only use failed cases to reduce the number of backward processes needed to traverse the Etrain\mathcal{E}^{train}. But it is allowed to include successful cases and might help improve the stability and quality of evolution process according to some recent works [4, 13, 15].

Experiments

Experiment Settings

Dataset We use AgentBench [23], a lightweight agentic benchmark, to demonstrate the training feasibility of proposed Agentron and HarnessNet. We focus on ALFWorld and WebShop, whose training splits reuse the original benchmarks’ official training data, while other domains rely on synthetic training data, which may introduce train–test distribution shifts [57]. To save training efforts while preventing testset leakage, we created training and validation set using the randomly sampled cases from alfworld-env_train and webshop-env_train, and then test the selected harness checkpoints on alfworld-std and webshop-std, the official benchmark testsets. The number of cases in different splits are shown in Table 1. The environment task feedback is a binary case pass/fail label in ALFWorld, and a numeric 0-1 case score in WebShop.

BenchmarkALFWorldWebShop
SplitTrainValidationTestTrainValidationTest
Case Num1684210932080200

Table 1. Experiment Data Splits

Foundation Models, Initializer and Optimizer To simplify the setup and reduce computational costs, in the experiments, we equip AgentIons in the same HarnessNet with independent instances of the same foundation model and optimizer. Models include Qwen3.5-9B [34], Gemma4-8b-e4b [42], Ornith 1.5-9b [32] and Qwen3.8-27B [35], using ollama (Ollama) as reasoning backend. We use GPT5.6-SOL High [31] combined with code-dxl 0.153.4 as both the Initializer and Optimizer. We use zero temperature and fixed dataset sampling/shuffling seeds to improve reproducibility. Complete model hyperparameter settings and information are provided in Appendix § 8.

Training Effectiveness

We assess training feasibility for an Agentron and HarnessNet in five steps: (1) Evaluate foundation models on the test sets to establish the Model-only baseline. (2) Instantiate three minimal topologies and initialize their harnesses using Algorithm 3. (3) Measure pre-training test performance (FHO). (4) Train each system using Algorithm 5, assessing convergence and guiding stopping with training and validation curves. (5) Test the selected forward harness checkpoints (FH_starred). We compute Harness Gain relative to Model-only and Training Gain relative to FHO. Results show that feedback-driven iterative training can improve system performance on unseen task cases. Detailed training records are in Appendix § 9.

Training Agentron We firstly verify the training feasibility of the fundamental unit, Agentron, which is also a single-node HarnessNet. As the first column in Figure 4 shows, the training process quickly improves Agentron performance and converges even though the initialized FHOs were bad (FHO test score < Model-only baseline). Results are in Table 2 and detailed training records are in Appendix § 9.1-2.

Training curves and test results on AgentBench of minimal HarnessNet topologies

Figure 4. Training Curves and Test Results on AgentBench of Minimal HarnessNet Topologies.

Benchmark DomainTestScore (↑\uparrow)Harness GainTraining Gain
ALF-WorldModel-only0.5688--
FH00.2202-61.29%-
FH_starred0.7798+37.10%+254.13%
WebShopModel-only0.5670--
FH00.5559-1.96%-
FH_starred0.6950+22.57%+25.02%

Table 2. Agentron Training Effects

Training with Minimal Cross-layer Feedback After verifying Agentron’s training, we build the minimal 2-node harnessnet to check the training feasibility when the cross-layer feedback propagation is enabled. As the second column in Figure 4 shows, the FH0 is well initialized with close performance to Model-only baseline. Subsequent training further improves the performance. Test results are in Table 3 and detailed training records are in Appendix § 9.3-4.

Benchmark DomainTestScore (↑\uparrow)Harness GainTraining Gain
ALF-WorldModel-only0.5688--
FH00.6239+9.69%-
FH_starred0.8532+50.00%+36.75%
WebShopModel-only0.5670--
FH00.5523-2.59%-
FH_starred0.5892+3.92%+6.68%

Table 3. 2-Node HarnessNet Training Effects

Training with Minimal Node-specific Feedback Generation & Aggregation Finally, we evaluate a 4-node HarnessNet with an input node, an output node, and two parallel hidden nodes to assess training feasibility with cross-layer, node-specific feedback generation and aggregation mechanism. To reduce computational costs, we use the smaller Qwen3.5-9B (Qwen Team [34]) and Gemma4-8b-e4b (Team et al. [42]) models. As shown in the third column of Figure 4, Qwen3.5-9B fails 88.07% ALFWorld test cases in the Model-only setting. However, the 4-node HarnessNet starts from a beneficial FH0 and, through training, achieves performance comparable to that obtained with Qwen3.8-27B. On WebShop, training improves the Gemma4-8b-e4b system from a poorly performing FH0 to a checkpoint that surpasses the Qwen3.8-27B Model-only baseline and matches 2-node HarnessNet training performance. Test results are in Table 4 and details are in Appendix § 9.5-6.

Benchmark DomainTestScore (↑\uparrow)Harness GainTraining Gain
ALF-WorldModel-only0.1193--
FH00.1651+38.39%-
FH_starred0.6972+484.41%+322.29%
WebShopModel-only0.4083--
FH00.0624-84.72%-
FH_starred0.5875+43.89%+841.51%

Table 4. 4-Node HarnessNet Training Effects

Hierarchical Approach vs. Global Optimizer

To evaluate whether hierarchical evolution reduces the burden on single optimizer-call while maintaining competitive evolution effect, we compare it with the global optimizer approach (Algorithm 6) on the 4-node HarnessNet topology. Global optimizer prompt is provided in Appendix E.3.

Algorithm 6: Global Optimizer Backward Process

Input: HarnessNet backbone GG, forward trace T\mathcal{T}, environment feedback ss

Intermediate: Global harness set H\mathcal{H}, update set U\mathcal{U}

Output: Updated harnesses H′\mathcal{H}'

  1. H←{hiℓ∣viℓ∈Vℓ,1≤ℓ≤L}\mathcal{H} \leftarrow\{h_i^\ell|v_i^\ell\in V_\ell, 1 \le\ell\le L\}

  2. H′←Oglobal.Backward(G,H,T,s)\mathcal{H}' \leftarrow O_{\mathrm{global}}.\mathrm{Backward}(G, \mathcal{H}, \mathcal{T}, s)

  3. for each (hiℓ)′∈H′(h_i^\ell)' \in\mathcal{H}' do

  4. (miℓ,hiℓ′,Oiℓ)′←viℓ(m_i^\ell, h_i^{\ell\prime}, O_i^\ell)' \leftarrow v_i^\ell

  5. viℓ←(miℓ,(hiℓ)′,Oiℓ)v_i^\ell\leftarrow(m_i^\ell, (h_i^\ell)', O_i^\ell)

  6. end for

  7. return H′\mathcal{H}'

Both methods start from the same initialized FH0 and the first batch of failed trajectories, and undergo the same number of backward steps on identical training and validation sets. Finally, We compare the checkpoint performances and per-optimizer-call costs. Detailed results are in Appendix E.

Figure 5-Left illustrates two approaches. In the hierarchical backward process, each Agentron uses its local optimizer to update its forward harness based on node-specific feedback from the downstream layer. By contrast, the global optimizer approach uses a centralized global optimizer, implemented as an independent optimizer instance while disabling other Agentron local optimizers. It is granted with access to all nodes forward harnesses and forward trajectories to jointly update the entire system based on environment feedback.

Illustration of Hierarchical Approach and Global Optimizer Approach; Training Performance

Figure 5. (Left) Illustration of Hierarchical Approach & Global Optimizer Approach; (Right) Training Performance.

As Figure 5-Right shows, both approaches improve over initialization. Within the same number of backward steps, hierarchical evolution process achieves comparable performance on WebShop and substantially higher performance on ALFWorld, suggesting its practicability and evolving effectiveness. Detailed records are provided in Appendix § 11.1.

Figure 6 compares the per-optimizer-call cost of these two approaches. Although the total end-to-end cost may increase due to the fixed cost in each optimizer call, such as repeatedly loading prompt prefixes and CPU process-switching latency, individual local optimizer calls require fewer input and output tokens and less execution time than global optimizer calls. These results indicate that hierarchical optimization reduces per-optimizer context and workload burdens while maintaining competitive system-level improvement. Detailed cost data records are provided in Appendix § 11.2.

Per-call Optimizer Cost and Latency of Hierarchical Approach vs. Global Optimizer Approach

Figure 6. Per-call Optimizer Cost and Latency of Hierarchical Approach vs. Global Optimizer Approach.

Ability Migration

We assess harness transferability by replacing Qwen3.5-9B [34] in the trained 4-node ALFWorld HarnessNet with either Ornith1.5-9B [32], an open-source model fine-tuned from Qwen3.5-9B, or Gemma4-8b-e4b [42], an open-source model from a different family. We evaluate the migrated harness checkpoints on the same validation set during training.

As shown in the upper panel of Figure 7, both replacement models benefit from the harnesses evolved with Qwen3.5-9B and exhibit similar performance improvement trends across checkpoints. Their validation performance curves exhibit similar trend with the original model. We then select FH_starred based on validation performance and evaluate it on the same test set. All three models fail most test case in the Model-only setting. When equipped with the same FH0, they both reach the similar test performance as Qwen3.5-9B. With the evolved 4-node harnesses, however, Gemma4-8b-e4b and Ornith1.5-9B achieve success rates of 68.81% and 49.54%, which coheres with the results observed with Qwen3.5-9B. These results indicate that task-specific mechanisms learned within individual HarnessNet harnesses remain jointly effective across foundation models, including models from a different family. Detailed validation and test records are provided in Appendix D, with involved model details and hyperparameter settings provided in Appendix § 8.

Figure 7. Validation (Up) and Test Scores (Bottom) on ALFWorld across Different Foundation Models and Identical 4-node HarnessNet FH Snapshots Trained with Qwen3.5-9B.

Case Study - Learn Rules, Not Answers

In Appendix § 12, we present a case study using training experiment records of 4-node HarnessNet. It shows that during the hierarchical harness evolution process, MAS can learn useful rules from end-to-end task-environment feedback rather than merely memorizing answers. The study also shows that Harness-based evolution, an emerging trend in the evolution of AI systems, occurs in a human-friendly modality space (text space) and is characterized by good auditability. This supports efforts to improve the transparency and controllability of modern AI system evolution, which builds convenient interface for potential human intervention in the evolved agent behaviors and mechanisms.

Future Work

Due to the limit of computation resources, we propose HarnessNet but only validated its training feasibility on some minimal cases. The future directions point to validate this feedback-driven hierarchical evolution framework on larger scale, which includes: (1) validating training feasibility on more complicated topology consists of more and wider layers; (2) equipping each Agentron with larger parameter volume LLMs; (3) training on more heavy-weight and complex agentic benchmark tasks; (4) testing with a broader variety of optimizers, especially some open-sourced coding agents.

Conclusion

We propose HarnessNet and its fundamental unit, Agentron, for feedback-driven hierarchical joint harness evolution in multi-agent systems. Experiments and studies show: (1) iterative training on some minimal cases is feasible and can improves the task performance based on end-to-end task feedback; (2) evolved harnesses capabilities are transferable across foundation models of similar size; and (3) compared with single global optimizer approach, hierarchical evolution approach reduces per-optimizer-call workload and context burdens while keeping comparable training effects under constraint local optimizer access. Our work provides a promising solution for harness-based MAS evolution. The auditability coheres with the trend to elicit AI systems evolution in a human-friendly modality space.

HarnessNet: Supplementary Material

Initializer Implementation Details

The HarnessNet initializer constructs the trainable forward-harness baseline (FH0) before any benchmark case is used for optimization. It is implemented as an auditable controller protocol with three model-facing stages: PLAN, BUILD, and REPAIR. The controller, rather than the model, owns job publication, state transitions, validation, and final acceptance. The prompt templates below retain the implementation wording, with only line wrapping and continuation indentation adjusted for typesetting.

Frozen inputs and visibility boundary

Before initialization starts, the controller freezes the public benchmark profile, LLM-backend profile, topology, harness contract, canonical template manifest, SDK guide, and model controls. The public benchmark profile may describe the task family, action or output schema, scoring semantics, and available tools, but it does not expose selected cases, case identifiers, observations, answers, or case-level statistics. This boundary prevents the initializer from encoding benchmark instances into FH0.

Each agent is materialized as an independent Git repository from the same canonical harness template. The topology fixes node identities, layer positions, edges, and input and output boundary roles. The stable Contract 1.2 runtime supplies one backend call per node invocation, preserves the complete case-local native-message history, structurally projects a single native tool call when present, and propagates execution errors through a stable error envelope.

Task-environment and reasoning-backend information

FH0 initialization consumes reusable public control inputs rather than benchmark cases. A benchmark-specific benchmark_profile.json describes the task environment, interaction protocol, tools, output contract, termination, and scoring rules. The shared llm_backend_profile.json is a concrete runtime profile rather than a generic backend description: it specifies the backend type, model identifier, generation controls, call limits, and retry policy. In the initializer workflow, PLAN and BUILD can read the full backend profile. REPAIR receives the accepted initialization plan, validation evidence, and benchmark profile, but the backend profile is not injected again as an independent input.

Listings A1 and A2 provide the complete public task-environment profiles for ALFWorld and WebShop, respectively. Listing A3 provides the shared reasoning-backend profile; its local Ollama registry ID is replaced by the normalized paper name Qwen3.8–27b.

Listing A1: ALFWorld task-environment information supplied to FH0 initialization.

{
  "adapter": "agentbench-alfworld",
  "benchmark_family": "ALFWorld",
  "category_semantics": {
    "look_at_obj": "pick up the target object and examine it using the requested light source",
    "pick_and_place": "pick up one target object and place it in or on the requested receptacle",
    "pick_clean_then_place": "clean one target object and then place it in or on the requested receptacle",
    "pick_cool_then_place": "cool one target object and then place it in or on the requested receptacle",
    "pick_heat_then_place": "heat one target object and then place it in or on the requested receptacle",
    "pick_two_obj": "pick up two instances of the target object and place both in or on the requested receptacle"
  },
  "initializer_visibility": {
    "allowed": "public task, interaction, tool, scoring, and category semantics only",
    "case_data_access": false
  },
  "interaction": {
    "action_policy": "choose exactly one action from the current admissible_actions",
    "action_tool": {
      "arguments_schema": {
        "additionalProperties": false,
        "properties": {
"action": {
    "minLength": 1,
    "type": "string"
  }
},
"required": [
    "action"
  ],
"type": "object"
},
"name": "take_action",
"owner": "agentbench_adapter",
"required": true
},
"initializer_contract_probe": {
  "admissible_action": "look",
  "observation": "Here is your task. Put a synthetic object in a synthetic receptacle. You are in a synthetic room.
AVAILABLE ACTIONS: look\ninventory\ngo to synthetic receptacle 1\n",
  "synthetic": true
},
"invalid_turns": {
  "invalid_action": {
    "feedback": "the turn is rejected and the agent is asked for a valid tool action",
    "may_continue": true,
    "reward": 0
  },
  "missing_tool_call": {
    "feedback": "the turn is rejected and the agent is asked to call the action tool",
    "may_continue": true,
    "reward": 0
  }
},
"mode": "multi_step",
"observation_contains": [
  "task_goal",
  "environment_feedback",
  "admissible_actions"
],
"observation_transport": {
  "content_type": "text/plain",
  "encoding": "one raw text string in AgentBench ALFWorld format; task goal, feedback, and AVAILABLE ACTIONS are not
pre-parsed request fields",
  "request_path": "upstream_inputs[0].content",
  "source_agent_id": "environment"
},
"repeated_action_termination": {
  "consecutive_limit": 3,
  "terminal_status": "agent invalid action"
},
"step_feedback": {
  "admissible_actions_refreshed": true,
  "environment_observation_available": true,
  "reward_meaning": "the environment reports whether the household goal has been completed"
},
"termination": {
  "environment_done": "the environment ends the interaction when its task reaches a terminal state",
  "step_limit": 15,
  "step_limit_status": "task limit reached"
}
},
"network_output_contract": {
  "accepted_last_content": [
    "action string",
    {
      "action": "action string"
},
],
"adapter_encoding": "the AgentBench adapter wraps the last-node action in take_action",
"intermediate_nodes": "emit useful structured content for downstream HarnessNet nodes",
"last_node": "emit exactly one chosen admissible environment action"
},
"schema_version": "1.0",
"scoring": {
"aggregate_definition": "successful completed tasks divided by evaluated tasks",
"case_result_field": "result.result",
"case_success": "result.result == 1",
"failure_value": 0,
"primary_metric": "success_rate",
"success_value": 1
},
"task_categories": [
"pick_and_place",
"pick_clean_then_place",
"pick_heat_then_place",
"pick_cool_then_place",
"look_at_obj",
"pick_two_obj"
],
"task_description": {
"agent_role": "read the current goal and environment feedback, then choose the next valid environment action",
"objective": "complete the stated household manipulation goal through a sequence of environment actions",
"setting": "interactive household environment"
},
"test_split": "new_std",
"test_task": "alfworld-std",
"train_task": "alfworld-env_train"
}

Listing A2: WebShop task-environment information supplied to FH0 initialization.

{
  "adapter": "agentbench-webshop",
  "benchmark_family": "WebShop",
  "initializer_visibility": {
    "allowed": "public task family, interaction, tool, scoring, topology, harness contract, template, and backend controls only",
    "case_data_access": false
  },
  "interaction": {
    "action_policy": "emit exactly one published WebShop tool with an exact argument object valid for the current page",
    "initializer_contract_probe": {
      "expected_output": {
        "arguments": {
          "keywords": "synthetic red mug"
        },
        "tool_name": "search_action"
      },
      "observation": "Synthetic WebShop task: search for a synthetic red mug. Available Actions: search.",
      "synthetic": true
    },
    "invalid_turns": {
      "invalid_arguments": {
        "feedback": "the controller ignores arguments that do not match the selected tool",
        "may_continue": true,
        "reward": 0
      },
      "invalid_tool": {
        "feedback": "the controller ignores an unknown tool name",
        "may_continue": true,
    "reward": 0
  },
  "missing_tool_call": {
    "feedback": "the controller requests one executable WebShop tool call",
    "may_continue": true,
    "reward": 0
  },
  "mode": "multi_step",
  "observation_transport": {
    "content_type": "text/plain",
    "encoding": "the initial observation contains the shopping instruction and available actions; later observations
contain the current page and updated available actions",
    "request_path": "upstream_inputs[0].content",
    "source_agent_id": "environment"
  },
  "step_feedback": {
    "environment_observation_available": true,
    "reward_meaning": "the controller reports a continuous shopping-goal match reward from zero through one"
  },
  "termination": {
    "environment_done": "the controller ends the interaction after purchase or another terminal page state",
    "step_limit": 20,
    "step_limit_status": "task limit reached"
  },
  "tools": [
    {
      "arguments_schema": {
        "additionalProperties": false,
        "properties": {
          "keywords": {
            "type": "string"
          }
        },
        "required": [
          "keywords"
        ],
        "type": "object"
      },
      "name": "search_action",
      "owner": "agentbench_adapter",
      "required": false
    },
    {
      "arguments_schema": {
        "additionalProperties": false,
        "properties": {
          "value": {
            "type": "string"
          }
        },
        "required": [
          "value"
        ],
        "type": "object"
      },
      "name": "click_action",
      "owner": "agentbench_adapter",
      "required": false
    }
  ],
  "network_output_contract": {
    "adapter_encoding": "the AgentBench adapter validates the object and submits the matching native tool-call envelope
  ",
"last_node": "emit one object containing tool_name and arguments",
"memory": "case-local harness memory only",
"single_node_role": "the sole node is both the first and last HarnessNet node"
},
"schema_version": "1.0",
"scoring": {
  "aggregate_definition": "arithmetic mean of the final per-case WebShop reward",
  "case_result_field": "result.result",
  "case_success": "result.result == 1.0",
  "failure_range": "0.0 <= result.result < 1.0",
  "primary_metric": "mean_score",
  "success_value": 1.0
},
"task_description": {
  "agent_role": "read the current page and available actions, then emit exactly one search or click tool selection",
  "objective": "find and purchase a product that satisfies the stated attributes and budget",
  "setting": "interactive text shopping website"
},
"test_split": "standard",
"test_task": "webshop-std",
"train_task": "webshop-env_train"
}

Listing A3: Reasoning-backend information supplied during FH0 initialization.

{
  "backend_type": "ollama",
  "base_url": "http://127.0.0.1:11434",
  "credential_env": null,
  "generation": {
    "min_p": 0,
    "num_ctx": 32768,
    "num_predict": 4096,
    "presence_penalty": 1.5,
    "repeat_penalty": 1,
    "temperature": 0,
    "top_k": 20,
    "top_p": 0.95
  },
  "max_calls_per_step": 1,
  "max_concurrency": 1,
  "model_id": "Qwen3.8-27b",
  "retry_backoff_seconds": [
    1,
    2
  ],
  "retry_count": 2,
  "thinking": false,
  "timeout_seconds": 300
}

These forward-backend settings are distinct from the model controls of the initializer process. PLAN, BUILD, and REPAIR use fresh Codex CLI processes configured with gpt-5.6-sol, high reasoning effort, and standard mode. That coding model generates and repairs the harness, whereas the Ollama/Qwen3.8-27b profile defines the inference backend called by the resulting FH0 harness.

Three-stage protocol

PLAN. The controller publishes one immutable planning job for the complete network. The planner reads only registered public inputs and produces a schema-valid, function-level initialization plan. For every node, the plan specifies its role, boundary behavior, prompt-level inductive bias, authorized tool exposure, error behavior, and acceptance checks. It cannot inspect benchmark cases, modify an agent repository, alter the frozen topology, or request changes to the fixed runtime mechanisms. BUILD. After the plan is accepted, the controller materializes one repository per node and publishes an independent build job for each node. A builder may specialize only ROLE.md, prompts/system.md, src/harness_agent/tools.py, tests/test_smoke.py, and the allowlisted role metadata. In particular, the fixed strategy.py, memory.py, and parsing.py files remain unchanged. Each successful build runs the job-published checks from their exact working directories. The controller then performs its own schema, repository, provenance, test, and contract validation.

REPAIR. If network validation reports a node-local failure, the controller publishes a repair job with the structured failed checks, the frozen validation report, and the corresponding probe requests and responses. Repair preserves the original node specification and may touch only the same builder-owned paths. It may not add dependencies, weaken tests, modify the fixed runtime, invent fallback actions, or convert execution failures into successful outputs. After each repair round, the controller revalidates the network. Initialization becomes ready when all checks pass; after at most three repair rounds, remaining failures produce a terminal failed result.

Execution and acceptance separation

Every initializer job is executed by a fresh Codex CLI process with frozen model controls. The prompt templates specify gpt-5.6-sol, high reasoning effort, and standard mode. Model output is not itself an accepted checkpoint. The controller independently verifies the result envelope, registered artifacts, allowed file changes, test results, and end-to-end contract probes before accepting the node into FH0. Raw execution traces and controller-derived acceptance evidence are retained separately.

PLAN prompt template

Listing A4: Initializer PLAN prompt template.

# HarnessNet initializer planner

Execute only when the immutable job manifest fixes ‘gpt-5.6-sol‘, ‘reasoning_effort=high‘, and ‘mode=standard‘.
  Treat the manifest’s registered read and write paths as the complete authority.

Design one function-level initialization plan for the supplied benchmark profile, backend profile, topology, stable
  harness contract, canonical template manifest, and plan schema. Do not read benchmark cases or modify an Agent
  repository. Describe every required inductive-bias field for every topology node. Persist only the schema-valid plan
  and its differentiation summary at the requested paths. For a single-layer topology, treat the sole node as both the
  first and last HarnessNet boundary: it consumes the current environment observation, replays the complete case-local
  history from case-local memory, and returns one exact admissible action in the adapter-accepted content form. The
  fixed runtime also appends audit records to the supplied memory path; use every ordered runtime record as
  interaction history with no truncation, no summary, and no separate harness-owned compact state. Preserve every
  native assistant message recorded by the Contract 1.2 template. When the public profile defines an adapter-owned
  ‘take_action‘ or other action tool, the final-boundary node must register the matching backend-native function tools
  through ‘tools.py‘ and the fixed SDK call. Non-final nodes must not register environment action tools. For every
  node, freeze the template’s one-call native-message strategy. The plan must not introduce benchmark-solving
  heuristics, semantic repair, model retry, fallback actions, task-state summaries, or example-specific guidance. The
  builder may specialize only ‘ROLE.md‘, ‘prompts/system.md‘, ‘src/harness_agent/tools.py‘, ‘tests/test_smoke.py‘, and
  allowed role metadata. It must not modify ‘strategy.py‘, ‘memory.py‘, or ‘parsing.py‘. Those plan fields must
  describe inherited template behavior, not request new implementations or stronger checks. Do not bypass these fixed
  files through tools.py or monkeypatching. The canonical parser preserves native assistant messages, structurally
  projects one native tool call to downstream content, and otherwise passes through nonempty native text. It rejects
  malformed tool-call structure and absent usable content; it does not validate benchmark tool-name membership or
  argument schemas. The benchmark adapter owns that action validation. Distinguish the model’s instructed one-tool
  action format from harness-enforced rejection: register the exact public tool schemas and instruct the model to
  follow them, but do not require the builder to add unknown-tool, schema-argument, or nonempty-prose rejection to the
  harness. Keep acceptance checks within the fixed template’s actual guarantees and the permitted role/tool
  specialization, including backend/upstream error propagation. Copy the frozen topology into the plan exactly,
  including its layer count, node placement, edges, and boundary IDs. A node serving more than one boundary role still
  appears only at its frozen position: never duplicate a node or add a layer to express those roles. In particular, a
  one-node topology remains one layer whose first and last Agent IDs are the same. For every node, keep model-output
  degradation separate from execution failure: ‘error_degradation_policy‘, ‘prompt_guidance‘, and ‘acceptance_checks‘
  must require backend exceptions and upstream ‘status=error‘ inputs to propagate through the stable error envelope
  with ‘status=error‘ and a nonzero harness exit. They must never describe an ‘ok‘ fallback for those execution
  errors. Empty, malformed, or otherwise unusable successful model output must fail under Contract 1.2; FH0 must not
  invent content or return a degraded ‘status=ok‘ fallback. Copy ‘payload.plan_provenance‘ verbatim into the
  initialization plan’s ‘provenance‘ object; never add or modify any provenance field yourself. Also copy the
  frozen input refs exactly: set plan ‘benchmark_profile‘ to ‘payload.benchmark_profile_ref‘, plan
  ‘llm_backend_profile‘ to ‘payload.llm_backend_profile_ref‘, and plan ‘template_ref‘ to

payload.template_manifest_ref. Do not replace these refs with profile summaries.

The public profile may describe topology, Agent interface, output/action schema, scoring semantics, SDK/tool access, backend controls, and the general task family. It must not expose or lead you to discover case paths, case IDs, case counts, case statistics, case observations, or case answers. Do not inspect conversation context or filesystem paths that are absent from the job manifest.

Run every validation.checks entry from its exact published cwd. These are job-agent checks only; controller-owned acceptance independently enforces schema, provenance, repository, pytest, checkpoint, and transaction contracts.

Use every path in expected_result.artifact_paths verbatim for its named result role, including each validation check ID; never substitute another writable path. Write the schema-valid result plus the required visible trace, tool events, stdout/stderr, usage, summaries, and artifact inventory only to those mapped output paths. If the job or model controls differ, write a schema-valid failed result instead of widening access or inventing inputs.

BUILD prompt template

Listing A5: Initializer BUILD prompt template.

# HarnessNet initializer builder

Execute only when the immutable job manifest fixes `gpt-5.6-sol`, `reasoning_effort=high`, and `mode=standard`.
  Treat its registered read/write paths, validation commands, and result location as the complete authority.

Implement exactly one node specification in the materialized repository. Use the frozen initialization plan, fixed
  SDK/backend contract, and complete mutable path and manifest-field allowlists. Do not change identity, entrypoint,
  SDK/interface versions,
  dependencies, or runtime code. Preserve the stable execution-error contract exactly: backend exceptions and upstream
  `status=error` inputs must produce a stable `status=error` response and a nonzero harness exit; never catch them
  into a degraded `status=ok` response. Unusable output from an otherwise successful model call must fail under
  Contract 1.2; do not invent content or use degraded `ok` behavior. When the node uses the supplied case-local memory
  path, account for the fact that the fixed runtime also appends audit records there: preserve the complete case-local
  history with no truncation and no summary, including every recorded native assistant message. Configure
  backend-native function tools in `tools.py` only when this node owns the final action boundary, using the exact
  public-profile names and argument schemas. You may specialize only `ROLE.md`, `prompts/system.md`,
  `src/harness_agent/tools.py`, `tests/test_smoke.py`, and the allowed role metadata. You must not modify
  `strategy.py`; you must not modify `memory.py`; you must not modify `parsing.py`. Do not add benchmark-solving
  heuristics, compact task state, semantic repair, retries, or fallback actions. Include focused smoke tests for the
  node’s role and backend-error propagation. Run every `validation.checks` entry from its exact published `cwd`. These
  are job-agent checks only; controller-owned acceptance independently enforces schema, provenance, repository,
  pytest, checkpoint, and transaction contracts. Use every path in `expected_result.artifact_paths` verbatim for its
  named result role, including each validation check ID; never substitute another writable path. Write the mapped
  repository diff and the schema-valid result, visible trace, tool events, stdout/stderr, usage, summary, and artifact
  inventory only at those mapped output paths. If any
  precondition fails, write a schema-valid failed result; do not repair or widen the job yourself.

REPAIR prompt template

Listing A6: Initializer REPAIR prompt template.

# HarnessNet initializer repair

Execute only when the immutable job manifest fixes `gpt-5.6-sol`, `reasoning_effort=high`, and `mode=standard`.
  Require `repair_limit=3` and a `repair_round` of 1, 2, or 3; reject any job outside that frozen limit.

Repair only the structured failed checks for the supplied node. Before changing the repository,
read `payload.benchmark_profile_ref`, the frozen `payload.validation_report_ref`, and every artifact in
`payload.probe_diagnostic_refs`. Treat the registered probe requests and responses as the exact observed wire
evidence for this repair; compare them with the public benchmark profile instead of guessing from a check ID or
summary message alone. Keep the original node specification and network inductive biases fixed. Do not add
dependencies or weaken tests. Repair may change only builder-owned `ROLE.md`, `prompts/system.md`,
`src/harness_agent/tools.py`, role metadata, and focused smoke tests. It must not modify the fixed Contract 1.2
`strategy.py`, `memory.py`, or `parsing.py` mechanisms. A failure located in those fixed mechanisms is out of scope

for per-node repair. Never convert backend exceptions or upstream ‘status=error‘ inputs into a degraded ‘status=ok‘ response: the stable contract requires an error envelope and nonzero harness exit for execution errors. Do not convert unusable model output into invented content or a degraded successful fallback. Use the prior repair record when supplied and run every ‘validation.checks‘ entry from its exact published ‘cwd‘. These are job-agent checks only; controller-owned acceptance independently enforces schema, provenance, repository, pytest, checkpoint, and transaction contracts. Then use every path in ‘expected_result.artifact_paths‘ verbatim for its named result role, including each validation check ID; never substitute another writable path. Write the mapped repository diff and the schema-valid result, visible trace, tool events, stdout/stderr, usage, summary, and artifact inventory only at those mapped paths. If the supplied failure cannot be repaired within the allowlist because the frozen probe evidence locates it in another node, do not modify the repository. Write a schema-valid ‘status=failed‘, ‘outcome=unchanged‘ result with no repository changes, empty ‘addressed_check_ids‘, the original failed IDs in ‘remaining_failed_check_ids‘, and one non-retriable ‘repair_out_of_scope‘ error. The controller may accept only that exact no-change shape so the network can be revalidated after the responsible nodes finish.

Canonical harness template

Every node repository starts from the same canonical Contract 1.2 harness template. Listing A7 shows the complete template tree before node identity is materialized. The controller subsequently fills the topology-derived identity fields in harness.json; it does not add benchmark instances or node-specific solving logic.

Listing A7: File structure of the canonical per-node harness template.

agent_repo/
|-- harness.json
|-- pyproject.toml
|-- README.md
|-- ROLE.md
|-- prompts/
| |-- forward.md
| ‘-- system.md
|-- src/
| ‘-- harness_agent/
| |-- __init__.py
| |-- entrypoint.py
| |-- memory.py
| |-- parsing.py
| |-- strategy.py
| ‘-- tools.py
‘-- tests/
‘-- test_smoke.py

Table A1 summarizes the responsibility and initializer-time ownership of every file. Here, “fixed” means fixed during FH0 initialization; it does not redefine the separate optimizer-time allowlist.

FileInitializer treatmentPurpose
harness.jsonController-owned; scoped metadata editableDeclares node identity, topology neighbors, entry point, contract versions, template metadata, and path/field allowlists. The materializer writes the identity fields; the builder may change only the allowed role metadata.
pyproject.tomlFixedDefines the self-contained Python package, supported interpreter version, dependencies, and test discovery settings.
README.mdFixedRecords the neutral Contract 1.2 baseline, invocation command, and editing boundary for the repository.
ROLE.mdBuilder-ownedProvides the auditable, node-specific role description derived from the accepted initialization plan.
prompts/system.mdBuilder-ownedSupplies the node’s runtime system instruction and its plan-derived inductive bias.
prompts/forward.mdFixedRetains a future trainable prompt extension point; the neutral FH0 strategy does not inject this file into the model request.
src/harness_agent/__init__.pyFixedMarks the executable harness package and states its neutral baseline role.
src/harness_agent/entrypoint.pyFixedImplements the subprocess request/response boundary, constructs the SDK client from the supplied backend profile, and preserves the stable error exit contract.
src/harness_agent/memory.pyFixed mechanismLoads the complete case-local interaction history in original order without truncation or summarization.
src/harness_agent/parsing.pyFixed mechanismProjects native assistant content or one native tool call into the stable downstream envelope and rejects unusable model output.
src/harness_agent/strategy.pyFixed mechanismReconstructs messages from the full local history, appends current upstream inputs, makes one backend call, and delegates output projection.
src/harness_agent/tools.pyBuilder-ownedRegisters backend-native function schemas only when the node owns the public benchmark action boundary.
tests/test_smoke.pyBuilder-ownedContains focused node-role, output-contract, and error-propagation checks executed before controller acceptance.

Table A1. Files in the canonical harness template and their initializer-time roles.

The template enters the initializer workflow at five points. First, the controller freezes the clean template-baseline and its manifest. Second, PLAN reads that public template contract and proposes only node-specific roles, prompt biases, tools, and acceptance checks; it does not edit a repository. Third, after plan acceptance, the deterministic materializer creates an independent Git repository for each node and fills its topology identity in harness.json. Fourth, BUILD specializes only ROLE.md, prompts/system.md, src/harness_agent/tools.py, tests/test_smoke.py, and the allowlisted role metadata. Finally, the controller checks required files, fixed mechanisms, manifest fields, repository cleanliness, imports, tests, and synthetic network probes. REPAIR receives the same template-derived boundary and may correct only builder-owned files. The accepted node repositories jointly constitute FH0.

Forward-Model Configurations

Table B1 reports the frozen model controls used across the experiments. Local registry identifiers are omitted. Parameters not listed in the frozen generation objects use the corresponding model and Ollama defaults.

ParameterQwen3.8-27bQwen3.5-9bGemma4-8b-e4bOrnith-1.5-9B
ResourceHugging FaceHugging FaceHugging FaceHugging Face
QuantizationQ4Q4Q8Q4
BackendOllamaOllamaOllamaOllama
num_ctx32,76820,48020,48020,480
num_predict4,0962,0482,0482,048
temperature0000
top_p0.950.950.950.95
top_k20202020
min_p0000
presence_penalty1.51.51.51.5
repeat_penalty1111
Thinkingfalsefalsefalsefalse
Max calls per step1111
Max concurrency1111
Timeout (s)300300300300
Maximum timeout retries2222
Retry backoff (s)1, 21, 21, 21, 2

Table B1. Ollama model and execution controls used in the HarnessNet experiments. The Qwen3.8-27b context and prediction limits are the only generation-control differences among the four configurations.

Training Experiments

This appendix reports the training curves and held-out test results for the three evaluated topologies on ALFWorld and WebShop. For ALFWorld, scores are pass rates; for WebShop, scores are mean final rewards (AvgScore). An asterisk in the Selected column marks the trained checkpoint chosen for selected-FH testing. The Model-only row denotes the harness-free baseline. Held-out test scores are shown on the FH0 row and on the selected checkpoint row; the remaining checkpoint test cells are intentionally blank.

ALFWorld-Agentron-Training

FieldValue
Forward modelQwen3.8-27b
Benchmark domainALFWorld
TopologyAgentron [1]
Train datasetalfworld-env_train (n=168n = 168)
Validation datasetalfworld-env_train (n=42n = 42)
Test datasetalfworld-std, new_std split (n=109n = 109)

Table C1. Key metadata for ALFWorld-Agentron training.

CheckpointTrain ScoreValidation ScoreSelectedTest Score
Model-only56.88%
FH059.18%40.48%22.02%
FH139.39%52.38%
FH255.56%66.67%
FH358.54%66.67%
FH476.47%83.33%
FH583.13%85.71%
FH687.58%80.95%*77.98%
FH788.10%78.57%

Table C2. ALFWorld-Agentron train, validation, and held-out test records.

WebShop-Agentron-Training

FieldValue
Forward modelQwen3.8-27b
Benchmark domainWebShop
TopologyAgentron [1]
Train datasetwebshop-env_train (n=320n = 320)
Validation datasetwebshop-env_train (n=80n = 80)
Test datasetwebshop-std, standard split (n=200n = 200)

Table C3. Key metadata for WebShop-Agentron training.

CheckpointTrain ScoreValidation ScoreSelectedTest Score
Model-only0.5670
FH00.47890.53570.5559
FH10.50470.6384
FH20.66910.6615
FH30.70780.7223
FH40.68630.7010
FH50.72500.6583
FH60.63970.6935
FH70.70870.6867
FH80.66990.7075
FH90.71530.7131
FH100.71150.7222*0.6950

Table C4. WebShop-Agentron train, validation, and held-out test records.

ALFWorld-2Node HarnessNet-Training

FieldValue
Forward modelQwen3.8-27b
Benchmark domainALFWorld
Topology2Node HarnessNet [1, 1]
Train datasetalfworld-env_train (n=168n = 168)
Validation datasetalfworld-env_train (n=42n = 42)
Test datasetalfworld-std, new_std split (n=109n = 109)

Table C5. Key metadata for ALFWorld-2Node HarnessNet training.

CheckpointTrain ScoreValidation ScoreSelectedTest Score
Model-only56.88%
FH044.44%57.14%62.39%
FH160.42%71.43%
FH245.21%47.62%
FH389.47%85.71%
FH491.67%85.71%
FH592.26%85.71%*85.32%

Table C6. ALFWorld-2Node HarnessNet train, validation, and held-out test records.

WebShop-2Node HarnessNet-Training

FieldValue
Forward modelQwen3.8-27b
Benchmark domainWebShop
Topology2Node HarnessNet [1, 1]
Train datasetwebshop-env_train (n=320n = 320)
Validation datasetwebshop-env_train (n=80n = 80)
Test datasetwebshop-std, standard split (n=200n = 200)

Table C7. Key metadata for WebShop-2Node HarnessNet training.

CheckpointTrain ScoreValidation ScoreSelectedTest Score
Model-only0.5670
FH00.48070.58520.5523
FH10.60210.5998
FH20.58140.6450
FH30.54290.5885
FH40.62820.6054
FH50.67780.6094
FH60.64370.6163*0.5892
FH70.57550.6444

Table C8. WebShop-2Node HarnessNet train, validation, and held-out test records.

ALFWorld-4Node HarnessNet-Training

FieldValue
Forward modelQwen3.5-9b
Benchmark domainALFWorld
Topology4Node HarnessNet [1, 2, 1]
Train datasetalfworld-env_train (n=168n = 168)
Validation datasetalfworld-env_train (n=42n = 42)
Test datasetalfworld-std, new_std split (n=109n = 109)

Table C9. Key metadata for ALFWorld-4Node HarnessNet training.

CheckpointTrain ScoreValidation ScoreSelectedTest Score
Model-only11.93%
FH09.09%19.05%16.51%
FH134.43%33.33%
FH233.33%28.57%
FH339.39%38.10%
FH442.86%38.10%
FH579.17%76.19%
FH679.17%83.33%*69.72%
FH785.71%83.33%

Table C10. ALFWorld-4Node HarnessNet train, validation, and held-out test records.

WebShop-4Node HarnessNet-Training

FieldValue
Forward modelGemma4-8b-e4b
Benchmark domainWebShop
Topology4Node HarnessNet [1, 2, 1]
Train datasetwebshop-env_train (n=320n = 320)
Validation datasetwebshop-env_train (n=80n = 80)
Test datasetwebshop-std, standard split (n=200n = 200)

Table C11. Key metadata for WebShop-4Node HarnessNet training.

CheckpointTrain ScoreValidation ScoreSelectedTest Score
Model-only0.4083
FH00.12100.09630.0624
FH10.47550.5298
FH20.59840.6167*0.5875
FH30.48370.5379
FH40.57100.4727
FH50.61720.5408
FH60.60850.5509
FH70.55970.5435

Table C12. WebShop-4Node HarnessNet train, validation, and held-out test records.

Migration Study

The migration study evaluates whether the forward-harness checkpoints learned with one node-level language model remain useful when the underlying model is replaced. Table D1 summarizes the common evaluation setting.

FieldValue
Forward modelsQwen3.5-9B; Ornith1.5-9B; gemma4-8B-E4B
Benchmark domainALFWorld
Topology4Node HarnessNet [1, 2, 1]
Validation datasetalfworld-env_train (n=42n = 42)
Test datasetalfworld-std, new_std split (n=109n = 109)

Table D1. Key metadata for the migration study.

Checkpoint/ModelQwen3.5-9BOrnith1.5-9Bgemma4-8B-E4B
FH019.05%16.67%16.67%
FH133.33%19.05%16.67%
FH228.57%23.81%7.14%
FH338.10%28.57%30.95%
FH438.10%33.33%38.10%
FH576.19%57.14%78.57%
FH683.33%61.90%73.81%
FH783.33%59.52%80.95%
Model-only Test11.93%19.27%8.26%
FH0 Test16.51%11.93%9.17%
Selected FHFH6FH6FH7
Selected FH Test69.72%49.54%68.81%

Table D2. Migration-study validation and held-out test pass rates.

Across all three model backends, later harness checkpoints substantially outperform FH0 on validation: the selected checkpoint reaches 83.33% for Qwen3.5-9B, 61.90% for Ornith1.5-9B, and 80.95% for gemma4-8B-E4B, compared with FH0 scores of 19.05%, 16.67%, and 16.67%, respectively. The selected checkpoints also retain nontrivial held-out test pass rates after migration (69.72%, 49.54%, and 68.81%). The node harnesses therefore preserve useful task-solving structure after the underlying model is replaced. Their learned mechanisms and rules are not tied exclusively to the model used during training. The variation across models shows that this transfer is partial rather than fully model-independent.

Hierarchical vs. Global Optimizer Comparison Study Details

Training and Evaluation Results

Tables E1 and E2 compare checkpoint-level performance when the same 4Node HarnessNet topology is trained with either the hierarchical optimizer or the global optimizer. ALFWorld scores are pass rates, whereas WebShop scores are mean final rewards (AvgScore). Model-only denotes the harness-free baseline. The FH0 row combines the untrained harness’s train and validation scores with its no-training held-out test score. Blank test cells indicate that no test result was recorded for that checkpoint.

CheckpointHierarchical Optimizer — Train ScoreHierarchical Optimizer — Validation ScoreHierarchical Optimizer — Test ScoreGlobal Optimizer — Train ScoreGlobal Optimizer — Validation ScoreGlobal Optimizer — Test Score
Model-only11.93%11.93%
FH09.09%19.05%16.51%9.09%19.05%16.51%
FH134.43%33.33%32.20%28.57%
FH233.33%28.57%23.08%30.95%
FH339.39%38.10%32.20%45.24%
FH442.86%38.10%34.43%40.48%
FH579.17%76.19%35.48%59.52%
FH679.17%83.33%69.72%23.08%38.10%
FH785.71%83.33%47.37%42.86%44.96%

Table E1. ALFWorld train, validation, and held-out test pass rates under the hierarchical and global optimizers.

CheckpointHierarchical Optimizer — Train ScoreHierarchical Optimizer — Validation ScoreHierarchical Optimizer — Test ScoreGlobal Optimizer — Train ScoreGlobal Optimizer — Validation ScoreGlobal Optimizer — Test Score
Model-only0.40830.4083
FH00.12100.09630.06240.12100.09630.0624
FH10.47550.52980.38830.3802
FH20.59840.61670.58750.48110.4730
FH30.48370.53790.48370.5554
FH40.57100.47270.62730.64180.6046
FH50.61720.54080.60170.5608
FH60.60850.55090.61280.5894
FH70.55970.54350.57390.5747

Table E2. WebShop train, validation, and held-out test AvgScore under the hierarchical and global optimizers.

Optimizer Cost Comparison

The cost tables report optimizer usage for each backward round. Costs for the hierarchical optimizer are listed separately for the four node-level jobs. The global optimizer values span those four rows because they correspond to one joint network-level job. Optimizer time is converted from milliseconds to seconds, and all reported values are rounded to the nearest integer.

BackwardNodeHierarchical Optimizer Input TokenHierarchical Optimizer Output TokenHierarchical Optimizer Time (s)Global Optimizer Input TokenGlobal Optimizer Output TokenGlobal Optimizer Time (s)
1l2-last4,557,38131,3201,42710,467,46040,9021,719
1l1-hidden_a4,440,62824,5401,304
1l1-hidden_b6,460,73325,8991,366
1l0-first7,133,10325,8201,467
2l2-last7,027,57146,1651,91213,542,62542,6602,056
2l1-hidden_a11,152,14443,6971,779
2l1-hidden_b5,910,33731,3201,414
2l0-first10,529,96739,3921,970
3l2-last5,084,14032,6731,35513,214,12471,4962,290
3l1-hidden_a5,374,44026,8831,292
3l1-hidden_b7,538,92731,3011,712
3l0-first4,620,86233,1771,374
4l2-last3,348,88223,8009408,173,53848,9241,452
4l1-hidden_a4,835,61828,2561,123
4l1-hidden_b4,043,00217,644885
4l0-first3,967,81718,529774
5l2-last2,288,05914,14957612,491,46943,6731,873
5l1-hidden_a4,746,38727,2971,159
5l1-hidden_b3,398,82618,563816
5l0-first3,739,48023,164959
6l2-last3,641,37817,6297297,927,77644,2071,436
6l1-hidden_a4,242,02930,3551,213
6l1-hidden_b3,211,53617,740755
6l0-first3,144,40024,5521,006
7l2-last3,189,45418,3877507,999,80940,6851,425
7l1-hidden_a3,858,21720,179823
7l1-hidden_b2,905,34621,435904
7l0-first3,949,10321,133884

Table E3. ALFWorld optimizer cost by backward round.

BackwardNodeHierarchical Optimizer: Input TokenHierarchical Optimizer: Output TokenHierarchical Optimizer: Optimizer Time (s)Global Optimizer: Input TokenGlobal Optimizer: Output TokenGlobal Optimizer: Optimizer Time (s)
1l2-last3,971,82418,69470720,197,74644,4242,378
1l1-hidden_a4,240,69118,87277620,197,74644,4242,378
1l1-hidden_b2,977,72214,11460320,197,74644,4242,378
1l0-first5,586,74922,60187020,197,74644,4242,378
2l2-last2,659,25415,2426279,745,83925,3821,373
2l1-hidden_a5,084,08419,4558799,745,83925,3821,373
2l1-hidden_b3,130,25517,5477669,745,83925,3821,373
2l0-first3,556,34216,6777239,745,83925,3821,373
3l2-last2,553,96818,5457226,451,22725,3421,221
3l1-hidden_a4,175,67722,0438986,451,22725,3421,221
3l1-hidden_b4,877,49324,1381,0116,451,22725,3421,221
3l0-first3,651,82820,3128126,451,22725,3421,221
4l2-last3,173,15815,82766411,285,09144,0762,214
4l1-hidden_a4,061,41319,71180711,285,09144,0762,214
4l1-hidden_b4,403,02719,53984111,285,09144,0762,214
4l0-first4,278,53016,15469711,285,09144,0762,214
5l2-last3,725,26519,9967794,928,53520,1461,233
5l1-hidden_a7,745,67226,2891,0384,928,53520,1461,233
5l1-hidden_b4,451,91622,1718584,928,53520,1461,233
5l0-first5,969,03022,9421,0114,928,53520,1461,233
6l2-last2,935,01514,2806256,849,50420,0701,303
6l1-hidden_a5,462,01522,5109496,849,50420,0701,303
6l1-hidden_b3,445,44915,3897286,849,50420,0701,303
6l0-first3,231,75216,7267226,849,50420,0701,303
7l2-last5,280,30018,2807814,216,68615,1101,074
7l1-hidden_a4,712,30725,0601,0034,216,68615,1101,074
7l1-hidden_b4,858,97719,7088464,216,68615,1101,074
7l0-first3,708,94717,5737714,216,68615,1101,074

Table E4. WebShop optimizer cost by backward round.

Optimizer Prompt Templates

The templates below follow the latest semantic-report prompt wording in the Dev implementation for each optimizer architecture. To match the comparison-study jobs, their execution controls are fixed to gpt-5.6-sol, reasoning_effort=high, and mode=standard. Apart from these study-specific control values, the template text is reproduced verbatim; line wrapping and continuation indentation are adjusted only for typesetting. Per-job rendered prompts additionally append the adopted replay/history protocol and the job-specific identifier and manifest path.

Listing E1: Hierarchical optimizer semantic-report prompt template.

# Hierarchical node optimizer: semantic report

Execute only the frozen ‘gpt-5.6-sol’, ‘reasoning_effort=high’, ‘mode=standard’ job using
  ‘delivery.protocol=semantic-report-v1’. Enforce ‘strict_local_visibility’: read the registered local failure
  bundles, direct downstream feedback, environment feedback when provided, checkpoint and fixed contract. The rendered
  prompt is read-only. Inspect ‘case_memory_snapshot’ when diagnosing history or memory-continuity failures; do not
  inspect peer or non-neighbor private traces.

Before choosing a repair, systematically review the entire failure batch visible to this job. Check every case’s
  feedback and key behaviors first, then inspect relevant traces and implementation more deeply by failure pattern.
  This does not require expanding every full model trace. Distinguish observed symptoms, root cause hypotheses and
  supporting evidence; do not force all failures into one explanation or stop the survey at the first easy fix.

Prioritize one or more patterns by their coverage, severity, strength of causal evidence, likely transfer to similar
  tasks and feasibility within the frozen budget. Frequency alone does not determine importance; no numerical scoring
  formula is required. Aim to improve the harness’s general capability on similar tasks, beyond correcting isolated
  cases or passing selected replay samples. A single round need not resolve every pattern.

In the existing diagnosis, briefly summarize the main patterns, their supported scope and representative case IDs, why
  the selected targets deserve priority, and the validation findings and remaining uncertainties. Use existing tests
  and any adopted replay protocol to check the chosen solution. Distinguish observed local gains from expected broader
  benefits and note untested patterns and potential regressions. Do not create separate diagnostic reports or new
  report fields for this survey.

Distinguish four boundaries when choosing a repair:

- Fixed interfaces: preserve the fixed SDK, entrypoint, identity, request/response contract, authorized tool
  interfaces and execution-error propagation.
- Execution constraints: obey the frozen job’s model and call budgets, visibility, read/write paths, validation and
  any adopted replay protocol.
- FHO initialization limits: requirements for a neutral minimal baseline and initializer restrictions on template
  edits govern initialization. They do not freeze optimizer-trainable mechanisms after initialization. Continue to
  honor the fixed contract; existing README/ROLE descriptions of baseline behavior do not independently make an
  allowed implementation path immutable.
- Trainable decision mechanisms: repository ‘allowed_paths’ are trainable paths. Changes to role
  definitions/descriptions and prompts, as well as code-level changes to strategy, memory, parsing or tools, are
  permitted where declared. Choose the mechanism from the observed failure evidence; the FHO role split is not
  immutable, but fixed topology, interfaces and tool permissions remain binding.

When needed to address the prioritized failure patterns, you may change or replace existing mechanisms, restructure
  trainable code, or introduce a new mechanism or design within those paths and boundaries. Existing code need not
  have an implementation bug to justify a code-level decision-policy improvement. Prefer the smallest change necessary
  to address the failure mechanism, not the fewest edited files or a prompt-only fix. Do not require a prompt attempt
  before considering code, or change code merely to increase the number of code edits.

Keep the optimized harness’s forward input context and node outputs lightweight while preserving decision-critical
  information, honoring the fixed contract and achieving the intended mechanism improvement. Avoid redundant
  information injection, unnecessary expansion of history or evidence, and accumulating verbose rules or intermediate
  explanations. Pass only the information the downstream consumer needs to fulfill its role. Consider both input and
  output costs, including downstream reuse and accumulation later in history. Additional context or output should have
  a clear mechanism benefit. This is an optimization preference, not a hard token limit or a new acceptance criterion.
  Never discard key constraints, evidence, uncertainty or required history merely to reduce tokens; continue to obey
  the frozen history contract.

Apply one candidate update to the published base, run necessary development tests, and leave the candidate repository
clean. Use the interpreter provided by the controller, with the candidate repository as the test cwd. For
‘no_change‘, leave the published base unchanged. Keep the fixed contract and all model and visibility limits.

Keep test source files in their registered allowed paths. Put test-generated temporary files under the job-specific
‘Dev/tmp/‘ directory given in the launch instruction. When running pytest from the candidate repository, pass that
directory as ‘--basetemp‘; do not create test temporary directories inside the candidate repository. The runner owns
cleanup of its job-specific directory.

The semantic report is the only final deliverable; this does not prohibit the authorized candidate edits,
development tests, or adopted replay input files and controller replay commands. Complete those steps before writing
one JSON report to ‘delivery.report_path‘, following ‘delivery.report_schema‘. Successful reports contain
‘schema_version="1.0"‘, ‘job_id‘, ‘status="succeeded"‘, ‘diagnosis‘, ‘evidence_case_ids‘,
‘consumed_environment_feedback_ids‘, one ‘agent_decisions‘ entry, ‘consumed_downstream_feedback_ids‘, and
‘upstream_feedback‘. The decision names ‘agent_id‘, ‘outcome‘ (‘changed‘ or ‘no_change‘), ‘change_summary‘, and its
own ‘evidence_case_ids‘. Evidence case lists must be nonempty, unique subsets of the visible cases. Confirm
consumption of every declared environment and downstream feedback; use environment case IDs and downstream feedback
IDs. Keep diagnosis and summaries brief and evidence-based.

Provide exactly one upstream feedback entry per direct recipient, even for ‘no_change‘. Each entry has
‘recipient_agent_id‘, ‘feedback_type‘, ‘case_ids‘, ‘summary‘, ‘improvement_points‘, and ‘preserve_points‘. ‘improve‘
requires improvement points; ‘preserve‘ requires preserve points and no improvement points; ‘no_special_guidance‘
has neither. Explain useful upstream input without single-point blame or claims of single-node causality for an
end-to-end failure.

If unable to finish, write only ‘schema_version‘, ‘job_id‘, ‘status="failed"‘, and a nonempty ‘error‘. After the
candidate, necessary tests and report are complete, finish immediately. The controller owns declared delivery
checks, diff capture, inventory, execution statistics and full result generation. Do not generate those
artifacts, write a schema checker, invoke acceptance, activate a checkpoint, or retry the job.

Listing E2: Global (flat-network) optimizer semantic-report prompt template.

# Flat network optimizer: semantic report

Execute only the frozen ‘gpt-5.6-sol‘, ‘reasoning_effort=high‘, ‘mode=standard‘ job using
‘delivery.protocol=semantic-report-v1‘. Read the registered whole-network failure bundles, environment feedback,
checkpoint and fixed contract. The rendered prompt is read-only. Inspect ‘case_memory_snapshot‘ when diagnosing
history or memory-continuity failures; use only this job’s visible evidence.

Before choosing a repair, systematically review the entire failure batch visible to this job. Check every case’s
feedback and key behaviors first, then inspect relevant traces and implementation more deeply by failure pattern.
This does not require expanding every full model trace. Distinguish observed symptoms, root cause hypotheses and
supporting evidence; do not force all failures into one explanation or stop the survey at the first easy fix.

Prioritize one or more patterns by their coverage, severity, strength of causal evidence, likely transfer to similar
tasks and feasibility within the frozen budget. Frequency alone does not determine importance; no numerical scoring
formula is required. Aim to improve the harness’s general capability on similar tasks, beyond correcting isolated
cases or passing selected replay samples. A single round need not resolve every pattern.

In the existing diagnosis, briefly summarize the main patterns, their supported scope and representative case IDs, why
the selected targets deserve priority, and the validation findings and remaining uncertainties. Use existing tests
and any adopted replay protocol to check the chosen solution. Distinguish observed local gains from expected broader
benefits and note untested patterns and potential regressions. Do not create separate diagnostic reports or new
report fields for this survey.

Distinguish four boundaries when choosing a repair:

- Fixed interfaces: preserve the fixed SDK, entrypoint, identity, request/response contract, authorized tool
  interfaces and execution-error propagation.
- Execution constraints: obey the frozen job’s model and call budgets, visibility, read/write paths, validation and
  any adopted replay protocol.
- FHO initialization limits: requirements for a neutral minimal baseline and initializer restrictions on template
  edits govern initialization. They do not freeze optimizer-trainable mechanisms after initialization. Continue to
  honor the fixed contract; existing README/ROLE descriptions of baseline behavior do not independently make an
  allowed implementation path immutable.
  • Trainable decision mechanisms: repository ‘allowed_paths‘ are trainable paths. Changes to role definitions/descriptions and prompts, as well as code-level changes to strategy, memory, parsing or tools, are permitted where declared. Choose the mechanism from the observed failure evidence; the FH0 role split is not immutable, but fixed topology, interfaces and tool permissions remain binding.

When needed to address the prioritized failure patterns, you may change or replace existing mechanisms, restructure trainable code, or introduce a new mechanism or design within those paths and boundaries. Existing code need not have an implementation bug to justify a code-level decision-policy improvement. Prefer the smallest change necessary to address the failure mechanism, not the fewest edited files or a prompt-only fix. Do not require a prompt attempt before considering code, or change code merely to increase the number of code edits.

Keep the optimized harness’s forward input context and node outputs lightweight while preserving decision-critical information, honoring the fixed contract and achieving the intended mechanism improvement. Avoid redundant information injection, unnecessary expansion of history or evidence, and accumulating verbose rules or intermediate explanations. Pass only the information the downstream consumer needs to fulfill its role. Consider both input and output costs, including downstream reuse and accumulation in later history. Additional context or output should have a clear mechanism benefit. This is an optimization preference, not a hard token limit or a new acceptance criterion. Never discard key constraints, evidence, uncertainty or required history merely to reduce tokens; continue to obey the frozen history contract.

Apply one candidate update per changed node to its published base, run necessary development tests, and leave all candidate repositories clean. Use the interpreter provided by the controller, with the candidate repository as the test cwd. For ‘no_change‘, leave the published base unchanged. Keep the fixed contract and all model limits.

Keep test source files in their registered allowed paths. Put test-generated temporary files under the job-specific ‘Dev/tmp/‘ directory given in the launch instruction. When running pytest from a candidate repository, pass that directory as ‘--basetemp‘; do not create test temporary directories inside a candidate repository. The runner owns cleanup of its job-specific directory.

The semantic report is the only final deliverable; this does not prohibit the authorized candidate edits, development tests, or adopted replay input files and controller replay commands. Complete those steps before writing one JSON report to ‘delivery.report_path‘, following ‘delivery.report_schema‘. Successful reports contain ‘schema_version="1.0"‘, ‘job_id‘, ‘status="succeeded"‘, ‘diagnosis‘, ‘evidence_case_ids‘, ‘consumed_environment_feedback_ids‘, and ‘agent_decisions‘. Include exactly one decision per target node, naming ‘agent_id‘, ‘outcome‘ (‘changed‘ or ‘no_change‘), ‘change_summary‘, and that node’s own ‘evidence_case_ids‘. Evidence case lists must be nonempty, unique subsets of visible cases. Confirm consumption of every declared environment feedback using its case ID. Keep diagnosis and summaries brief and evidence-based. Flat jobs must omit upstream feedback and consumed downstream feedback fields; the controller derives the network outcome and candidate checkpoint from decisions and accepted candidate changes.

If unable to finish, write only ‘schema_version‘, ‘job_id‘, ‘status="failed"‘, and a nonempty ‘error‘. After the candidates, necessary tests and report are complete, finish immediately. The controller owns declared delivery checks, diff capture, inventory, execution statistics and full result generation. Do not generate those artifacts, write a schema checker, invoke acceptance, activate a checkpoint, or retry the job.

Case Study: Learn Rules, Not Answers

We examine whether the performance gains come from reusable task-specific mechanisms encoded in the evolved harnesses rather than memorized answers to training tasks. We analyze the 4-node ALFWorld experiment with Qwen3.5-9B, shown in the corresponding training-results figure in the main paper. The foundation models remain frozen, and all updates are confined to the forward harness repositories. This makes the evolution process directly inspectable. We divide the process into four stages based on the training and validation curves; stage headings report checkpoint validation pass rates.

FH0 Initialization. The initial HarnessNet uses a 4-node topology with the following role division:

  • Input Node: Organizes the task, current observation, interaction history, and admissible actions for downstream nodes.

  • Hidden Node A: Independently analyzes which actions are currently feasible and checks their preconditions.

  • Hidden Node B: Tracks goal progress and recommends the next useful transition toward task completion.

  • Output Node: Reconciles the two hidden-node analyses and selects one action from the current admissible set.

At FH0, these nodes contain only general role prompts and forwarding logic. They do not have explicit mechanisms for loop prevention, object-state tracking, multi-object progress, or search planning.

FH0 (19.05%) →\to FH1 (33.33%). Training and validation performance improve sharply in this stage. Unreliable environment interaction is the main FH0 failure mode: 25 of the first 40 failed cases terminate with invalid actions. Updates in FH1 include:

  • Input Node: Preserves the latest observation and records held objects and searched locations.

  • Hidden Node A: Detects repeated information-gathering actions to avoid wasting steps.

  • Hidden Node B: Recommends canonical actions, begins tracking object counts and transformation states, and enforces the one-object inventory constraint.

  • Output Node: Converts malformed suggestions into canonical commands, rejects unavailable actions, and resolves conflicts using current environment evidence.

These changes establish more reliable multi-step interaction with the environment. Invalid-action failures decrease from 25 to 5 in the next failure batch, shifting the main bottleneck from action validity to long-horizon task completion.

FH1 (33.33%) →\to FH4 (38.10%). Performance improves gradually and non-monotonically. FH1 often searches while already holding the target, confuses similar object names or action meanings, and allows old history to override the latest location or inventory. Updates through FH4 include:

  • Input Node: Introduces a Goal→\toNow→\toProgress→\toNext→\toLater structure to organize state and action order.

  • Hidden Node A: Uses the latest location and inventory as state and checks immediate action preconditions.

  • Hidden Node B: Preserves completed deliveries, tracks held and distinct object instances, and requires observed evidence before marking transformations complete.

  • Output Node: Uses the current state and action history to avoid cycles, unnecessary searches, and redundant actions.

By FH4, all 40 failures reach the step limit rather than terminating with invalid actions. Ten cases make partial progress on pickup, transformation, or placement, while the other 30 perform valid but overly long searches. Thus, training reduces state and action errors but exposes search efficiency as the next bottleneck.

FH4 (38.10%) →\to FH5 (76.19%). This stage yields the largest training and validation gains. All 40 FH4 failures reach the step limit, and 16 cases repeatedly read the same kind instead of trying another plausible source. Updates in FH5 include:

  • Input Node: Learns source-family priors for common target objects and switches families after repeated misses.

  • Hidden Node A: Detects search stagnation and proposes an unvisited location from a different plausible family.

  • Hidden Node B: Refreshes its plan from the latest visible objects and visited locations, prioritizing visible targets and avoiding unsupported locations.

  • Output Node: Remains unchanged.

In the next 35-case failure batch, no trajectory visits three or more distinct locations from one family consecutively before switching families. This greatly improves training and validation performance.

FH5 (76.19%) →\to FH7 (83.33%). Performance improves from FH5 to FH6 and then saturates, with no further validation gain at FH7. Remaining failures include leaving plausible source locations too early, attempting remote examination, repeating stale destinations, treating proposed actions as completed, and selecting the same object instance again. Updates through FH7 include:

  • Input Node: Prioritizes unvisited sources and stops repeating ignored destinations.

  • Hidden Node A: Distinguishes proposed actions from executed actions and analyzes action feasibility.

  • Hidden Node B: Tracks completed deliveries and individual object instances, avoids stale search locations, and includes required steps such as opening an appliance before using it.

  • Output Node: Uses Node A’s feasibility analysis to correct Node B’s plan when a prerequisite is missing.

These changes refine search ordering and multi-step execution. They produce the smaller improvement from FH5 to FH6, while FH7 maintains the same validation pass rate.

The evolution process preserves the FH0 node roles while adding complementary ALFWorld-specific mechanisms inside each node forward harness. The final harnesses contain neither case IDs nor stored case-specific action sequences. The best evolved checkpoint also improves held-out test performance from 16.51% at FH0 to 69.72% at FH6. Together, the absence of stored case sequences and the held-out improvement suggest that HarnessNet learns reusable interaction rules rather than memorizing training answers.

References

  1. [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. G.; Stoica, I.; Klein, D.; Zaharia, M.; and Khattab, O. 2025. GEPA: Reflective Prompt Evolution Can Outperform Reinforcement Learning. arXiv preprint arXiv:2507.19457.arxiv.org/abs/2507.19457
  2. [2]Bagdasarian, E.; and Gruteser, M. 2026. Open and Emergent Problems in Agentic Privacy and Security: A Contextual Angle. Google Research Blog. Published October 5, 2026. Accessed October 7, 2026.
  3. [3]Cai, Q.; Zhang, Y.; Jia, X.; Zheng, H.; Xue, W.; Song, J.; Tian, X.; and Guo, Y. 2026. MOSS: Self-Evolution through Source-Level Rewriting in Autonomous Agent Systems. arXiv preprint arXiv:2605.22794.arxiv.org/abs/2605.22794
  4. [4]Chen, K.; Zhong, Q.; Liu, J.; and Du, B. 2026. SkillCAT: Contrastive, Assessment-Augmented and Topology-Aware Skill Self-Evolution for LLM Agents. arXiv:2606.13317.arxiv.org/abs/2606.13317
  5. [5]Chu, J.; Seo, J.; Cho, J.; Na, J.; Xiong, Y.; Kim, Y.; and Kim, H. J. 2026. AgentGrad: Intervention-guided Prompt Optimization for Multi Agent Systems. arXiv:2609.08572.arxiv.org/abs/2609.08572
  6. [8]Hao, Z.; Wang, T.; Dong, H.; Liu, Z.; Wang, H.; Lin, X.; Lin, Q.; Wang, C.; Dong, H.; and Chen, J. 2026. Evolve as a Team: Collaborative Self-Evolution for LLM-based Multi-Agent Systems. arXiv:2605.29790.arxiv.org/abs/2605.29790
  7. [12]Jana, P.; Goswami, M.; Liu, H.; Li, X.; Huang, L.; Huang, Z.; Huang, Z.; Blöbaum, P.; Deoras, A.; Jain, P.; Kanakaris, N.; and Genc, S. 2026. MILO: Automated Harness Discovery via Orchestrated Multi-Agent Evolution. arXiv:2609.38349.arxiv.org/abs/2609.38349
  8. [13]Jiang, W.; Chu, M.; Tian, Y.; Zhang, Q.; Yang, H.; Yang, R.; Liu, Y.; Lv, T.; and Li, F. 2026. HarnessEvolve: Learning from Reference Trajectories for Reliable Agent Self-Evolution. arXiv:2609.00829.arxiv.org/abs/2609.00829
  9. [14]Juneja, G.; Pasupulati, J. N. S.; Albalak, A.; Hua, W.; and Wang, W. 2025. MAGPIE: A benchmark for Multi-Agent contextual PrIvacy Evaluation. arXiv:2510.15186.arxiv.org/abs/2510.15186
  10. [15]Kang, M.; Chen, W.-N.; Han, D.; Inan, H. A.; Wutschitz, L.; Chen, Y.; Sim, R.; and Rajmohan, S. 2026. ACON: Optimizing Context Compression for Long-horizon LLM Agents. In Proceedings of the 43rd International Conference on Machine Learning, volume 306 of Proceedings of Machine Learning Research, 55321–55375. PMLR.arxiv.org/abs/2510.00615
  11. [16]Karten, S.; Zhang, J.; Upaa, T.; Feng, R.; Li, W.; Shi, C.; Jin, C.; and Vodrahalli, K. 2026. Continual Harness: Online Adaptation for Self-Improving Foundation Agents. arXiv preprint arXiv:2605.09998.arxiv.org/abs/2605.09998
  12. [17]Lee, Y.; Nair, R.; Zhang, Q.; Lee, K.; Khattab, O.; and Finn, C. 2026. Meta-Harness: End-to-End Optimization of Model Harnesses. arXiv preprint arXiv:2603.28052.arxiv.org/abs/2603.28052
  13. [18]Liang, G.; Bei, Y.; Zhou, S.; Qin, Y.; Zhou, H.; Jia, B.; Li, B.; and Bu, J. 2026. Generalizable Self-Evolving Memory for Automatic Prompt Optimization. arXiv:2603.21520.arxiv.org/abs/2603.21520
  14. [19]Lin, H.; Li, P.; Song, J.; Jiang, F.; and Zhang, T. 2026a. MUSE-Autoskill: Self-Evolving Agents via Skill Creation, Memory, Management, and Evaluation. arXiv preprint arXiv:2605.27366.arxiv.org/abs/2605.27366
  15. [20]Lin, J.; Liu, S.; Pan, C.; Lin, L.; Dou, S.; Xi, Z.; Huang, X.; Yan, H.; Han, Z.; Gui, T.; and Jiang, Y.-G. 2026b. Agentic Harness Engineering: Observability-Driven Automatic Evolution of Coding-Agent Harnesses. arXiv preprint arXiv:2604.25850.arxiv.org/abs/2604.25850
  16. [21]Lindenbauer, T.; Slinko, I.; Felder, I.; Bogomolov, E.; and Zharov, Y. 2025. The Complexity Trap: Simple Observation Masking Is as Efficient as LLM Summarization for Agent Context Management. arXiv:2508.21433.arxiv.org/abs/2508.21433
  17. [22]Liu, P.; Yuan, W.; Fu, J.; Jiang, Z.; Hayashi, H.; and Neubig, G. 2023a. Pre-train, Prompt, and Predict: A Systematic Survey of Prompting Methods in Natural Language Processing. ACM Computing Surveys, 55(9): 195:1–195:35.arxiv.org/abs/2107.13586
  18. [23]Liu, X.; Yu, H.; Zhang, H.; Xu, Y.; Lei, X.; Lai, H.; Gu, Y.; Ding, H.; Men, K.; Yang, K.; et al. 2024. YagentBench: Evaluating LLMs as agents. In International Conference on Learning Representations, volume 2024, 52989–53046.arxiv.org/abs/2308.03688
  19. [24]Liu, Z.; Shi, Z.; Sang, Y.; He, B.; Lin, M.; Wei, T.; Wang, D.; Dumoulin, B.; Jin, W.; and Lu, H. 2026. Adaptive Auto-Harness: Sustained Self-Improvement for Agentic System Deployment on Open-Ended Task Streams. arXiv preprint arXiv:2606.01770.arxiv.org/abs/2606.01770
  20. [25]Liu, Z.; Zhang, Y.; Li, P.; Liu, Y.; and Yang, D. 2023b. A Dynamic LLM-Powered Agent Network for Task-Oriented Agent Collaboration. arXiv preprint arXiv:2310.02170.arxiv.org/abs/2310.02170
  21. [26]Lopopolo, R. 2026. Harness Engineering: Leveraging Codex in an Agent-First World. OpenAI Engineering Blog. Published February 11, 2026. Accessed October 3, 2026.
  22. [28]Mei, L.; Yao, J.; Ge, Y.; Wang, Y.; Bi, B.; Cai, Y.; Liu, J.; Li, M.; Li, Z.-Z.; Zhang, D.; Zhou, C.; Mao, J.; Xia, T.; Guo, J.; and Liu, S. 2025. A Survey of Context Engineering for Large Language Models. arXiv:2507.13334.arxiv.org/abs/2507.13334
  23. [29]Nie, J.; Zhang, Y.; Cai, Q.; ming Cheung, Y.; Tian, X.; and Han, B. 2026. EvolveNet: Collaborative Harness Evolution for Agent Self-Improvement. arXiv:2608.04968.arxiv.org/abs/2608.04968
  24. [31]OpenAI. 2026. GPT-5.6: Frontier Intelligence That Scales with Your Ambition. https://openai.com/index/gpt-5-6/. Accessed: 2026-09-30.
  25. [32]Ornith Team. 2026. Ornith-1.5: From Self-Scaffolding to Self-Improvement.
  26. [33]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. Association for Computational Linguistics.arxiv.org/abs/2305.03495
  27. [34]Qwen Team. 2026a. Qwen3.5: Towards Native Multimodal Agents.
  28. [35]Qwen Team. 2026b. Qwen3.8-Max: A New Bar for Coding and Cowork.
  29. [36]Rajasekaran, P.; Dixon, E.; Ryan, C.; and Hadfield, J. 2025. Effective Context Engineering for AI Agents. Anthropic Engineering Blog. Published September 29, 2025. Accessed October 3, 2026.
  30. [37]Robeyns, M.; Szummer, M.; and Aitchison, L. 2025. A Self-Improving Coding Agent. arXiv preprint arXiv:2504.15228.arxiv.org/abs/2504.15228
  31. [38]Schulhoff, S.; Ilie, M.; Balepur, N.; Kahadze, K.; Liu, A.; Si, C.; Li, Y.; Gupta, A.; Han, H.; Schulhoff, S.; Dulepet, P. S.; Vidyadhara, S.; Ki, D.; Agrawal, S.; Pham, C.; Kroiz, G.; Li, F.; Tao, H.; Srivastava, A.; Costa, H. D.; Gupta, S.; Rogers, M. L.; Goncearenco, I.; Sarli, G.; Galynker, I.; Peskoff, D.; Carpuat, M.; White, J.; Anadkat, S.; Hoyle, A.; and Resnik, P. 2024. The Prompt Report: A Systematic Survey of Prompt Engineering Techniques. arXiv:2406.06608.arxiv.org/abs/2406.06608
  32. [39]Shao, R.; Shen, S. Z.; Yin, J. O.; Li, Y.; Wang, M.; Ivison, H.; Poovendran, R.; Lambert, N.; Xiao, T.; Lewis, M.; tau Yih, W.; Zettlemoyer, L.; and Koh, P. W. 2026. Context Language Models. arXiv:2609.37725.arxiv.org/abs/2609.37725
  33. [40]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.arxiv.org/abs/2303.11366
  34. [41]Suzgun, M.; Yuksekgonul, M.; Bianchi, F.; Jurafsky, D.; and Zou, J. 2025. Dynamic Cheatsheet: Test-Time Learning with Adaptive Memory. arXiv:2504.07952.arxiv.org/abs/2504.07952
  35. [42]Team, G.; Abd, S. E.; Aggarwal, V.; Algayres, R.; Andreev, A.; Bachem, O.; Ballantyne, I.; Brick, C.; Čarbune, V.; Casbon, M.; et al. 2026. Gemma 4 technical report. arXiv preprint arXiv:2607.02770.
  36. [43]Wang, H.; Lan, Y.; Cao, B.; Lin, L.; and Chen, J. 2026a. OptiGrad: Optimizing Agent Skills Like Gradient Descent. arXiv preprint arXiv:2605.27760.arxiv.org/abs/2605.27760
  37. [44]Wang, X.; Li, C.; Wang, Z.; Bai, F.; Luo, H.; Zhang, J.; Jojic, N.; Xing, E.; and Hu, Z. 2024. PromptAgent: Strategic Planning with Language Models Enables Expert-level Prompt Optimization. In The Twelfth International Conference on Learning Representations.arxiv.org/abs/2310.16427
  38. [45]Wang, Y.; Liu, S.; Fang, J.; and Meng, Z. 2025. EvoAgentX: An Automated Framework for Evolving Agentic Workflows. arXiv preprint arXiv:2507.03616.arxiv.org/abs/2507.03616
  39. [46]Wang, Z.; Liu, X.; Wang, L.; Shan, Z.; Wang, Y.; Song, Z.; and Zhang, M. 2026b. MASPO: Joint Prompt Optimization for LLM-based Multi-Agent Systems. In Zhang, T.; Dudik, M.; Jaggi, M.; Agarwal, A.; Li, S.; Schuurmans, D.; Zhu, J.; Berkenkamp, F.; Dong, H.; and Bietti, A., eds., Proceedings of the 43rd International Conference on Machine Learning, volume 306 of Proceedings of Machine Learning Research, 128503–128534. PMLR.arxiv.org/abs/2605.06623
  40. [47]Wang, Z.; Yan, M.; Bi, J.; Yan, S.; Tresp, V.; and Ma, Y. 2026c. MetaSkill-Evolve: Recursive Self-Improvement of LLM Agents via Two-Timescale Meta-Skill Evolution. arXiv preprint arXiv:2607.05297.arxiv.org/abs/2607.05297
  41. [48]Xia, C. S.; Wang, Z.; Yang, Y.; Wei, Y.; and Zhang, L. 2025. Live-SWE-agent: Can Software Engineering Agents Self-Evolve on the Fly? arXiv preprint arXiv:2511.13646.arxiv.org/abs/2511.13646
  42. [51]Yang, C.; Wang, X.; Lu, Y.; Liu, H.; Le, Q. V.; Zhou, D.; and Chen, X. 2024. Large Language Models as Optimizers. In The Twelfth International Conference on Learning Representations.arxiv.org/abs/2309.03409
  43. [52]Yang, Y.; Li, J.; Pan, Q.; Zhan, B.; Cai, Y.; Du, L.; Zhou, J.; Chen, K.; Chen, Q.; Li, X.; Zhang, B.; and He, L. 2026. AutoSkill: Experience-Driven Lifelong Learning via Skill Self-Evolution. arXiv preprint arXiv:2603.01145.arxiv.org/abs/2603.01145
  44. [53]Young, J. 2025. Effective Harnesses for Long-Running Agents. Anthropic Engineering Blog. Published November 26, 2025. Accessed October 3, 2026.
  45. [54]Yuksekgonul, M.; Bianchi, F.; Boen, J.; Liu, S.; Huang, Z.; Guestrin, C.; and Zou, J. 2024. TextGrad: Automatic “Differentiation” via Text. arXiv preprint arXiv:2406.07496.arxiv.org/abs/2406.07496
  46. [55]Zhang, G.; Niu, L.; Fang, J.; Wang, K.; Bai, L.; and Wang, X. 2025a. Multi-Agent Architecture Search via Agentic Supernet. arXiv preprint arXiv:2502.04180.arxiv.org/abs/2502.04180
  47. [56]Zhang, H.; Fan, S.; Zou, H. P.; Chen, Y.; Wang, Z.; Zhou, J.; Li, C.; Huang, W.-C.; Yao, Y.; Zheng, K.; Liu, X.; Li, X.; and Yu, P. S. 2026a. CoEvoSkills: Self-Evolving Agent Skills via Co-Evolutionary Verification. arXiv preprint arXiv:2604.01687.
  48. [57]Zhang, H.; Liu, X.; Lv, B.; Sun, X.; Jing, B.; Tong, I. L.; Hou, Z.; Qi, Z.; Lai, H.; Xu, Y.; Lu, R.; Wang, H.; Tang, J.; and Dong, Y. 2025b. AgentRL: Scaling Agentic Reinforcement Learning with a Multi-Turn, Multi-Task Framework. arXiv:2510.04206.arxiv.org/abs/2510.04206
  49. [58]Zhang, H.; Zhang, S.; Li, K.; Zhang, C.; Chen, Y.; Zhang, Y.; Bai, L.; and Hu, S. 2026b. Self-Harness: Harnesses That Improve Themselves. arXiv preprint arXiv:2606.09498.arxiv.org/abs/2606.09498
  50. [59]Zhang, J.; Hu, S.; Lu, C.; Lange, R.; and Clune, J. 2025c. Darwin Gödel Machine: Open-Ended Evolution of Self-Improving Agents. arXiv preprint arXiv:2505.29254.arxiv.org/abs/2505.22954
  51. [60]Zhang, Q.; Hu, C.; Upasani, S.; Ma, B.; Hong, F.; Kamanuru, V.; Rainton, J.; Wu, C.; Ji, M.; Li, H.; Thakker, U.; Zou, J.; and Olukotun, K. 2025d. Agentic Context Engineering: Evolving Contexts for Self-Improving Language Models. arXiv preprint arXiv:2510.04618.arxiv.org/abs/2510.04618
  52. [61]Zhang, W.; Zhao, Z.; Wen, H.; Wu, Y.; Guo, C.; Yin, M.; and An, B. 2026c. Autogenesis: A Self-Evolving Agent Protocol. arXiv:2604.15034.arxiv.org/abs/2604.15034
  53. [62]Zhou, H.; Wan, X.; Sun, R.; Palangi, H.; Iqbal, S.; Vulić, I.; Korhonen, A.; and Arik, S. Ö. 2026. Multi-Agent Design: Optimizing Agents with Better Prompts and Topologies. arXiv:2502.02533.arxiv.org/abs/2502.02533
  54. [63]Zhuge, M.; Wang, W.; Kirsch, L.; Faccio, F.; Khizbullin, D.; and Schmidhüber, J. 2024. GPTSwarm: Language Agents as Optimizable Graphs. arXiv preprint arXiv:2402.16823.arxiv.org/abs/2402.16823

AI tools statement

No AI-use declaration is available for this version in Valency.

The available record does not establish whether AI systems or models contributed to this work.

How AI tools are recorded

Paper details

Cite this paper

Publication

Published
Version
Latest

Data & code

No code, data or supplementary files were declared for this version.

Pick where to look, or just type