WorksComputer Science
HarnessNet: Feedback-driven Hierarchical Joint Harness Evolution for Multi-agent Systems
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:
We introduce HarnessNet for feedback-driven joint harness evolution in MAS, and its basic unit Agentron.
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.
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.
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.
Related Work
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
which contains three components: (1) a frozen Large Language Model (LLM) , which serves as the foundation model and provides reasoning capability through text; (2) a modifiable Forward Harness (FH) , 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 , 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 , it produces a response and an execution trace that records evidence for subsequent analysis:

Figure 1. (Left) Agentron; (Right) Agentron Expansibility
In the backward phase, given downstream feedback and the forward trace , the frozen optimizer proposes an updated harness and generate feedbacks for upstream units when applicable, following the optimizer prompt in Appendix § 11.3:
During this two-phase process, the foundation model remains unchanged in both phases. Only forward harness 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
where
is the set of Agentron nodes in layer . Each node is an Agentron of the form
and
specifies full connectivity between adjacent layers.
As illustrated in Figure 2-Left, HarnessNet operates through a forward process and a backward process.

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 , task query
Output: Layer outputs , forward trace
for do
if else
for each in parallel do
(Eq 2)
end for
end for
return (Retrieve for final responses.)
Algorithm 2: HarnessNet Hierarchical Backward Process
Input: HarnessNet backbone , forward trace , environment feedback
Intermediate: Upstream-layer feedback , downstream-layer feedback
Output: Updated HarnessNet harnesses
for do
for each in parallel do
if else
if then
(Eq 3)
else (Eq 3)
end if
end for
end for
return
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 , implemented as a coding agent, to automatically plan and build initial forward harnesses for the Agentrons in the predefined HarnessNet backbone . It helps automate the initialization.
The initialization process (Algorithm 3) takes in task-environment knowledge , information about the nodes’ reasoning backends , and a default harness protocol specifying the repository structure, core modules, and interfaces. Using curated task-specific harness protocol is possible for more customized initialization. Actual task cases are strictly excluded from 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 . (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 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 , task knowledge used during experiments, and reasoning backend info are provided in Appendix A.
Algorithm 3: HarnessNet Initialization
Input: HarnessNet backbone , initializer , harness protocol , task env knowledge , reasoning backend info
Output: Initial HarnessNet harnesses
for do
for each in parallel do
if is Fail do
end for
end for
return
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 are randomly shuffled and evaluated with a fixed checkpoint , which is the snapshot of all nodes harness, until a batch of failed cases is collected; (2) a backward process updates the harnesses using this batch, build the new checkpoint ; (3) the updated snapshot is evaluated on ; (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 , validation set Intermediates: Forward trace , layer outputs , evolution step , env feedback , training results , validation results Output: Validation results
for do
(Algorithm 1)
return
Algorithm 5: HarnessNet Training Loop
Input: HarnessNet backbone , failure batch size , training set , validation set , max training rounds Intermediates: Forward trace , layer outputs , env feedback , training results , validation results , evolution step , checkpoints Output: Best HarnessNet harnesses checkpoint
(Initialized Harnesses)
(Algorithm 4)
for do
for do
(Algorithm 1)
if then
if or then
(Algorithm 2)
(Algorithm 4)
end if
end if
end for
end for
return (Trained HarnessNet Harnesses)
The final snapshot is selected from all evaluated snapshots. Similar to traditional neural network training, we select the best training checkpoint by considering both the training performance and validation performance , 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 . 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.
| Benchmark | ALFWorld | WebShop | ||||
| Split | Train | Validation | Test | Train | Validation | Test |
| Case Num | 168 | 42 | 109 | 320 | 80 | 200 |
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.

Figure 4. Training Curves and Test Results on AgentBench of Minimal HarnessNet Topologies.
| Benchmark Domain | Test | Score () | Harness Gain | Training Gain |
| ALF-World | Model-only | 0.5688 | - | - |
| FH0 | 0.2202 | -61.29% | - | |
| FH_starred | 0.7798 | +37.10% | +254.13% | |
| WebShop | Model-only | 0.5670 | - | - |
| FH0 | 0.5559 | -1.96% | - | |
| FH_starred | 0.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 Domain | Test | Score () | Harness Gain | Training Gain |
| ALF-World | Model-only | 0.5688 | - | - |
| FH0 | 0.6239 | +9.69% | - | |
| FH_starred | 0.8532 | +50.00% | +36.75% | |
| WebShop | Model-only | 0.5670 | - | - |
| FH0 | 0.5523 | -2.59% | - | |
| FH_starred | 0.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 Domain | Test | Score () | Harness Gain | Training Gain |
| ALF-World | Model-only | 0.1193 | - | - |
| FH0 | 0.1651 | +38.39% | - | |
| FH_starred | 0.6972 | +484.41% | +322.29% | |
| WebShop | Model-only | 0.4083 | - | - |
| FH0 | 0.0624 | -84.72% | - | |
| FH_starred | 0.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 , forward trace , environment feedback
Intermediate: Global harness set , update set
Output: Updated harnesses
for each do
end for
return
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.

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.

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.
| File | Initializer treatment | Purpose |
harness.json | Controller-owned; scoped metadata editable | Declares 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.toml | Fixed | Defines the self-contained Python package, supported interpreter version, dependencies, and test discovery settings. |
README.md | Fixed | Records the neutral Contract 1.2 baseline, invocation command, and editing boundary for the repository. |
ROLE.md | Builder-owned | Provides the auditable, node-specific role description derived from the accepted initialization plan. |
prompts/system.md | Builder-owned | Supplies the node’s runtime system instruction and its plan-derived inductive bias. |
prompts/forward.md | Fixed | Retains a future trainable prompt extension point; the neutral FH0 strategy does not inject this file into the model request. |
src/harness_agent/__init__.py | Fixed | Marks the executable harness package and states its neutral baseline role. |
src/harness_agent/entrypoint.py | Fixed | Implements 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.py | Fixed mechanism | Loads the complete case-local interaction history in original order without truncation or summarization. |
src/harness_agent/parsing.py | Fixed mechanism | Projects native assistant content or one native tool call into the stable downstream envelope and rejects unusable model output. |
src/harness_agent/strategy.py | Fixed mechanism | Reconstructs messages from the full local history, appends current upstream inputs, makes one backend call, and delegates output projection. |
src/harness_agent/tools.py | Builder-owned | Registers backend-native function schemas only when the node owns the public benchmark action boundary. |
tests/test_smoke.py | Builder-owned | Contains 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.
| Parameter | Qwen3.8-27b | Qwen3.5-9b | Gemma4-8b-e4b | Ornith-1.5-9B |
| Resource | Hugging Face | Hugging Face | Hugging Face | Hugging Face |
| Quantization | Q4 | Q4 | Q8 | Q4 |
| Backend | Ollama | Ollama | Ollama | Ollama |
| num_ctx | 32,768 | 20,480 | 20,480 | 20,480 |
| num_predict | 4,096 | 2,048 | 2,048 | 2,048 |
| temperature | 0 | 0 | 0 | 0 |
| top_p | 0.95 | 0.95 | 0.95 | 0.95 |
| top_k | 20 | 20 | 20 | 20 |
| min_p | 0 | 0 | 0 | 0 |
| presence_penalty | 1.5 | 1.5 | 1.5 | 1.5 |
| repeat_penalty | 1 | 1 | 1 | 1 |
| Thinking | false | false | false | false |
| Max calls per step | 1 | 1 | 1 | 1 |
| Max concurrency | 1 | 1 | 1 | 1 |
| Timeout (s) | 300 | 300 | 300 | 300 |
| Maximum timeout retries | 2 | 2 | 2 | 2 |
| Retry backoff (s) | 1, 2 | 1, 2 | 1, 2 | 1, 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
| Field | Value |
| Forward model | Qwen3.8-27b |
| Benchmark domain | ALFWorld |
| Topology | Agentron [1] |
| Train dataset | alfworld-env_train () |
| Validation dataset | alfworld-env_train () |
| Test dataset | alfworld-std, new_std split () |
Table C1. Key metadata for ALFWorld-Agentron training.
| Checkpoint | Train Score | Validation Score | Selected | Test Score |
| Model-only | 56.88% | |||
| FH0 | 59.18% | 40.48% | 22.02% | |
| FH1 | 39.39% | 52.38% | ||
| FH2 | 55.56% | 66.67% | ||
| FH3 | 58.54% | 66.67% | ||
| FH4 | 76.47% | 83.33% | ||
| FH5 | 83.13% | 85.71% | ||
| FH6 | 87.58% | 80.95% | * | 77.98% |
| FH7 | 88.10% | 78.57% |
Table C2. ALFWorld-Agentron train, validation, and held-out test records.
WebShop-Agentron-Training
| Field | Value |
| Forward model | Qwen3.8-27b |
| Benchmark domain | WebShop |
| Topology | Agentron [1] |
| Train dataset | webshop-env_train () |
| Validation dataset | webshop-env_train () |
| Test dataset | webshop-std, standard split () |
Table C3. Key metadata for WebShop-Agentron training.
| Checkpoint | Train Score | Validation Score | Selected | Test Score |
| Model-only | 0.5670 | |||
| FH0 | 0.4789 | 0.5357 | 0.5559 | |
| FH1 | 0.5047 | 0.6384 | ||
| FH2 | 0.6691 | 0.6615 | ||
| FH3 | 0.7078 | 0.7223 | ||
| FH4 | 0.6863 | 0.7010 | ||
| FH5 | 0.7250 | 0.6583 | ||
| FH6 | 0.6397 | 0.6935 | ||
| FH7 | 0.7087 | 0.6867 | ||
| FH8 | 0.6699 | 0.7075 | ||
| FH9 | 0.7153 | 0.7131 | ||
| FH10 | 0.7115 | 0.7222 | * | 0.6950 |
Table C4. WebShop-Agentron train, validation, and held-out test records.
ALFWorld-2Node HarnessNet-Training
| Field | Value |
| Forward model | Qwen3.8-27b |
| Benchmark domain | ALFWorld |
| Topology | 2Node HarnessNet [1, 1] |
| Train dataset | alfworld-env_train () |
| Validation dataset | alfworld-env_train () |
| Test dataset | alfworld-std, new_std split () |
Table C5. Key metadata for ALFWorld-2Node HarnessNet training.
| Checkpoint | Train Score | Validation Score | Selected | Test Score |
| Model-only | 56.88% | |||
| FH0 | 44.44% | 57.14% | 62.39% | |
| FH1 | 60.42% | 71.43% | ||
| FH2 | 45.21% | 47.62% | ||
| FH3 | 89.47% | 85.71% | ||
| FH4 | 91.67% | 85.71% | ||
| FH5 | 92.26% | 85.71% | * | 85.32% |
Table C6. ALFWorld-2Node HarnessNet train, validation, and held-out test records.
WebShop-2Node HarnessNet-Training
| Field | Value |
| Forward model | Qwen3.8-27b |
| Benchmark domain | WebShop |
| Topology | 2Node HarnessNet [1, 1] |
| Train dataset | webshop-env_train () |
| Validation dataset | webshop-env_train () |
| Test dataset | webshop-std, standard split () |
Table C7. Key metadata for WebShop-2Node HarnessNet training.
| Checkpoint | Train Score | Validation Score | Selected | Test Score |
| Model-only | 0.5670 | |||
| FH0 | 0.4807 | 0.5852 | 0.5523 | |
| FH1 | 0.6021 | 0.5998 | ||
| FH2 | 0.5814 | 0.6450 | ||
| FH3 | 0.5429 | 0.5885 | ||
| FH4 | 0.6282 | 0.6054 | ||
| FH5 | 0.6778 | 0.6094 | ||
| FH6 | 0.6437 | 0.6163 | * | 0.5892 |
| FH7 | 0.5755 | 0.6444 |
Table C8. WebShop-2Node HarnessNet train, validation, and held-out test records.
ALFWorld-4Node HarnessNet-Training
| Field | Value |
| Forward model | Qwen3.5-9b |
| Benchmark domain | ALFWorld |
| Topology | 4Node HarnessNet [1, 2, 1] |
| Train dataset | alfworld-env_train () |
| Validation dataset | alfworld-env_train () |
| Test dataset | alfworld-std, new_std split () |
Table C9. Key metadata for ALFWorld-4Node HarnessNet training.
| Checkpoint | Train Score | Validation Score | Selected | Test Score |
| Model-only | 11.93% | |||
| FH0 | 9.09% | 19.05% | 16.51% | |
| FH1 | 34.43% | 33.33% | ||
| FH2 | 33.33% | 28.57% | ||
| FH3 | 39.39% | 38.10% | ||
| FH4 | 42.86% | 38.10% | ||
| FH5 | 79.17% | 76.19% | ||
| FH6 | 79.17% | 83.33% | * | 69.72% |
| FH7 | 85.71% | 83.33% |
Table C10. ALFWorld-4Node HarnessNet train, validation, and held-out test records.
WebShop-4Node HarnessNet-Training
| Field | Value |
| Forward model | Gemma4-8b-e4b |
| Benchmark domain | WebShop |
| Topology | 4Node HarnessNet [1, 2, 1] |
| Train dataset | webshop-env_train () |
| Validation dataset | webshop-env_train () |
| Test dataset | webshop-std, standard split () |
Table C11. Key metadata for WebShop-4Node HarnessNet training.
| Checkpoint | Train Score | Validation Score | Selected | Test Score |
| Model-only | 0.4083 | |||
| FH0 | 0.1210 | 0.0963 | 0.0624 | |
| FH1 | 0.4755 | 0.5298 | ||
| FH2 | 0.5984 | 0.6167 | * | 0.5875 |
| FH3 | 0.4837 | 0.5379 | ||
| FH4 | 0.5710 | 0.4727 | ||
| FH5 | 0.6172 | 0.5408 | ||
| FH6 | 0.6085 | 0.5509 | ||
| FH7 | 0.5597 | 0.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.
| Field | Value |
| Forward models | Qwen3.5-9B; Ornith1.5-9B; gemma4-8B-E4B |
| Benchmark domain | ALFWorld |
| Topology | 4Node HarnessNet [1, 2, 1] |
| Validation dataset | alfworld-env_train () |
| Test dataset | alfworld-std, new_std split () |
Table D1. Key metadata for the migration study.
| Checkpoint/Model | Qwen3.5-9B | Ornith1.5-9B | gemma4-8B-E4B |
| FH0 | 19.05% | 16.67% | 16.67% |
| FH1 | 33.33% | 19.05% | 16.67% |
| FH2 | 28.57% | 23.81% | 7.14% |
| FH3 | 38.10% | 28.57% | 30.95% |
| FH4 | 38.10% | 33.33% | 38.10% |
| FH5 | 76.19% | 57.14% | 78.57% |
| FH6 | 83.33% | 61.90% | 73.81% |
| FH7 | 83.33% | 59.52% | 80.95% |
| Model-only Test | 11.93% | 19.27% | 8.26% |
| FH0 Test | 16.51% | 11.93% | 9.17% |
| Selected FH | FH6 | FH6 | FH7 |
| Selected FH Test | 69.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.
| Checkpoint | Hierarchical Optimizer — Train Score | Hierarchical Optimizer — Validation Score | Hierarchical Optimizer — Test Score | Global Optimizer — Train Score | Global Optimizer — Validation Score | Global Optimizer — Test Score |
| Model-only | 11.93% | 11.93% | ||||
| FH0 | 9.09% | 19.05% | 16.51% | 9.09% | 19.05% | 16.51% |
| FH1 | 34.43% | 33.33% | 32.20% | 28.57% | ||
| FH2 | 33.33% | 28.57% | 23.08% | 30.95% | ||
| FH3 | 39.39% | 38.10% | 32.20% | 45.24% | ||
| FH4 | 42.86% | 38.10% | 34.43% | 40.48% | ||
| FH5 | 79.17% | 76.19% | 35.48% | 59.52% | ||
| FH6 | 79.17% | 83.33% | 69.72% | 23.08% | 38.10% | |
| FH7 | 85.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.
| Checkpoint | Hierarchical Optimizer — Train Score | Hierarchical Optimizer — Validation Score | Hierarchical Optimizer — Test Score | Global Optimizer — Train Score | Global Optimizer — Validation Score | Global Optimizer — Test Score |
| Model-only | 0.4083 | 0.4083 | ||||
| FH0 | 0.1210 | 0.0963 | 0.0624 | 0.1210 | 0.0963 | 0.0624 |
| FH1 | 0.4755 | 0.5298 | 0.3883 | 0.3802 | ||
| FH2 | 0.5984 | 0.6167 | 0.5875 | 0.4811 | 0.4730 | |
| FH3 | 0.4837 | 0.5379 | 0.4837 | 0.5554 | ||
| FH4 | 0.5710 | 0.4727 | 0.6273 | 0.6418 | 0.6046 | |
| FH5 | 0.6172 | 0.5408 | 0.6017 | 0.5608 | ||
| FH6 | 0.6085 | 0.5509 | 0.6128 | 0.5894 | ||
| FH7 | 0.5597 | 0.5435 | 0.5739 | 0.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.
| Backward | Node | Hierarchical Optimizer Input Token | Hierarchical Optimizer Output Token | Hierarchical Optimizer Time (s) | Global Optimizer Input Token | Global Optimizer Output Token | Global Optimizer Time (s) |
| 1 | l2-last | 4,557,381 | 31,320 | 1,427 | 10,467,460 | 40,902 | 1,719 |
| 1 | l1-hidden_a | 4,440,628 | 24,540 | 1,304 | |||
| 1 | l1-hidden_b | 6,460,733 | 25,899 | 1,366 | |||
| 1 | l0-first | 7,133,103 | 25,820 | 1,467 | |||
| 2 | l2-last | 7,027,571 | 46,165 | 1,912 | 13,542,625 | 42,660 | 2,056 |
| 2 | l1-hidden_a | 11,152,144 | 43,697 | 1,779 | |||
| 2 | l1-hidden_b | 5,910,337 | 31,320 | 1,414 | |||
| 2 | l0-first | 10,529,967 | 39,392 | 1,970 | |||
| 3 | l2-last | 5,084,140 | 32,673 | 1,355 | 13,214,124 | 71,496 | 2,290 |
| 3 | l1-hidden_a | 5,374,440 | 26,883 | 1,292 | |||
| 3 | l1-hidden_b | 7,538,927 | 31,301 | 1,712 | |||
| 3 | l0-first | 4,620,862 | 33,177 | 1,374 | |||
| 4 | l2-last | 3,348,882 | 23,800 | 940 | 8,173,538 | 48,924 | 1,452 |
| 4 | l1-hidden_a | 4,835,618 | 28,256 | 1,123 | |||
| 4 | l1-hidden_b | 4,043,002 | 17,644 | 885 | |||
| 4 | l0-first | 3,967,817 | 18,529 | 774 | |||
| 5 | l2-last | 2,288,059 | 14,149 | 576 | 12,491,469 | 43,673 | 1,873 |
| 5 | l1-hidden_a | 4,746,387 | 27,297 | 1,159 | |||
| 5 | l1-hidden_b | 3,398,826 | 18,563 | 816 | |||
| 5 | l0-first | 3,739,480 | 23,164 | 959 | |||
| 6 | l2-last | 3,641,378 | 17,629 | 729 | 7,927,776 | 44,207 | 1,436 |
| 6 | l1-hidden_a | 4,242,029 | 30,355 | 1,213 | |||
| 6 | l1-hidden_b | 3,211,536 | 17,740 | 755 | |||
| 6 | l0-first | 3,144,400 | 24,552 | 1,006 | |||
| 7 | l2-last | 3,189,454 | 18,387 | 750 | 7,999,809 | 40,685 | 1,425 |
| 7 | l1-hidden_a | 3,858,217 | 20,179 | 823 | |||
| 7 | l1-hidden_b | 2,905,346 | 21,435 | 904 | |||
| 7 | l0-first | 3,949,103 | 21,133 | 884 |
Table E3. ALFWorld optimizer cost by backward round.
| Backward | Node | Hierarchical Optimizer: Input Token | Hierarchical Optimizer: Output Token | Hierarchical Optimizer: Optimizer Time (s) | Global Optimizer: Input Token | Global Optimizer: Output Token | Global Optimizer: Optimizer Time (s) |
| 1 | l2-last | 3,971,824 | 18,694 | 707 | 20,197,746 | 44,424 | 2,378 |
| 1 | l1-hidden_a | 4,240,691 | 18,872 | 776 | 20,197,746 | 44,424 | 2,378 |
| 1 | l1-hidden_b | 2,977,722 | 14,114 | 603 | 20,197,746 | 44,424 | 2,378 |
| 1 | l0-first | 5,586,749 | 22,601 | 870 | 20,197,746 | 44,424 | 2,378 |
| 2 | l2-last | 2,659,254 | 15,242 | 627 | 9,745,839 | 25,382 | 1,373 |
| 2 | l1-hidden_a | 5,084,084 | 19,455 | 879 | 9,745,839 | 25,382 | 1,373 |
| 2 | l1-hidden_b | 3,130,255 | 17,547 | 766 | 9,745,839 | 25,382 | 1,373 |
| 2 | l0-first | 3,556,342 | 16,677 | 723 | 9,745,839 | 25,382 | 1,373 |
| 3 | l2-last | 2,553,968 | 18,545 | 722 | 6,451,227 | 25,342 | 1,221 |
| 3 | l1-hidden_a | 4,175,677 | 22,043 | 898 | 6,451,227 | 25,342 | 1,221 |
| 3 | l1-hidden_b | 4,877,493 | 24,138 | 1,011 | 6,451,227 | 25,342 | 1,221 |
| 3 | l0-first | 3,651,828 | 20,312 | 812 | 6,451,227 | 25,342 | 1,221 |
| 4 | l2-last | 3,173,158 | 15,827 | 664 | 11,285,091 | 44,076 | 2,214 |
| 4 | l1-hidden_a | 4,061,413 | 19,711 | 807 | 11,285,091 | 44,076 | 2,214 |
| 4 | l1-hidden_b | 4,403,027 | 19,539 | 841 | 11,285,091 | 44,076 | 2,214 |
| 4 | l0-first | 4,278,530 | 16,154 | 697 | 11,285,091 | 44,076 | 2,214 |
| 5 | l2-last | 3,725,265 | 19,996 | 779 | 4,928,535 | 20,146 | 1,233 |
| 5 | l1-hidden_a | 7,745,672 | 26,289 | 1,038 | 4,928,535 | 20,146 | 1,233 |
| 5 | l1-hidden_b | 4,451,916 | 22,171 | 858 | 4,928,535 | 20,146 | 1,233 |
| 5 | l0-first | 5,969,030 | 22,942 | 1,011 | 4,928,535 | 20,146 | 1,233 |
| 6 | l2-last | 2,935,015 | 14,280 | 625 | 6,849,504 | 20,070 | 1,303 |
| 6 | l1-hidden_a | 5,462,015 | 22,510 | 949 | 6,849,504 | 20,070 | 1,303 |
| 6 | l1-hidden_b | 3,445,449 | 15,389 | 728 | 6,849,504 | 20,070 | 1,303 |
| 6 | l0-first | 3,231,752 | 16,726 | 722 | 6,849,504 | 20,070 | 1,303 |
| 7 | l2-last | 5,280,300 | 18,280 | 781 | 4,216,686 | 15,110 | 1,074 |
| 7 | l1-hidden_a | 4,712,307 | 25,060 | 1,003 | 4,216,686 | 15,110 | 1,074 |
| 7 | l1-hidden_b | 4,858,977 | 19,708 | 846 | 4,216,686 | 15,110 | 1,074 |
| 7 | l0-first | 3,708,947 | 17,573 | 771 | 4,216,686 | 15,110 | 1,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%) 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%) 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 GoalNowProgressNextLater 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%) 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%) 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]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]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]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]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]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
- [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
- [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
- [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
- [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
- [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
- [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
- [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
- [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
- [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
- [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
- [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
- [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
- [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
- [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
- [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
- [26]Lopopolo, R. 2026. Harness Engineering: Leveraging Codex in an Agent-First World. OpenAI Engineering Blog. Published February 11, 2026. Accessed October 3, 2026.
- [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
- [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
- [31]OpenAI. 2026. GPT-5.6: Frontier Intelligence That Scales with Your Ambition. https://openai.com/index/gpt-5-6/. Accessed: 2026-09-30.
- [32]Ornith Team. 2026. Ornith-1.5: From Self-Scaffolding to Self-Improvement.
- [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
- [34]Qwen Team. 2026a. Qwen3.5: Towards Native Multimodal Agents.
- [35]Qwen Team. 2026b. Qwen3.8-Max: A New Bar for Coding and Cowork.
- [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.
- [37]Robeyns, M.; Szummer, M.; and Aitchison, L. 2025. A Self-Improving Coding Agent. arXiv preprint arXiv:2504.15228.arxiv.org/abs/2504.15228
- [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
- [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
- [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
- [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
- [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.
- [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
- [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
- [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
- [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
- [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
- [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
- [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
- [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
- [53]Young, J. 2025. Effective Harnesses for Long-Running Agents. Anthropic Engineering Blog. Published November 26, 2025. Accessed October 3, 2026.
- [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
- [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
- [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.
- [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
- [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
- [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
- [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
- [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
- [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
- [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.

