← Back to Research

FedHarness-RB: Reliability-Aware Federated Transfer of Harness Bundles across Heterogeneous LLM Agents

Research project, National University of Singapore

Overview

LLM agents pair a language model with prompts, tool-use rules, memory workflows, and other control logic—the agent harness. Sharing harness updates can reuse local improvements without exchanging raw trajectories, but an update that helps one agent may harm another. We study one-shot federated harness sharing with a test-before-deploy receiver: incompatible updates are screened, updates that must be installed together are bundled, and a candidate is deployed only after it shows a positive gain with limited regressions and cost on an independent confirmation set.

Under a fixed candidate protocol, 43.2% of compatibility-checked, source-improving updates reduced another receiving agent’s success rate. Across three LLM backbones and four agent benchmarks, FedHarness-RB reaches a mean final-task success rate of 51.5%, compared with 45.8% for a protocol-adapted FederatedSkill baseline, 45.0% for FoT, and 41.5% for local adaptation only.

Framework

FedHarness-RB overview of compatibility screening, bundling, and test-before-deploy.
FedHarness-RB overview. Source agents produce structured updates and evidence (left). The receiver screens compatibility, forms dependency-complete bundles, tests and confirms them against its frozen local harness, and either deploys a verified bundle or retains the local harness (right). P/A/M denote planning, action/tool use, and memory; experiments use one offline transfer round.

Compatibility screening and bundling. Incoming updates are checked for compatibility with the receiver. Updates that must be installed together are grouped into dependency-complete bundles.

Test before deploy. Each candidate bundle is evaluated against the receiver’s frozen local harness on held-out tasks and confirmed on an independent confirmation set. A bundle is deployed only when the evidence shows a positive gain with limited regressions and cost; otherwise the current local harness is kept.

Key Contributions

  • We identify a cross-agent deployment problem and find that 43.2% of retained, source-improving updates harm a different receiving agent.
  • FedHarness-RB tests dependency-complete bundles against the receiver’s current harness and falls back when the evidence is insufficient.
  • Across three LLM backbones and four benchmarks, the method outperforms the evaluated transfer alternatives and remains effective under controlled changes to the model, update set, retrieval data, and tasks.

Experimental Results

Cross-model negative transfer

Cross-model negative transfer. Each route reads update source to receiving model.
Cross-model negative transfer. Each route reads update source → receiving model. Values are the percentages of source-improving updates that reduce success on the receiver; lower is better.

Final-task success rate

Final-task success rate table across receiving LLMs and benchmarks.
Final-task success rate (%) over 40 tasks per receiving-LLM–benchmark cell. Average is the model-level mean; bold marks the best result in each block. Asterisks denote protocol-adapted implementations. Direct Patch Transfer is a controlled comparator.
Final-task success rate (%) over 40 tasks per receiving-LLM–benchmark cell. Average is the model-level mean; bold marks the best result in each block. Asterisks denote protocol-adapted implementations. Direct Patch Transfer is a controlled comparator.
Receiving LLM Method Benchmark Success Rate (%) ↑ Average (%) ↑
ToolHop HotpotQA 2Wiki API-Bank
Qwen3-4B Local Only 47.5 30.0 55.0 45.0 44.4
Direct Patch Transfer 47.5 30.0 50.0 35.0 40.6
HarnessForge* 35.0 40.0 47.5 50.0 43.1
Failure-Guided* 52.5 30.0 40.0 50.0 43.1
FoT* 52.5 30.0 57.5 52.5 48.1
FederatedSkill* 52.5 32.5 57.5 52.5 48.8
FedHarness-RB (Ours) 57.5 45.0 62.5 60.0 56.3
Qwen3-8B Local Only 57.5 45.0 37.5 50.0 47.5
Direct Patch Transfer 47.5 40.0 37.5 50.0 43.8
HarnessForge* 52.5 45.0 37.5 50.0 46.3
Failure-Guided* 52.5 42.5 35.0 50.0 45.0
FoT* 60.0 50.0 35.0 57.5 50.6
FederatedSkill* 60.0 47.5 40.0 55.0 50.6
FedHarness-RB (Ours) 62.5 52.5 47.5 60.0 55.6
Mistral-7B Local Only 37.5 32.5 30.0 30.0 32.5
Direct Patch Transfer 30.0 27.5 25.0 27.5 27.5
HarnessForge* 35.0 32.5 27.5 30.0 31.3
Failure-Guided* 32.5 32.5 27.5 30.0 30.6
FoT* 37.5 37.5 32.5 37.5 36.3
FederatedSkill* 42.5 35.0 32.5 42.5 38.1
FedHarness-RB (Ours) 47.5 42.5 37.5 42.5 42.5

FedHarness-RB attains a mean success rate of 51.5% across the twelve receiving-LLM–benchmark cells, compared with 45.8% for protocol-adapted FederatedSkill, 45.0% for FoT, and 41.5% for Local Only.

Source-improving updates can still hurt the receiver

Percentage of source-improving updates that still hurt the receiver.
Updates that help the original agent can still hurt the receiver. Bars show the percentage that hurt the receiver after requiring each displayed minimum improvement.

Component ablation and controlled changes

Component ablation of FedHarness-RB.
Component ablation. Drop is the decrease in success rate, measured in percentage points, relative to full FedHarness-RB.
Component ablation. Drop is the decrease in success rate, measured in percentage points, relative to full FedHarness-RB.
Removed component Success (%) ↑ Drop (pp)
None (full FedHarness-RB) 51.3 0.0
Local harness anchor 44.4 6.9
Receiving-agent validation 47.1 4.2
Dependency bundling 47.3 4.0
Risk-cost ranking 49.2 2.1
Final deployment check 48.8 2.5
Success rate under four controlled changes.
Success rate (%) under four controlled changes. Only the named factor changes; disjoint tasks do not overlap the primary test split.
Success rate (%) under four controlled changes. Only the named factor changes; disjoint tasks do not overlap the primary test split.
Controlled change Local Only Direct Transfer FedHarness-RB
Receiving LLM 40.0 42.7 48.3
Generated update set 41.7 43.3 48.3
Retrieval data 42.5 43.8 47.5
Disjoint test tasks 40.8 42.1 45.0
Average 41.3 43.0 47.3
Success and pre-deployment cost for FedHarness-RB validation-task counts.
Success and pre-deployment cost. For FedHarness-RB, 10/20/40 are the numbers of receiving-agent validation tasks; 20 is the development-selected default.

← Back to Research