HERA: Harness-Environment Co-Evolution for Reliable Agentic Abstention
Abstract
HERA co-evolves agent harnesses and task environments to improve abstention and task completion across diverse LLMs without model-specific tuning.
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.
Community
Hi everyone! We wanted to share HERA, our recent work on agentic abstention.
We explore whether co-evolving task environments and agent harnesses can help agents better recognize when to act and when to abstain. We also introduce HERA-BENCH to evaluate this ability.
We'd really appreciate any thoughts, feedback, or suggestions!
This is an automated message from the Librarian Bot. I found the following papers similar to this paper.
The following papers were recommended by the Semantic Scholar API
- Grow the Harness, Not the Context: From Strategy-Free Scaffolds to Reusable Specialist Agents (2026)
- Verify Smarter, Evolve Further: Efficient Harness Evolution through Behavior-Aware Verification (2026)
- EnactOpt: Diagnosis-Guided Harness Evolution for Embodied Agents (2026)
- Trace-to-Architecture: Capability Bottleneck Diagnosis for Harness Revision (2026)
- Learning from Research: Toward Lifelong Agent Harness Evolution (2026)
- Harness^2: Recursive Agent Harnessing for an Open World (2026)
- StarHarness: Evolving Harnesses with Stratified Search for Enterprise Environments (2026)
Please give a thumbs up to this comment if you found it helpful!
If you want recommendations for any Paper on Hugging Face checkout this Space
You can directly ask Librarian Bot for paper recommendations by tagging it in a comment: @librarian-bot recommend
Models citing this paper 0
No model linking this paper
Datasets citing this paper 1
Spaces citing this paper 0
No Space linking this paper
Collections including this paper 0
No Collection including this paper