LiteEvo: Automated, Cost-Efficient Harness Evolution for Generalization to Unseen Tasks

Euntae Choi, Sumin Song, Sungjoo YooarXiv 2026

TL;DR

LiteEvo is a lightweight, benchmark-blind algorithm that automatically evolves LLM agent "harnesses"—the prompts and code that wrap a model—from a neutral starting point. It achieves state-of-the-art performance across diverse agentic benchmarks at just 1/13th the API cost of previous methods, while demonstrating strong generalization to tasks it has never seen before.

What Problem Does This Paper Address?

An LLM agent is more than just a model; it is a model inside a harness. This harness includes the system prompt, the logic that parses model replies into actions, and the code that formats environment observations back into text. While model weights are often frozen, the harness is a powerful lever: on the AppWorld benchmark, a frozen Qwen3.5-9B model goes from a 0% success rate to over 65% simply by changing its harness.

However, designing these harnesses is currently a "dark art" of manual prompt engineering. Recent attempts to automate this, like HarnessX, are prohibitively expensive (costing hundreds of dollars in API tokens per run) and often "cheat" by starting with a human-written, benchmark-specific seed. Furthermore, most existing methods don't test if an evolved harness actually works on new, unseen tasks—a critical requirement for real-world deployment.

Methods

LiteEvo introduces a cost-efficient, automated evolution loop that is entirely benchmark-blind. It starts every run with the same 788-character "neutral" harness and masks all benchmark-specific identifiers from its internal meta-agents.

The system operates through a four-stage meta-agent pipeline:

  1. Analyst: Examines agent trajectories using Failure-Oriented Group Sampling. It specifically looks at "mixed" tasks (where the agent succeeded in some attempts but failed in others) to improve reliability, and "all-fail" tasks to spark new strategies.
  2. Editor: Filters and merges the analyst's suggestions, checking for code errors and ensuring the suggestions aren't just "hallucinated" benchmark knowledge.
  3. Librarian: Manages a versioned library of reusable components (prompt fragments, knowledge facts, and Python "processors").
  4. Composer: Assembles a new candidate harness from the library.

A Pass@2 Gate then evaluates the candidate on a validation set. If the new harness improves performance beyond a specific noise margin, it is accepted; otherwise, the system holds or reverts to the previous best. Unlike previous work, LiteEvo's meta-agents are "tool-free," meaning they don't use expensive external search or file tools, which is the primary driver of its 13x cost reduction.

Figure 2: Overview of LiteEvo. (0) Every benchmark starts from the same neutral harness h0. (1) Frozen workers run the current harness ht on the train tasks, and failure-oriented group sampling keeps ten mixed-outcome and three all-fail task groups as evidence. (2) Four meta-agents mine fail- ure modes, curate a versioned component library († marks the strategies, which advise the composer and never reach the agent) and compose a candidate. (3) A pass@2 gate on the val tasks accepts, holds or reverts the candidate. (4) The frozen agent runs the selected harness ht+1 in the next round.

Datasets

The authors evaluated LiteEvo across five diverse agentic benchmarks:

  • ALFWorld: Text-based household tasks.
  • WebShop: Navigating a simulated e-commerce site to find products.
  • AppWorld: Complex everyday tasks involving 457 different APIs across nine apps.
  • GAIA: General AI assistant tasks requiring web research and tool use.
  • SWE-bench Verified: Real-world software engineering bug fixes from GitHub.

Key Insights and Ideas

  • The Power of the Harness: The paper reinforces that for agentic tasks, the environment interface is often more important than the model's raw size. LiteEvo enables a 9B model to reach the performance levels of "frontier" models like GPT-4.
  • Failure-Oriented Sampling is Essential: The authors found that evolution stalls if you only look at successes or only at failures. Comparing a success and a failure on the same task (mixed groups) provides the clearest signal for what the harness needs to fix.
  • Benchmark Blindness Works: By masking benchmark names and identifiers, the authors proved that meta-agents can derive effective, environment-specific logic purely from observing agent-environment interactions, rather than relying on pre-trained knowledge about a specific dataset.
  • Library Persistence: Instead of rewriting the harness from scratch each round, maintaining a versioned library of components allows the system to incrementally build complexity without exploding API costs.

Key Results

LiteEvo significantly outperforms the previous state-of-the-art, HarnessX, while being much cheaper to run.

  • Cost Efficiency: LiteEvo achieved a 13.0x lower mean API cost than a reproduction of HarnessX.
  • Performance: Across five benchmarks using a frozen Qwen3.5-9B, LiteEvo reached a mean pass@2 of 71.0%, compared to 67.3% for HarnessX.
  • Generalization: In "inductive" tests (where the harness is evolved on one set of tasks and tested on another), LiteEvo maintained its gains, proving that the evolved harnesses aren't just over-fitting to specific task instances.
  • Frontier Model Boost: When applied to a frontier model like Claude 3.5 Sonnet (via Claude Code), LiteEvo still managed to lift performance by up to 7.5 percentage points.
Figure 1: LiteEvo reaches comparable or higher pass@2 than our reproduction of HarnessX at 13.0× lower mean API cost and lifts a frozen 9B agent to the level of frontier agents on ALFWorld and AppWorld. (a) Test pass@2 against the API cost of one evolution run, both methods transductive. Error bars span the three test runs, and the black markers average the five benchmarks. (b) Qwen3.5- 9B given only the task text, and with the harness LiteEvo evolves (inductive, except on GAIA), against Claude Code with Sonnet 4.6 at low and high effort and GPT-5.4 with the static, unevolved harness that HarnessX reports (Chen et al., 2026), on HarnessX’s own task sample for WebShop. Solid bars give pass@1 and hatched bars pass@2. †: Sonnet 4.6 is told how to finish a task; the agent under LiteEvo never is.

Limitations and Future Work

  • Cross-Benchmark Transfer: While LiteEvo generalizes to new tasks within a benchmark, a library evolved for one benchmark (e.g., ALFWorld) does not yet help with a completely different one (e.g., WebShop). The "worked examples" that drive performance are highly environment-specific.
  • Library Management: The current Librarian meta-agent mostly adds components; the authors suggest that more active pruning or management of the library could be beneficial.
  • Optimization of Meta-Instructions: The instructions given to the meta-agents themselves were handcrafted and never evolved; the authors suggest letting a frontier model design these instructions in the future.
  • Integration: Future work could explore combining harness evolution with model fine-tuning or reinforcement learning for even greater gains.

Summary updated

BibTeX
@misc{choi2026liteevo,
  author = {Euntae Choi and Sumin Song and Sungjoo Yoo},
  title = {{LiteEvo: Automated, Cost-Efficient Harness Evolution for Generalization to Unseen Tasks}},
  year = {2026},
  eprint = {2609.33146},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2609.33146},
}
Figure