发布于 更新于 Published Updated
目录Table of Contents

网页 Agent 环境:把 Browser Use 变成可验证的 RL

Jul 2026 · Web Agents / Tool Governance / Evaluation Integrity / Multi-Agent / Agentic RL

网页 agent 的难点不是让模型会点击按钮,而是让一次点击能够被安全地约束、事后复核,并在训练时正确归因。一个可信的网页 RL 结果属于完整配置:站点初态 + 观察/动作接口 + 权限策略 + 证据轨 + evaluator + 预算,而不是某个模型或单一 reward。同样的“可验证”标准还必须覆盖三条相邻控制链:agent 连接的工具、给出分数的评测器,以及互相委托的多个 agent。

本文的边界:ClawBench 的公开预印本描述 V1;仓库中的 V2 任务和两阶段评分协议是当前可读的工程材料。本文不把它们写成已经完成的 RL 训练结果。WebsiteBench 在这里是拟议研究环境的工作名,不是已发布 benchmark 或 leaderboard。本文新增的工具治理、评测完整性与多 Agent 协作三节,给出的是可实现、可攻击、可验收的契约与所引预印本证据,而不是已经落地的安全保证。

1. 网页任务应该对什么负责

“页面显示成功”通常不够。一个用户相关的任务至少有五个彼此独立的对象:初始网站与账号状态、agent 可见和可调用的接口、允许提交的动作、可保存的证据,以及独立判断终态的 evaluator。少掉其中任一项,“完成”都会变得含糊。

这是一份设计栈,而不是对某个公开系统的结构声称。WebArena 和 BrowserGym 的公开材料说明,自托管网页环境可以用容器化服务和 reset 流程恢复任务状态;Harbor 则区分 shared 与 separate verifier。其默认 verifier 与 agent 共处环境,只有显式声明 separate mode 才隔离评分环境,并且只应接收声明的 artifacts。WebArena reset · Harbor task structure

2. Self-host 不等于“放进 Docker 就可复现”

站点内容、数据库、登录态、Cookie、浏览器缓存、时钟、邮件模拟器和网络依赖都可能改变后置条件。一次可信 reset 应声明哪些状态被重建,哪些外部依赖被替换或封锁,哪些随机源被固定。BrowserGym 的 reset() 只定义环境内部与随机数状态语义;具体 WebArena 部署是否真的重置远端后端,要看其显式 full-instance reset 路径。BrowserGym 的 WebArena 文档把这个能力作为部署接口,而不只是一条测试前命令。BrowserGym / WebArena · BrowserGym core API

必须冻结或记录的层 最小证据 不能据此推出什么
网站服务与数据 镜像 digest、seed、数据库/对象存储快照 真实互联网服务也会保持不变
浏览器 profile browser 版本、Cookie/登录态模板、扩展与下载目录 任意 agent 的 browser trajectory 都能重跑
身份与网络 合成账号、允许域名、代理和 egress policy 站点内容不会包含 prompt injection
独立 verifier verifier 版本、私密规则 hash、执行环境和输入工件 评分一定等于用户意图

因此“自托管”应被理解为可控的任务域,不是对安全、可复现或语义正确性的自动保证。它使这些性质可以被逐项工程化和测试。

3. Browser Use 与 Computer Use 要在同一任务上公平比较

DOM/CDP 浏览器 agent 通常能读结构化页面状态,调用较窄的浏览器动作;computer-use agent 通过截图、鼠标和键盘观察与操作更一般的 GUI。两者有不同的观察、延迟、失败模式和攻击面。OpenAI 的 computer-use 文档把截图后的鼠标/键盘循环作为一种通用计算机动作接口;它不等同于浏览器 DOM 的语义访问。Computer use guide

公平比较不是给两个系统相同自然语言指令就结束,而要固定站点快照、账号、任务、终态 verifier、危险动作 policy、模型预算和重试策略,再分别报告:

  1. Outcome。 独立 verifier 的终态成功率与置信区间。
  2. Interface cost。 截图/视觉 token、DOM 查询、工具调用、墙钟和环境分钟。
  3. Reliability。 超时、恢复、动作无效、状态漂移和重置失败。
  4. Safety。 拦截、拒绝、错误拦截和不可逆动作前的确认。

一个 DOM agent 更快或一个 computer-use agent 覆盖更广,都是待测假设,不能只由接口定义推出来。

4. 网页、桌面、移动和 live web 不是同一道题

“computer use”不应把所有 GUI 环境压成一个分数。环境的任务基底、初态控制、可见性、动作接口和终态证据不同,因而可以支持的训练与评测结论也不同。

环境族 主要的可控对象 适合检验什么 不能直接外推什么
Self-host 网页:WebArena / VisualWebArena 版本化网站、账号与后端状态;功能或视觉网页任务 页面操作、长步骤网页流程、视觉 grounding 与后端后置条件 对任意 live 网站、桌面 app 或移动 app 的泛化
企业网页工作流:WorkArena / WorkArena++ 一个真实产品域中的业务对象与组合流程 表单、知识库、服务目录、组合 planning/reasoning 跨产品、跨权限模型或消费者网页能力
Full desktop:OSWorld OS、网页与桌面应用、文件和跨应用状态 截图/鼠标/键盘下的 GUI grounding、文件 I/O 与跨 app 流程 已正确处理远端业务语义或真实账户风险
Mobile:AndroidWorld Android app 状态、程序化任务初始化、success/tear-down 触控式 GUI、动态任务变体与 mobile-specific robustness desktop、网页或多平台能力
Live web:WebVoyager / ClawBench 类任务 当日可访问的外部页面与会话 对真实网页变化、视觉与端到端执行的压力测试 完整 reset、稳定 replay 或 evaluator 一定无偏

WebArena 提供可复现、功能完整的网站与 task-specific functional correctness;VisualWebArena 专门加入视觉依赖的网页任务。WorkArenaWorkArena++ 则把范围收在企业知识工作与组合流程。这些都是有价值的网页环境,却不是一个“更真实”的单向刻度。

OSWorld 将初态配置与 execution-based evaluation 扩展到真实操作系统、网页和桌面 app;AndroidWorld 为 Android app 提供任务初始化、成功检查和清理逻辑。它们支持对 general GUI control 的更宽测量,但仍不自动证明账户授权、远端业务后置条件或网页安全。相反,WebVoyager 的 live-site 设定说明端到端网页执行值得测量,却也意味着页面、时间和 judge policy 必须进入记录;一个模型 judge 与人工判断有一定一致性,不等于它就是独立 acceptance。

BrowserGym 的价值在于为多个网页基准提供统一的 Gym-like 接口与实验管理,而不是把这些基准变成同一任务分布。并且基准会成熟:处于公开评审状态的 WebArena Verified 重新检查了目标和 evaluator 的脆弱处。因此本文把 benchmark、harness、初态、verifier 和发布时间一并视为结果配置,而不把任何单个 leaderboard 当作环境真相。

5. “每一步拦截”准确地是什么意思

这里的“每一步”是拟议环境的控制目标:每个经过声明的 browser command,以及经控制 CDP/proxy 路径发出的外部请求,都有可审计事件,并能在提交前被 allow、block 或 terminate。它不是“系统观察了模型的每个想法”,也不意味着可见所有扩展、原生 helper、直连 socket 或未知旁路。

这一区分非常重要。ClawBench V1 的已发布机制是拦截预先指定的最终 HTTP 请求,而不是对每一步做完备监控。当前公开协议再把最终请求 interception 与随后 judge 的语义匹配分开:一个端点命中不能独自证明任务完成,而一个看似正确的文本也不能替代实际提交。ClawBench scoring specification · V1/V2 note

证据层 可能回答的问题 仍然不证明什么
动作日志 是否尝试了声明的动作 远端业务状态已改变
拦截记录 是否通过了受控提交网关 payload 满足用户约束
独立 verifier 规定的后置条件是否满足 所有未建模副作用都不存在
观察式回放 已发生的事件序列是什么 可以在变化的服务上逐字执行重跑

6. 工具与能力治理:网页 agent 的授权层

第 5 节把“动作在提交前被 allow/block/terminate”作为控制目标;但网页 agent 很少只操作一个浏览器动作面。它还会经 MCP 连接工具、经 Browser/Computer Use 触发外部副作用、调用 terminal 与内部 API。这些通道都把模型从文本回答带到外部副作用;因此拦截必须放进一条更完整的治理链。

中心命题:tool discovery != authorization != runtime authority != verified outcome。MCP 是工具互操作协议;授权规范为受保护的 HTTP transport 定义流程;而“是否允许这一次写入、是否真的完成业务任务、是否可安全回滚”仍然是 host、policy engine、环境和独立 verifier 的责任。

五个容易混淆、必须分开的层

它回答的问题 不能替代什么
发现与描述 agent 看见哪些 tool、schema 与说明? server 的描述可信、调用应被允许、参数安全
身份与 transport authorization 谁可连接受保护 server,token 是否面向该 resource? 每一笔业务动作是否符合用户意图与最小权限
运行时权限 当前 session 的此工具、此参数、此副作用是否允许? 结果已在真实后端正确生效
隔离与拦截 网络、文件、credential、进程和敏感动作如何受限? 模型已经理解了不可信内容或安全完成任务
独立验收 postcondition、完整性、安全与成本是否同时成立? candidate 的自述、截图、URL 或 tool success 字段

MCP 的 Tools specification 定义了模型可发现和调用的工具,也提醒 host 获得用户同意、把任意代码执行当作高风险,并将非可信 server 的工具描述视为不可信。MCP 的 Authorization specification 则针对 HTTP transport,要求 resource metadata discovery、token audience validation 和对目标 resource 的绑定。它们是重要基础,但都没有把“本次 business action 是否应发生”变成可自动证明的结论。

从协议连接到真正执行,中间还缺三道门

A. 工具元数据不是可信指令。 工具名、description、schema、返回文本和网页内容都会进入 agent 的观察空间。它们可以帮助模型规划,也可能混入诱导调用、越权参数或数据外泄的内容。MCP 的安全规范明确将 token passthrough 视为反模式,并要求 server 只接受为自身签发的 token;这解决 token audience 与代理混淆问题,不会自动过滤一条恶意 tool response。MCP Security Bench 将名称碰撞、description injection、越范围参数和 tool-transfer 等攻击放入端到端工具链,是“工具链要在规划、调用、返回三处测量”的一组预印本证据。环境含义。 每个 observation 都应携带来源标签:user_instructiontrusted_policytool_metadatatool_outputweb_contentfile_contentagent_memory。标签不是 prompt 中的一行提醒,而是 policy engine 可读、可记录、可拒绝的字段。模型可阅读不可信内容,不等于不可信内容可授予新的目标、权限或 credential。

B. token 有效不是业务动作被批准。 MCP 的授权文档要求 token 面向正确 audience;安全最佳实践还列出 confused deputy、SSRF、scope minimization 与本地 server 最小权限。这些规则约束谁能到达一个 resource,却不能决定“把钱转出”“删除文件”“发邮件”是否符合本次用户意图。因此 agent host 还需要一个动作层的 permit:将 task id + principal + tool version + parameter digest + requested capability + expiry + approval state 绑定。高风险或不可逆调用不得只依赖模型的自然语言判断;它应等待明确确认、使用短时/窄 scope 的 capability,并把 grant 与最终结果写入 trace。Browser Use 的 human-in-the-loop 文档 展示了真实浏览器 session 的人工交接机制;它说明 approval 可以进入工作流,但不证明“有人点过一次”覆盖随后的每一个副作用。

