Skip to content

feat: add agent demo to control sites in popup or PiP windows - #363

Draft
beaufortfrancois wants to merge 2 commits into
mainfrom
window-agent
Draft

beaufortfrancois wants to merge 2 commits into
mainfrom
window-agent

Conversation

@beaufortfrancois

Copy link
Copy Markdown
Collaborator

This PR introduces the WebMCP Window Agent (demos/window-agent/), a meta-demo showcasing how an in-page agent can discover and execute WebMCP tools across separate browser windows—including both standard popup windows (window.open) and Document Picture-in-Picture windows (window.documentPictureInPicture.requestWindow) using window.document.adoptNode(iframe).

Note on current specification status: Please note that cross-window tool discovery is not yet supported in WebMCP, as tool discovery is currently limited to a single traversable navigable. See webmachinelearning/webmcp#227 for ongoing discussion on expanding tool discovery across navigables.

image

Kulikowski

This comment was marked as outdated.

@Kulikowski
Kulikowski dismissed their stale review August 7, 2026 09:49

After discussion with Francois: we are not going to merge it

@Kulikowski
Kulikowski marked this pull request as draft August 7, 2026 09:50

This branch has not been deployed

No deployments
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