Skip to content

Group external browser tabs by agent task #2595

Description

@amitbtcai

Summary

When an agent uses an external browser that supports named sessions or tab groups, bb does not tell the agent to name the browser session before opening task-owned tabs. The browser therefore leaves tabs ungrouped unless the provider, skill, or model happens to issue the naming action independently.

The expected workflow is that the agent invokes an available session-naming action once, before its first browser tab, with a concise label derived from the task. Browser integrations that do not expose such an action should be unaffected.

Workflow and current limitation

  1. Start a provider-backed bb thread with an external browser MCP server enabled.
  2. Ask the agent to open a site and complete a browser task.
  3. Observe that the agent opens one or more tabs without first invoking the browser's session-naming tool.
  4. The tabs appear outside a task-specific group in the browser cockpit.

This was observed with BrowserOS neo/BrowserClaw and Codex. Calling its name_session tool manually before opening a tab creates the expected <client>/<task> group.

Expected behavior

bb's standard appended agent instructions should tell agents to use an available browser session-naming or grouping action once before opening task-owned tabs. The label should be concise and derived from the current task. The instruction must remain conditional so providers and browser integrations without that capability continue unchanged.

Evidence

Tested against get-bb/bb main at b629714e31487bde8af5574639422a9b5c97cbb5 on macOS with Node v24.13.0 and Codex. The standard provider instruction template currently covers the CLI, thread coordination, and links, but contains no browser-session lifecycle guidance:

You are working inside bb, an agentic IDE for managing coding agents in projects, threads, and environments. The `bb` CLI is available when you need BB context or orchestration.
- Prefer bare `bb` on PATH. When `BB_CLI` is set, official `bb` entrypoints re-exec to that absolute binary; you can also invoke `"$BB_CLI"` directly.
- Run `bb status` to see the current project, thread, and environment.
- Run `bb guide` for BB concepts and `bb guide <chapter>` for command details.
- Use `bb thread ...` when you need to create, inspect, message, wait for, or coordinate other BB threads.
- Use Markdown links for files, artifacts, and URLs you want the user to open; bb is a visual IDE and renders them as clickable links.

What was ruled out

  • The browser supports grouping: an explicit name_session call creates the group.
  • This is not a missing browser login or connectivity problem; navigation and page interaction work.
  • No matching open or closed issue or pull request was found for name_session, BrowserOS, or external browser session grouping.

Suggested priority and effort

Low risk and small effort. The workaround is to remind the agent manually, but every browser task otherwise risks leaving unrelated tabs ungrouped.

AGENT GENERATED

Activity

  1. added
    providers
    on Aug 27, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    providers

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions