-
-
Translucent frosted-glass command bar with quick Local/Agent/Auto brain toggles and Hide (Ctrl+Alt+H).
-
Calm hairline target frame and frosted companion speech bubble pointing directly to the UI control.
-
Global keyboard shortcuts including Companion-Only Mode (Ctrl+Alt+H), Mic, Live, Screen Day, and Local/Agent switching.
-
Articulated companion performing a playful dance celebration animation.
-
Minimalist monochrome Control Center with the Live Animation Stage for companion reactions.
-
Articulated companion peeking over the edge with cursor-tracking pupils.
-
Articulated companion bonk reaction when an error or wrong screen state occurs.
Inspiration
GuideLens started with a simple frustration: tools like Wispr Flow proved how magical a lightweight, always-available daily desktop utility can feel for voice typing, yet whenever you open an unfamiliar app—or forget where a buried setting lives in Photoshop, Excel, or an IDE—you are still stuck alt-tabbing to tutorials, screenshots, and chatbots.
We wanted a daily on-screen copilot that works like sharing your screen on a live call with a sharp teammate: you speak or type what you want to do, and it looks at your active window, points directly at the exact button on your screen, waits for you to click it, and automatically guides you to the next step—all while quietly building a personal Knowledge Graph and a Screen Day diary of your work and meetings so nothing from your day gets lost.
What It Does
- Live Screen-Sharing Guidance: Summon the translucent frosted-glass command bar (
Ctrl + Space) or use Companion-Only Mode (Ctrl + Alt + H) to keep only the interactive character on screen. Ask a question by voice or text, and GuideLens draws a calm, non-intrusive click-through hairline frame and speech bubble directly over the target control. - Hybrid Grounding (Vision + Windows UI Automation): Combines Vision LLMs with Set-of-Mark (SoM) overlays and live Windows UI Automation (
IUIAutomation) snapping so highlights lock onto real UI elements instead of drifting off-target. - Smart Click-to-Advance: A low-level mouse hook detects when you click inside the highlighted control and advances to the next step automatically (
Escdismisses anytime). - Keyboard-First Controls: Global shortcuts toggle Mic (
Ctrl + Alt + M), Live Session (Ctrl + Alt + L), Screen Day (Ctrl + Alt + D), Use Local (Ctrl + Alt + O), Use Agent (Ctrl + Alt + A), and Companion-Only Mode (Ctrl + Alt + H) without reaching for the top bar. - Articulated Living Companions: Instead of static icons, companions track your cursor (
overlay-cursor), blink, peek over window rims, dance (dance), play (play), and bonk their heads (bonk) when something goes wrong. - Screen Day & Knowledge Graph Memory: Records daily sessions into per-session
.graph.mdfiles and a local SQLite knowledge graph so proven UI paths and daily work context compound over time. - Multi-Brain & Agent Bridge: Switch seamlessly between offline local VLMs (
Ollama), BYO API keys stored in Windows Credential Manager, headless agent CLIs (claude,codex,gemini,agy,hermes), or external MCP agents viaguidelens-mcp.
How We Built It
- Desktop Core (
Tauri v2+Rust):src-tauri/src/overlay/: Full virtual-desktop click-through transparent window (WS_EX_TRANSPARENT | WS_EX_LAYERED | WS_EX_TOOLWINDOW | WS_EX_NOACTIVATE), DPI-aware multi-monitor coordinate mapping,COMPANION_ONLY_MODE, and a120 msGetCursorPosgaze emitter.src-tauri/src/capture/&locator/: Screen capture viaxcapwith0–1000normalization paired with Windows UI Automation (IUIAutomation) tree matching and bounding-box snapping.src-tauri/src/input/: Global shortcut registration (tauri-plugin-global-shortcut) and low-level mouse hook (WH_MOUSE_LL) for click-to-advance.src-tauri/src/brain/,db/, &bridge/: Multi-brain router, 15 built-in Windows app profiles, SQLite (WALmode) storage, and an authenticated localhost HTTP bridge (127.0.0.1:47615).
- Frontend & Companion Engine (
React 18+TypeScript+Tailwind CSS):- Translucent frosted-glass
FloatingBar,ResponseBlock,CompanionSpeechBubble, andOverlayCanvaswith a minimalist monochrome Control Center (CompanionsVoiceTab,PrivacySystemTab). - Articulated SVG companion rigs (
CompanionSprite.tsx,companionAnimations.css,companionChoreography.ts) with separate head, pupil, paw, ear, and tail sub-groups driven by cursor proximity and session state.
- Translucent frosted-glass
- Agent & Cloud Ecosystem:
packages/guidelens-mcp: TypeScript MCP server and CLI allowing external AI agents to drive the overlay.services/cloud: FastAPI proxy with Supabase Auth/RLS and Stripe integration.
Challenges We Faced
- Pinpoint Accuracy vs. Pure VLM Coordinates: Reasoning LLMs are great at what to do next, but raw
0–1000coordinate predictions from vision models often missed small buttons. Pairing Vision LLMs with live Windows UI Automation (IUIAutomation) element trees and Set-of-Mark annotations solved the precision gap. - DPI Scaling & Click-Advance Loops: Across multi-monitor Windows setups with mixed scaling, a click inside a target box could either miss the normalized rect or trigger repeated advances. Normalizing virtual-desktop coordinates carefully and debouncing click transitions stopped the loop.
- Making Overlays Invisible Until Needed: Early iterations had flashy pulsing boxes and opaque bars that covered the exact UI the user was trying to read. Switching to a calm
1.5pxhairline frame and translucent frosted glass required debugging Tailwind v3 silently dropping unbracketed arbitrary opacity classes (e.g.,/48vs./[0.48]). - Decoupling Bar Visibility from Companion Life: Hiding the top bar with
Ctrl + Spaceoriginally wiped the overlay state, killing the companion mid-session. Separating bar visibility fromCOMPANION_ONLY_MODElet the character stay alive and interactive on screen even with all bars hidden. - Turning Static SVGs into Living Characters: Making companions feel responsive meant refactoring flat SVGs into articulated groups with CSS keyframes and a TypeScript choreography loop reacting to cursor distance and live session events.
What We Learned
- Deterministic OS APIs + AI > Pure AI: Grounding LLM intent in Windows UI Automation (
IUIAutomation) gives you speed, reliability, and exact bounding boxes that pure vision models struggle to match alone. - Restraint Is a Feature: On a screen-overlay tool, visual noise is fatal. Translucent bars, monochrome controls, calm hairline highlights, and global keyboard shortcuts make the difference between a demo and something you actually keep running all day.
- Localhost Bridges Unlock Composability: Exposing the overlay as a clean, token-authenticated local HTTP + MCP bridge turned GuideLens from a standalone app into a shared visual layer for any coding or desktop agent.
What's Next
- Expanding local vision and real-time voice pipelines for zero-cloud latency.
- Enriching automatic Screen Day daily summaries and visual Knowledge Graph exploration in the Control Center.
- Adding deeper app-specific workflow profiles and community-shared companion packs.