alt.hn

5/2/2026 at 2:18:24 AM

Show HN: Agent-desktop – Native desktop automation CLI for AI agents

https://github.com/lahfir/agent-desktop

by lahfir

5/2/2026 at 5:03:31 AM

lahfir, I vouched your (currently still dead) comment because it was interesting to me.

I expect the reason it is dead is that it seems LLM-generated (you "quietly" launched it on github? Who says that?).

Also, your comment claims that the tool is cross-platform and implies that it works on Mac, Windows, and Linux, but the graphic on the github README says it only works on Mac.

by jstanley

5/2/2026 at 6:24:01 AM

It looks hybrid human/LLM at best, but definitely possible that it's mostly human, from someone who is earnestly learning how to use "pitch" language. I got the feeling that some parts, like the bullet points, maybe originated from AI-generated documentation/readme's.

My intuition tells me that it could have been AI-generated, but if that's the case then it was heavily edited by a human. I think anyone who went through it for that would have changed other things as well. That's why I suspect it's pseudo-artificial pitch "coded" human writing with some (mostly, lightly edited) copy/paste of AI bullet points.

Then again, I can't find snippets of this language in the repo, so maybe I'm losing my discernment as LLMs advance (as well as the humans who are learning how to use them).

by nerdsniper

5/2/2026 at 9:55:05 AM

I think this guy is using AI for pretty much everything - he says as much in his GH profile. In fact his photo bears a Gemini watermark, meaning that is AI too.

by jbreckmckye

5/2/2026 at 6:37:53 AM

Wouldn't the opposite be true? That an llm would use well-known terms for general purpose writing. I think it's much more likely that a human would remember 'silent' launch, or 'stealth' launch, and use silent as a substitute.

I feel very strongly that comment wasn't AI generated.

Also, there's a bunch of normal comments that seem to be wrongfully flagged.

by preommr

5/2/2026 at 11:59:09 AM

> Wouldn't the opposite be true? That an llm would use well-known terms for general purpose writing.

You'd think, and yet LLMs do in fact have a particular style, and lots of it is common across all LLMs.

by jstanley

5/2/2026 at 6:38:53 AM

3 fake comments in the thread also

by vasco

5/2/2026 at 6:48:15 AM

Why is Claude always pointing out or assuming what is done quietly?

by handfuloflight

5/2/2026 at 5:15:17 AM

Looks interesting but like every single one of these computer use apps I've seen, it's macOS only.

Does anyone know of a linux one?

by esperent

5/2/2026 at 5:43:36 AM

I don't think the accessibility story on Linux is comprehensive enough to make this possible unfortunately. Especially with Wayland. One advantage Mac apps have is they're all targeting the same underlying OS primitives, which is the layer their accessibility platform lives at.

by Zetaphor

5/2/2026 at 6:33:40 AM

Quote from a sibling comment:

  - macOS: Accessibility API
  - Windows: UI Automation
  - Linux: AT-SPI

by tuukkah

5/2/2026 at 7:32:14 AM

The levels of support are radically different. Compositors, window managers, UI frameworks, and apps all have mixed and inconsistent levels of support such that the overall experience is that you simply cannot rely on using a Linux system via accessibility.

by Arainach

5/2/2026 at 7:51:11 PM

Unfortunately AT-SPI support is very hit or miss, mostly miss. To get it useable for this required a huge amount of modification. See my other comment for context.

by gvkhna

5/2/2026 at 7:49:21 PM

Built this but not open source because it’s more designed for the bot evasion/stealth market. But it’s designed to let ai control the real browser without cdp. So no chromium forks/nothing to “detect.”

by gvkhna

5/2/2026 at 8:04:05 AM

I've long thought about why the tools we have operate on screenshots, and not the accessibility tree. To me the latter would have seemed like the obvious choice from the beginning (structured data), but yet, here we are with pixels. Happy to see progress being made here.

by TheFragenTaken

5/3/2026 at 3:04:15 AM

The major limitation is that macOS apps do not have to use the API and so there will always need to be a fallback to something like screen scraping for controls that don’t use it.

