Search papers, labs, and topics across Lattice.
This paper investigates the impact of harness design on the performance of tool-integrated LLM agents during post-training, addressing the common oversight of treating harnesses as static elements. By extending the $\texttt{ALFWorld}$ framework, the authors allow for dynamic harness design and evaluate agent performance under varying task and tool environments. The findings reveal that harness-aware post-training significantly enhances both in-distribution and out-of-distribution performance, underscoring the critical role of harness design in agent adaptability.
Harness-aware post-training can drastically improve LLM agent performance, especially when facing shifting tool environments, revealing a key design dimension often overlooked in AI systems.
Tool-integrated LLM agents are often wrapped within a harness: the scaffolding that determines which tools are exposed, how they are described, and what auxiliary information accompanies each per-step observation. While agents are routinely post-trained, this scaffolding is typically treated as a fixed engineering detail, with design effort limited to the training-free regime. Moreover, existing post-training algorithms assume a static environment, even though tool environments and tasks often shift upon deployment. To address this gap, we extend $\texttt{ALFWorld}$ (i) to treat the harness as a controllable design dimension and (ii) to support evaluation under task and tool environment shifts. Building on this, we systematically analyze how the harness design influences post-training in both in-distribution and out-of-distribution (OOD) settings. We empirically show that harness-aware post-training not only improves in-distribution performance but also enables agents to robustly adapt to OOD settings. Under a harness with minimal design effort, post-training suffers a drastic performance drop under stronger tool environment shifts, further highlighting the importance of harness-aware post-training under such shifts.