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.
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
A lot of testing has shown me that agents fumble often, use a lot of unnecessary tokens, and may or may not be able to do all of it headlessly. I agree with you that harnesses in general can do this at some baseline level.
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.
In defense of those applications, they probably did not anticipate how valuable a sensible information hierarchy would end up being when AI started using computers on our behalf.
No one really did. We made all these GUIs thinking onky humans could utilize the functionality behind them. We never thought AI would be able to navitage an ecommerce site as well as we do.
I wonder what UIs will look like from now on, will they be for both humans and AI, or will we just have better apis for AI to utilize
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.
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.
They may be doing this under the hood with an a11y overlay.
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
In my experience, any major coding harness will just do this automatically. I have CC debug my IMGUI app all the time.
A lot of testing has shown me that agents fumble often, use a lot of unnecessary tokens, and may or may not be able to do all of it headlessly. I agree with you that harnesses in general can do this at some baseline level.
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.
In defense of those applications, they probably did not anticipate how valuable a sensible information hierarchy would end up being when AI started using computers on our behalf.
No one really did. We made all these GUIs thinking onky humans could utilize the functionality behind them. We never thought AI would be able to navitage an ecommerce site as well as we do.
I wonder what UIs will look like from now on, will they be for both humans and AI, or will we just have better apis for AI to utilize
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"?
That's probably a system prompt thing, but I suspect it's our computer that they are using.