Sightline: A CLI tool for AI agents to observe UI on Windows
Understand this story
Developer sao-coding has released Sightline, a single-file CLI tool that lets AI agents capture window images on Windows and map image pixels to screen, window, and client-area coordinates, with screenshots possible even when windows are occluded. Screenshots are returned as local file paths rather than base64 to avoid consuming large numbers of tokens. The tool only observes; it does not click, type, or move the mouse. According to its description, it has no network code, and images remain in local files. It supports waiting for UI changes to settle (--settle, --expect-change) and can measure CPU and memory across the entire process tree. It is compatible with Windows 10 and 11. The window coordinate formulas and --crop have only been verified on 100% DPI displays; 125% and 150% have not been tested.
AI overview based on source reports · Updated 17 min ago
Coverage timeline
Follow the coverage to explore different perspectives.
- Hacker News AIShow HN: Sightline – Windows CLI for AI agents to capture UI and map DPI coords
Sightline is a small Windows CLI (one exe) that lets AI coding agents observe the UI: it finds windows, screenshots them even when covered, waits for the UI to change and then settle, and returns formulas mapping image pixels to screen, window and client coordinates, plus CPU/memory stats for a whole process tree. It only observes—it never clicks, types or moves the mouse—and returns JSON with stable error codes, writing images to a file rather than base64. It is AGPL-3.0, installs via a PowerShell one-liner, and ships AGENTS.md and a Claude Code skill for agent use.
Activity for this story
Not enough continuous observations to show a trend yet.