TL;DR
EvoX introduces a shift in AI agent design by treating the "harness"—the code that connects an LLM to its tools—as an active Operational Policy rather than a passive loop. By implementing deterministic controls for tool-call recovery and outcome verification, EvoX achieves a 56.2% success rate across diverse benchmarks, significantly outperforming existing harnesses especially when paired with non-proprietary models.
What Problem Does This Paper Address?
We often blame an agent's failure on the "brain" (the Large Language Model), but the "plumbing" (the agent harness) is frequently the real culprit. Even when an LLM makes a correct decision, the agent can fail due to malformed tool calls, getting stuck in infinite error loops, or prematurely claiming victory before a task is actually done.
Current agent systems vary wildly in design—some focus on specialized interfaces for coding, while others provide minimal loops. This lack of standardization makes it hard to know if a performance boost comes from a better model or just a more robust harness. The authors tackle two main questions: How should we design a harness to maximize model reliability? And how can we evaluate these harnesses fairly without suppressing their unique behaviors?
Methods
The authors propose The Second Policy, a design principle that splits agent logic into two parts:
- Semantic Policy: The foundation model, which handles reasoning, planning, and interpreting feedback.
- Operational Policy: The harness (EvoX), which governs how those plans are executed and recovered.
EvoX, built in Rust for performance and safety, implements this operational policy through three core mechanisms:
- Action Realization: It detects and repairs malformed tool calls (e.g., fixing JSON syntax or normalizing arguments) before they hit the environment.
- Execution Continuity: It manages failure recovery using "circuit breakers" to stop unproductive loops and provides specific guidance to the model on how to diagnose errors.
- Outcome Grounding: It forces the model to reconcile its final report with actual observed tool feedback, preventing "hallucinated success."
To test this, they created Contrast, an evaluation framework that uses a "Fairness Contract." It locks external variables (like network access and model identity) while allowing "native" harness behaviors (like system prompts and internal recovery logic) to function normally, ensuring an apples-to-apples comparison.
Datasets
The study evaluates six harnesses across five diverse benchmarks to ensure generalization:
- Aider Polyglot: Multilingual programming.
- GAIA: Web-assisted general reasoning.
- Harbor Index: Algorithmic problem solving.
- SWE-Live: Real-world repository-level software repair.
- Terminal-Bench 2.1: Terminal-based engineering tasks.
Key Insights and Ideas
- The Harness is a Policy: The most significant "aha moment" is formalizing the harness as a deterministic policy ($H = (\Gamma, \Delta)$). This moves the harness from being a utility script to a core architectural component that actively shapes the agent's trajectory.
- Model-Harness Affinity: The researchers found that first-party harnesses (like Claude Code) perform best with their own models (Opus 5). However, EvoX showed superior "cross-provider adaptability," significantly boosting the performance of models like GLM-5.3 and Kimi K3 where no specialized harness existed.
- Reliability over Reasoning: Many failures aren't due to poor reasoning but poor "grounding." EvoX’s success suggests that improving how an agent observes its own actions is a low-hanging fruit for increasing reliability.
Key Results
EvoX achieved the highest overall success rate of 56.2% across 691 common task-model pairs.
- Outperformance: It exceeded the average of five other major harnesses (including Pi, Claude Code, and Codex) by 3.0 percentage points.
- Specific Gains: The advantages were most dramatic on "neutral" models: +10.7 points on GLM-5.3 and +7.9 points on Kimi K3.
- Efficiency: Interestingly, EvoX achieved these results in a "baseline" configuration—without using its optional long-term memory or evolutionary learning features—proving the inherent value of its operational control logic.
Limitations and Future Work
The current study intentionally disabled EvoX's more advanced features, such as the Gene Evolution Protocol (GEP) and long-term memory, to isolate the effect of the runtime policy. While this provided a clean baseline, it means the full potential of an "evolving" harness remains to be quantified in a controlled setting.
Future work points toward collective evolution, where multiple agents share verified execution experiences to refine their operational policies over time. The authors also suggest extending this framework to multi-agent swarms, where the "Second Policy" would coordinate complex interactions between different specialized agents.
Summary updated