agent-browser tab refs support stable ids and labels
Introduced 2026-04-16 · score 0.98
HOW TO USE IT
When creating or addressing browser tabs without relying on changing positions, create a tab with a label and switch or close it by its label or stable `t<N>` id. Bare-integer tab refs are rejected.
agent-browser tab new --label <name> [<url>]agent-browser tab <t<N>|label>agent-browser tab close <t<N>|label>WHY THIS HELPS
Create and switch between browser tabs without relying on their changing positions.
BEFORE THIS CHANGE
Use positional tab references; bare-integer input is rejected with a teaching error.
REQUIREMENTS AND LIMITATIONS
- Version: v0.26.0
- --label <name> (required): Assigns a user-chosen tab label; labels must be unique within a session and are interchangeable with stable tab ids.
- [<url>]: Optional URL to open in the new tab.
- <t<N>|label> (required): Tab reference accepted for switching or closing; bare positional integers are not accepted.
- Bare-integer input is rejected.
- Stable string ids do not shift when other tabs close or popups appear.
FIRST-PARTY EVIDENCE
- https://github.com/vercel-labs/agent-browser/releases/tag/v0.26.0
- https://github.com/vercel-labs/agent-browser/blob/main/skill-data/core/references/commands.md
Check the installed version and the source before using it. Entry JSON