Dekho UI Models: Enabling Desktop Agents to Understand Icons Locally

Dekho uses on-device small models to recognize text-free icons, letting desktop agents understand interfaces with zero image tokens.
Dekho UI Models is an open-source project by developer Shikhar Srivastava that solves the recognition blind spot desktop agents face with text-free icon interfaces. It provides small local icon recognition models that combine with detectors and OCR into a pipeline, turning screen controls into a structured "text map." When the map is sufficient, agents use zero image tokens and need no screenshots. Models run in milliseconds on CPU/GPU, keeping screen content on-device for privacy-sensitive scenarios. Released free and open source, it can be embedded in third-party agent frameworks, though icon recognition has inherent limitations like theme variation and semantic confusion.
Title
Dekho UI Models: Enabling Desktop Agents to Understand Icons Locally
Meta Description
Dekho UI Models is an open-source on-device icon recognition model for desktop agents. It recognizes text-free icons at millisecond speed on CPU/GPU, and combined with detectors and OCR, generates a text map of controls—letting agents understand interfaces without screenshots and with zero image tokens.
Article Content
Desktop automation has always had an awkward blind spot: when a toolbar is full of text-free icons and the application exposes no accessibility labels, where should the agent click? Dekho UI Models' answer is—recognize pixels directly on the local device.

