logoalt Hacker News

Windows-Use: an AI agent that interacts with Windows at GUI layer

112 pointsby djhu9last Tuesday at 12:33 AM22 commentsview on HN

Comments

kh9000yesterday at 3:55 PM

Using the UIA tree as the currency for LLMs to reason over always made more sense to me than computer vision, screenshot based approaches. It’s true that not all software exposes itself correctly via UIA, but almost all the important stuff does. VS code is one notable exception (but you can turn on accessibility support in the settings)

show 5 replies
philfreoyesterday at 3:44 PM

Cool. Reminds me of using SendKeys() in Visual Basic 6 in the 90s

https://learn.microsoft.com/en-us/dotnet/api/microsoft.visua...

show 3 replies
mtVesselyesterday at 5:59 PM

I feel vaguely vindicated that the agent can't figure out how to use the modern Save as workflow, either, and reverts to the traditional dialog.

electrolyyesterday at 4:51 PM

Looks awesome. I've attempted my own implementation, but I never got it to work particularly well. "Open Notepad and type Hello World" was a triumph for me. I landed on the UIA tree + annotated screenshot combination, too, but mine was too primitive, and I tried to use GPT which isn't as good at image tasks as Gemini as used here. Great job!

yodonyesterday at 3:36 PM

Very cool - does anyone know of an OSX equivalent?

Preferably one that is similarly able to understand and interact with web page elements, in addition to app elements and system elements.

show 2 replies
dvtyesterday at 8:37 PM

Working on something very similar in Rust. It's quite magical when it works (that's a big caveat, as I'm trying to make it work with local LLMs). Very cool implementation, and imo, this is the future of computing.

vivzkestreltoday at 3:35 AM

genuinely asking, what do you think are the use cases for someone requiring this?

AfterHIAyesterday at 9:01 PM

I remember an older friend asking me recently; will there be a thing soon where I can make my computer go on auto-pilot?

I guess I can answer, "yes I think so."

KaseKunyesterday at 8:42 PM

Can it farm a ber rune for me?

show 1 reply
tiahurayesterday at 5:33 PM

LLM’s do a pretty good job of using pywin32 for programs that support COM like office.