Unofficial Hacker News companion — get notified on comment replies, and more.

A Visual Guide to Agent Harnesses (opens external site)

452 points by mariuz 2 days ago | newsletter.maartengrootendorst.com | 80 comments on HN | Vote on HN (opens Hacker News) |

View full thread · View on Hacker News

Comment thread (8)

  1. Do you have an example of how you'd use this?
    Replies (2)
    1. I use pi from Emacs, via its RPC interface (I hate TUIs). I've replaced pi's reading/writing tools with alternatives which invoke emacsclient. That way:

      - Emacs buffers remain up to date (rather than the on-disk content changing underneath it).

      - I can use ordinary undo, etc. on changes made by pi.

      - Various editor conveniences are automatically applied, e.g. auto-formatting of code; showing the contents of compressed files; etc.

      - The LLM is given extra metadata, like warnings from linters/compilers/LSP/etc.

      - The same tools work for buffers which aren't files (e.g. shells, Web browser, etc.)

      Replies (2)
      1. I for one would love this!
      2. Clever. So pi drives emacs via emacsclient, and you use emacs.

        So it's pair programming with the machine in the best sense.

        Though I don't understand how read/write works with emacsclient and pi. Care to share?

        Replies (1)
    2. I said I want it to support voice dictation. It downloaded whisper, cursed at ALSA, and eventually gave me a button to press to talk.

      ...and 20 features later I realized I just need to download omp.sh

      Replies (1)
      1. Great... New rabbit hole.