Open-source Hinge vision agent: XML state gating, CV-verified ADB actuation, and FLAG_SECURE bypass

osp5 · reddit · 2026-12-01

The author open-sourced Hinge AI Wingman (MIT), a multimodal Android UI agent driving the Hinge app via ADB, UIAutomator XML, computer vision, and vision LLMs (Anthropic tool calling + Ollama). Key reusable engineering tricks: bypass FLAGSECURE black screenshots without root (Quartz/PrintWindow/xdotool window capture); filter paywalls and badges via uiautomator XML dump at $0 before burning vision tokens; force a 5-candidate structured ranking schema to avoid AI-cliché openers; map model output to exact UI actuation via thumbnail MSE scrolling, template matching, and dark-pixel polling to prevent dropped ADB keystrokes. Includes a ToS-safe mode that reviews only your own profile.

Original post →

More from coding & agent

coding & agent channel →