I'd just like to have finer grain control on the permissions these things have to record and make screenshots.
Giving permission to the 'codex computer use' tool in the OS is just too broad. Maybe i don't want it to see a tab or folder i've opened and just need it to control a specific application or desktop?
And even on a specific app, say a browser, maybe i dont want it to know what plugins i have or implicit access to my bookmarks or pwd manager?
From the title I was hoping this article was more along those lines, We kinda need LLMs to 'see' a computer differently than how we can see it.
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.
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.
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
Usually. They're all capable of running Win UIA and pywinauto or something like that, but they sometimes default to just manually pushing the mouse around and OCRing screenshots.
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.
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.
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
1. real time vs step/turn based (generally the timing mechanics of a game)
2. does it allow mods
I have an agent building an NES harness around an emulator. Rather than taking screenshots, it inspects the ROM. I've also designed it with higher level commands (tools) that are not button presses. After this, I'm looking at doing similar with mods for X4 Foundations. I don't think either requires screenshots or image understanding.
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.
Yeah. Just use the API. But not everything works for an API. like how do you have it do spatial things like aim a gun or place a trap on the ground? That need spatial reasoning which still needs vision
18 comments:
I'd just like to have finer grain control on the permissions these things have to record and make screenshots.
Giving permission to the 'codex computer use' tool in the OS is just too broad. Maybe i don't want it to see a tab or folder i've opened and just need it to control a specific application or desktop?
And even on a specific app, say a browser, maybe i dont want it to know what plugins i have or implicit access to my bookmarks or pwd manager?
From the title I was hoping this article was more along those lines, We kinda need LLMs to 'see' a computer differently than how we can see it.
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.
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.
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.
Usually. They're all capable of running Win UIA and pywinauto or something like that, but they sometimes default to just manually pushing the mouse around and OCRing screenshots.
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.
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.
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
depends on the game (ime)
1. real time vs step/turn based (generally the timing mechanics of a game)
2. does it allow mods
I have an agent building an NES harness around an emulator. Rather than taking screenshots, it inspects the ROM. I've also designed it with higher level commands (tools) that are not button presses. After this, I'm looking at doing similar with mods for X4 Foundations. I don't think either requires screenshots or image understanding.
https://github.com/verdverm/botdeck
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.
Yeah. Just use the API. But not everything works for an API. like how do you have it do spatial things like aim a gun or place a trap on the ground? That need spatial reasoning which still needs vision
seems like a good use case for JEPA, though I haven't seen any usable JEPA models yet
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.