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 (Esc dismisses 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.md files 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 via guidelens-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 a 120 ms GetCursorPos gaze emitter.
    • src-tauri/src/capture/ & locator/: Screen capture via xcap with 0–1000 normalization 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 (WAL mode) 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, and OverlayCanvas with 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.
  • 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

  1. Pinpoint Accuracy vs. Pure VLM Coordinates: Reasoning LLMs are great at what to do next, but raw 0–1000 coordinate 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.
  2. 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.
  3. 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.5px hairline frame and translucent frosted glass required debugging Tailwind v3 silently dropping unbracketed arbitrary opacity classes (e.g., /48 vs. /[0.48]).
  4. Decoupling Bar Visibility from Companion Life: Hiding the top bar with Ctrl + Space originally wiped the overlay state, killing the companion mid-session. Separating bar visibility from COMPANION_ONLY_MODE let the character stay alive and interactive on screen even with all bars hidden.
  5. 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.

Built With

Share this project:

Updates

posted an update —

GuideLens v2.3 — Zero-Token Learned Playbooks, True Windows Acrylic Glass & Offline Voice

We just shipped GuideLens v2.3 for Windows 10/11 — turning GuideLens from a stateless screen helper into a self-improving desktop copilot that gets faster and cheaper every time you use it.

What's New

  • Zero-Token Compiled Playbooks (3-Tier Cascade): GuideLens now compiles click-verified workflows in local SQLite (kg_playbooks) into canonical per-app playbooks. Repeating a learned workflow hits Tier 0 (0 LLM tokens) by verifying the target control live in Windows IUIAutomation before ever touching a Vision model, with a Tier 1 text-only UIA+Graph fallback and full Tier 2 Set-of-Mark Vision fallback for unseen screens.
  • 1-Click Default Options: Top verified workflows for your active app appear directly inside the floating bar as quick-action pills, alongside Worked / Wrong feedback and Re-ask AI self-healing.
  • True Windows DWM Acrylic Frosted Bar: Replaced opaque CSS panels with native Win32 SetWindowCompositionAttribute Acrylic blur, Win11 rounded corners (DWMWCP_ROUND), ResizeObserver auto-sizing, and a live Bar Tint Opacity slider in Settings.
  • Offline Native Windows Speech (Ctrl+Alt+M): Added continuous local Windows System.Speech dictation with live audio levels and automatic 250 ms echo-settle pause/resume during TTS playback — no cloud STT key required.
  • 5 Interchangeable Brains + CoArena BYOK: Supports Local Ollama, BYO API Keys (now including CoArena / gpt-6-luna, Gemini, OpenAI, Anthropic, Groq, OpenRouter, DeepSeek, Custom OpenAI), Coding Agent CLIs, MCP Bridge (guidelens-mcp), and Cloud Pro.

Try It Now (Windows 10/11 x64)

Submission history