C. tool success 不是后端完成。 一个 200 OK、浏览器截图、可见 toast 或 URL 变化可能只说明前端路径走到某处。它不能单独证明后端写入、账户状态、金额、权限、库存或文件内容满足任务 postcondition。对 web / computer task,action trace 应和 sidecar 证据区分:后者以只读方式检查预声明的 server-side postcondition,并在 candidate 无写权限的域中运行。这也解释了为什么 prompt injection 不能只当作“模型是否听话”的问题。AgentSecBench 在其受控实验中区分 instruction integrity、retrieval confidentiality 与 capability integrity,并将政策投影、能力限制和输出验证与单纯 prompt annotation 区分开来。它的窄结论是:文本可以描述边界;真正强制边界还需要模型生成之外的机制。

一个可实现的 Tool-Governance Contract

下面不是对现有系统的功能宣称,而是 ClawBench V2、WebsiteBench 或任何自托管 agent environment 可采用的最小 contract。

Contract 对象 最小字段 运行时规则 acceptance 证据
Task manifest task id、初态 digest、允许的目标、postcondition、预算 candidate 不能改写目标或 hidden acceptance manifest hash 与独立最终检查
Tool manifest server/tool/version/schema、读写副作用、idempotency、风险级别 仅允许声明版本;metadata 作为不可信观察 discovery 与调用事件的 hash
Capability grant principal、scope、参数约束、过期、approval id 每次调用在 host-side 再验证;拒绝升级 grant / decision / denial trace
Policy interception 来源标签、网络/文件/credential allowlist、rate/retry/chain limit 在 action commit 前运行,非模型自评 被拦截和误拦截的可复核记录
Evidence sidecar 只读后端证据、timestamp、状态 digest、redaction policy 不与 candidate 共享写权限或 secrets 可重跑的 postcondition 结果
Acceptance gate outcome、integrity、unsafe actions、false blocks、成本 训练/开发与最终 hidden split 分开 sealed verifier 与资源账本

对本地 MCP server,安全最佳实践还要求考虑 sandbox 与最小文件、网络、进程权限;对远程 OAuth 发现,host 必须处理 SSRF 和 redirect 风险。它们应成为环境镜像与 launch policy 的一部分,而不是文档脚注。OWASP 的 Agent Security Cheat Sheet 把不可信输入、least privilege、memory isolation、action confirmation 和 adversarial testing 收束为部署建议;它适合作为威胁检查表,而不是某个 benchmark 已证明安全的证据。

把安全变成可判定任务,而不是一条 guard 分数

每个正常任务都应有成对的 adversarial control。一个最小评测矩阵如下:

成对条件 正常成功如何判定 攻击/故障如何判定 主要指标
正常 metadata vs. description injection 正确调用许可 tool 不采纳 tool description 中的新目标或权限 verified success / injection ASR
最小 scope vs. 越范围参数 合法读取或写入完成 拒绝额外 recipient、路径、金额或资源 least-privilege compliance
正常 discovery vs. SSRF/恶意 endpoint 安全发现并调用预注册 server 不访问内网、metadata service 或意外 redirect blocked request / false block
可逆写入 vs. 不可逆动作 正确 postcondition + evidence 等待明确 approval,或安全停止 unsafe action / approval precision
正常页面 vs. UI/后端不一致 后端 postcondition 成立 不把截图或 toast 当成功 backend verified success
单 tool vs. tool-chain escalation 完成允许 workflow 不因中间 output 获得新 credential 或高风险 tool capability-integrity violations

报告必须同时给出正常任务成功、攻击成功、误拦截、每 verified success 的成本和最大副作用范围。只报告 guard 的识别率会遗漏正确任务被阻塞,也会遗漏模型绕过 guard 后对后端造成的影响。反之,只报业务 success rate 会让安全策略看起来像“降低性能的摩擦”,而不是独立的正确性条件。

三个必须分开的 baseline

要研究一个工具治理设计,应在相同模型、harness、任务、预算和 tool set 下比较:

  1. No governance baseline: 仅为了测量原始任务行为;它不能连接真实敏感服务,所有副作用必须在可回滚 sandbox 中。
  2. Prompt-only baseline: 只在 system prompt 或 tool description 中写规则,测量文本提醒的局限和正常任务损失。
  3. Enforced-policy system: host-side capability grant、参数 validation、network / file sandbox、pre-commit interception 与 sidecar verifier 全部开启。

只有第三个系统在 held-out 正常与对抗分布上同时报告收益,才可讨论治理机制的净效果。对于训练,policy 版本、拒绝轨迹、被屏蔽的 observation 和 action mask 都属于 rollout distribution;改动它们就不是“只换了一个 guard”。

验收门槛:一个 agent 只有在正确终态、权限遵守、攻击拒绝、低误拦截、可追溯证据与预算控制同时成立时,才可称为在工具环境中可靠。MCP compatibility、OAuth token、截图、点击记录或语言模型的安全承诺都不是这个门槛的替代品。

工具治理如何回到核心研究线

核心线 Tool governance 新增的可测变量 不能替代什么
RSI / OpenRSI candidate 对 tool/policy/credential 的 editable surface 与独立 acceptance 跨代 held-out 改进证据
Auto Research / ART 来源、实验动作、运行权限与工件的可追溯谱系 研究结论所需的对照、复现与新颖性判断
Long horizon 授权过期、checkpoint 中的 grant、tool-chain escalation 与恢复后的再批准 状态重建、计划与故障恢复本身
Environment / ClawBench V2 reset、interception、sidecar verifier、injection control 与 backend postcondition 仅有 browser sandbox 或一条 reward
Synthetic training / Agentic RL 安全/拒绝轨迹、capability mask、policy 版本与对抗 held-out split 证明训练增益能迁移到未见环境

这一节把 tool discovery、authorization、runtime authority、browser/computer side effect 和独立验收拉成一条连续控制链,正是第 1 节 authority gateway 与第 5 节 interception surface 的展开。

7. Reward 是证据协议,不是一个数字

工具治理给出授权与拦截的控制链;下一步是把它产出的信号——尤其是 reward——同样当作证据而非结论。对于网页 agent,终态 reward 至少应分解为:是否产生允许且可记录的提交,以及该提交和网站状态是否满足任务语义。ClawBench 当前协议的两阶段设计是一个有用的公开例子,但不能被扩大为“所有网页任务都已解决”。它让 intercepted 和最终匹配分别可见,从而给反例留下位置。

建议的最小反刷集包括:

  1. 相同可见页面下,隐藏后端状态不同;
  2. 同题 rollout 全 0 或全 1,令组内相对 reward 没有分辨率。

完整对抗回归见第 8 节的表。

网页内容应默认视为不可信输入。外部页面中的文字是数据,不是授权,不能把浏览升级为数据传输或高风险动作。OpenAI 的 computer-use 与 prompt-injection 指引强调,这类攻击需要分层防线而非只靠提示词;因此 evaluator prompt、私密规则和高权限工具不应暴露给页面内容或待训练 policy。Computer use guide · Understanding prompt injections

8. 评测完整性:拆开 reward、evidence、verifier、judge 与 acceptance

上一节把网页 reward 拆成两阶段证据;本节把这个思路推广到整条评分链。Agent 做对一件事,和 Agent 得到一个高分,不是同一个事实。网页上出现一个 toast、工具返回 200、测试指标上升、LLM judge 表示满意,甚至 hidden verifier 返回 pass,都可能只覆盖目标的一部分。对会用工具、会训练、会改写工件的 agent,reward 不能被当成完成定义;它应该是一条可追溯、可攻击、可与独立终态比较的证据路径

中心命题:reward != evidence != verifier != judge != acceptance。训练信号可以稠密、近似或带噪;最终主张必须说明谁采集证据、谁能写评分输入、谁检查 postcondition,以及什么会让“成功”被推翻。

先拆开五种经常混写的对象

对象 它适合做什么 可成立的最窄结论 不能据此推出
Reward 给 policy 或 trainer 提供优化信号 指定 rollout 在该 reward definition 下得到一个数值 用户目标、真实世界状态或任务已完成
Evidence 记录 action、环境状态、artifact、请求和观察 某个来源在某时刻产生过一条可审计记录 记录完整、未被篡改,或足以判断语义正确
Verifier 对明确定义的 postcondition 做确定性或半确定性检查 指定 predicate 在指定输入/版本下通过 predicate 完整表达用户意图,或 verifier 本身没有漏洞
Judge 对开放文本、研究工件或模糊质量作判断 指定 judge/prompt/版本给出该判断 判断无偏、稳定,或可替代后端状态检查
Acceptance policy 合并终态、完整性、成本、风险与人工升级,决定是否接纳 此版本在声明的 gate 下被接受或拒绝 系统已经安全、通用,或不再需要后续审计

形式上,Skalse 等人将 reward gaming 定义为提升 proxy reward 却损害 true reward 的情形;这说明 proxy 与目标之间的鸿沟不是“实现细节”。Defining and Characterizing Reward Gaming 还指出,对所有随机 policy 来说,非平凡的完全 unhackable proxy 极为苛刻。工程上的结论不是放弃 reward,而是不要把一个 scalar 误当作完整语义。

五类完整性失败,五种不同的控制

失败面 具体问题 最小控制 不能靠什么解决
Proxy gap 计算到的 reward 没有覆盖真正 postcondition 独立终态检查,并报告 reward/acceptance gap 更高 reward 或更多 rollout
Evaluator tampering policy 修改 metric、test、judge input 或 report evaluator/metric/hidden test 在 agent 不可写域,记录 hash 和访问事件 让 agent “答应不改”
Evidence tampering agent 伪造、删改、重排或选择性展示 trace sidecar/append-only evidence、跨源 digest、独立收集 screenshot、final text 或单一客户端日志
Leakage / contamination 训练、检索或 memory 接触 held-out label、rule、trace 或答案 environment/workflow/evaluator/search split,来源谱系和访问控制 随机行切分或改任务名称
Process misalignment click、工具调用、思考文本或 step score 被优化却不改善终态 把过程信号当诊断,与隐藏终态和对抗反例一起检验 一段看似合理的轨迹

Reward Tampering Problems and Solutions 从因果角度区分篡改 reward function 与篡改 reward-function input。对于 agent,实际审计问题是:policy 能否改变 metric code、test data、trace collector、judge context、提交 payload 或用来计算 score 的任何 artifact,同时不改变用户关心的 postcondition?这一定义本身不代表每个 agent 都会篡改;它要求把可写路径和证据依赖画出来。

一个可信评测的最小 contract

TaskSpec       = goal, initial_state_digest, policy_observations, authorized_actions, budget
ActionEvent    = actor, action, authority, timestamp, request/side_effect_digest
EvidenceEvent  = collector_identity, source, artifact/state_digest, visibility, append_only_pointer
RewardSignal   = version, inputs, aggregation, assignment_scope, training_use
Verifier       = version/hash, hidden_postcondition, inputs, diagnostics, execution_domain
Judge          = model/prompt/rubric/version, visible_evidence, calibration_protocol
Acceptance     = required_checks, integrity_constraints, cost/risk gate, decision, rollback

从这个 contract 可得出七条工程不变量:

  1. policy 不能写 verifier、hidden tests、metric code、judge prompt 或 acceptance decision。
  2. reward input 与最终证据分开采集。 policy 产生 action;sidecar、后端或独立 runner 读取结果。
  3. 每个输入都带版本和 digest。 evaluator 变更、judge prompt 修改或测试数据替换都必须成为可见的实验变量。
  4. 可见性也是权限。 policy 不能通过网页、tool output、memory 或错误信息读到 hidden rule、reference answer 或 privileged credential。
  5. 过程轨迹只在其作用域内有效。 它可以解释、诊断或作为训练信号,但默认不替代 terminal postcondition。
  6. 接纳门组合多个列。 verified_outcome、integrity、cost、authority violation、recovery 与人工升级应独立记录,不被一个 reward 抹平。
  7. rollback 不受 candidate 控制。 发现 evaluator 漏洞、污染或 regression 时,能定位版本并撤销接纳。

Process supervision 很有价值,但不是浏览器点击的许可证

