{
 "schema_version": 1,
 "generated": "2026-10-20",
 "id": "agent-labs-dev-fastbrowse--read-open-electron-app-window",
 "repo": "agent-labs-dev/fastbrowse",
 "repo_url": "https://github.com/agent-labs-dev/fastbrowse",
 "repo_slug": "agent-labs-dev-fastbrowse",
 "title": "Read values from an open Electron app window",
 "page_title": "How to read values from an open Electron app window with Fastbrowse",
 "summary": "Attach to a running Electron app, such as VS Code, and read what its window shows.",
 "who": "A developer who wants an agent to read a value from a desktop app window they already have open.",
 "problem": "Desktop app windows cannot be read by a browser agent unless the app exposes a DevTools port.",
 "outcome": "The run attaches to the named window, performs the task inside it and leaves the window open afterwards.",
 "steps": [
  "Quit the app, then restart it with `--remote-debugging-port`, for example `open -a \"Visual Studio Code\" --args --remote-debugging-port=9222 ~/code/my-project`",
  "Run `uv run fastbrowse \"Open the Extensions view and report how many extensions are installed.\" --cdp-port 9222 --target-match my-project` (inferred, check the README)",
  "Check the answer in stdout, then confirm the window is still open"
 ],
 "agent_prompt": "Use the fastbrowse repo to read <value> from the open window titled <window title> in an Electron app listening on port <port>. Run `uv run fastbrowse \"<task>\" --cdp-port <port> --target-match <window title>` and return the answer. Verify that the window stays open after the run.",
 "agents": [
  "any"
 ],
 "difficulty": "Intermediate",
 "time": "30 minutes",
 "basis": "readme",
 "caveat": "An app that is already running ignores the DevTools flag, so it must be quit and restarted before the run can attach.",
 "category": "Work and operations",
 "tags": [
  "Work and operations"
 ],
 "lang": "python",
 "requirements": [
  "uv, which fetches Python 3.13 or newer",
  "OPENROUTER_API_KEY, or AI_GATEWAY_API_KEY for the Vercel AI Gateway",
  "BROWSER_USE_API_KEY for the default cloud browser, or the --local flag for local Chrome"
 ],
 "risk": "sensitive",
 "seen_in_the_wild": false,
 "mentioned_publicly": false,
 "risks": [],
 "best": false,
 "score": 0.7,
 "evidence": [],
 "url": "https://dedupedai.com/use-cases/agent-labs-dev-fastbrowse/read-open-electron-app-window/",
 "md": "https://dedupedai.com/use-cases/agent-labs-dev-fastbrowse/read-open-electron-app-window/index.md",
 "disclaimer": "Deduped lists open-source repositories that belong to other people. We do not own, maintain, audit, or vouch for any of them, and a repo appearing here is not an endorsement or a safety check. The use cases, steps, and prompts are written by AI and may be incomplete, outdated, or just wrong. Where a use case is marked \"Seen in the wild\", we link to public posts where someone described something similar, but we have not verified those posts and the use case itself is still our AI's own write-up. Use all of this at your own risk. Only run code, commands, or agents on systems and accounts you are authorized to use, and read the code and every command before you run it, especially anything that touches credentials, files, or the network. Nothing here is professional, security, legal, or financial advice. All trademarks and project names belong to their respective owners, and their use here does not imply affiliation. Content is provided as is, without warranties of any kind. Found a mistake, a safety problem, or something you want removed? Email hello@dedupedai.com and we will look at it promptly.",
 "api": "https://dedupedai.com/api/v1/usecases/agent-labs-dev-fastbrowse--read-open-electron-app-window.json",
 "api_version": "v1"
}
