Meta and UIUC Train 8B Model via EvoHarness-RL to Match Claude Opus 4.5 on Agentic Workflows

Researchers from Meta AI and the University of Illinois Urbana-Champaign have introduced EvoHarness-RL, a framework designed to teach language models how to dynamically manage external agent harnesses during long-horizon tasks. In experiments on the sequential reasoning benchmark ALFWorld, a Qwen3-8B model trained with EvoHarness-RL attained a 96.9% task success rate. The result represents a 49.0 percentage point gain over baseline ReAct prompting (47.9%), outperforms specialized trainable agen

2 min
Meta and UIUC Train 8B Model via EvoHarness-RL to Match Claude Opus 4.5 on Agentic Workflows

Researchers from Meta AI and the University of Illinois Urbana-Champaign have introduced EvoHarness-RL, a framework designed to teach language models how to dynamically manage external agent harnesses during long-horizon tasks.

In experiments on the sequential reasoning benchmark ALFWorld, a Qwen3-8B model trained with EvoHarness-RL attained a 96.9% task success rate. The result represents a 49.0 percentage point gain over baseline ReAct prompting (47.9%), outperforms specialized trainable agent frameworks including SkillRL (89.9%) and SkillOS (80.2%), and matches the 96.4% baseline score of frontier model Claude Opus 4.5.

Overcoming Static Agent Harnesses

Production AI agents tackling complex multi-step workflows rely on harnesses to track state, parse execution feedback, and recover from runtime failures. Standard implementations depend either on manually scripted prompts or append-only memory stores. Manual heuristics often fail across model upgrades or domain shifts, while unbounded append-only logs flood the active context window with stale or irrelevant intermediate outputs.

EvoHarness-RL formalizes external state management into a structured interface termed Belief, Progress, and Experience (BPE):

  • Belief: Tracks environmental reality, current system configurations, and active workspace state.
  • Progress: Manages execution status across sequential and dependent subgoals.
  • Experience: Stores procedural lessons and failure corrections across task runs.

The model interacts with the BPE workspace using four standardized meta-actions: track, commit, recall, and note. Rather than invoking disparate tools ad hoc, the model issues structured updates to maintain state consistency.

EvoHarness-RL Architecture and Reinforcement Learning Cycles

Two-Stage Training and Cost-Aware RL

The EvoHarness-RL optimization pipeline consists of two phases:

  1. Supervised Harness Fine-Tuning (SFT): The base language model is trained on execution logs to parse unstructured environment feedback into structured BPE state representations.
  2. Cost-Aware Reinforcement Learning: The model undergoes reinforcement learning to balance task completion with state query overhead. The reward function penalizes unnecessary calls to external memory, training the policy to invoke tools only when required by task complexity or unexpected errors.

During training, researchers observed two distinct behavioral phenomena:

  • Harness Annealing: As the agent repeatedly succeeds on common task primitives, it internalizes procedural patterns directly into its weights. This reduces redundant queries to the external experience store and lowers token latency during routine execution.
  • Harness Evolution: When the model encounters unseen environments, tool failures, or unexpected API errors, it dynamically scales up queries to Belief and Experience modules to diagnose edge cases before taking action.

Cross-Scale Application

Beyond training open-weights models, the researchers evaluated the BPE state interface as a zero-shot prompt-time harness for frontier models. Equipping frozen models with the structured BPE workspace increased the ALFWorld success rate of GPT-4.1 by 22.1 percentage points and GPT-5 by 25.7 percentage points without additional fine-tuning.

The architecture includes an environment adapter layer, allowing developers to apply BPE state management over existing tool integrations and execution sandboxes without rewriting underlying business logic.

Sources

Written by

More to read

  • Federal Judge Rules Pentagon Supply Chain Blacklist of Anthropic Was Unlawful Retaliation

    A federal district court in California has ruled that the Pentagon's designation of artificial intelligence developer Anthropic as a national security supply chain risk was unlawful and unconstitutional. In a 59-page decision, U.S. District Judge Rita Lin determined that the Department of Defense retaliated against the company in violation of the First Amendment and the Fifth Amendment's Due Process Clause. The permanent injunction prohibits federal agencies named in the complaint from enforcin

    1 min
  • LLM Gateways and Routing Infrastructure in Production: Comparing LiteLLM, Portkey, Kong AI Gateway, and Cloudflare AI Gateway

    In early production architectures, engineering teams frequently integrate Large Language Models (LLMs) by instantiating vendor-specific SDK clients directly within application microservices. While this pattern enables rapid prototyping, it introduces severe architectural bottlenecks at scale: unmitigated upstream provider outages (HTTP 502/503 errors), strict rate limit exhaustion (HTTP 429), uncoordinated token spend across teams, absent audit logging, and tight coupling to proprietary API sche

    1 min
  • Rotary Position Embeddings (RoPE) and Context Window Extension: Mathematical Foundations, Complex Rotations, NTK-Aware Scaling, and YaRN Dynamics

    Autoregressive transformers process input sequences as permutation-invariant collections of token vectors. Without explicit positional encoding, the self-attention mechanism cannot distinguish between different token orderings. While early transformer architectures relied on additive absolute position embeddings (such as learned position tables or fixed sinusoidal encodings) or additive relative position biases, modern frontier large language models have almost universally converged on Rotary Po

    1 min