This open-source project from developer Shikhar Srivastava appeared on Product Hunt with the tagline "On-device icon recognition models for desktop agents," earning 79 votes and ranking 12th. Its positioning is restrained: it doesn't aim to be an all-capable agent, but rather infrastructure for just one piece of screen understanding.
Why text-free icons are a real problem
The default path for most GUI agents is screenshot + multimodal large model. This path works, but the cost is obvious: every screenshot frame must be converted into image tokens and fed into the model—high latency, high cost—and sending the entire screen to a cloud model for processing is not appropriate in privacy-sensitive scenarios.
Dekho's observation is that many interface problems don't actually require "understanding the whole image." The meaning of a toolbar button often lies in that 32×32 pixel icon. If icon recognition can be split out into a small model, agents can obtain the semantics and location of controls in a lighter way.
The cost structure of image tokens and multimodal large models
Mainstream multimodal large models (such as GPT-4o, Claude, etc.) split an image into patches when processing screenshots, encoding each patch as an image token. A 1920×1080 screenshot typically corresponds to over a thousand image tokens, with cost and latency rising linearly with resolution. More critically, agent task execution usually requires multiple rounds of the "screenshot—decide—act" loop, with the full-screen image re-fed each round, accumulating overhead far beyond a single call. This is why the industry has begun exploring splitting interface understanding into narrower subtasks (icon recognition, control detection, OCR) handled locally by specialized small models, calling general large models only when necessary.
Core mechanism: local icon recognition + compositional pipeline
Dekho is meant to be embedded into a pipeline, not treated as an endpoint:
- Icon recognition: Dekho determines what an icon is from pixels, completing in milliseconds on CPU or GPU
- Detector: locates the position boundaries of each control on screen
- OCR: fills in text information
Combined, the agent receives a "text map"—what each control is and where it is, all expressed in text. According to the project, when the map information is sufficient, the agent consumes zero image tokens and needs no screenshots at all for decision-making.
What's noteworthy about this design is the division of labor. Icon recognition is a closed-vocabulary problem, so the model can be small and specialized; general understanding is left to the downstream agent or large model. Using small models to solve narrow problems is a pragmatic path for on-device AI deployment.
Closed-vocabulary problem
The so-called closed vocabulary means the set of categories the model needs to distinguish is finite and predefined—for example, "settings," "search," "save," "share" in common UI icon libraries. In contrast, open-vocabulary tasks, such as general descriptions of arbitrary images, have infinite categories and open semantics. Closed-vocabulary tasks have a controllable output space, allowing models to be smaller, faster, more accurate, and easier to deploy on-device. Dekho's positioning of icon recognition as a closed-vocabulary problem reflects exactly this approach: use specialized small models to solve well-bounded problems, leaving open-ended semantic understanding to downstream large models.
Pixel-level semantic map (text map)
"Text map" refers to expressing on-screen controls in structured text form, e.g., "Button: Refresh, position (120, 45), size 32×32." This representation is very agent-friendly: it can be directly parsed and reasoned over by language models without consuming image tokens. The detector provides bounding boxes, OCR provides text labels, and icon recognition fills in the semantics of text-free controls—together forming a complete interface description. When the map information is sufficient, the agent's decision chain can be entirely text-based, greatly reducing reliance on multimodal models.
The practical significance of on-device operation
Placed together, the keywords "On-device" and "milliseconds" point to a difference in interaction experience. Uploading a screenshot to the cloud and waiting for results—even under ideal network conditions—struggles to achieve instant feedback; local inference, by contrast, lets icon recognition become a routine action at every step of the agent, rather than an expensive call that must be weighed against cost.
For privacy-sensitive scenarios, this is even more critical: screen content never leaves the local machine, yet the agent can still understand the interface. Dekho describes itself as "a family of small models for local screen understanding," emphasizing a model family rather than a single model, hinting at coverage of recognition needs at different granularities.
Open source and applicable boundaries
Dekho is released as open source and free, categorized under Open Source, Developer Tools, and Artificial Intelligence. This means it can be directly embedded into third-party agent frameworks rather than being tied to a specific product.
What must be kept in mind is that icon recognition has inherent limitations. The same icon looks quite different across themes, scaling factors, and dark mode; in pure-icon interfaces, semantically similar buttons (such as various "more" and "settings" gears) can also be confused. Dekho's listing of OCR and detectors as companion components also suggests, to some extent, that icon recognition alone is insufficient to support complete interface understanding.
Another piece of information not made clear in the source material is the model size, supported operating system range, and specific recognition accuracy performance. For teams planning to use this solution in production environments, these are aspects they need to verify themselves.
Who it's for
Dekho's target users are clear: developers building desktop agents, RPA tools, or automated testing frameworks who want to reduce reliance on cloud multimodal models. If your agent frequently gets stuck on "this button has no text label," or you're worrying about the cost and latency of screenshot inference, this direction is worth watching.
In an industry that universally pursues larger models, Dekho represents another path: cut the problem smaller, solve it with on-device small models, and save the compute and tokens for the parts that truly need general intelligence.
One-line Summary
Dekho uses on-device small models to recognize text-free icons, letting desktop agents understand interfaces with zero image tokens.
Paragraph Summary
Dekho UI Models is an open-source project by developer Shikhar Srivastava, focused on solving the recognition blind spot desktop agents face with text-free icon interfaces. Rather than building an all-capable agent, it provides small local icon recognition models that combine with detectors and OCR into a pipeline, converting screen controls into a structured "text map." When the map information is sufficient, the agent consumes zero image tokens and needs no screenshots for decision-making. The models run at millisecond speed on CPU or GPU, and screen content never leaves the local machine, making it suitable for privacy-sensitive scenarios. Released as free and open source, it can be embedded into third-party agent frameworks. The article also notes inherent limitations like theme variation and semantic confusion in icon recognition, requiring use alongside other components.
Related articles

Ubuntu Parent Company Doubles Down on DEI and Trans Activism, Reigniting Open Source Community Controversy
Canonical partners with SheCanCode to advance DEI, sparking controversy in the open source community. Critics say its policies lean radical, lack counterpart resource groups, and discuss alternative Linux distributions.

Mysterious Cybersecurity Paper Sparks Panic in AI World: One Tweet from an Anthropic Engineer Ignites Speculation
An Anthropic engineer's cryptic tweet pointing to a 'Cryptography Incident Review Group' website of cryptographers from Stanford, MIT, and other institutions has sparked panic and speculation in the AI world about potential cybersecurity threats.

Vercel Connect Adds Managed AWS Connector: Keyless Access to Cloud Services
Vercel Connect launches a managed AWS connector: apps and AI Agents exchange OIDC identity for short-term STS credentials, eliminating stored AWS keys, with IAM role scoping and SNS event ingestion.