How should an LLM see a computer? (greptile.com)

27 points by dakshgupta 4 hours ago

18 comments:

by 6thbit 31 minutes ago

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.

by hansvm 3 hours ago

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.

by mpd 2 hours ago

They may be doing this under the hood with an a11y overlay.

by xynelius an hour ago

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.

by mpd 3 hours ago

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

by CamperBob2 2 hours ago

In my experience, any major coding harness will just do this automatically. I have CC debug my IMGUI app all the time.

by LeifCarrotson an hour ago

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.

by mpd 2 hours ago

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.

by jimbobimbo an hour ago

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.

by intrasight 2 hours ago

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.

by dakshgupta 2 hours ago

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.

by samrus an hour ago

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

by verdverm 36 minutes ago

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

by js8 2 hours ago

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.

by samrus an hour ago

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

by freecodeio 11 minutes ago

seems like a good use case for JEPA, though I haven't seen any usable JEPA models yet

by miladyincontrol 2 hours ago

In the other sense of see though, does the model understand it to be "their computer" or is it "our computer"?

by dakshgupta 2 hours ago

That's probably a system prompt thing, but I suspect it's our computer that they are using.

Data from: Hacker News, provided by Hacker News (unofficial) API