Beyond Prompts: Measuring and Optimizing LLM Tool-Agent Harnesses
On the map: LLM agents and tool use → Tool learning and function calling
Abstract (arXiv)
LLM tool agents can be improved without retraining by modifying the runtime harness around a fixed model: prompts, tool interfaces, middleware, state handling, and recovery logic. We study this setting as resource-bounded harness selection for fixed-model multi-turn tool agents, with the search surface scoped to prompts and tool-boundary middleware: edits are guarded intercepts at the tool boundary, not arbitrary rewriting of agent execution logic. Our optimizer-agnostic protocol reports mean held-out lift, worst-condition lift, repeatability, logged cost diagnostics, and RelLift95(B), a conservative estimate of the held-out gain of the harness selected under budget B. We instantiate the protocol with prompt-only and prompt-plus-middleware optimizers, including PRISM, which clusters failures and routes repairs to prompt, tool-boundary middleware, or joint edit surfaces within a Pareto search. On BFCL multi-round, tau2-Retail, and tau2-Telecom, PRISM obtains mean held-out lifts of 14.2, 14.9, and 10.1 percentage points and positive empirical RelLift95 on all three benchmarks, and a component ablation attributes the margin chiefly to failure-surface routing and the edit-pattern constraint. Across optimizers, the results show that some search procedures can occasionally find large gains but still choose brittle updates, so the reliability of the chosen harness should be reported alongside average held-out lift.
Key facts. Cited by 3 papers in the map (data through 7 Oct 2026). Placed in Tool learning and function calling, one of 16 directions in LLM agents and tool use. Builds on 7 of its 19 references that are in the map. First posted on arXiv 4 Sep 2026.
Builds on
7 of 19 references.
References · 7
- 2022ReAct: Synergizing Reasoning and Acting in Language Modelscited by 8,355
- 2023DSPy: Compiling Declarative Language Model Calls into Self-Improving Pipelinescited by 803
- 2023FrugalGPT: How to Use Large Language Models While Reducing Cost and Improving Performancecited by 791
- 2025GEPA: Reflective Prompt Evolution Can Outperform Reinforcement Learningcited by 449
- 2024Optimizing Instructions and Demonstrations for Multi-Stage Language Model Programscited by 270
- 2026Meta-Harness: End-to-End Optimization of Model Harnessescited by 248
- 2024Trace is the Next AutoDiff: Generative Optimization with Rich Feedback, Execution Traces, and LLMscited by 62
Built on by
Citing papers per year: 2026: 3.
3 papers.
- 2026Bad Genius: Counterfactual-Guided Harness Evolution Beyond Task-Specific Shortcutscited by 0
- 2026From Migration to Calibration: Preserving Agent Capabilities across Models, Jurisdictions, and Scalecited by 0
- 2026Scale and Selection: What Makes Automatic Harness Evolution Work for Visual-Interface Robot Agentscited by 0
- 2026Scale and Selection: What Makes Automatic Harness Evolution Work for Visual-Interface Robot Agents30 Sep 2026
- 2026From Migration to Calibration: Preserving Agent Capabilities across Models, Jurisdictions, and Scale28 Sep 2026
- 2026Bad Genius: Counterfactual-Guided Harness Evolution Beyond Task-Specific Shortcuts16 Sep 2026
Similar, not cited
Close in wording, no citation either way
- 2026The Evolution of Tool Use in LLM Agents: From Single-Tool Call to Multi-Tool Orchestration
- 2025MCP-Zero: Active Tool Discovery for Autonomous LLM Agents
- 2026AutoSaddler: Automatic Harness Optimization with Durable Updates from Agent Execution Traces
- 2026HarnessOpt-Bench: Evaluating LLMs at Harness Optimization
- 2026Dynamic Harness Search: Building Multi-Agent Systems Per-Query via Prediction
- 2025Dynamic System Instructions and Tool Exposure for Efficient Agentic LLMs
- 2026Utility-Guided Agent Orchestration for Efficient LLM Tool Use
- 2026Are Tools All We Need? Unveiling the Tool-Use Tax in LLM Agents