‹ BackHN Continuity

Thread

Rpi – a Rust rewrite of the Pi agent, 10× faster startup

8 points · 10 comments · bigfishhk

  1. vincent-uden · · focus · HN ↗
    This kind of invalidate the pitch of Pi, the self-modifying harness. You can't use the Pi extensions I'm assuming...

    Without a plan of your own for extensions this is comparing apples to oranges. My Pi startup time is dominated by loading extensions and skills, and I don't even have many to begin with!

    (It seems like there is a pluging API judging by the Github repo. That wasn't linked in the comments by the time of my writing)

    1. dv_dt · · focus · HN ↗
      I wonder about adding a plugin shim for webassembly, or a Rust crate with integrated V8 engine (Bun?). But honestly, I use pi and I have yet to ask it to self-modify.
      1. vincent-uden · · focus · HN ↗
        I mean, kinda same. I've asked it to write skills but that is about it. And skills dont require this. But I do use other peoples extensions.
        1. dv_dt · · focus · HN ↗
          I suppose one potential drawback is that the visibility of the logic of a plugin is inherent in the pi ts extensions, and unless it's shipped with the rpi (pi-rust) extension, it may not be the same to use it. There are instances where I've seen pi go digging around in it's own docs & code to figure out how to do something.
          1. bigfishhk · · focus · HN ↗
            There is a tool named Docs that guides users on how to use RPi and how to write extensions. RPi has a plugin ABI to support extensions.
Open on Hacker News to reply ↗

Unofficial Hacker News client; not affiliated with Y Combinator.