arXiv(opens in a new tab)cs.AIAug 2026Cited by 2 papers on PaperVantage

Manuscript Offprint

arXiv:2608.24804

StarHarness: Evolving Harnesses with Stratified Search for Enterprise Environments

Esakkivel Esakkiraja, Denis Akhiyarov, Vikas Yadav, Sai Rajeswar, Patrice Bechard, Sridhar Nemala, Sagar Davasam

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Esakkivel Esakkiraja1^{1}, Denis Akhiyarov1^{1}, Vikas Yadav1^{1}, Sai Rajeswar1,2,3^{1,2,3}, Patrice Bechard1^{1}, Sridhar Nemala1^{1}, Sagar Davasam1^{1}

1^{1}ServiceNow, 2^{2}Mila, 3^{3}Université de Montréal

We present StarHarness, a framework for evolving environment-specific agent harnesses while keeping model weights fixed. The evolved harness can include prompt and task framing, tool interfaces, skills, MCP-backed providers, subagent structure, and agent-loop configuration. StarHarness constructs a compact evolution pool by stratifying tasks by baseline failure behavior, separates proposer-visible search tasks from proposer-hidden selection tasks, and reserves held-out tasks for evaluating generalization. Across ITBench SRE, EnterpriseOps-Gym ITSM, and AutomationBench Finance, harness evolution improves full-benchmark performance by 20–35 percentage points over the default harness, after 4–12 accepted changes per environment. These gains persist on tasks excluded from evolution and transfer without re-evolution across GPT and Qwen model families. Trace analysis links them to interface repairs, environment conventions, and operational knowledge that compresses search, with fewer false-positive diagnoses and shorter trajectories in several settings. StarHarness therefore offers a practical way to reduce persistent model–environment mismatch in tool-rich enterprise tasks.

Correspondence: esakkivel.esakkiraja@servicenow.com, denis.akhiyarov@servicenow.com

: https://github.com/ServiceNow/StarHarness

servicenow

1 Introduction

Modern LLM agents act through harnesses that define how they use tools and interpret state. Tool-augmented agents depend on the interaction between reasoning, actions, and external state (Yao et al., 2023; Schick et al., 2023). In a tool-rich enterprise task, harness design determines whether the agent can retrieve the right records, perform valid mutations, and satisfy exact final-state checks (Rombaut, 2026; Meng et al., 2026). Interface design can change agent behavior and task success without changing model weights (Yang et al., 2024).

Enterprise service-management and workflow agents must act through stateful backends, large tool surfaces, cross-step dependencies, and domain conventions that tool schemas often omit. Our benchmarks capture different instances of this broader problem: ITBench tests root-cause analysis over operational telemetry (Jha et al., 2025); EnterpriseOps-Gym tests state-changing ITSM workflows against database assertions (Malay et al., 2026); and AutomationBench tests multi-application finance workflows with programmatic state checks (Shepard & Salimans, 2026). Together, they expose the state dependencies, policy constraints, and final-state requirements that make enterprise tool use difficult (Yao et al., 2024; Lu et al., 2024). They raise three questions: Can search evolve a harness from a compact task subset without overfitting to that subset? Do the resulting changes transfer to unseen tasks and other models? Which interaction failures does harness evolution repair?

StarHarness addresses these questions by evolving environment-specific harnesses while keeping model weights fixed. The method stratifies tasks by baseline failure behavior, separates proposer-visible search tasks from proposer-hidden selection tasks, and reserves held-out tasks for evaluation.

Our contributions:

  1. Efficient stratified harness evolution. We introduce a harness-evolution protocol that searches over compact, failure-mode-stratified task subsets while separating proposer-visible search tasks, proposer-hidden selection tasks, and held-out evaluation. This provides a direct measure of generalization.

  2. Task and model transfer of specialized harnesses. Across three stateful enterprise benchmarks, harnesses evolved with one model improve tasks excluded from evolution and transfer without re-evolution across GPT and Qwen models.

  3. Analysis of learned specialization. We identify three recurring forms of environment specialization: interface repair, environment conventions, and operational knowledge that compresses search. We connect them to changes in agent precision, convergence, and efficiency.

References (16)

  • Reflective prompt evolution can outperform reinforcement learning
  • How capable are web agents at solving common knowledge work tasks? In ICML, 2024
  • Self improving AI with harness and weight updates
  • Evaluating AI agents across diverse real-world IT automation tasks
  • Compiling declarative language model calls into state-of-the-art pipelines
  • End-to-end optimization of model harnesses
  • A stateful, conversational, interactive evaluation benchmark for LLM tool use capabilities
  • Environments and evaluations for stateful agentic planning and tool use in enterprise settings
  • Q. Meng, Y. Wang, L. Chen, et al. Agent harness for large language model agents: A survey. 2026. doi: 10.20944/preprints202604.0428.v3. (opens the publisher in a new tab)
  • Benchmarking agents on hard, realistic tasks in command line interfaces
  • Language models can teach themselves to use tools
  • AutomationBench
  • Agent-computer interfaces enable automated software engineering
  • Synergizing reasoning and acting in language models
  • Tau-bench: A benchmark for tool-agent-user interaction in real-world domains
  • Automating agentic workflow generation