Skip to content

Agentic browser tools + Agent Host - #313605

Merged
Joaquín Ruales (jruales) merged 7 commits into
mainfrom
jruales/2026.04-sessions-agentic-browser
May 1, 2026
Merged

Joaquín Ruales (jruales) merged 7 commits into
mainfrom
jruales/2026.04-sessions-agentic-browser

Conversation

@jruales

@jruales Joaquín Ruales (jruales) commented Apr 30, 2026 •

Copy link
Copy Markdown
Contributor

To try it out in OSS:

  • Open Agents app
    • image
  • Set "chat.agentHost.enabled": true,
  • Set "workbench.browser.agentHostChatToolsEnabled": true,
  • In Agents app, click on the option to select a workspace or folder, then click on Select Folders... > Local Agent Host
    • image
  • Select a folder
  • Send a prompt that uses browser. It doesn't matter if you use a Folder or Worktree type of session
    • image

Copilot AI review requested due to automatic review settings April 30, 2026 22:18
@github-actions

github-actions Bot commented Apr 30, 2026 •

Copy link
Copy Markdown
Contributor

Base: aff84ba1 Current: bd44d190

No screenshot changes.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR wires the Integrated Browser’s chat tools into agent-host sessions (primarily for the Sessions/Agents window) by adding a dedicated feature flag, adjusting browser-tool availability gating, and updating defaults and settings UX to surface the new capability.

Changes:

  • Adds a new feature flag (chat.agentHost.browserToolsEnabled) and uses it (with chat.agentHost.enabled) to gate browser-tool availability in the Sessions/Agents window.
  • Extends the default chat.agentHost.clientTools allowlist to include Integrated Browser tool reference names.
  • Updates Sessions-window default configuration and settings navigation to better surface relevant settings.
Show a summary per file
File Description
src/vs/workbench/contrib/chat/browser/chat.contribution.ts Adds browser tool reference names and includes them in the default agent-host client-tools allowlist.
src/vs/workbench/contrib/browserView/electron-browser/features/browserEditorChatFeatures.ts Registers the new chat.agentHost.browserToolsEnabled setting alongside browser chat tooling configuration.
src/vs/workbench/contrib/browserView/electron-browser/browserViewWorkbenchService.ts Updates the “sharing/tools available” context expression to allow browser tools in Sessions only when agent host + new flag are enabled.
src/vs/workbench/contrib/browserView/electron-browser/browserViewActions.ts Updates “Open Browser Settings” action to include the new agent-host browser tools setting when in the Sessions window.
src/vs/sessions/contrib/configuration/browser/configuration.contribution.ts Enables workbench.browser.enableChatTools by default in Sessions window defaults.

Copilot's findings

  • Files reviewed: 5/5 changed files
  • Comments generated: 3

@jruales
Joaquín Ruales (jruales) marked this pull request as ready for review April 30, 2026 23:00
@jruales
Joaquín Ruales (jruales) enabled auto-merge (squash) April 30, 2026 23:59
@jruales
Joaquín Ruales (jruales) merged commit 58ccc07 into main May 1, 2026
26 checks passed
@jruales
Joaquín Ruales (jruales) deleted the jruales/2026.04-sessions-agentic-browser branch May 1, 2026 00:01
@vs-code-engineering vs-code-engineering Bot added this to the 1.119.0 milestone May 1, 2026
@vs-code-engineering vs-code-engineering Bot locked and limited conversation to collaborators Jun 15, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Browser: Enable browser tools in Agent Host sessions

4 participants