v0.25.0

vercel-labs/agent-browserv0.25.0Apr 6, 2026by github-actions[bot]

AI Summary

Introduces AI-powered browser automation capabilities via a new chat command and dashboard integration.

Key Highlights

  • Added AI chat command for browser automation
  • Integrated AI chat into the observability dashboard
  • Added `snapshot --urls` flag for link targets
  • Enhanced `batch` command with inline arguments

New Features

  • AI chat command
  • Dashboard AI chat
  • `snapshot --urls`
  • Batch argument mode

Full Release Notes

### New Features

- **AI chat command** - Added `chat` command for AI-powered browser automation. Supports single-shot mode (`chat "open google.com"`) and an interactive REPL. The AI agent can execute any agent-browser command via tool calls. Requires `AI_GATEWAY_API_KEY`. Configure the model with `--model` or `AI_GATEWAY_MODEL` (#1160, #1163)
- **Dashboard AI chat** - The observability dashboard now includes a built-in AI chat interface for conversational browser control alongside live session views (#1160, #1163)
- **`snapshot --urls`** - New `-u`/`--urls` flag to include href URLs for link elements in snapshot output, giving agents direct access to link targets without additional queries (#1160)
- **Batch argument mode** - The `batch` command now accepts commands as inline arguments in addition to reading from stdin, simplifying single-invocation multi-command workflows (#1160)

### Bug Fixes

- Fixed **`getByRole`** matching wrong elements (e.g. `<link>` stylesheet elements instead of `<a>` anchors) by rewriting the implementation to use the CDP accessibility tree with ref-based element resolution instead of CSS selectors (#1145)
- Fixed **`upload` command** not supporting accessibility tree refs (`@eN`) for file upload element selection (#1156)
- Fixed **`AGENT_BROWSER_DEFAULT_TIMEOUT`** not being applied to `wait` commands. The environment variable now propagates to all wait variants (`wait`, `wait --url`, `wait --text`, `wait --load`, `wait --fn`, `wait --download`) (#1153)
- Fixed **dashboard download** error handling with improved retry logic for more reliable dashboard installation (#1154)

### Tests

- Fixed CI test failures on Windows and E2E (#1165)

### Contributors

- @ctate
- @jin-2-kakaoent
- @hyunjinee