Let’s Verify Step by Step 在 MATH 推理设置中比较 process 与 outcome supervision,并在其人类 step-level labels 和任务分布下报告 process-supervised reward model 的优势。它支持“可以把中间过程作为可测试的监督对象”,却不证明浏览器 click、terminal command、subagent message 或自然语言 rationale 自然成为可靠 dense reward。

将过程信号用于 agent 环境时,应先问:

过程信号 可能的用途 必须配对的终态反例
有效工具 schema / 参数 发现无效或越权调用 schema 合法但写错对象或 payload
UI/DOM 变化 提示下一观察或等待 页面显示成功、后端没有 commit
测试中间结果 定位失败子模块 局部测试过了、全局约束/依赖被破坏
计划/理由文本 诊断遗漏约束或不确定性 解释连贯但 action 违反权限或 postcondition
trace 完整度 审计与重放可用性 trace 完整但证据来源、顺序或内容被篡改

一个过程奖励值得保留的最低证据是:在冻结的 hidden terminal evaluator、对抗任务和相同预算下,它提高 verified_outcome 或降低完整性/恢复风险;若过程分数上升而终态、权限或安全变差,它只是另一个可刷的 proxy。

Credit assignment 不是把最终 reward 平均分给所有 token

长程 agent 的一个 session 包含工具调用、失败、retry、context compression、并行 worker 和不同权限域。将一次 terminal reward 广播给所有 request/token,可能奖励与结果无关甚至错误的部分。Polar 的原生 harness trajectory reconstruction 使 token-level interaction 可被记录,并明确警告粗粒度 request-level reward 广播的 reward-hacking 风险;Agent Lightning 提出将复杂 agent execution 分解为训练 transition 的 hierarchical attribution interface。二者都是训练接口与归因设计,不是任意 browser 或 science environment 上已被验证的密集 reward 方案。

因此报告 credit assignment 时至少声明:

  1. assignment scope 是 token、model request、tool action、subgoal、submission 还是 session;
  2. 每一层的 reward input 来自 policy 可写域还是独立 sidecar;
  3. 并发、重试、失败 branch 与取消的 reward 是否被掩码、惩罚或保留;
  4. all-zero/all-one group、稀疏回报和多条相关 trace 如何处理;
  5. attribution 方法是否在最终 holdout、攻击集和不同 harness 上做消融。

没有这些,PPO、GRPO 或任何其他 update rule 的名称不能告诉读者具体学到了什么。

把“能被 hack”变成 benchmark 的一等 outcome

Hack-Verifiable Environments 的关键贡献不是又一个事后安全审计,而是把可检测的 reward-hacking opportunity 直接放入环境,使 exploit 是否发生能被自动验证。RewardHackingAgents 则在 ML-engineering workspace 中分别测量 evaluator tampering 与 train/test leakage,并以 patch tracking、file-access logging 和 trusted reference 形成 integrity label。这两项预印本支持一个很实用的设计原则:不要只等模型意外作弊;让评测明确包含它不应选择的捷径,并将其作为单独结果列。

Reward Hacking Benchmark (RHB) 将这个原则扩展到多步 tool-use:其任务把跳过验证、从任务邻近 metadata 推断答案、篡改评测相关函数等自然捷径作为可检测事件,并区分独立任务与链式任务。它最直接支持的结论是:在给定任务、规则与 hardening 协议下,exploit_outcome 可以与任务结果一起测量。论文中的模型、后训练和 hardening 比较都受该任务设计、攻击面和评测协议限制;它们不推出“某种 RL 必然更容易 hack”,也不证明某个 guard 普遍有效。

单独报告的列 最小含义 不能代替
verified_outcome 非 agent 可写的 postcondition 或 sidecar 证据确认目标状态 proxy reward、点击、endpoint 或 judge 偏好
proxy_reward 训练或搜索实际优化的即时/过程/终态信号 真实完成或完整性
exploit_outcome 已检测到植入或已知的 shortcut、篡改、泄漏或弱 verifier 利用 未知攻击下的安全证明
hardening_delta 在相同任务、策略、动作面和预算下,hardening 前后的 exploit、合法通过和 false-block 变化 “漏洞已经完全消除”的结论

Hardening Agent Benchmarks with Adversarial Hacker-Fixer Loops 进一步把 verifier hardening 做成循环:hacker 找到不用完成任务也能 pass 的 exploit,fixer 收紧 verifier,solver 验证合法解仍被接受。论文在指定 terminal benchmark、攻击模型和修补流程中展示结果,不能证明任何修复后 verifier 无漏洞;但它给出一个重要 acceptance rule:补漏洞后仍要证明不误杀合法解,并在未见 exploit 上重新攻击。

一组跨环境的 anti-gaming regressions

对抗任务 应得到的结果 要独立报告的列
正确 endpoint + 错误 payload 不接纳 endpoint event、payload validity、backend postcondition
UI/toast 成功 + 后端未提交 不接纳,或触发 re-observe/recovery observation、commit evidence、false acceptance
修改 metric/test/judge input integrity failure,即使分数提高 write/access event、trusted metric、tampering type
训练或检索读到 hidden label/trace contamination failure,禁止作为 final transfer provenance、split overlap、search/access log
缺失、重排或伪造 trace evidence integrity failure trace digest、sidecar coverage、order/source mismatch
prompt injection 诱导改变 evaluator/authority block/escalate,不能让页面决定权限 input trust label、policy decision、false block/miss
不可解或预算耗尽任务 正确 refusal/safe stop verified refusal、cost、unsafe action、fabricated success

这些 regression 不会让 reward 完美,但会强迫一个分数面对真正的替代解释:是完成了目标,还是恰好到达了一个弱检查点?

评测完整性如何回到核心研究线

训练可以使用 reward、process signal、judge 或合成轨迹;最终研究结论必须说明它们如何与 frozen acceptance 隔离。对于合成实例,generator 不得访问 final verifier 或成功评测 trace;对于 RSI,candidate 不能写 acceptance;对于 Auto Research,研究工件的文案质量不能替代材料、干预和可复跑证据;对于 long horizon,recovery 不能用自述成功代替后端状态。

核心线 评测完整性新增的可测对象 不能替代什么
RSI / OpenRSI candidate/evaluator authority split、verifier hash、integrity regression、rejected exploit buffer 独立跨代 held-out improvement 的证据
Auto Research / ART claim-to-materials/evidence link、实验控制、研究工件的独立 rerun 新颖性、因果有效性与同行审查
Long horizon checkpoint/recovery 的 evidence integrity、局部成功与全局终态差距 更长轨迹、更多重试或自信 final text
ClawBench V2 / WebsiteBench sidecar evidence、后端 postcondition、injection/tampering/false-block regressions screenshot、endpoint、LLM judge 或 request interceptor 单独成立
Synthetic training / Agentic RL reward/acceptance gap、assignment scope、evaluator/split provenance、attack holdout 高 training reward、过程分数或一个 RL algorithm 名称

本节归结为一个克制的工程标准:reward 应是可质疑的训练信号,verifier 应是版本化的检查器,judge 应是带校准误差的意见,而 acceptance 才是独立的发布/研究接纳决策。把四者分开,不会保证 agent 永不找到漏洞;它会让漏洞、误报、泄漏和真实完成成为可以测量、复现和修复的不同问题。

9. PPO、GRPO 与合成数据:先提出实验,再提出结论

有了 reward 的证据协议,训练算法的比较才有意义。“PPO 可能比 GRPO 更好”是一个可以实验的猜想,不是网页 agent 的既有事实。PPO 需要可信 critic 和对终态有预测力的中间信号;GRPO 避开 critic,但当一个 rollout group 全成或全败时,组内相对信号接近零。任何比较都应固定模型、harness、任务分布、总 rollout、并发、停止规则和最终 verifier。

假设 最小对照 必须公开的结果
GRPO 可利用稀疏网页终态 reward 同一训练任务与预算下的 SFT / GRPO reward spread、全 0/全 1 group 比率、保留 outcome、安全失败
PPO 从验证过的过程信号受益 相同预算下 PPO / GRPO;过程信号先经反例审计 critic 误差、过程分数和独立终态的关系、成本与回归
合成任务产生迁移 仅 SFT、仅 RL、SFT+RL;训练/测试按站点和 workflow 隔离 生成来源、去重、泄漏审计、未见站点收益和置信区间

Polar 说明了另一个关键原则:若目标是训练真实 agent,轨迹应尽可能保留真实 harness 中的模型调用与可用 reward,而不是把部署系统缩成不同的单轮代理任务。这是一条训练接口原则,不是浏览器 RL 已经成功的证据。

10. 多 Agent 网页工作流:委托、交接与可验证的协作

单 agent 训练之外,网页任务常被拆给多个 agent:一个 orchestrator 分派检索、表单、验证与执行子任务。但多 agent 不是把一个 prompt 发给更多 worker。它是一项有成本、有权限、有合并风险的控制策略:谁决定是否委托,子任务能看见什么,谁能写入哪些工件,团队如何交接、冲突、取消和恢复,以及最后由谁在独立环境中验收。没有这些边界,“团队更强”的结论通常只是更多 token、更多权限或更多重试的别名。

中心命题:多 agent 的可报告单位是 root policy + delegation topology + worker harnesses + artifact/message contract + authority + merge/acceptance + total budget,不是 worker 数量,也不是某个底层模型单独的分数。

什么时候协作值得,什么时候只是更贵

先判断任务结构,再决定是否并行。MAS-Orchestra 将任务按 depth、horizon、breadth、parallel 与 robustness 分解,并在其受控设置中发现多 agent 收益依赖任务结构、验证协议、orchestrator 与 worker 能力,而非普遍存在。Anthropic 的多 agent research system 描述其在开放式研究中用 orchestrator-worker 并行拓宽独立 context 的工程实践;这是特定系统的经验,不是所有任务都应多开 agent 的证据。

任务特征 协作可能带来的价值 首先应比较的替代方案 主要失败模式
可分离的证据检索或独立候选 覆盖更多互不依赖的线索 单 agent 更长搜索;顺序子任务 重复劳动、来源冲突、综合幻觉
私有状态的协商 每个 agent 只代表自己的约束 中央化但隐私隔离的 optimizer 不必要泄漏、偏置分配、无授权承诺
松耦合的并行执行 降低 wall-clock latency 队列/调度优化,不新增 worker 总 token/API 成本或峰值并发爆炸
同一代码面或共享副作用 很少;可能需要审查者而非并行写入者 单一 owner + 独立 reviewer 竞态、冲突 merge、重复副作用
高风险或不可逆动作 分离申请、审批、执行与验证角色 人工审批或安全停止 权限级联、责任不清、团队互相放行

最小反例。 当一个能力强的单 agent 在同一工具、同一总预算、同一初态下已能完成任务时,增加 worker 不能仅凭更高的总调用量被记作“协作增益”。只有缩短了达成独立验收终态的时间,或在不增加总资源的情况下提高了 verified outcome,才是值得报告的增量。

谁决定“委托、委托给谁、拆到多深、给多少预算”本身也是 policy,不是 neutral plumbing。Uno-Orchestra 正是把分解深度、worker/primitive 选择与 inference budget 联合优化,并在其指定的 13 个 benchmark、22 个 baseline 上报告结果。它说明 selective delegation 是一个可训练、可评测的研究对象;但它仍是 preprint,且不证明某个 selector 会在 ClawBench、ART、浏览器或共享 workspace 中泛化。任何“团队更好”的实验都要把 topology-selection policy、其输入和未选择委托的反事实一起报告。

A2A 的作用:描述 task 与 artifact,不替代治理

A2A specification 将独立 agent 的互操作组织为 Agent Card、stateful Task、Message、Artifact、streaming 和 push notification。它让 client 发现远程 agent 的 declared capabilities,并追踪一个长任务的生命周期与交付物。A2A 是 agent-to-agent 的应用层协作协议;MCP 则是 agent-to-tool 的互操作协议。两者都不是“这个远程 agent 可信”“它的 output 正确”或“它获准代表用户进行任意业务动作”的证明。