Zoom Desktop app is a prime example of this. Many of the windows (join a meeting, settings etc) are normal macOS ones, and those use AX buttons, but many are poorly / weirdly labeled (if at all).

But once the Zoom meeting appears, that’s all (?) custom, and so the best you can do is whatever Zoom decided to offer. The dreaded “this meeting is being recorded” pop up is a custom control and so doesn’t have AX at all; I have automation that basically looks for an appearing window and if it has “OK” just blindly click it and hope for the best.

by MattRogish

5/2/2026 at 8:23:55 AM

While the accessibility tree is great in many aspects it has its own limitations for example when it comes to stacked views or lazy loading outside the viewport.

by tidbeck

5/2/2026 at 9:40:48 AM

I think screenshots also don't help with stacked views and lazy loading outside the viewport

by nlitened

5/2/2026 at 4:49:23 PM

I actually built nearly the same tool under the same name: https://agent-desktop.dev And I've seen a couple other similar projects since then too! Seems like a lot of us are thinking in the same direction.

One wrinkle I found is that there wasn't a cross-platform library for accessibility APIs, and each platform is a bit different. I made an a11y library that supports Mac, Windows, and X11 and Wayland on Linux with consistent interface: https://xa11y.dev

by _crowecawcaw

5/2/2026 at 1:21:12 PM

I presume this only works if you use native OS interfaces like MFC in Windows, Cocoa in macOS or GTK in Linux.

It would be nice if it could work if you use GUI libraries that talk directly to hardware like Capy for Zig, egui for Rust or Dear ImGui for C++.

by DeathArrow

5/2/2026 at 6:43:50 AM

Looks very interesting. Especially like that language environment is abstracted away, through cli, such that one are not stuck with for example python to write your UI logic (or create your own cli wrapper around PyAutoGUI).

How can one help with implementing Linux and Windows support?

by someone654

5/2/2026 at 10:09:00 AM

Related tool: https://is.gd/X1KScw — AI specifically trained on off-grid/survival scenarios. Free.

by FrozenThane269

5/2/2026 at 7:30:55 AM

The best desktop automation system would take HDMI input and output USB keystrokes and mouse movements so that it can be plugged into any computer transparently, including work computers.

by xnx

5/2/2026 at 7:43:07 AM

You don't need hdmi out, just ability to do screenshots, which easy to script.

Arguably though, browser automation gets you 95% of the way there for most things.

by ActorNightly

5/2/2026 at 7:54:28 AM

Many systems won't allow the end user to install any software (e.g. work issued laptops), but you can plug in HDMI and USB.

by xnx

5/2/2026 at 10:56:06 AM

if you can attach a local llm...hdmi is airgapped (sort of)...

the operating computer requires no processing power or install....

it plugs into any interface............

i plug it into a scada...............

$$$$$$

by lukewarm707

5/2/2026 at 11:51:41 AM

What’s the purpose of all the dots?

by dmd

5/2/2026 at 6:21:50 AM

This is neat! Tried the finder example and was impressed how quick it was.

I would love it if it can support ios simulator, iphone? I am using Maestro but it is so damn slow and seems to be token hungry.

by zuzululu

5/2/2026 at 6:50:59 AM

Interesting, would be nice to see a demo video apart from that unclear GIF

by rado

5/2/2026 at 6:12:00 AM

i knew it... macos

by z3ratul163071

5/2/2026 at 8:40:47 AM

OP claims cross platform.

  > It's a cross-platform CLI for structured desktop automation through the accessibility tree.

by dotancohen

5/2/2026 at 7:33:59 AM

[flagged]

by tokenhub_dev

5/2/2026 at 7:25:29 AM

[dead]

by jimmypk

5/2/2026 at 8:38:18 PM

[dead]

by CloakHQ

5/2/2026 at 4:39:54 AM

[flagged]

by DuduZhv

5/2/2026 at 6:12:52 AM

[dead]

by lihanghanger

5/2/2026 at 10:08:16 AM

[dead]

by QuietLedge375

5/2/2026 at 6:16:42 AM

[dead]

by am_curious_1

5/2/2026 at 5:13:45 AM

This is big if it works. Nice job!

by DeathArrow