Skip to content

Beyond Prompts: Measuring and Optimizing LLM Tool-Agent Harnesses

Sep 2026 · 4 citations · ⚡ 1 influential · 19 references
Computer Science

TL;DR

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, so the reliability of the chosen harness should be reported alongside average held-out lift.

Abstract

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.

View source

Similar papers

Preprint Aug 2026

ToolRobustBench: Stage-Wise Perturbation Evaluation and Failure Diagnosis for Tool-Calling Agents

ToolRobustBench provides a deterministic and cascade-aware benchmark for diagnosing robustness beyond clean tool-calling accuracy, where a tool-calling agent is an LLM system that selects a tool, supplies structured arguments, and interprets its returned feedback.

YiShan Zheng, Yuan Wu, Yi Chang · 4 citations
#artificial intelligence Preprint Sep 2026

Toollery: Scaling LLM Agents to Thousands of Skills and Tools

Toollery is presented, a training-free candidate-compression framework for scalable LLM skill/tool selection that keeps online selection bounded to a compact top-$k$ candidate set and improves recall over ordinary specification retrieval.

Xiang-Xi Tian, Ran-Yun Guan · 0 citations
#artificial intelligence Preprint Sep 2026

Harness Engineering in LLM Tool Use via Agent-Native Reusable Tool Primitives

This work introduces Tool Primitives, a design that replaces rigid API schema-based invocation with natural language as the interface for tool calling, where each tool is wrapped with an LLM interface that handles schema resolution and execution internally, enabling natural inter-tool communication for nested and multi...

Hai-Bo Jin, Sui-Jin Wang, Xu-Chen Yu et al. · 2 citations
Preprint Aug 2026

DOCSCHISEL: Adaptive Tool Documentation Optimization Framework for LLM Agents

Results show that DocsChisel improves the task success rate of LLM agents by 95.89% over the original tool documentation and by 75.15%, on average, over existing baselines, while incurring limited optimization time and token overhead.

You Lu, Kun Zhang, Bi-Huan Chen et al. · 0 citations
Preprint Aug 2026

Tunable Tool-Call Rates in LLM Agents via Representation Steering

Whether an instruction-tuned model calls a tool can be controlled by a single linear direction in its residual stream, extracted without any training from the model's own tool-use preference signal and turned into an inference-time intervention with no prompt change.

Yu-Qiang Chen, Vincent Siu, Yang Liu et al. · 2 citations · ⚡1

Related blog posts

We use cookies to run the site and, with your consent, for analytics and to show ads. See our Cookie Policy.