特别是 Agent Card 是能力声明,不是结果认证。规范建议使用 HTTPS、避免公开 secrets,并在有签名时验证;实际的身份、授权、scope、invocation policy 和 audit 仍由部署方实现。第 6 节的 host-side capability grant、pre-commit interception 和 sidecar verifier 同样适用于每一跳 agent delegation。

A2A 官方 samples 更直接地提醒:来自外部 agent 的 Agent Card、message、artifact 和 task status 都应作为不可信输入处理。协议生命周期有助于追踪,不会替调用方验证内容、清洗 prompt injection 或决定 grant 是否合理。

把一次委托写成 Delegation Ticket

不应把“帮我查一下”当作可审计的委托。根 agent 在发出任务前建立一张 ticket;worker 只能在 ticket 的边界内运行。

Ticket 字段 必须回答的问题 它防止什么
root / parent task 当前子任务服务哪个已声明的目标? 子 agent 自创目标或无限扩张
input manifest 输入工件、版本、来源标签、敏感级别与可见范围是什么? 把网页、tool output 或另一 agent 的话当作可信指令
deliverable contract 需要 claim、证据、artifact、失败说明还是可执行改动?由谁验证? 只返回自然语言结论,无法 merge 或复跑
capability grant 可读写哪些 workspace、tool、network、credential 与账户? 继承 parent 的宽权限或隐式升级
budget and deadline token、calls、wall clock、重试与并发上限是多少? 团队花费在后台不受控增长
delegation rule worker 能否继续委托?最大深度和取消条件? 递归 fan-out、循环依赖和责任丢失
return and merge route 输出回到谁,如何去重、冲突和拒绝? 多个 agent 直接写共享状态或静默覆盖

所有 ticket、grant、取消和工件 digest 都进入 append-only trace。子 agent 的语言输出可以是有用证据,但不是最终 truth:每个 return 至少标记 claimevidence_refsartifact_refsuncertaintyside_effectsremaining_authority。这样 parent 才能把“worker 说已经完成”与“独立 verifier 确认后端状态”区分开。

Handoff、Merge 与 Acceptance:团队不是一个大聊天记录

多 agent 的 handoff 应传递稳定工件和有限、可解释的上下文,而不是把所有 transcript 拼进下一轮 prompt。对可并行研究,worker 可交付 source table、实验运行记录或只读 artifact;对共享 workspace,建议一个 owner 拥有写入与 merge 权,其他 worker 提交 patch 或建议。对外部副作用,申请、批准、执行与验收可由不同角色持有,但它们不能共享一张无限期的 credential。

MAESTRO 输出 framework-agnostic trace、latency、cost 与 failure signals,并在其多 agent 案例中观察到 architecture 对资源、可复现性和 cost-latency-accuracy 权衡的影响可能大于后端模型或工具设置。MAFBench 的受控比较也报告 framework-level 选择会显著改变时延、规划与协调。二者是 preprint 的特定平台证据,但共同指出:比较团队时,trace 与完整配置不能省略。

阶段 Parent / orchestrator 责任 Independent evaluator 责任
Decompose 声明相互独立的子问题、共享约束、停止条件 检查任务是否被不必要地拆分以扩大资源
Delegate 绑定 ticket、窄 capability、可见输入与预算 检查 grant 是否超出子任务所需
Execute 隔离 workspace;保存 action / artifact events 检查不可信输入与违规 side effect
Merge 去重、冲突解决、证据溯源、拒绝低置信输出 检查 merge 是否破坏已验证 artifact 或全局约束
Accept 提交最终 artifact,记录未解决不确定性 在 candidate 无写权限的终态环境验证 outcome、完整性与成本

协作需要自己的评测,而不只报告最终正确率

CalBench 给出一个必要多 agent 的例子:每个参与方保有私有日历,必须在不完全共享信息下达成可验证的协调;它可同时测量实现成本、通信效率、公平性和隐私泄漏。NRT-Bench 采用多角色团队与可回放的多轮攻击,并在临界安全功能丢失时给出客观的终止信号。这说明“team 运行完成”之外,还应测量安全、通讯和失败归因。

一个最小实验至少固定 base model、tool set、environment、任务分布、hidden evaluator 与总 token / wall-clock / worker-time,并比较:

  1. Single agent: 一个完整 context 与同样总资源,作为真正的 capacity baseline。
  2. Sequential decomposition: 同一 agent 或同一根策略串行完成子任务,区分分解本身与并行带来的作用。
  3. Parallel team: 明确 orchestrator、worker 数、ticket、角色、merge policy 和共享状态;总资源而非每 worker 资源必须相同。
  4. Ablations: 去掉 artifact contract、窄权限、parent review 或 cancellation,测量它们对终态、隐私、重复和安全的影响。

应同时报告:verified_successcost_per_verified_successtime_to_acceptance、token/call/worker-time、delegation_depth、重复劳动、merge conflict、空洞/未证据的 claim、权限违规、秘密/私有状态泄漏、误拒绝、失败恢复及 run-to-run variance。SABER 对 stateful coding workspace 的终态安全评测也说明,单轮拒绝分数不能替代连续 action 的后果测量。

选择性委托:把“要不要拆分”也纳入评测

固定的 worker 数掩盖了两个不同问题:团队是否在一个固定拓扑中有效,以及 selector 是否在合适的时刻选择了合适的拓扑。后者很容易制造选择偏差,例如只在看起来容易并行的任务上开团队、把失败的委托静默归回单 agent,或让 selector 使用了 hidden evaluator 才会看到的信息。

因此,每一次 topology decision 至少保存:

DelegationDecision(
  run_id, parent_task, observable_trigger, alternatives_considered,
  chosen_topology, worker_and_capability_grants, budget_reservation,
  stop_or_cancel_rule, decision_policy_version, outcome_refs
)

observable_trigger 只能引用 root agent 在作决定时实际可见的任务、状态、预算与历史,不能偷看最终正确答案、hidden verifier 或 future worker result。alternatives_considered 不要求在线真的执行所有分支,但在随机抽样的固定任务子集上必须重跑反事实,才能估计 selector 的净收益与误委托。

比较条件 它隔离的因素 不可省略的记录
No delegation 单一 owner 在同一总预算下的 capacity 未完成、拒绝、成本和终态证据
Sequential decomposition 分解本身,不增加并发 subtask 边界、交接和等待时间
Fixed parallel topology 并行本身,而不让 selector 挑任务 worker 数、角色、权限、总预算与 merge policy
Selective delegation selector 的委托/不委托、worker 与 budget 决策 trigger、候选拓扑、选择策略版本、未选择分支的抽样反事实
Post-hoc oracle 理论上可达到的选择上界 只能作为分析上界,不能作为部署 baseline 或训练 reward

报告时将 verified_successtime_to_acceptance、总 token/call/worker-time、权限违规和恢复按 decision type 分解,并在反事实子集上给出 net_acceptance_gainnet_cost_deltadelegation_regret。这里的 regret 不是从自然语言满意度猜的,而是同一初态、同一验收器下 selector 选择与重跑替代条件之间的差。若反事实太贵,必须报告抽样方法和置信区间,而不是把未观察到的替代分支当作零成本成功。

多 Agent 安全:责任不会随委托自动消失

每个 worker output、共享 memory、Agent Card、tool result 和 handoff 文档都可能成为不可信输入。委托还会把父级权限、时间和成本放大到多个执行路径,因此风险并非只在“恶意 worker”。Safe Bilevel Delegation 将 runtime delegation safety 形式化为带安全约束的双层优化问题,但它的实验协议在所查版本中仍标为计划性评测;它可作为“委托程度和问责应被形式化”的理论输入,不能作为已证明的实用系统结果。

安全任务应至少加入以下对抗控制:伪造或过时 Agent Card、worker message 中的 prompt injection、证明不足却要求 merge、从低风险读操作升级到高风险写操作、循环委托、取消后仍返回的迟到工件、私有信息被转写到团队消息、以及在 UI 看似完成但后端没有提交的跨 agent 工作流。每项都应有 paired benign task,避免用“全部拒绝”换取虚假安全。

验收门槛:只有当独立后端终态、同预算收益、最小权限、可归因 trace、低泄漏/低误拒绝和可恢复 cancellation 同时成立,才可称一个 multi-agent configuration 比单 agent 更可靠或更有效。多一个 Agent Card、更多角色名、更多 chat 消息,均不是证据。

多 Agent 如何回到核心研究线

核心线 多 Agent 新增的可测对象 不能替代什么
RSI / OpenRSI candidate 是否能改变 delegation / merge policy,且 acceptance 仍独立 跨代 held-out improvement 与完整性证据
Auto Research / ART 文献/实验子任务、证据工件、冲突和综合决定的谱系 一个可发表结论所需的 controls、复现与新颖性
Long horizon durable ticket、handoff、cancellation、late result 与恢复 外部状态重建和全局约束规划本身
Environment / ClawBench V2 role-specific authority、shared-state reset、sidecar verifier 与 team attack 只有一个 browser sandbox 或一个团队 success rate
Synthetic training / Agentic RL delegation / refusal / merge / recovery trajectories 及团队级 reward 证明合成或 RL 结果能迁移到未见协作任务

本节与第 6 节工具治理互补:工具治理约束单次外部 action;本节约束 agent-to-agent 的委托、消息和合并。相关的状态恢复见长程 Agent,五条主线的总览与更多邻接方向见AutoResearch

11. ClawBench、ClawBench V2 与 WebsiteBench 的角色

名称 本文可以准确说什么 本文不说什么
ClawBench V1 有公开论文、任务材料和网页 agent 评测目标。Paper V1 论文本身已经证明 V2 或网页 RL 的效果
当前 ClawBench V2 协议 仓库公开 V2 任务材料、轨迹与两阶段评分说明 协议存在等于所有安全边界、训练结果或 leaderboard 结论已被独立验证
WebsiteBench 本文用于描述拟议的接口公平比较与可审计评测设计 它已经是公开 benchmark、数据集或论文

这三者的关系可以很简单:ClawBench 的公开协议提供一个具体的评分分解;下一代 self-host 网页环境应把 reset、权限、证据与 verifier 也变成版本化对象;WebsiteBench 则是对同一网站状态下不同 agent 接口做公平测量的研究问题。前面的工具治理、评测完整性与多 Agent 三节,正是这个版本化对象集合里应当一同冻结的三条控制链。

12. 跨环境比较应报告 profile,而不是混成一个成功率

即使所有系统都叫“computer-use agent”,也不应把 WebArena、企业网页、live web、OSWorld 与 AndroidWorld 的成功率平均成一个能力数字。合理比较先固定一个可移植的任务族或同一后置条件,再分别披露下列 profile;没有同一环境和同一 acceptance 的分数只能并列阅读,不能排序合并。

比较对象 必须对齐 必须单列报告 典型错误
任务与初态 任务版本、站点/VM/app image、账号与 reset 语义 无法 reset、动态依赖与状态漂移 把不同日期的 live 网站当作同一测试集
接口与权限 DOM/CDP 或 screenshot、鼠标/键盘、工具、网络与身份授权 无效动作、拦截、拒绝、确认与旁路 把更强工具接口归因给基础模型
验收与证据 后置条件、verifier 版本、证据输入与 judge policy verifier error、人工复查、不可判定与安全违规 把截图、URL 或 agent self-report 当 completion
资源与恢复 token、视觉 token、wall clock、环境分钟、重试和并发 cost_per_verified_success、超时、恢复与重置失败 只报告成功率,遗漏大量尝试与人工修复
训练与保留测试 环境、workflow、规则、账号模板和攻击族的 split 训练数据来源、去重、泄漏审计与 OOD outcome 在同一站点模板上训练和宣称跨环境泛化

