Vision models are pretty good at vision tasks. I've had a lot of success just having the model output a new image with a mask over the button it wants pressed and using normal CV algorithms to convert the delta into coordinates. I'm surprised to not see simple, effective solutions like that from a company which supposedly specializes in this sort of thing.
Ironically, I couldn't use Windows development tools from Claude Code GUI app because of some Linux sandboxing thing. And I need it to use local Windows tools specifically.
The takeaway (exposing the a11y tree and allowing clicks by ID improves consistency) is the same path I went through while ideating and iterating on https://github.com/fixed-width/glass
Besides perhaps with video games, I would think the need to burn tokens having an LLM "see" the screen would mean that the application was not well architected.
I have been using LLMs to play a video game. YMMV, but the best way for AI to push a button - analyze the binary program to where the button is pushed and modify it to send the event.
In the other sense of see though, does the model understand it to be "their computer" or is it "our computer"?
[dead]
I tried this with Muse Spark and GLM 5.3 flash a few weeks ago. Just screenshots, and a few mouse/keyboard tools. Worked surprisingly well for a 300-line script. Models can now return exact coordinates of elements, making a11y trees an unnecessary distraction, but for some reason Spark always assumes a 1000 by 1000 grid, while GLM returns the actual pixel coordinates.