Skip to content
Core Concepts

Architecture

How Glance works under the hood

Overview

Glance is built as a cross-platform desktop application with a modular architecture. Its components work together to capture context, coordinate model providers, and execute actions locally.

Core Components

  • 1.Screen Capture — Captures screen content using native APIs
  • 2.Vision Pipeline — Processes screenshots to extract text and UI elements
  • 3.LLM Router — Routes requests to the configured LLM provider
  • 4.Action Engine — Executes clicks, typing, scrolling via OS-level APIs
  • 5.Cursor Buddy — The overlay UI that follows your cursor

Tech Stack

tech-stackyaml
Framework:    Electron
Frontend:     React + TypeScript
Backend:      Node.js
Screen Cap:   Native OS APIs
Voice:        Web Speech API / Whisper
Build:        electron-builder