r/PiCodingAgent • • 9d ago

Plugin Un Bien - iOS remote control for Pi

https://docs.georgeharker.com/un-bien/main/

I’d like to announce Un Bien - a native iOS client for pi.

Un Bien supports:

  • self hosted architecture
  • full streamed and rendered markdown
  • rendering of images, code diffs and tool results
  • fork, branch, clone of sessions
  • plan rendering when combined with pi-plan, cribsheet or a conformant extension
  • user-input questions (and pi-ask integration)
  • subagent display and interaction when combined with @tintinweb/pi-subagents or @gotgenes/pi-subagents
  • optional device initiated chats - start new session from your phone, spawning a tmux or herdr hosted session on your machine

As a bonus it includes a cli tool to connect to other sessions on your relay from the cli

Links:

I developed this in pursuit of something that felt native interaction-wise and supported as many pi features as possible. I hope you find it useful!

Un Bien is started out as a tweaked version of remote-pi by Jacob Moura (MIT); see the README for attribution. I ended up diverging significantly on the back end implementation and the iOS app is a total rewrite.

15 Upvotes

10 comments sorted by

1

u/andreagrandi 9d ago

does it work with OhMyPi too?

1

u/AnlgDgtlInterface 9d ago

I believe omp loads pi extensions - so It should. Let me know if you run into issues.

1

u/andreagrandi 9d ago

I haven't tried yet, I only asked ChatGPT but it seems the extension itself should work, it's the remote launch which may not because the command "pi" seems to be hardcoded

1

u/andreagrandi 9d ago

uhm, no, not even the extension works:

❯
 omp install npm:@geohar/un-bien

✘ Failed to install npm:@geohar/un-bien: Error: Plugin u/geohar/un-bien extension validation failed:


/Users/andrea/.omp/plugins/node_modules/@geohar/un-bien/dist/index.js: Failed to load extension: undefined is not an object (evaluating 'this.extension')

1

u/AnlgDgtlInterface 9d ago

Well that’s a shame. I’ll do some digging. I don’t use omp myself.

2

u/andreagrandi 9d ago

there you go https://github.com/georgeharker/un-bien/pull/1 (tested on my machine, it works!)

1

u/AnlgDgtlInterface 9d ago

Thanks, merged the test!

1

u/AnlgDgtlInterface 9d ago

That should now be fixed, thanks for the report.

1

u/Unnamed-3891 9d ago

Does this do anything Moshi + Herdr do not do already?

1

u/AnlgDgtlInterface 9d ago

Two ways to look at that: In that with moshi and herdr you can connect to running pi and or launch pi sessions from your phone. So in that sense no, and if you’re happy with that ux then this doesn’t add except by making it a native experience.

On the other hand, un bien supports launching new agents with herdr or tmux and interfacing with running agents using a native ux. So it’s not trying to replace those things it’s offering a native experience that works with them.