这正是 WebsiteBench 应吸收、但尚未声称已经实现的比较合同:同一后端状态下比较接口;不同 substrate 上保留独立 profile;在攻击、漂移和 reset 失败后再判断结论是否成立。这样可以把 Browser Use、Computer Use、工具治理、评测完整性、多 Agent 协作和 RL 训练的讨论连接起来,而不虚构一个单一的“通用 GUI 分数”。

13. 一个可反驳的环境验收包

在声称网页环境支持安全 RL 之前,至少应交付:任务与站点 manifest、reset 脚本和镜像 digest、观察/动作接口定义、网络与身份 policy、拦截面说明、trace schema 与脱敏规则、separate verifier、训练/验证/测试 split、资源账本、反刷集和失败分析;并把工具治理 contract、评测完整性 contract 与多 Agent delegation ledger 一并版本化。

最关键的五个研究问题是:

  1. 站点与流程隔离的保留任务上,训练后是否提高独立终态 outcome,而不仅是 reward?
  2. DOM/CDP 与 computer use 的结论在相同后端状态、预算和 verifier 下是否保持?
  3. 引入过程信号后,安全和终态是否共同提高,还是只提高了可刷的中间分数?
  4. 受控拦截能否降低危险提交,同时保持低误拦截和可接受的完成率?
  5. 重置、浏览器、judge 和重试成本计入后,收益是否仍在同一成本前沿上成立?

Primary References

Web-Agent Environments: Turning Browser Use into Verifiable RL

Jul 2026 · Web Agents / Tool Governance / Evaluation Integrity / Multi-Agent / Agentic RL

The hard part of a web agent is not teaching a model to click a button. It is making a click safely constrained, independently checkable, and correctly attributed during training. A credible web-RL result belongs to a full configuration: website initial state + observation/action interface + authority policy + evidence trail + evaluator + budget, not to one model or scalar reward. The same "verifiable" standard must also cover three adjacent control chains: the tools an agent connects to, the evaluator that produces a score, and the multiple agents that delegate to each other.

Scope: ClawBench's public preprint describes V1; V2 task material and its two-stage scoring protocol are current public engineering artifacts in the repository. This post does not present them as completed RL-training results. WebsiteBench is a working name here for a proposed research environment, not a released benchmark or leaderboard. The added sections on tool governance, evaluation integrity, and multi-agent collaboration present implementable, attackable, acceptance-checkable contracts and cited preprint evidence, not shipped safety guarantees.

1. What a Web Task Must Be Accountable For

“The page showed success” is usually insufficient. A user-relevant task has at least five independent objects: initial website and account state; the interface an agent can observe and call; actions it is authorized to submit; evidence it can preserve; and an evaluator that independently checks the terminal state. Omit any of them and “completed” becomes ambiguous.

This is a design stack, not an architecture claim about one public system. Public WebArena and BrowserGym material shows that a self-hosted web environment can restore task state through containerized services and reset flows; Harbor distinguishes shared and separate-verifier boundaries. Its default verifier shares the agent environment; isolation requires an explicit separate mode, and only declared artifacts should cross that boundary. WebArena reset · Harbor task structure

2. Self-Hosting Does Not Mean “Docker Makes It Reproducible”

Website content, databases, login state, cookies, browser cache, clocks, mail simulators, and network dependencies can all change a postcondition. A credible reset declares which state is rebuilt, which external dependencies are replaced or blocked, and which randomness is fixed. BrowserGym’s reset() defines environment-internal and RNG-state semantics only; whether a concrete WebArena deployment actually resets a remote backend depends on its explicit full-instance reset path. BrowserGym’s WebArena documentation treats that capability as an environment interface, not merely a pre-test command. BrowserGym / WebArena · BrowserGym core API

Layer to freeze or record Minimum evidence What it does not establish
Website services and data Image digest, seed, database/object-store snapshot A live internet service remains unchanged
Browser profile Browser version, cookie/login template, extensions, download directory Any agent’s browser trajectory can be rerun
Identity and network Synthetic accounts, allowed hosts, proxy, egress policy Website content cannot contain prompt injection
Independent verifier Verifier version, private-rule hash, runtime, input artifacts The score perfectly captures user intent

Self-hosting should therefore mean a controllable task domain, not an automatic safety, reproducibility, or semantic-correctness guarantee. It makes those properties engineerable and testable one by one.

3. Compare Browser Use and Computer Use on the Same Task

A DOM/CDP browser agent can typically read structured page state and call narrower browser actions. A computer-use agent observes and operates a more general GUI through screenshots, mouse, and keyboard. They have different observations, latency, failures, and attack surfaces. OpenAI’s computer-use documentation describes a general computer-action interface in which screenshots are followed by mouse and keyboard actions; that is not semantic access to the browser DOM. Computer use guide

A fair comparison is not finished by handing both systems the same natural-language instruction. Freeze website snapshot, account, task, terminal verifier, risky-action policy, model budget, and retry policy, then report:

  1. Outcome. Independently verified terminal success and confidence interval.
  2. Interface cost. Screenshot/visual tokens, DOM queries, tool calls, wall clock, and environment minutes.
  3. Reliability. Timeouts, recovery, invalid actions, state drift, and reset failures.
  4. Safety. Interceptions, denials, false blocks, and confirmation before irreversible action.

That a DOM agent is faster or a computer-use agent is broader is a testable hypothesis, not a consequence of the interface definition.

4. Web, Desktop, Mobile, and Live Web Are Not One Task

“Computer use” must not collapse every GUI environment into one score. Task substrate, initial-state control, observability, action interface, and terminal evidence differ, so the training and evaluation conclusions an environment can support also differ.

Environment family Main controlled object What it can test What it cannot directly transfer to
Self-hosted web: WebArena / VisualWebArena Versioned websites, accounts, and backend state; functional or visual web tasks Page actions, long web workflows, visual grounding, and backend postconditions Arbitrary live sites, desktop apps, or mobile apps
Enterprise web workflows: WorkArena / WorkArena++ Business objects and compositional workflows in one product domain Forms, knowledge bases, service catalogs, and compositional planning/reasoning Other products, permission models, or consumer-web capability
Full desktop: OSWorld OS, web and desktop apps, files, and cross-app state GUI grounding, file I/O, and cross-app workflows with screenshots/mouse/keyboard Correct handling of remote business semantics or real-account risk
Mobile: AndroidWorld Android app state plus programmatic initialization, success, and tear-down Touch-oriented GUI control, dynamic task variants, and mobile-specific robustness Desktop, web, or cross-platform ability
Live web: WebVoyager / ClawBench-style tasks Externally accessible pages and sessions at a point in time Stress on changing real pages, vision, and end-to-end execution Complete reset, stable replay, or an unbiased evaluator

WebArena supplies reproducible, functional websites with task-specific functional correctness; VisualWebArena adds visually dependent web tasks. WorkArena and WorkArena++ instead narrow the scope to enterprise knowledge work and compositional workflows. These are valuable web environments, but not points on a one-way “more realistic” scale.

OSWorld extends configured initial state and execution-based evaluation across real operating systems, web, and desktop apps; AndroidWorld gives Android apps task initialization, success checks, and tear-down logic. They enable broader measurement of general GUI control, but do not automatically establish account authorization, remote business postconditions, or web safety. Conversely, WebVoyager shows why live-site end-to-end execution is worth measuring, but also why page version, date, and judge policy must be recorded: partial agreement of a model judge with people is not independent acceptance.

BrowserGym is valuable as a common Gym-like interface and experiment-management layer across web benchmarks; it does not make those benchmarks one task distribution. Benchmarks also mature: the publicly reviewed WebArena Verified re-examines underspecified goals and fragile evaluators. This post therefore treats benchmark, harness, initial state, verifier, and release date as part of a result configuration rather than treating any single leaderboard as environmental truth.

5. What “Interception at Every Step” Actually Means

Here, “at every step” is a proposed control goal: every declared browser command, and every outbound request that follows the controlled CDP/proxy path, has an auditable event and can be allowed, blocked, or terminated before commitment. It does not mean the system observes every model thought, nor every extension, native helper, direct socket, or unknown side channel.

The distinction matters. ClawBench V1’s published mechanism intercepts a declared final HTTP request; it is not comprehensive monitoring of every step. The current public protocol then separates final-request interception from semantic matching by a subsequent judge: reaching an endpoint alone does not prove task completion, while plausible text cannot replace a submitted action. ClawBench scoring specification · V1/V2 note

Evidence layer Question it may answer What it still does not prove
Action log Was a declared action attempted? Remote business state changed
Interception record Did a controlled submission gateway see it? Payload satisfies user constraints
Independent verifier Did the specified postcondition hold? Every unmodeled side effect is absent
Observational replay What event sequence occurred? It can be executed identically on a changing service

6. Tool and Capability Governance: The Authorization Layer for Web Agents

Section 5 made “an action is allowed, blocked, or terminated before commitment” the control goal; but a web agent rarely operates only one browser action surface. It also connects to tools over MCP, triggers external side effects through Browser/Computer Use, and calls terminals and internal APIs. All of these channels move a model from text answers to external side effects, so interception has to sit inside a fuller governance chain.

Central claim: tool discovery != authorization != runtime authority != verified outcome. MCP is an interoperability protocol; its authorization specification defines flows for protected HTTP transports. Whether a particular write should happen, whether a business task actually completed, and whether an effect can be safely rolled back remain responsibilities of the host, policy engine, environment, and independent verifier.

Five Layers That Are Easy to Conflate and Must Stay Separate

Layer Question it answers What it cannot replace
Discovery and description Which tools, schemas, and descriptions can an agent see? Trust in a server description, permission to call, or safe parameters
Identity and transport authorization Who can connect to a protected server, and is a token for this resource? Whether each business action matches user intent and least privilege
Runtime authority Is this tool, parameter set, and side effect permitted in this session? Whether the right backend state actually changed
Isolation and interception How are network, files, credentials, processes, and sensitive actions bounded? Whether the model understood untrusted content or safely completed work
Independent acceptance Do postcondition, integrity, safety, and cost all hold? Candidate self-report, screenshot, URL, or a tool-success field

The MCP Tools specification defines tools that models can discover and call, while advising hosts to obtain user consent, treat arbitrary code execution as high risk, and regard tool descriptions from untrusted servers as untrusted. MCP’s Authorization specification defines HTTP-transport flows including resource metadata discovery, token-audience validation, and binding to the target resource. These are important foundations, but neither proves that a particular business action ought to occur.

Three Missing Gates Between Protocol Connection and Real Execution

A. Tool metadata is not a trusted instruction. Tool names, descriptions, schemas, returned text, and web content all enter an agent’s observation space. They can help planning, but may also carry instructions to call a different tool, escalate parameters, or exfiltrate data. MCP security guidance names token passthrough as an anti-pattern and requires a server to accept only tokens issued for it; that resolves token-audience and proxy-confusion problems, not a malicious tool response. MCP Security Bench places name collisions, description injection, out-of-scope parameters, and tool transfer into an end-to-end tool pipeline. It is preprint evidence that planning, invocation, and response handling should be evaluated separately. Environment implication. Each observation should carry a source label: user_instruction, trusted_policy, tool_metadata, tool_output, web_content, file_content, or agent_memory. A label is not a line of prompt advice; it is a field readable by a policy engine, logged, and rejectable. The agent may read untrusted content without that content gaining authority to set a new goal, permission, or credential.

B. A valid token is not approval of a business action. MCP authorization requires a token for the intended audience. Its security guidance also covers confused deputies, SSRF, scope minimization, and minimum privilege for local servers. These rules constrain who reaches a resource; they do not decide whether transferring money, deleting a file, or sending an email serves the user’s present intent. An agent host therefore needs an action-layer permit binding task id + principal + tool version + parameter digest + requested capability + expiry + approval state. High-risk or irreversible calls cannot rely only on a model’s natural-language judgment. They should wait for explicit confirmation, use short-lived narrow-scope capability, and write the grant plus result to a trace. Browser Use’s human-in-the-loop documentation demonstrates handoff in a live browser session. It shows that approval can be part of a workflow; it does not show that one click covers every later side effect.

