返回新聞
創新AI Understanding 簡報

Google 發布開源 EnvHarness 用於自適應 AI 代理訓練

Google Cloud AI Research 發布了 EnvHarness,這是一個 Apache 2.0 授權框架,可動態修改靜態訓練環境以針對特定的 AI 代理弱點,從而提高五個基準測試的效能。

4 min readRead the original reporting
Source-provided image accompanying Google releases open-source EnvHarness for adaptive AI agent training
歸因報告來源記錄
出版商
venturebeat.com
來源連結
venturebeat.comhttps://venturebeat.com/orchestration/googles-open-source-envharness-lets-ai-agents-train-against-environments-that-evolve-with-them
來源類型
新聞媒體的報道-不是第一方文件。

我們無法獨立確認的內容: 此聲明歸因於指定的商店。我們沒有根據第一方文件對其進行驗證。 (venturebeat.com)

背景60 秒內了解這一點

從這裡開始

關鍵術語

人工智慧代理
一種可以觀察、推理並採取行動來實現目標的軟體系統,通常使用工具和記憶體。
強化學習
透過獎勵訊號進行訓練,代理學習能夠最大化長期回報的行動。
地面真相
用於訓練或評估模型輸出的可信參考標籤。
測試一下自己AI 代理測驗

發生了什麼事

Google Cloud AI Research and academic partners released EnvHarness, an open-source framework under the Apache 2.0 license. The tool inserts a programmable layer between an and its training environment, allowing the environment to adapt dynamically to the agent's specific failures. By using a component called EnvRigger to diagnose weaknesses and modify task conditions without altering the underlying verifier, the framework enables agents to practice targeted skills. In testing across five benchmarks, including SWE-bench Verified and WebArena, agents trained with EnvHarness showed performance gains of up to 9 points and reduced the number of steps required to complete tasks compared to static environments.

Researchers from Google Cloud AI Research developed EnvHarness to solve the problem of static training environments. Traditional environments remain fixed even as agents improve, making it difficult to find challenging edge cases. EnvHarness introduces a programmable layer that can change starting states, filter actions, and modify task durations without altering the core environment or its verifier.

The framework includes EnvRigger, which automates the adaptation process. It follows an Observe, Diagnose, Write, and Validate loop. EnvRigger analyzes agent trajectories to identify recurring failure patterns, then composes specific EnvHarness components to expose or correct those failures. It validates these changes to ensure tasks remain solvable and useful before applying them.

Testing was conducted on five benchmarks: ALFWorld, WebArena, SWE-bench Verified, OfficeQA, and SpreadsheetBench. Agents trained using EnvHarness outperformed those trained on static environments across all five. On SWE-bench Verified, the average trajectory length decreased from 55.01 to 49.61 steps. The framework also outperformed other environment-generation systems like SWE-smith and GenEnv in both accuracy and efficiency.

The code, experiment configurations, and implementation are available on GitHub under the Apache 2.0 license. The framework requires a Bridge to integrate with existing environments, with initial support for Docker-based SWE-bench, OfficeQA, and SpreadsheetBench. It is designed for digital sandboxes where rollouts are cheap and state can be restored, such as coding and web automation environments.

來源詳情: venturebeat.com ↗

為什麼這很重要

This release addresses a significant bottleneck in development: the high cost and diminishing returns of building static training environments. As agents improve, fixed environments become too easy, forcing developers to create new, expensive simulators. EnvHarness offers a practical alternative by amplifying the utility of existing, trusted environments. For enterprise teams, this means they can extract more training value from their current infrastructure without rebuilding simulators from scratch. The framework preserves the integrity of ground-truth verifiers while dynamically introducing challenges that force agents to overcome specific behavioral shortcuts, such as skipping tests or missing information. This approach reduces development overhead and provides a scalable path for improving agent reliability in complex, real-world tasks.

Building new training environments is expensive and time-consuming. EnvHarness allows teams to reuse existing, high-quality environments by dynamically reshaping them around an agent's current weaknesses. This reduces the need to continuously build new simulators from scratch.

The framework preserves the integrity of trusted verifiers. By modifying the conditions under which an agent operates rather than the task itself, EnvHarness ensures that success is still determined by the original, reliable . This is crucial for maintaining the validity of training signals.

For enterprise AI teams, this approach offers a practical way to improve agent performance without significant infrastructure changes. It can be integrated into existing CI/CD pipelines as a lightweight plugin, allowing for continuous improvement of agents in controlled, safe environments.

The dynamic nature of EnvHarness helps address the issue of agents taking shortcuts. By automatically creating constraints that force agents to practice specific skills, such as running tests before submitting code, the framework encourages more robust and reliable behavior.

Interactive Mechanism

互動機制:它實際上是如何運作的

以互動方式探索這項發展背後的基礎技術。

Agent Lifecycle Stage:
1
User Intent & Planning: "Audit customer refund request #4092 and settle payment."
2
Tool Calling: Emits structured JSON call crm_get_transaction(id='4092').
3
Guardrail & Verification:🛡️ Paused: High-value action requires human operator sign-off.
4
Final Settlement: Refund recorded, email receipt dispatched, and audit log stored.
Core takeaway: An AI agent is not just a language model—it is a closed loop of planning, tool invocation, and environment feedback. Production systems require self-healing retries and strict human approval guardrails.
互動式概念檢查+10 Points
AI Agents Quiz

An agent must create a draft calendar event for Tuesday at 2 p.m. Which evidence would establish the requested result?

接下來看什麼

Developers should monitor the GitHub repository for new Bridge implementations that support additional environment types. Enterprises using containerized CI/CD pipelines should evaluate how EnvHarness integrates with existing Docker or Kubernetes setups. Additionally, the community will likely explore combining EnvHarness with agent-side optimization frameworks to create feedback loops where environmental challenges and agent capabilities evolve together. The long-term impact will depend on whether the computational cost of the EnvRigger diagnostic loop remains manageable as agent complexity increases.

The availability of new Bridges for different environment types will determine the framework's broad applicability. Currently, support is limited to specific benchmarks, but expansion to other domains will be key to its adoption.

The computational cost of the EnvRigger loop is a trade-off. As models improve, the cost of designing and validating modifications is expected to fall, but teams will need to monitor this to ensure it remains viable for large-scale deployments.

Integration with agent-side optimization frameworks could create powerful feedback loops. While not tested together in this paper, combining EnvHarness with systems that modify the agent's internal harness could lead to more comprehensive improvements in agent capabilities.

The framework's suitability for different types of environments will be a focus. It is best suited for digital sandboxes with cheap rollouts and restorable states. Its application to environments with irreversible side effects or expensive resets will require careful consideration and additional safety measures.

相關指引和測驗

人工智慧代理人工智慧培訓什麼是人工智慧?測試你所知道的—嘗試免費的人工智慧測驗在我們的詞彙表中尋找人工智慧術語關注 AI 模型發布追蹤器
覺得有用嗎?