openhuman icon indicating copy to clipboard operation
openhuman copied to clipboard

Feature Request: Desktop Screen Viewing / Screen Reading Capability

Open voodoo opened this issue 6 months ago • 5 comments

Problem

As a user with limited mobility (post-stroke), I rely heavily on voice to interact with my AI. But there are many things on my screen — error messages, UI elements, web pages, documentation — that I can't easily describe or copy-paste using voice alone. I need the AI to be able to see what I'm seeing.

Proposed Feature

A screen reading / desktop viewing capability that lets the AI agent see the user's screen (or a portion of it) in real time. This could be:

  • A screenshot capture tool that feeds the image to the AI's vision model
  • A live region-select tool where the user can voice-command "look at this area"
  • Optional: continuous monitoring of a specific window or region

Use Cases

  • Reading error messages from terminals or IDEs
  • Navigating complex UI that isn't accessible via keyboard alone
  • Reviewing documentation, websites, or design mockups alongside the conversation
  • Debugging visual layout issues without needing to describe everything verbally

Why This Matters

Voice input is powerful, but it breaks down when the user needs to reference something visual. A screen-reading tool closes that gap and makes the AI genuinely useful for hands-free workflows.

Suggested Implementation

  • A composio-style tool or MCP server that captures screenshots
  • Pass the image to the AI's vision model for analysis
  • User controls when capture happens (privacy-first, no background recording)

Implementation Plan

