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:
- 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.
- Editor: Filters and merges the analyst's suggestions, checking for code errors and ensuring the suggestions aren't just "hallucinated" benchmark knowledge.
- Librarian: Manages a versioned library of reusable components (prompt fragments, knowledge facts, and Python "processors").
- 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.
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.
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