NHacker Next
  • new
  • past
  • show
  • ask
  • show
  • jobs
  • submit
I Built a Telegram Client for Pi (npmjs.com)
tough 6 hours ago [-]
To all the haters to not knowing what "pi" means in this context. Is mario zechner's ai agent / coding harness [1][2], similar in spirit albeit much less complex to claude code or openai's codex and others.

I wouldn't call it third tier. If anything alongside opencode, and codex, its one of the "first tier" and the only non-VC-backed (at least before mario joined earendil (idk about earendil raising or not)

anyways. Pi is good. I dont need a telegram client for it, but this precisely show why pi is great, because its really easy to extend pi building plugins or modifying the source (yay, open source)

peace

1. https://github.com/earendil-works/pi

2. https://pi.dev/

p1necone 4 hours ago [-]
Everything else feels bloated. The same model in pi will consume significantly less context for the same task as there's not piles of unchangeable system prompts being passed along (I assume), and at least compared to OpenCode the quality feels better too. I just wish Anthropic let me use my Claude subscription with pi, it's annoying having to switch between them.

(Not to mention the unmatched level of customisability)

zackify 4 hours ago [-]
I have the llm twean every little piece of pi which is why I love it. And swapping models. Plus not having scroll jank like I got in opencode.

I even tweaked hitting "enter" when nothing is in the input box, it resume the last request. I love having this control and ease to extend and add anything to the ui

bpavuk 4 hours ago [-]
moreso, it's the only harness that maps close to Neovim philosophy of "everything is a plugin." heck, I took a bite at it and it seems fun to build plugins! especially if it's something as silly as warhammer.pi :) (shameless plug, npm: @bpavuk/warhammer.pi)

that thing makes Pi talk like Adeptus Mechanicus. what's more fitting to a machine than voice that's associated with machines?

epistasis 4 hours ago [-]
I prefer Pi to Claude Code these days, and use it most of the time when I can. The interaction and permissions harness is an order of magnitude better than Claude in my experience, just out of the box. I barely have time to read all the model output, much less fine tune some crazy agent harness tooling that changes underneath me daily and might or might not be documented.
LeoPanthera 2 hours ago [-]
Is it really necessary to accuse people of being "haters"?
atharva-again 2 days ago [-]
I like the idea of being able to use agents from my phone. Termux is nice, but not very good on small screens.

So I tried Hermes, it had first-class telegram support, but then I never use it for coding and was asking it to delegate to codex / pi. There wasn't much I was gaining from hermes, so I stopped using it.

Then I started using Pi more and liked its extensability. Pi is the first software I have forked and developing to meet my needs. I genuinely love how extensible it is.

I was in the market to see any extensions that help me run Pi, and sure enough there were. One was from Mario himself, the creator of Pi (https://github.com/badlogic/pi-telegram), but it was a bridge instead of being a client itself. I need to start a chat in the TUI and then continue it in telegram. I didn't like that. Most others were same.

So I built my own!

deeplurker571 4 hours ago [-]
I'm in a similar boat, I recently discovered Paseo (https://paseo.sh/) which has mostly surpassed my expectations. It has changed my workflows, pi interaction is via a client rather than inside screen. But...I mostly have not missed that portion. I have zero affiliation other than being surprised by how well it works. There are minor UX improvements that could be made, but it's a solid...harness-harness ? Aside: The most useful extra feature I wasn't looking for is that Paseo can inject its own MCP tools to allow managing itself. I now use this to allow pi to manage subagents in "detached" mode, meaning it creates another visible, fully interactive session that I can watch and interrupt as needed.
throw10920 3 hours ago [-]
I see that you also forked Pi itself[1]. Out of curiosity, is there a reason you did this instead of implementing those two features in your fork as Pi extensions?

I've managed to implement most of the things I want in Pi through extensions - with one exception (disabling animations, because there's no extension API or setting for that).

[1] https://github.com/atharva-again/pi

asar 5 hours ago [-]
So I guess we (and a lot of other people) have had the same problem, which is managing your agents on the go. I decided to build a plugin[1] for my terminal multiplexer (herdr) to access the sessions via PWA served through a tailnet.

[1] https://github.com/AltanS/collie

wild_egg 3 hours ago [-]
check out tsnet if you are building on tailscale anyways. your app can then be a tailnet node that can read tailnet WhoIs data and have access controlled via tailnet ACL
CGamesPlay 2 hours ago [-]
"A normal DM is one pi session by default." A single message, or a single message thread? Both are pretty extreme trade-offs to make, honestly. I spent a bunch of time looking at how the various Claws do this, and I settled on an idle timeout causing the next message to start a new session, but I also built /continue, /new, and a /resume that shows recent sessions with a telegram keyboard.
mfkp 5 hours ago [-]
This is awesome, I use telegram as my main chat app with all of my friends and coworkers. Now I need to figure out how to dockerize this and run it on my NAS so it's not reliant on my laptop being online.

Maybe can figure out a workflow to make a branch, deploy it and give me a cloudflare tunnel link to test it, and if approved merge the changes into main branch and deploy to prod. The vibes are off the charts.

febed 5 hours ago [-]
Off topic, but apart from pi-tui, is there a recommended TUI library that integrates well with the Pi? I want to have a multi pane TUI experience like lazydocker right inside Pi. Pi-tui is a bit limited.
fredoliveira 2 hours ago [-]
Why not just have multiple instances of pi inside one of the many multiplexers out there? Tmux, Zelliij, herdr, for example.
NamlchakKhandro 4 hours ago [-]
No.

Use zelilij

jedisct1 5 hours ago [-]
I build a Signal client for Swival: https://github.com/swival/nbclaw

And I use it daily for simple tasks.

stackghost 6 hours ago [-]
NB: "Pi" in this context refers to an agent harness of some sort, and does not refer to the Raspberry Pi.

I was confused.

croes 6 hours ago [-]
Did you built it or did you tell PI to build it?
fredoliveira 2 hours ago [-]
There'd be no shame either way. Pi is built on the idea that you should ask it to extend itself.
croes 10 minutes ago [-]
But there is a difference in ordering something or doing it.

If PI extended itself, PI did it.

If I tell you, stay hydrated and get enough sleep, did I improve your live or you?

anoneng 6 hours ago [-]
[flagged]
tasuki 6 hours ago [-]
Pi is not "some mayfly LLM third-tier coding agent" - in the brief research I've done, it's the best positioned to survive: it's small and the creator has shown good taste (something that can't be said about the creators of Claude Code).
wulfmann 6 hours ago [-]
I was hoping id get to talk to 3.14 over telegram
stackghost 5 hours ago [-]
Technically, any conversation possible exists somewhere in the digits of pi.
NamlchakKhandro 4 hours ago [-]
Lmfao. Help me shit in your cereal bowl some more
Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact
Rendered at 01:41:23 GMT+0000 (Coordinated Universal Time) with Vercel.