How should an LLM see a computer?
37 points by dakshgupta 6 hours ago | 21 comments
  • hansvm 5 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.
    • mpd 5 hours ago |
      They may be doing this under the hood with an a11y overlay.
    • jagged-chisel 2 hours ago |
      My cynical take is that if they can't prompt a frontier model to do it, they don't want to do it themselves. "Simple, effective solutions" have been around for various tasks for decades (OCR, TTS, STT, etc), but all that's being thrown out so that users of current models don't have to think so hard.
  • mpd 5 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
    • CamperBob2 5 hours ago |
      In my experience, any major coding harness will just do this automatically. I have CC debug my IMGUI app all the time.
      • mpd 5 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.
      • LeifCarrotson 3 hours 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.
  • intrasight 5 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.
    • dakshgupta 4 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.
      • samrus 4 hours 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

    • verdverm 3 hours 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

  • js8 5 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.
    • samrus 3 hours 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
      • freecodeio 3 hours ago |
        seems like a good use case for JEPA, though I haven't seen any usable JEPA models yet
      • lukev an hour ago |
        Do you mean in a game? Or in real life robotics warfare?

        Because in a game there is an underlying data model that you could expose directly to the AI, including the precise coordinates of everything onscreen.

        The visual presentation, to humans, is optimized for fun, not for data processing efficacy.

        So what problem are we trying to solve here, exactly?

  • miladyincontrol 4 hours ago |
    In the other sense of see though, does the model understand it to be "their computer" or is it "our computer"?
    • dakshgupta 4 hours ago |
      That's probably a system prompt thing, but I suspect it's our computer that they are using.
  • jimbobimbo 3 hours 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.
  • xynelius 3 hours 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.
  • 6thbit 3 hours 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.

    • andai 13 minutes ago |
      Just give it its own computer.

      It'll probably still be able to hack the other one, the way things have been going, but it's a start.

      I realized a few months ago that "$50 used Thinkpad" ≈ Docker minus Pain