ποΈ Saccade-1-6M
Saccade gives small local LLMs the ability to click. A 6-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 | 6.3M (grounding network) + 1.8M element detector + 2.0M icon namer |
| Size on disk | ~60 MB including the OCR models |
| Input | screenshot (any resolution) + instruction (English / German UI text) |
| Output | click point (x, y) in screenshot pixels + confidence |
| Platforms | Windows apps and web pages |
| Runs on | any CUDA/ROCm GPU ( |
| Pretrained weights | none, everything trained from scratch (except the PP-OCRv5 OCR) |
| License | Apache-2.0 |
π Usage
pip install "saccade[mcp] @ git+https://github.com/TimGasch/fovea"
from saccade import Saccade
model = Saccade.from_pretrained("Kuba-Dev/saccade-1-6m")
hit = model.locate("screenshot.png", "the 'Save' button")
print(hit.x, hit.y, hit.confidence)
# several instructions on one screenshot cost little more than one
hits = model.locate("screenshot.png", ["Anmelden", "the search field in the top bar"])
As a tool for your agent (Cline, Roo Code, Continue, Goose, OpenCode, ...):
saccade mcp # find_element, click_element, find_in_image
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 |
89.1 | 85.7 |
| guided | the 'Diskussion' tab |
67.6 | 62.0 |
| functional | reload the page |
24.7 | 24.7 |
| positional | the third tab from the left |
20.4 | 20.4 |
| icon | the gear icon |
16.0 | 16.0 |
| small elements (< 32Γ32 px) | 34.7 | 32.7 | |
| all | 54.8 | 52.5 |
FoveaBench-Win (vision only, public benchmarks)
| Category | Source | Accuracy |
|---|---|---|
| Windows Β· Text | ScreenSpot-v2 | 60.4 |
| Windows Β· Symbol | ScreenSpot-v2 | 30.2 |
| Web Β· Text | ScreenSpot-v2 | 61.1 |
| Web Β· Symbol | ScreenSpot-v2 | 23.6 |
| Web tasks | WebClick (1,639 tasks) | 40.6 |
| Windows everyday (known apps) | held-out OS-Atlas | 73.1 |
| Small elements | ScreenSpot-v2 + WebClick | 30.5 |
| mean | 45.6 |
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.
Compared with Saccade-1-29M: about one point behind on real screens, five points behind on the public benchmarks, at a fifth of the size.
β 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
confidencevalue 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), in stages totalling roughly 145k steps. See training/README.md.
- Data: GroundCUA (MIT) and OS-Atlas Windows + web (Apache-2.0). 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
- 11