Google EnvHarness Enables Self-Evolving Agents to Learn in Dynamics Environments
Google researchers open sourced EnvHarness, a framework that dynamically adapts agent-training environments to an agent's weaknesses without modifying the agent, environment, or evaluation system. According to the researchers, this approach can improve both learning effectiveness and efficiency while helping agents overcome their weaknesses. By Sergio De Simone
Google researchers have unveiled EnvHarness, an open-source framework designed to enable self-evolving agents to learn effectively in dynamic environments. Instead of forcing agents to adapt the environments they operate in—often a costly and time-consuming endeavor—EnvHarness dynamically adapts the environments to the agents' weaknesses.
EnvHarness acts as a programmable layer that wraps a static environment, altering only the interface through which the agent interacts. The framework introduces three types of composable components: setup, which customizes the environment's initial state; rule, which constrains state transitions based on the agent's actions; and link, which customizes the observations presented to the agent.
To automatically adapt environments to specific agents, Google has also introduced EnvRigger, which analyzes an agent's behavior, identifies recurring weaknesses, generates targeted modifications, and validates them through new interactions. By repeatedly running the EnvRigger loop, the agent and environment co-evolve, leading to continuous performance improvements that scale effectively with the number of customized tasks.
In tests across benchmarks such as WebArena, SWE-bench Verified, and ALFWorld, adding the EnvHarness layer improved agent performance by 2.9 to 3.7 percentage points on models like Gemini 3.1 Flash-Lite, Qwen3.6 27B, Gemini 3.5 Flash, and Claude Sonnet 4.6. The researchers note that environments remain static for agents that keep improving against frozen benchmarks, at which point the environment has nothing further to teach.
EnvHarness provides a domain-agnostic interface, generalizing across domains and improving efficiency by repairing wasteful behaviors without modifying the agent's core logic or the environment's evaluation system.
Rewritten by urgent.news; may contain errors — check the original.
Source: infoq.com