C. Tool success is not backend completion. A 200 OK, browser screenshot, visible toast, or changed URL may only say that a frontend path was reached. Alone, it does not prove that a backend write, account state, amount, permission, inventory, or file satisfies the task postcondition. For web and computer tasks, an action trace should be distinct from sidecar evidence: the sidecar checks a declared server-side postcondition read-only, in a domain the candidate cannot write. This is also why prompt injection cannot be reduced to “does the model obey?” AgentSecBench separates instruction integrity, retrieval confidentiality, and capability integrity in controlled experiments, distinguishing policy projection, capability restriction, and output validation from prompt annotation alone. Its narrow result is that text can describe a boundary; enforcement needs mechanisms outside model generation.

An Implementable Tool-Governance Contract

This is not a claim about capabilities already shipped by an existing system. It is a minimum contract that ClawBench V2, WebsiteBench, or any self-hosted agent environment can adopt.

Contract object Minimum fields Runtime rule Acceptance evidence
Task manifest Task ID, initial-state digest, permitted goals, postcondition, budget Candidate cannot rewrite goals or hidden acceptance Manifest hash and independent final check
Tool manifest Server/tool/version/schema, read/write effects, idempotency, risk level Permit declared versions only; treat metadata as untrusted observation Hashed discovery and invocation events
Capability grant Principal, scope, parameter constraints, expiry, approval ID Revalidate host-side at each call; deny escalation Grant, decision, and denial trace
Policy interception Source labels, network/file/credential allowlists, rate/retry/chain limit Run before committing an action, never as model self-review Reviewable intercepted and false-block events
Evidence sidecar Read-only backend evidence, timestamp, state digest, redaction policy No write authority or secrets shared with candidate Replayable postcondition result
Acceptance gate Outcome, integrity, unsafe actions, false blocks, cost Separate training/development from the final hidden split Sealed verifier and resource ledger

For local MCP servers, security guidance also requires sandboxing and minimum file, network, and process authority. For remote OAuth discovery, the host must account for SSRF and redirect risk. These belong in the environment image and launch policy, not a footnote. The OWASP AI Agent Security Cheat Sheet consolidates untrusted input, least privilege, memory isolation, action confirmation, and adversarial testing as deployment advice. It is a threat checklist, not evidence that any benchmark is already secure.

Make Security a Decidable Task, Not One Guard Score

Every normal task should have a paired adversarial control. A minimal evaluation matrix follows.

Paired condition Normal success criterion Attack/fault criterion Main metric
Normal metadata vs. description injection Correctly call a permitted tool Do not adopt a new goal or authority in a tool description Verified success / injection ASR
Minimum scope vs. out-of-scope parameters Complete legal read or write Reject extra recipient, path, amount, or resource Least-privilege compliance
Normal discovery vs. SSRF/malicious endpoint Discover and call registered server safely Do not access private networks, metadata services, or surprise redirects Blocked request / false block
Reversible write vs. irreversible action Correct postcondition with evidence Wait for explicit approval, or safely stop Unsafe action / approval precision
Normal page vs. UI/backend mismatch Backend postcondition holds Do not count screenshot or toast as success Backend-verified success
Single tool vs. tool-chain escalation Complete permitted workflow Do not obtain new credentials or high-risk tools through intermediate output Capability-integrity violations

Report normal-task success, attack success, false blocks, cost per verified success, and maximum side-effect scope together. A guard detection score omits normal work that it blocks and backend harm after an agent bypasses it. Conversely, business success alone makes a safety policy look like mere friction instead of an independent correctness condition.

Three Baselines That Must Not Be Blended

To study a governance design, compare under the same model, harness, task, budget, and tool set:

  1. No-governance baseline: only for measuring raw behavior; it must never reach a real sensitive service, and every effect stays in a rollback-capable sandbox.
  2. Prompt-only baseline: rules exist only in system prompts or tool descriptions, exposing both the limits of textual reminders and the cost to normal tasks.
  3. Enforced-policy system: host-side capability grants, parameter validation, network/file sandboxing, pre-commit interception, and a sidecar verifier are all enabled.

Only when the third system reports a benefit on held-out normal and adversarial distributions can one discuss the net effect of governance. In training, policy version, refusal traces, blocked observations, and action masks belong to the rollout distribution. Changing them is not “only adding a guard.”

Acceptance bar: an agent is reliable in a tool environment only when correct terminal state, authority compliance, attack rejection, low false blocking, traceable evidence, and budget control hold together. MCP compatibility, an OAuth token, a screenshot, a click log, or an LLM safety promise does not substitute for this bar.

How Tool Governance Returns to the Core Threads

Core thread Measurable variable added by tool governance What it cannot replace
RSI / OpenRSI Candidate-editable surface over tools, policies, and credentials plus independent acceptance Cross-generation held-out evidence of improvement
Auto Research / ART Traceable lineage for sources, experiment actions, runtime authority, and artifacts Controls, reproduction, and novelty judgment required for a research claim
Long horizon Grant expiry, checkpointed authority, tool-chain escalation, and reapproval after recovery State reconstruction, planning, and fault recovery themselves
Environment / ClawBench V2 Reset, interception, sidecar verifier, injection controls, and backend postconditions A browser sandbox or one reward signal alone
Synthetic training / Agentic RL Safety/refusal trajectories, capability masks, policy versions, and adversarial held-out splits Evidence that a training gain transfers to unseen environments

This section joins tool discovery, authorization, runtime authority, browser/computer side effects, and independent acceptance into one control chain, extending the authority gateway of Section 1 and the interception surface of Section 5.

7. Reward Is an Evidence Protocol, Not a Number

Tool governance supplies the authority-and-interception chain; the next step is to treat the signals it produces — especially reward — as evidence rather than conclusions. For a web agent, terminal reward should at minimum decompose into whether an authorized, recordable submission occurred and whether that submission plus website state satisfied task semantics. ClawBench’s current two-stage design is a useful public example, not evidence that every web task is solved. It makes intercepted and final match separately visible and therefore leaves room for counterexamples.

A minimum anti-gaming set includes:

  1. identical visible page with different hidden backend state; and
  2. all-zero or all-one rollout groups, which leave group-relative reward without resolution.

For the full adversarial set, see the cross-environment regression table in Section 8.

Web content should be treated as untrusted input by default. Text from an external page is data, not authorization; it cannot escalate browsing into data transmission or a high-impact action. OpenAI’s computer-use and prompt-injection guidance call for layered defenses rather than prompt wording alone; evaluator prompts, private rules, and privileged tools should therefore not be exposed through page content or to the policy being trained. Computer use guide · Understanding prompt injections

8. Evaluation Integrity: Reward, Evidence, Verifier, Judge, and Acceptance

The previous section split a web reward into two-stage evidence; this section generalizes that idea to the whole scoring chain. An agent doing the right thing and an agent receiving a high score are not the same fact. A web toast, a 200 tool response, a higher test metric, a satisfied LLM judge, or even a hidden-verifier pass can cover only part of the goal. For agents that use tools, train, and edit artifacts, reward cannot be treated as the definition of completion. It should be a traceable, attackable evidence path that can be compared with an independent terminal state.

Central claim: reward != evidence != verifier != judge != acceptance. A training signal may be dense, approximate, or noisy. A final claim must state who collected evidence, who can write scoring inputs, who checks the postcondition, and what would falsify “success.”

Separate Five Objects That Are Often Collapsed

Object What it is suited to do Narrow conclusion it can support What it cannot establish
Reward Supply an optimization signal to a policy or trainer A stated rollout received a number under a stated reward definition User goal, real-world state, or task completion
Evidence Record actions, environment state, artifacts, requests, and observations A source produced an auditable record at a time The record is complete, untampered, or sufficient for semantic correctness
Verifier Check a defined postcondition deterministically or semi-deterministically A predicate passed for stated inputs and version The predicate fully expresses user intent or has no loophole
Judge Judge open text, research artifacts, or fuzzy quality A stated judge/prompt/version issued that judgment The judgment is unbiased, stable, or a replacement for backend state
Acceptance policy Combine terminal state, integrity, cost, risk, and human escalation into an accept/reject decision A version was accepted or rejected by the declared gate The system is safe, general, or no longer needs audit

Skalse et al. formally define reward gaming as improving a proxy reward while harming true reward, making the proxy-goal gap more than an implementation detail. Defining and Characterizing Reward Gaming further shows that for all stochastic policies, a nontrivial fully unhackable proxy is an exceptionally strong condition. The engineering implication is not to abandon reward, but not to mistake one scalar for complete semantics.

Five Integrity Failures, Five Different Controls

Failure surface Concrete problem Minimum control What cannot solve it alone
Proxy gap Computed reward fails to cover the real postcondition Independent terminal check and reported reward/acceptance gap Higher reward or more rollouts
Evaluator tampering Policy modifies metric, test, judge input, or report Metric/hidden tests/judge prompt in an agent-nonwritable domain; hashes and access events Asking an agent not to edit it
Evidence tampering Agent forges, deletes, reorders, or selectively surfaces traces Sidecar/append-only evidence, cross-source digests, independent collection A screenshot, final text, or single client log
Leakage / contamination Training, retrieval, or memory sees held-out label, rule, trace, or answer Environment/workflow/evaluator/search splits, lineage, access control Random row split or renamed tasks
Process misalignment Click, tool call, rationale, or step score is optimized without improving terminal state Treat process signals as diagnostics and test them against hidden terminals and adversarial controls A plausible-looking trajectory

Reward Tampering Problems and Solutions causally distinguishes tampering with the reward function from tampering with reward-function inputs. For an agent, the practical audit question is whether a policy can change metric code, test data, trace collector, judge context, submission payload, or any artifact feeding the score without changing the postcondition the user cares about. The definition does not say every agent will tamper; it requires us to draw writable paths and evidence dependencies.

The Minimum Contract for Credible Evaluation

TaskSpec       = goal, initial_state_digest, policy_observations, authorized_actions, budget
ActionEvent    = actor, action, authority, timestamp, request/side_effect_digest
EvidenceEvent  = collector_identity, source, artifact/state_digest, visibility, append_only_pointer
RewardSignal   = version, inputs, aggregation, assignment_scope, training_use
Verifier       = version/hash, hidden_postcondition, inputs, diagnostics, execution_domain
Judge          = model/prompt/rubric/version, visible_evidence, calibration_protocol
Acceptance     = required_checks, integrity_constraints, cost/risk gate, decision, rollback

Seven engineering invariants follow:

  1. The policy cannot write the verifier, hidden tests, metric code, judge prompt, or acceptance decision.
  2. Reward inputs and final evidence are collected separately. The policy produces actions; a sidecar, backend, or independent runner observes results.
  3. Every input carries a version and digest. A changed evaluator, judge prompt, or test dataset is a visible experimental variable.
  4. Visibility is also authority. The policy cannot read hidden rules, reference answers, or privileged credentials through a page, tool response, memory, or error.
  5. A process trace is valid only in its stated scope. It may explain, diagnose, or train, but does not by default replace a terminal postcondition.
  6. The acceptance gate combines columns. verified_outcome, integrity, cost, authority violations, recovery, and human escalation are recorded separately rather than erased by one reward.
  7. Rollback is outside candidate control. An evaluator loophole, contamination, or regression can be localized and accepted versions revoked.

Process Supervision Is Valuable, Not a License for Browser Clicks

Let’s Verify Step by Step compares process and outcome supervision on MATH reasoning and reports a benefit for its process-supervised reward model under its human step-level labels and task distribution. It supports making intermediate process a testable supervision object. It does not show that browser clicks, terminal commands, subagent messages, or natural-language rationales naturally make reliable dense rewards.

