I Built a Telegram Client for Pi

(npmjs.com)

31 points | by atharva-again 2 days ago

9 comments

  • tough 1 hour 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/

    • epistasis 18 minutes 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.
    • bpavuk 22 minutes 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?

  • 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 22 minutes 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.
  • asar 46 minutes 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

  • mfkp 53 minutes 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 1 hour 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.
  • jedisct1 57 minutes ago
    I build a Signal client for Swival: https://github.com/swival/nbclaw

    And I use it daily for simple tasks.

  • stackghost 2 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 1 hour ago
    Did you built it or did you tell PI to build it?
  • anoneng 2 hours ago
    Maybe have some context here because Pi is an entire letter of the Greek alphabet and not everyone is going to associate it with some mayfly LLM third-tier coding agent, especially for something this niche and mostly useless.
    • tasuki 1 hour 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 1 hour ago
      I was hoping id get to talk to 3.14 over telegram
      • stackghost 55 minutes ago
        Technically, any conversation possible exists somewhere in the digits of pi.
    • NamlchakKhandro 26 minutes ago
      Lmfao. Help me shit in your cereal bowl some more