TL;DR
Real-world LLM agents operate within an ever-changing "harness" of tools, skills, and sub-agents, yet existing benchmarks only test them in static environments. This paper introduces EVOHARNESSBENCH to systematically evaluate agents as their available capabilities expand over time. The authors discover a critical vulnerability: simply adding new tools or agents causes severe "harness-induced forgetting," degrading an agent's performance on tasks it could previously solve.
What Problem Does This Paper Address?
When we deploy LLM agents in production, we rarely give them a static environment. Developers constantly add new APIs, update procedural guidelines, or introduce specialized sub-agents. This external ecosystem of capabilities is what the authors call the agent's harness.
While substantial research focuses on continual learning for agents, existing benchmarks almost exclusively introduce non-stationarity through the task stream (e.g., giving the agent new problems to solve while keeping its tools fixed). This leaves a massive blind spot: we do not know how agents cope when the harness itself changes. Does expanding an API catalog distract the agent? Does past experience become a liability when better tools become available? This paper addresses this gap by shifting the source of environmental change directly to the agent's harness.
Methods
The authors formalize outer harness evolution as a sequence of expanding harness states ($H_1 \subseteq H_2 \subseteq \dots \subseteq H_T$), where capabilities are released progressively from frequently used "core" functions to the "long tail."
To evaluate how agents handle this growth, the benchmark introduces two complementary evaluation modes:
- Deployment Evaluation: The agent is initialized fresh at each stage with the expanded harness. This isolates the direct impact of harness expansion (scale and distraction) without any carried-over learning effects.
- Self-Evolving Adaptation Evaluation: The agent is allowed to learn from an adaptation split at each stage, carrying persistent artifacts—such as episodic memories, prompts, or routing policies—forward to subsequent stages.
The benchmark evaluates these dynamics across three distinct capability axes: Tools (executable APIs), Skills (latent reference procedures), and Agents (specialist sub-agents).
Datasets
EVOHARNESSBENCH is deterministically constructed from two verifier-backed agent benchmarks: EnterpriseOps-Gym (EOG) (stateful enterprise workflows) and Agentic Last Exam (ALE) (diverse software and coding tasks).
In total, the benchmark compiles:
- 17 controlled harness streams across 3 to 6 cumulative stages.
- 802 unique tasks (instantiated as 1,510 axis-specific evaluation examples).
- 520 executable tools, 42 latent reference skills, and 62 specialist agents.
Key Insights and Ideas
- Harness-Induced Forgetting: A striking finding is that agents lose competence on previously solved tasks purely because the harness expands. Even though the underlying LLM weights and the tasks themselves remain identical, the larger action space introduces severe distraction and coordination complexity.
- The Retention vs. Adaptation Tension: The experiments reveal a frustrating trade-off. Adaptation mechanisms (like prompt tuning or memory banks) that successfully protect an agent from forgetting older tasks often severely hinder its ability to adapt to newly introduced capabilities, resulting in negative forward transfer.
- Memory is Architecture-Dependent: While structured memories consistently help single-agent systems narrow down their tool search, sharing abstract memories in multi-agent systems often backfires. It frequently leads to over-exploration, redundant sub-agent coordination, and inflated token costs.
Key Results
- Severe Performance Drops: In the deployment setting, harness expansion alone caused performance to degrade on previously mastered tasks by 12.1% for evolving tools, 13.8% for skills, and a massive 46.4% for specialist agents.
- Adaptation Degradation: When evaluating self-evolving adaptation, operating under an evolving harness proved more challenging than under task-specific reference harnesses, showing the largest degradation for skills (−3.3%), followed by tools (−2.2%) and agents (−1.2%).
- Completeness over Selectivity: For agent orchestration, self-evolution methods (like Meta-Harness) improved the recall of required specialist agents (moving from 79% to nearly 89%) rather than improving selection precision. The primary bottleneck remains how agents coordinate once selected, rather than the selection itself.
Limitations and Future Work
- Monotonic Growth Constraint: Currently, EVOHARNESSBENCH only models the addition of capabilities. In real-world software engineering, tools are also deprecated, retired, or replaced, which will introduce complex migration and obsolescence challenges.
- The Need for Bi-Level Adaptation: The tension between retention and adaptation suggests that future agent architectures need bi-level optimization: an inner loop to optimize current task execution, and an outer loop to ensure updates remain robust across historical harness states.
- Stale Artifact Pruning: Future work must develop explicit mechanisms for agents to detect when their accumulated memories or prompts have become stale or actively harmful due to changes in the underlying toolset.
Summary updated