2026-11-27 16:19 UTC

linux-use offers accessibility-tree control for Linux agents, with limited testing

state: expiredheat: mediumuncertainty: mediumrelevance: mediumlinux computer-use ai-agentsJavimosch

What is this?

linux-use is an open-source, MIT-licensed command-line tool by Javimosch for AI agents to inspect and control Linux desktop applications through the AT-SPI2 accessibility tree. Its project page describes version 0.7.1 as a small static binary with no LLM code: an external agent supplies the reasoning loop, while linux-use exposes structured state, widget actions, and accessibility events. The page says GTK 3/4 apps were verified across six apps and some Qt 5 menus were tested, but testing was manual on one Ubuntu 22.04.3/GNOME 42.9/X11/x86-64 setup, with no automated test suite. Chromium/Edge needs an accessibility flag; Electron, Java, and Flutter are untested; on Wayland, accessibility paths work but synthetic input does not. The linked page gives a 154 KB size, while a Google result for the GitHub project describes an August 2026 version as 179 KB; the supplied evidence does not explain the difference. The project page has no publication date, so the Hacker News post dated November 6, 2026 is the clearest supplied date for this coverage.

Why it matters

Semantic access to GUI controls could let agents operate supported desktop apps without interpreting screenshots or relying on pixel coordinates, potentially making interaction more structured and less brittle. Its CLI-first, model-independent design could make it easier to connect different agents to local Linux applications. The practical reach is still uncertain: compatibility and reliability evidence is limited, and Wayland input is not working according to the project page.

Current assessment

The primary project page presents linux-use as an available v0.7.1 sensor-and-actuator binary, not an AI model or hosted agent. It says agents can enumerate apps, read accessible elements with references, invoke widget actions, and wait for accessibility events. The author claims widget-level actions can work without pointer movement or focus and even when a window is occluded; stale references are rejected rather than guessed, and incomplete reads are flagged. These are project claims, not independently validated results in the supplied evidence. Reported testing is narrow and manual: Ubuntu 22.04.3, GNOME 42.9, X11, x86-64; six GTK 3/4 apps and some Qt 5 menu actions. The author explicitly notes no automated test suite, Chromium/Edge requires --force-renderer-accessibility, other listed frameworks are untested, and Wayland synthetic input is broken. The project page says 154 KB; a Google result for GitHub describes an August 2026 version at 179 KB, with no supplied explanation for the discrepancy. The potential significance is a lightweight, model-agnostic route to semantic desktop automation for Linux agents, which may reduce dependence on visual perception and coordinate-based control. Adoption, broader compatibility, and reliability remain unestablished by these sources.

Measured heat

no measured readings yet β€” the hourly heat pass fills this in

How the heat travelled

11-06 11:24 (minted)⭐ origin echo-reconstructedThe linked project page is backed by its original repository, which credits Javier Arancibia and describes linux-use as β€œAgent-first, CLI-fi
Javier Arancibia on github (echo) Β· attributed from hn.story.50390950 Β· published time unknown
β€”
11-06 11:16first on hacker news Β· published Β· lag ?Linux-use – agent-first GUI control for Linux
ankitg12
β€”
11-06 11:16amplified on hacker news πŸ‘‘hn.story.50390950
ankitg12
peak 5 Β· 0 comments Β· 101% of case engagement
11-06 11:20our radar first saw it Β· lag ?discovery anchor: hn.story.50390950β€”

Evidence (2) β€” ⭐ canonical anchor

sourceobjectauthorscorecomments
🟧 hnLinux-use – agent-first GUI control for Linux
Retrieved article excerpt

Open article Β· Retrieved 2026-11-06T11:21:46.365316+00:00

v0.7.1
154 KB static binary
MIT

# linux-use

Agent-first, CLI-first GUI control for Linux desktops β€” the Linux answer to
[Windows-Use](https://github.com/Jeomon/Windows-Use).
It reads the AT-SPI2 accessibility tree and acts on it, so an agent drives real
applications without screenshots or pixel coordinates.

It ships **zero LLM code**. Windows-Use is a Python library with the model
inside it; linux-use inverts that β€” it is a pure sensor/actuator binary, and your agent is the loop.

## The loop

```
# what is running and exposes accessibility
$ linux-use apps

# interactive elements, each with a ref
$ linux-use state --app gnome-calculator
{"count":28,"walk_ms":48,"method":"walk","elements":[
  {"ref":"gnome-calculator:/0/1/0/1/0/0/1/0/22#18124260",
   "role":"push button","name":"7","cx":114,"cy":376,"action":"click"}, ...]}

# act on the widget itself β€” no pointer, no focus, works occluded
$ linux-use act 'gnome-calculator:/0/1/0/1/0/0/1/0/22#18124260'

# wait for the UI to change instead of polling it
$ linux-use watch --app gnome-calculator --role editbar --duration 5000
```

## What makes it different

### Acts on widgets, not pixels

Invokes a widget's own accessible action β€” no focus stealing, no pointer movement, and it works while the window is fully hidden behind another one.

### Wrong answers are refused

Refs carry a fingerprint. A stale one exits 83 with a fix suggestion; an element whose identity can't be proven is reported unusable rather than guessed.

### Events, not polling

Real AT-SPI callbacks streamed as NDJSON, filterable by app, role and event type β€” with exact stop conditions so an agent can block on a change.

### Incomplete answers are loud

A truncated or depth-limited read says so, in the JSON and on stderr β€” because "0 elements" silently meaning "I didn't look" is how agents get misled.

## What works, and what is untested

|  |  |  |
| --- | --- | --- |
| GTK 3/4 apps | verified | 6 apps: read, act, type, watch |
| Qt 5 apps | verified | menus actuated via ShowMenu |
| Chromium/Edge web content | needs a flag | `--force-renderer-accessibility` |
| Electron, Java, Flutter | not tested | β€” |
| Wayland | click/key broken | AT-SPI paths still work |

Tested on exactly one configuration β€” Ubuntu 22.04.3, GNOME 42.9, X11, x86-64 β€” by hand.
**There is no automated test suite yet**: the numbers here are real
measurements, but nothing re-checks them on commit. Treat it as a v0.x tool.

## Install

```
sudo apt install libatspi2.0-dev libxtst-dev libx11-dev libglib2.0-dev
gsettings set org.gnome.desktop.interface toolkit-accessibility true
./build.sh          # or grab the binary from Releases
linux-use doctor    # tells you what's missing
```

X11 today. On Wayland the accessibility paths still work; synthetic input does not.

## Built with machin

linux-use is written in [machin (MFL)](https://github.com/javimosch/machin) β€”
the Machine-First Language: terse enough for an agent to write, compiled through C to a single tiny
native binary with HTTP, SQLite and crypto built in. No runtime, no dependencies.

The whole tool is one source file plus a small C shim for the AT-SPI FFI boundary. See
[awesome-machin](https://github.com/javimosch/awesome-machin)
for other things built with it.

It follows the agent-first CLI conventions at
[cli-specs.intrane.fr](https://cli-specs.intrane.fr/):
JSON on stdout, context on stderr, semantic exit codes, typed errors with suggestions, an embedded
`guide`, and a daemon lifecycle.
ankitg1250
🟧 echo.github ⭐The linked project page is backed by its original repository, which credits Javier Arancibia and describes linux-use as β€œAgent-first, CLI-fiJavier Arancibiaβ€”β€”

Interpretation history

Decision trace