Abstract

Large language model (LLM) agents are increasingly capable of acting in complex tool-use environments, yet they often fail to recognize when tasks are infeasible and no valid solution exists. Recent work has formalized this reliability gap as the problem of agentic abstention, and existing approaches typically optimize a model or agent harness against a fixed set of tasks, leading to limited generalization to unseen failure modes. We introduce HERA, a framework for harness-environment co-evolution for agentic abstention. HERA consists of (i) a pipeline to automatically construct verifiable pairs of feasible and infeasible tasks by applying controlled environment mutations that transform solvable tasks into cases requiring abstention, and (ii) a co-evolution procedure in which performance failures on previous tasks are used to drive harness adaptation and generate new execution environments and tasks geared towards previous weaknesses. On held-out evaluation tasks, an evolved harness from HERA improves abstention accuracy from 61.7% to 83.3% while improving feasible-task completion from 68.3% to 76.7%, achieving the highest abstention and feasible-task completion among the compared methods. The resulting best harness transfers across 19 other LLMs, improving abstention accuracy by 15.3 percentage points on average without any model-specific optimization, and enabling smaller models to match the performance of more powerful models at an estimated 85% lower cost.

Keywords

Subject

Publication details

Journal
Not available
Open access
Green open access

Cite this article

APA 7

Luo, H., Wen, B., Yang, G., Wang, Z. Z., Lu, P., & Wang, L. L. (2026). HERA: Harness-Environment Co-Evolution for Reliable Agentic Abstention. https://omanscience.com/en/articles/hera-harness-environment-co-evolution-for-reliable-agentic-abstention

MLA 9

Luo, Han, et al. "HERA: Harness-Environment Co-Evolution for Reliable Agentic Abstention." https://omanscience.com/en/articles/hera-harness-environment-co-evolution-for-reliable-agentic-abstention.

Chicago (author–date)

Luo, Han, Bingbing Wen, Guang Yang, Zora Zhiruo Wang, Pan Lu, and Lucy Lu Wang. 2026. "HERA: Harness-Environment Co-Evolution for Reliable Agentic Abstention." https://omanscience.com/en/articles/hera-harness-environment-co-evolution-for-reliable-agentic-abstention.

Harvard

Luo, H., Wen, B., Yang, G., Wang, Z. Z., Lu, P. and Wang, L. L. (2026) 'HERA: Harness-Environment Co-Evolution for Reliable Agentic Abstention', Available at: https://omanscience.com/en/articles/hera-harness-environment-co-evolution-for-reliable-agentic-abstention.

Vancouver

Luo H, Wen B, Yang G, Wang ZZ, Lu P, Wang LL. HERA: Harness-Environment Co-Evolution for Reliable Agentic Abstention. https://omanscience.com/en/articles/hera-harness-environment-co-evolution-for-reliable-agentic-abstention

IEEE

H. Luo, B. Wen, G. Yang, Z. Z. Wang, P. Lu, and L. L. Wang, "HERA: Harness-Environment Co-Evolution for Reliable Agentic Abstention," https://omanscience.com/en/articles/hera-harness-environment-co-evolution-for-reliable-agentic-abstention.