Triage Assessment

  • Valid accessibility-focused feature request. Member confirmed substantial infra already exists (screenshot → OCR → vision pipeline #382/#339/#359; computer control tools #3340/#3342/#3362) but the specific voice-driven, privacy-first screen-reading UX is unwired.
  • High user impact: the requester has limited mobility (post-stroke) and relies on voice interaction.

Proposed Scope

  • In-scope: glue existing infra into an accessibility-oriented screen-reading tool with user-gated capture, region-select, and vision query.
  • Non-goals (phase 1): continuous window monitoring, browser control (separate follow-up).

Implementation Steps

  1. Screen-capture agent tool — src/openhuman/tools/impl/computer/screen_read.rs: capture screenshot (reuse screen_capture Tauri command), pass to vision model via inference domain, return vision analysis. Gate behind explicit user consent/gesture (no background recording).
  2. Region-select — extend with coordinate/crop params so user can say "look at this area" (reuse vision_click.rs coordinate transform). Wire into existing desktop_control_agent prompt.
  3. Accessibility surface — voice-activated invoke via existing always-listening path: wake word → "look at my screen" → capture → describe → present as chat response.
  4. Privacy UI — capture toggle in companion settings, visible indicator when screen is being captured, config denial list for sensitive windows.

Verification

  • Unit tests for tool description, vision-invocation, and coordinate transform.
  • Integration test: screenshot capture (headless with test fixture) → vision analysis.
  • Manual: voice "what's on my screen" triggers capture and returns vision description.
  • Diff coverage >= 80%.

voodoo avatar Jun 02 '26 07:06 voodoo

Following up on this — another critical piece that goes hand-in-hand with screen reading is browser control. If the AI can see what's on screen, the next logical step is letting it interact: click buttons, fill forms, navigate tabs, scroll pages. For a voice-only user, this would be huge — being able to say 'click the login button' or 'scroll down and click the second result' instead of struggling with mouse navigation.

These two features together (screen reading + browser control) would unlock a fully hands-free workflow. Happy to file a separate issue if that's preferred.

voodoo avatar Jun 02 '26 07:06 voodoo

Status / parity check — substantial infra already exists, scope-match needed (~70%)

A lot of the underlying capability is already on main:

  • Screen-intelligence pipeline — screenshot capture → OCR → vision model (shipped via #382 / #339 / #359).
  • Computer / browser-control tools — synthetic input, automate / ax_interact, vision-click (#3340 / #3342 / #3362).

So the technical ability to capture and "read" the screen, and to act on it, largely exists.

What's remaining is the framing this issue asks for: a voice-driven, user-gated, privacy-first screen-reading UX — region-select ("look at this area"), an explicit capture toggle/consent, and the accessibility-oriented surface. That glue isn't built.

This is really a scope-match call: does the existing infra satisfy the accessibility request with light UI wiring, or is a dedicated flow wanted? Input from the requester on the exact interaction would help us close vs. spec the remaining UI.

oxoxDev avatar Jun 05 '26 12:06 oxoxDev

Verified against main (6be58a9ab) — valid and unimplemented. One correction to the parity check: the capture half is 0%, not 30%.

The parity comment is right that the analysis and control infrastructure exists. It is not right that the remaining work is UX glue — the piece this issue is actually about is missing entirely, and the triage plan is built on a component that does not exist.

What does exist:

  • Vision analysis / OCR — shipped. src/openhuman/media/image/image_view.rs, described in the tool catalog (src/openhuman/platform/about_app/catalog_part_01.rs:155) as "Delegate image / screenshot understanding to a dedicated vision sub-agent — describe, OCR, read charts/diagrams, compare images, or locate UI elements. Rides the multimodal vision-v1 tier."
  • Browser control — shipped, which covers the follow-up ask in the second comment. The browser tool (src/openhuman/tools/impl/browser/) drives an accessibility snapshot with refs and supports Open, Snapshot, Click, Fill, Type, GetText, GetTitle, GetUrl, Wait (types.rs:109-140). So "click the login button" / "scroll down and click the second result" is achievable for pages the agent's browser has open.

What does not exist — screen capture, at all:

  • No agent tool. src/openhuman/tools/impl/ contains browser, document, filesystem, network, presentation, system. There is no computer/ directory and no screen_read.rs.
  • No shell command. grep -rIn "screenshot\|screen_capture\|CGDisplay\|captureScreen\|desktopCapturer" app/src-tauri/src returns nothing.
  • No OS permission is even requested — app/src-tauri/capabilities/*.json contains no screen-related grant. On macOS this additionally means no Screen Recording TCC entitlement, which is a prerequisite, not a detail.

Why that distinction matters for this particular request. The catalog line for the existing capability is "Attach an image in chat, or ask the assistant to look at a screenshot / image file" (catalog_part_01.rs:156). Every shipped path requires the user to already have produced an image file — take a screenshot with the OS tool, find it, attach it. For the requester, who is asking precisely because operating the pointer is the hard part, that prerequisite is the whole problem. The AI can read a screenshot today; the user cannot easily make one. So "does the existing infra satisfy the request with light UI wiring?" — no, it does not.

Correction to the triage plan. Step 1 reads "capture screenshot (reuse screen_capture Tauri command)". That command does not exist and would have to be written, along with the capability grant and the macOS TCC prompt. Step 2 says "reuse vision_click.rs coordinate transform" — there is no vision_click.rs on main either. So this is new platform work, not glue, and the estimate should reflect that.

Suggested smallest useful first step, which also gets the accessibility win earliest: a single user-invoked full-screen capture that feeds straight into the existing image_view sub-agent. No region select, no monitoring — just "look at my screen" producing an image the shipped vision path already handles end to end. Region select and continuous monitoring stay phase 2, and the privacy posture stays simple because every capture is an explicit user act.

One design note on the privacy requirement. "User controls when capture happens (privacy-first, no background recording)" and a voice trigger are in mild tension — a voice command is an explicit user act, but it means the capture path is reachable without a pointer gesture, which is the point of the feature. Worth deciding early whether the consent boundary is per-capture or a session-scoped toggle with a visible indicator, since it shapes the permission model rather than the UI.

Leaving open as a valid, unimplemented feature request. Also flagging that the accessibility motivation here is concrete and specific, which is a decent argument for the phase-1 slice above rather than waiting on the full flow.

YellowSnnowmann avatar Sep 11 '26 09:09 YellowSnnowmann

Triage: valid — Current review confirms this is a concrete, in-scope engineering issue or request: “Feature Request: Desktop Screen Viewing / Screen Reading Capability”. No complete resolution is evident in current main.

senamakel avatar Oct 09 '26 17:10 senamakel

Thank you for explaining your use case so clearly. On current main, the agent still can't look at your screen: the desktop tools read the accessibility tree (window and control names), not a picture, and there's no tool to capture the screen or a region.

The underlying screenshot capability exists in one of our libraries but isn't exposed to the agent. So the remaining work is a user-approved "look at my screen" tool (and region select) that sends the capture to a vision model. This is still a valid request. It needs a maintainer to schedule it, including the consent and privacy design.

M3gA-Mind avatar Nov 16 '26 16:11 M3gA-Mind