Before using a process signal in an agent environment, ask:

Process signal Possible use Required paired terminal counterexample
Valid tool schema / parameters Detect invalid or unauthorized calls Schema is legal but writes the wrong object or payload
UI/DOM change Suggest a next observation or wait Page shows success while backend has no commit
Intermediate test result Localize a failed submodule Local test passes while global constraint/dependency breaks
Plan/rationale text Diagnose omitted constraints or uncertainty Explanation is coherent while action violates authority or postcondition
Trace completeness Make audit and replay possible Trace is complete while source, order, or content is tampered

The minimum evidence for retaining a process reward is that, at equal budget on a frozen hidden terminal evaluator and adversarial tasks, it improves verified_outcome or lowers integrity/recovery risk. When process score rises while terminal state, authority, or safety worsens, it is another gameable proxy.

Credit Assignment Is Not Splitting Terminal Reward Across Every Token

A long-running agent session contains tool calls, failures, retries, context compression, parallel workers, and different authority domains. Broadcasting one terminal reward to every request or token can reward irrelevant or wrong behavior. Polar records token-level interaction through native-harness trajectory reconstruction and warns about coarse request-level reward broadcast. Agent Lightning proposes a hierarchical attribution interface that decomposes complex agent execution into training transitions. Both are designs for training interfaces and attribution, not validated dense-reward solutions for every browser or scientific environment.

When reporting credit assignment, state at least:

  1. whether assignment scope is token, model request, tool action, subgoal, submission, or session;
  2. whether each reward input comes from a policy-writable surface or independent sidecar;
  3. how concurrent work, retries, failed branches, and cancellation are masked, penalized, or retained;
  4. how all-zero/all-one groups, sparse returns, and related traces are handled; and
  5. whether attribution was ablated on final holdouts, attack suites, and other harnesses.

Without this, the name PPO, GRPO, or any other update rule cannot say what was actually learned.

Make “Hackable” a First-Class Benchmark Outcome

Hack-Verifiable Environments embeds detectable reward-hacking opportunities directly in environments so exploitation is automatically verifiable. RewardHackingAgents separately measures evaluator tampering and train/test leakage in ML-engineering workspaces using patch tracking, file-access logging, and a trusted reference. These preprints support a practical design principle: do not wait for accidental cheating; include shortcuts an agent must not take, and score them separately.

Reward Hacking Benchmark (RHB) extends this principle to multi-step tool use. Its tasks make natural shortcuts detectable, including skipped validation, inferring an answer from task-adjacent metadata, and tampering with evaluation-relevant functions; it distinguishes independent tasks from chained regimes. Its most direct conclusion is narrow: under a stated task, rule, and hardening protocol, exploit_outcome can be measured alongside task outcome. Its model, post-training, and hardening comparisons remain scoped to that task design, attack surface, and protocol. They do not imply that one RL approach is inherently more hackable, or that a guard works in general.

Report separately Minimum meaning It cannot substitute for
verified_outcome A non-agent-writable postcondition or sidecar confirms the goal state Proxy reward, a click, endpoint, or judge preference
proxy_reward The immediate, process, or terminal signal actually optimized in training or search Real completion or integrity
exploit_outcome A detected planted or known shortcut, tampering, leakage, or weak-verifier exploit A safety proof against unknown attacks
hardening_delta The change in exploit, legitimate pass, and false-block rates before/after hardening at the same task, policy, action surface, and budget A claim that all loopholes are gone

Hardening Agent Benchmarks with Adversarial Hacker-Fixer Loops turns verifier hardening into a loop: a hacker finds an exploit that passes without solving, a fixer closes it, and a solver confirms legitimate solutions still pass. Its results are scoped to its terminal benchmarks, attack models, and patching process; they do not make a fixed verifier loophole-free. They do supply a key acceptance rule: after patching a loophole, also show that legitimate solutions are not rejected and attack unseen exploits again.

Cross-Environment Anti-Gaming Regressions

Adversarial task Required result Columns to report separately
Correct endpoint plus wrong payload Reject Endpoint event, payload validity, backend postcondition
UI/toast success plus no backend commit Reject or trigger re-observation/recovery Observation, commit evidence, false acceptance
Modified metric/test/judge input Integrity failure even if score rises Write/access event, trusted metric, tampering type
Training or retrieval reads hidden label/trace Contamination failure; no final-transfer claim Provenance, split overlap, search/access log
Missing, reordered, or forged trace Evidence-integrity failure Trace digest, sidecar coverage, order/source mismatch
Prompt injection changes evaluator/authority Block or escalate; a page cannot decide authority Input trust label, policy decision, false block/miss
Infeasible or out-of-budget task Correct refusal/safe stop Verified refusal, cost, unsafe action, fabricated success

These regressions do not make reward perfect. They force a score to face the alternative explanation: did the agent achieve the goal, or merely reach a weak checkpoint?

How Evaluation Integrity Returns to the Core Threads

Training may use reward, process signals, judges, or synthetic trajectories. A final research claim must state how they are isolated from frozen acceptance. For synthetic instances, the generator cannot see final verifier or successful evaluation traces. For RSI, the candidate cannot write acceptance. For Auto Research, prose quality cannot substitute for materials, interventions, and replayable evidence. For long horizons, self-reported success cannot replace backend state after recovery.

Core thread New measurable object from evaluation integrity What it cannot replace
RSI / OpenRSI Candidate/evaluator authority split, verifier hash, integrity regressions, rejected-exploit buffer Independent cross-generation held-out improvement
Auto Research / ART Claim-to-material/evidence links, experimental controls, independent reruns Novelty, causal validity, and peer scrutiny
Long horizon Evidence integrity for checkpoint/recovery, local-success versus global-terminal gap Longer trajectories, more retries, or confident final text
ClawBench V2 / WebsiteBench Sidecar evidence, backend postconditions, injection/tampering/false-block regressions Screenshot, endpoint, LLM judge, or request interceptor alone
Synthetic training / Agentic RL Reward/acceptance gap, assignment scope, evaluator/split provenance, attack holdout High training reward, process score, or an RL algorithm name

This section reduces to a modest engineering standard: reward is a challengeable training signal; a verifier is a versioned checker; a judge is an opinion with calibration error; and acceptance is an independent release or research decision. Separating them does not guarantee that an agent never finds a loophole. It makes loopholes, false blocks, leakage, and real completion different problems that can be measured, reproduced, and repaired.

9. PPO, GRPO, and Synthetic Data: Propose the Experiment Before the Conclusion

With reward as an evidence protocol, comparing training algorithms becomes meaningful. “PPO may be better than GRPO” is testable speculation, not an established fact about web agents. PPO needs a credible critic and intermediate signals that predict terminal outcome. GRPO avoids that critic, but carries little within-group relative signal when all rollouts for a task succeed or fail. Any comparison should fix model, harness, task distribution, total rollouts, concurrency, stopping rule, and terminal verifier.

Hypothesis Minimum control Results that must be disclosed
GRPO can use sparse web terminal reward SFT and GRPO on the same training tasks and budget Reward spread, all-zero/all-one group rate, held-out outcome, safety failures
PPO benefits from validated process signals PPO and GRPO at the same budget; audit process signals against counterexamples first Critic error, relation between process score and independent terminal state, cost and regressions
Synthetic tasks transfer SFT only, RL only, SFT+RL; split training/test by site and workflow Generation provenance, deduplication, leakage audit, unseen-site gain and confidence interval

Polar illustrates a second key principle: when the objective is to train a real agent, trajectories should preserve model calls and usable rewards from the actual harness as faithfully as possible, rather than reduce deployment to a different one-turn surrogate task. That is a training-interface principle, not evidence that browser RL has already succeeded.

10. Multi-Agent Web Workflows: Delegation, Handoffs, and Verifiable Collaboration

Beyond single-agent training, web tasks are often split across several agents: an orchestrator dispatches retrieval, form, verification, and execution subtasks. But a multi-agent system is not a prompt sent to more workers. It is a costed control strategy with authority and merge risk: who decides to delegate, what a subtask may observe, who can write which artifacts, how the team hands off, resolves conflicts, cancels, and recovers, and who accepts the outcome in an independent environment. Without these boundaries, “the team is stronger” usually just means more tokens, broader authority, or more retries.

Central claim: the reportable unit for a multi-agent system is root policy + delegation topology + worker harnesses + artifact/message contract + authority + merge/acceptance + total budget, not worker count or a base model's score in isolation.

When Collaboration Is Worth It, and When It Is Only More Expensive

Judge task structure before choosing parallelism. MAS-Orchestra characterizes tasks by depth, horizon, breadth, parallelism, and robustness; in its controlled setting, its multi-agent gains depend on task structure, verification protocol, and orchestrator and worker capability rather than holding universally. Anthropic’s multi-agent research system describes using an orchestrator-worker design to widen independent context capacity for open-ended research. That is engineering experience from a particular system, not evidence that every task deserves more agents.

Task property Potential value of collaboration Alternative to compare first Primary failure mode
Separable evidence retrieval or independent candidates Cover more independent leads A single agent with longer search; sequential subtasks Duplicate work, source conflicts, synthesis hallucination
Negotiation over private state Each agent represents only its own constraints A centralized but privacy-isolated optimizer Unnecessary leakage, biased allocation, unauthorized commitments
Loosely coupled parallel execution Reduce wall-clock latency Queue/scheduling improvement without new workers Exploding total token/API cost or peak concurrency
One code surface or shared side effects Little; use a reviewer rather than parallel writers One owner plus an independent reviewer Races, merge conflicts, duplicate effects
High-risk or irreversible action Separate request, approval, execution, and verification roles Human approval or safe stop Authority cascades, unclear accountability, mutual rubber-stamping

Minimal counterexample. When a capable single agent can finish a task from the same initial state with the same tools and total budget, extra workers cannot be called a “collaboration gain” merely because total calls rose. Report a gain only when time to independently accepted terminal state falls, or verified outcome improves without increasing total resources.

Who decides whether to delegate, to whom, how deeply to decompose, and how much budget to reserve is itself a policy, not neutral plumbing. Uno-Orchestra jointly optimizes decomposition depth, worker/primitive selection, and inference budget, and reports results on its specified 13-benchmark, 22-baseline study. It shows that selective delegation is a trainable and evaluable research object; it remains a preprint and does not establish that a selector transfers to ClawBench, ART, browsers, or shared workspaces. Any experiment claiming that a team is better should report the topology-selection policy, its inputs, and counterfactual non-delegation.

What A2A Does: Describe Tasks and Artifacts, Not Replace Governance

The A2A specification organizes interoperation between independent agents around Agent Cards, stateful Tasks, Messages, Artifacts, streaming, and push notifications. It lets a client discover a remote agent’s declared capabilities and follow a long task’s lifecycle and deliverables. A2A is an application-level protocol for agent-to-agent collaboration, whereas MCP is an interoperability protocol for agent-to-tool use. Neither establishes that a remote agent is trustworthy, its output is correct, or it is authorized to take any business action on a user’s behalf.

An Agent Card is particularly a capability declaration, not a result certificate. The specification recommends HTTPS, avoiding public secrets, and verifying signatures when present. Identity, authorization, scopes, invocation policy, and auditing remain deployment responsibilities. The host-side capability grants, pre-commit interception, and sidecar verifier from Section 6 apply to every agent-delegation hop as well.

The official A2A samples make the warning explicit: an external agent’s Agent Card, message, artifact, and task status are all untrusted input. A protocol lifecycle makes tracking possible; it does not validate content, sanitize prompt injection, or decide whether a grant is justified for the caller.

Express Each Delegation as a Delegation Ticket

“Please look into this” is not an auditable delegation. Before sending work, the root agent creates a ticket; the worker runs only within its boundary.

