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
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
Final-task success rate
| 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
Component ablation and controlled changes
| 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 |
| 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 |