Inspiration

Every time you get stuck in a complex desktop app, the workflow is the same: alt-tab to a browser, describe your screen to an AI chat, read a wall of text, alt-tab back, and hunt for the button yourself. Even worse, if you ask for the same workflow tomorrow, the AI burns another round of tokens from scratch.

I built GuideLens to flip that experience: an on-screen Windows AI copilot that sees your active workspace, points directly to the exact control on your screen, and remembers verified workflows so they replay in 0 LLM tokens.


What It Does

  • Live Reticle Lock & 2.5× Magnifier: Press Ctrl + Space anywhere to ask by voice or text. GuideLens snaps a hairline targeting reticle onto the exact UI control via Windows UI Automation (IUIAutomation), paired with a 2.5× magnifier and click-through auto-advance across multi-step walkthroughs.
  • True Windows DWM Acrylic Glass: A sheer, translucent frosted-glass command capsule (window_glass.rs) that refracts bright or dark workspaces underneath, with a tunable Bar Tint Opacity slider in Settings.
  • Tier-0 Zero-Token Replay & Compiled Playbooks: Inspired by Graphify, verified sessions are promoted into deterministic Compiled Playbooks in a local 4-tier SQLite Knowledge Graph (App -> Screen -> Control -> Intent). Clicking a 1-Click Default Option replays the guidance in 0 LLM tokens, with instant Re-ask AI fallback if the UI shifts.
  • Screen Day & Privacy Shield: A searchable local timeline of your desktop activity with automatic Privacy Shield exclusions for password managers (1Password, Bitwarden, KeePass), Windows Credential Prompts, and private browser windows.
  • Living Companions & Offline Voice: Four articulated companions (Mochi, Byte, Sora, Flow) that react beside your taskbar, paired with an 8.0 MB offline tiny-voca voice engine and Native Windows Speech Recognition (voice_stt.rs).

How I Built It

  • Desktop Shell & Native Windows Integration: Rust + Tauri v2 (apps/desktop/src-tauri) handling Windows IUIAutomation element grounding, DWM Acrylic backdrop blur, global hotkeys, and native Windows System.Speech.Recognition for reliable offline voice input.
  • Frontend & Control Center: React 18 + TypeScript (apps/desktop/src) powering the translucent FloatingBar, click-through overlay reticle, and Control Center (Overview, Daily Diary, Knowledge Graph, Companion & Voice, Models & Agents, and Settings).
  • Local Memory & Playbook Compiler: SQLite storing the 4-tier Knowledge Graph, .graph.md Mermaid session traces, and compiled playbooks with automatic drift detection.
  • BYOK & Routing: Configurable Bring-Your-Own-Key routing supporting CoArena (gpt-6-luna), OpenAI, Anthropic, and local endpoints.

Challenges I Faced

  1. Making the Floating Bar Truly Translucent on Windows: Earlier builds rendered an opaque dark slab over bright apps. Implementing native Windows DWM Acrylic blur (window_glass.rs) with ResizeObserver auto-sizing and tunable tint opacity fixed legibility over both light and dark workspaces.
  2. Eliminating Repeat Token Spend: Storing raw history wasn't enough—the app needed to learn from it. Building the Graphify-inspired Playbook Compiler turned verified multi-step paths into deterministic Tier-0 replays that cost 0 tokens while keeping a 1-click AI fallback.
  3. Reliable Voice Input Without 2-Second Cutoffs: Browser-based Web Speech APIs often timed out after brief pauses. Adding an offline Native Windows Speech Recognition backend (voice_stt.rs) alongside Web Speech recovery made hands-free voice prompting dependable.

What I Learned

  • Grounding beats guessing: Combining Windows IUIAutomation with visual fallback is far more reliable than pure vision-coordinate guessing.
  • Local-first memory is a UX feature, not just a privacy feature: Turning past successes into 1-click 0 tok Default Options makes the assistant noticeably faster every day you use it.

What's Next

  • Expanding app-specific UIA profiles and community-shareable .graph.md playbooks.
  • Refining multi-monitor DPI scaling and adding more offline voice/model presets.

Built With

Share this project:

Updates

Submission history