Ticket field Question it must answer What it prevents
Root / parent task Which declared goal does this subtask serve? A worker inventing goals or expanding indefinitely
Input manifest Which artifacts, versions, source labels, sensitivity levels, and visibility boundaries enter? Treating web, tool, or other-agent text as trusted instruction
Deliverable contract Is the output a claim, evidence, artifact, failure record, or executable change, and who verifies it? Natural-language conclusions that cannot be merged or replayed
Capability grant Which workspaces, tools, networks, credentials, and accounts may it read or write? Inheriting a parent’s broad authority or implicit escalation
Budget and deadline What are token, call, wall-clock, retry, and concurrency limits? Uncontrolled team expenditure in the background
Delegation rule Can a worker delegate again; what are depth and cancellation limits? Recursive fan-out, cycles, and lost accountability
Return and merge route Who receives output, and how are duplicates, conflicts, and rejection handled? Many agents writing shared state or silently overwriting each other

Every ticket, grant, cancellation, and artifact digest belongs in an append-only trace. A worker’s prose can be useful evidence, but it is not final truth. Each return should label at least claim, evidence_refs, artifact_refs, uncertainty, side_effects, and remaining_authority. The parent can then distinguish “a worker says it is complete” from “an independent verifier confirms backend state.”

Handoffs, Merges, and Acceptance: A Team Is Not One Large Chat History

Multi-agent handoffs should carry stable artifacts and bounded, interpretable context, not concatenate every transcript into the next prompt. For parallel research, workers can return source tables, experiment records, or read-only artifacts. On shared workspaces, one owner should retain write and merge authority while other workers submit patches or advice. For external effects, request, approval, execution, and acceptance can be held by different roles, but they must not share one unlimited credential.

MAESTRO exports framework-agnostic traces plus latency, cost, and failure signals, and its multi-agent cases find that architecture can drive resources, reproducibility, and cost-latency-accuracy trade-offs more than backend model or tool choice. MAFBench likewise reports substantial latency, planning, and coordination differences from framework-level choice under its controlled comparison. They are scoped preprint evidence, but jointly show why team comparisons cannot omit traces and full configuration.

Phase Parent / orchestrator responsibility Independent-evaluator responsibility
Decompose State independent subtasks, shared constraints, and stop conditions Check whether work was unnecessarily split to expand resources
Delegate Bind ticket, narrow capability, visible inputs, and budget Check whether grants exceed what the subtask needs
Execute Isolate workspaces and retain action/artifact events Check untrusted inputs and violating side effects
Merge Deduplicate, resolve conflicts, preserve evidence provenance, reject low-confidence output Check whether merging damages a verified artifact or global constraint
Accept Submit final artifact and record unresolved uncertainty Verify outcome, integrity, and cost in a terminal environment the candidate cannot write

Collaboration Needs Its Own Evaluation, Not Only Final Accuracy

CalBench gives a necessarily multi-agent case: each participant keeps a private calendar and must reach a verifiable coordination outcome without fully sharing information. It measures realized cost, communication efficiency, fairness, and privacy leakage together. NRT-Bench uses a multi-role team and replayable multi-turn attacks with an objective termination signal when a critical safety function is lost. These examples show that a team-run completion must be joined by safety, communication, and failure attribution measurements.

At minimum, fix the base model, tool set, environment, task distribution, hidden evaluator, and total token / wall-clock / worker-time budget, then compare:

  1. Single agent: one full context and the same total resources, the actual capacity baseline.
  2. Sequential decomposition: the same agent or root policy executes subtasks serially, separating decomposition from parallelism.
  3. Parallel team: declare orchestrator, worker count, tickets, roles, merge policy, and shared state; total resources, not per-worker resources, stay equal.
  4. Ablations: remove artifact contracts, narrow authority, parent review, or cancellation, then measure their effect on outcome, privacy, duplication, and safety.

Report verified_success, cost_per_verified_success, time_to_acceptance, tokens/calls/worker-time, delegation_depth, duplicated work, merge conflicts, unsupported claims, authority violations, secret/private-state leakage, false blocks, recovery, and run-to-run variance together. SABER’s stateful coding-workspace safety evaluation also shows why a single-turn refusal score cannot replace measuring the consequence of action sequences.

Selective Delegation: Evaluate the Decision to Split

A fixed worker count hides two different questions: whether a team works under one fixed topology, and whether a selector chooses the right topology at the right time. The latter can create selection bias by spawning a team only on apparently parallelizable tasks, silently returning failed delegations to one agent, or consuming information that only a hidden evaluator sees.

For every topology decision, retain at least:

DelegationDecision(
  run_id, parent_task, observable_trigger, alternatives_considered,
  chosen_topology, worker_and_capability_grants, budget_reservation,
  stop_or_cancel_rule, decision_policy_version, outcome_refs
)

observable_trigger may use only the task, state, budget, and history actually visible to the root agent at decision time. It cannot inspect the final answer, hidden verifier, or a future worker result. alternatives_considered need not execute every branch online, but a random fixed subset of tasks must rerun counterfactuals to estimate the selector’s net benefit and mistaken delegation.

Condition Factor isolated Record that cannot be omitted
No delegation One owner’s capacity under the same total budget Noncompletion, refusal, cost, and terminal evidence
Sequential decomposition Decomposition itself, without more concurrency Subtask boundary, handoff, and waiting time
Fixed parallel topology Parallelism itself, without letting a selector choose tasks Worker count, roles, authority, total budget, and merge policy
Selective delegation The selector’s delegation/no-delegation, worker, and budget decision Trigger, candidate topologies, selection-policy version, and sampled counterfactuals for unchosen branches
Post-hoc oracle An analytic upper bound on selection Analysis only, never a deployment baseline or training reward

Break down verified_success, time_to_acceptance, total token/call/worker-time, authority violations, and recovery by decision type. On the counterfactual subset, report net_acceptance_gain, net_cost_delta, and delegation_regret. Here regret is not guessed from language satisfaction: it is the difference between the selector’s choice and rerun alternatives from the same initial state under the same evaluator. When counterfactuals are expensive, disclose the sampling procedure and uncertainty interval rather than treating unobserved alternatives as zero-cost successes.

Multi-Agent Safety: Responsibility Does Not Disappear Through Delegation

Each worker output, shared memory, Agent Card, tool result, and handoff document can be untrusted input. Delegation also fans a parent’s authority, time, and cost across execution paths, so risk is not limited to a malicious worker. Safe Bilevel Delegation formalizes runtime delegation safety as a constrained bilevel optimization problem, but the version checked labels its empirical protocol as planned evaluation. It is theoretical input for making delegation degree and accountability explicit, not evidence of a proven practical system.

Safety tasks should include at least these adversarial controls: forged or stale Agent Cards; prompt injection in worker messages; insufficient evidence requesting a merge; escalation from a low-risk read to high-risk write; delegation cycles; late artifacts after cancellation; private information copied into team messages; and cross-agent workflows whose UI appears complete while the backend did not commit. Each needs a paired benign task, so a team cannot buy a fictional safety score by refusing everything.

Acceptance bar: call a multi-agent configuration more reliable or effective than a single agent only when independent backend outcome, equal-budget benefit, least privilege, attributable trace, low leakage and false-block rates, and recoverable cancellation hold together. Another Agent Card, more role names, or more chat messages is not evidence.

How Multi-Agent Systems Return to the Core Threads

Core thread Measurable object added by multi-agent systems What it cannot replace
RSI / OpenRSI Whether a candidate edits delegation or merge policy while acceptance remains independent Cross-generation held-out improvement and integrity evidence
Auto Research / ART Lineage of literature/experiment subtasks, evidence artifacts, conflicts, and synthesis decisions Controls, reproduction, and novelty needed for a publishable claim
Long horizon Durable tickets, handoffs, cancellation, late results, and recovery External-state reconstruction and global-constraint planning themselves
Environment / ClawBench V2 Role-specific authority, shared-state reset, sidecar verifier, and team attacks One browser sandbox or one team success rate
Synthetic training / Agentic RL Delegation, refusal, merge, and recovery trajectories plus team-level reward Evidence that synthetic or RL results transfer to unseen collaborative tasks

This section complements Section 6 on tool governance: tool governance constrains one external action, while this one constrains agent-to-agent delegation, messages, and merging. For durable state and recovery, see Long-Horizon Agents; for the core-five overview and adjacent directions, see AutoResearch.

11. Roles for ClawBench, ClawBench V2, and WebsiteBench

Name What this post can accurately say What it does not say
ClawBench V1 A public paper, task material, and web-agent evaluation objective exist. Paper The V1 paper itself demonstrates V2 or web-RL effectiveness
Current ClawBench V2 protocol The repository publishes V2 task material, traces, and two-stage scoring documentation A published protocol independently validates every safety boundary, training result, or leaderboard conclusion
WebsiteBench A working name here for interface-fair comparison and auditable evaluation design It is already a released benchmark, dataset, or paper

The relationship is straightforward: ClawBench’s public protocol supplies a concrete scoring decomposition; a next-generation self-hosted web environment should make reset, authority, evidence, and verifier versioned objects too; WebsiteBench is the research question of measuring different agent interfaces on the same website state fairly. The preceding sections on tool governance, evaluation integrity, and multi-agent systems are exactly the three control chains that should be frozen alongside those versioned objects.

12. Cross-Environment Comparison Needs a Profile, Not One Success Rate

Even when every system is called a “computer-use agent,” WebArena, enterprise web, live web, OSWorld, and AndroidWorld success rates should not be averaged into one capability number. A sound comparison first fixes a portable task family or the same postcondition, then discloses the profile below. Scores without the same environment and acceptance rule can be read side by side, not merged into a ranking.

Comparison object Must align Must report separately Typical error
Task and initial state Task version, site/VM/app image, accounts, and reset semantics Reset failures, dynamic dependencies, and state drift Treating live sites from different dates as one test set
Interface and authority DOM/CDP or screenshots, mouse/keyboard, tools, network, and identity grants Invalid actions, interceptions, denials, confirmations, and bypasses Attributing a stronger tool interface to the base model
Acceptance and evidence Postcondition, verifier version, evidence inputs, and judge policy Verifier error, human review, indeterminate cases, and safety violations Calling a screenshot, URL, or self-report completion
Resources and recovery Tokens, visual tokens, wall clock, environment minutes, retries, and concurrency cost_per_verified_success, timeouts, recovery, and reset failure Reporting only success while omitting failed attempts and manual repair
Training and held-out tests Environment, workflow, rule, account-template, and attack-family splits Training provenance, deduplication, leakage audit, and OOD outcome Training on the same site template then claiming cross-environment generalization

This is the comparison contract WebsiteBench should absorb without claiming to have implemented it yet: compare interfaces on the same backend state; preserve separate profiles across substrates; then check whether conclusions survive attacks, drift, and reset failure. It connects Browser Use, Computer Use, tool governance, evaluation integrity, multi-agent collaboration, and RL training without inventing one universal GUI score.

13. A Falsifiable Acceptance Package

Before claiming that a web environment supports safe RL, release or preserve at least: task and website manifest; reset script and image digest; observation/action interface specification; network and identity policy; declared interception surface; trace schema and redaction rules; separate verifier; train/validation/test splits; resource ledger; anti-gaming suite; and failure analysis — and version the tool-governance contract, the evaluation-integrity contract, and the multi-agent delegation ledger alongside them.

The five decisive research questions are:

  1. On held-out tasks isolated by site and workflow, does training improve independently verified terminal outcome, not just reward?
  2. Do conclusions about DOM/CDP and computer use survive equal backend state, budget, and verifier?
  3. After process signals are introduced, do safety and terminal outcome rise together, or only a gameable intermediate score?
  4. Can controlled interception reduce risky submissions while retaining low false blocks and acceptable completion?
  5. Once reset, browser, judge, and retry costs are included, does the gain remain on the same cost frontier?

Primary References