πŸ‘οΈ Saccade-1-29M

Saccade gives small local LLMs the ability to click. A 29-million-parameter GUI grounding specialist, trained from scratch, that runs next to your 1–14B model. Give it a screenshot and an instruction, it returns where to click.

Family Saccade Β· generation 1 Β· part of the Fovea project
Parameters 28.9M (grounding network) + 1.8M element detector + 2.0M icon namer
Input screenshot (any resolution) + instruction (English / German UI text)
Output click point (x, y) in screenshot pixels + confidence
Platforms Windows apps and web pages
Pretrained weights none, everything trained from scratch (except the PP-OCRv5 OCR)
License Apache-2.0

πŸ’‘ Try Saccade-1-6M first. It is 5Γ— smaller and only about one point behind on real screens (five points on the public benchmarks).

πŸš€ Usage

pip install "saccade[mcp] @ git+https://github.com/TimGasch/fovea"
from saccade import Saccade

model = Saccade.from_pretrained("Kuba-Dev/saccade-1-29m")
hit = model.locate("screenshot.png", "the 'Save' button")
print(hit.x, hit.y, hit.confidence)

As a tool for your agent (Cline, Roo Code, Continue, Goose, OpenCode, ...):

saccade --model Kuba-Dev/saccade-1-29m mcp

Prompting: the one rule

Name the visible text of the element, or describe the icon. Don't describe what it does.

βœ… Anmelden Β· the 'Save' button Β· the 'Code' tab ❌ log me in Β· save my work Β· open settings

πŸ“Š Results

FoveaBench-Real (internal dev split: 619 instructions on real Windows / web screens, including 1440p desktops)

Style Example with structure assist vision only
literal Versionsgeschichte 91.2 85.7
guided the 'Diskussion' tab 66.7 61.1
functional reload the page 28.0 29.0
positional the third tab from the left 20.4 20.4
icon the gear icon 14.5 16.0
small elements (< 32Γ—32 px) 33.3 32.7
all 55.6 53.0

FoveaBench-Win (vision only, public benchmarks)

Category Source Accuracy
Windows Β· Text ScreenSpot-v2 64.6
Windows Β· Symbol ScreenSpot-v2 33.3
Web Β· Text ScreenSpot-v2 65.4
Web Β· Symbol ScreenSpot-v2 29.1
Web tasks WebClick (1,639 tasks) 43.7
Windows everyday (known apps) held-out OS-Atlas 81.2
Small elements ScreenSpot-v2 + WebClick 35.9
mean 50.5

Structure assist = names from Windows UI Automation / the browser accessibility tree, read live on the user's machine. Metric: click point inside the target box.

βœ… Intended use

  • Grounding tool for small local models and agents (Ollama, LM Studio, llama.cpp) via MCP
  • Windows desktop apps and web pages
  • Instructions that name visible text or describe an icon

❌ Out of scope

  • Replacing a vision-language model: no reasoning, no captions, no OCR output
  • macOS, Linux desktops, mobile UIs
  • Irreversible or safety-critical clicks without a confirmation step

⚠️ Limitations

  • Research preview, far below large vision-language models on anything but literal instructions.
  • Icons described by their look, functional and positional instructions usually fail.
  • The confidence value is a rough guide, not calibrated. Always take a new screenshot after a click.

πŸ‹οΈ Training

  • From scratch on one AMD Radeon RX 7800 XT (16 GB). Grown in stages from the 6M model, with about 45k steps in the 29M preset. See training/README.md.
  • Data: GroundCUA (MIT) and OS-Atlas Windows + web (Apache-2.0), plus self-written sentence templates. No benchmark data, no outputs of commercial models.
  • Inference recipe: full-resolution OCR (≀ 512 lines), icon names, colour-inverted second view, and a 2Γ— zoom pass. Its mixing weights were selected on the model's own validation split, not on a benchmark.

πŸ§ͺ Evaluation note

The FoveaBench-Real instructions were written by Claude (Anthropic) and are used only for evaluation, never for training.

πŸ“ Files

File
model.safetensors grounding network
detector.safetensors, namer.safetensors, namer_vocab.json icon detector + icon namer
ocr/ PP-OCRv5 mobile detection + recognition (PaddlePaddle, Apache-2.0, unchanged)
config.json preset and inference settings
Downloads last month
18
Safetensors
Model size
28.9M params
Tensor type
F32
Β·
Inference Providers NEW
This model isn't deployed by any Inference Provider. πŸ™‹ Ask for provider support

Dataset used to train Kuba-Dev/saccade-1-29m

Collection including Kuba-Dev/saccade-1-29m