‹ BackHN Continuity

Thread

Pi 1.0

1684 points · 602 comments · sergiotapia

  1. sid_talks · · focus · HN ↗
    I have been using OpenCode for most work related stuff now. It works well with my ChatGpt Pro subscription as well as with our locally hosted Qwen3.8.

    Is it worthwhile to spend time and effort into setting up and switching to Pi? I always see people praising Pi online but I am curious to know from people who switched over from OpenCode why they did so and what I am missing.

    1. vincent-uden · · focus · HN ↗
      I feel like the models work better in the more minimalist harness. It's totally anecdotal but I feel like the models get lost whenever I run them in OpenCode. Sort of like the "10x"-engineer who overengineers everything.
      1. luijk · · focus · HN ↗
        Not anecdotal at all. Context bloat in Opencode pushes models into the dumb zone sooner.
        1. vincent-uden · · focus · HN ↗
          I' ve heard so. But I'd still consider my opinion anecdotal because I haven't done any research into the subject (or measured it myself) really. All I've done is tried both harnesses.
    2. ropintus · · focus · HN ↗
      Pi is like archlinux of agentic harnesses; it's tinkering for the sake of tinkering. I tried it for a few weeks but didn't think it was worth the effort.
      1. manmal · · focus · HN ↗
        It’s a decent setup out of the box and you don’t need to tinker.
    3. eloisant · · focus · HN ↗
      Yes, I switched from OpenCode to Pi and never looked back.

      What's great with Pi is that it's very easy to extend, because it knows its own doc. So you tell it "implement a plugin that does this" and it does it directly in its own folder.

      That means I have a plan mode that works exactly the way I want, I have a hook that cleans up added comments after each change, I can ask "pull this github PR and assess the comments", etc.

      1. Mashimo · · focus · HN ↗
        > because it knows its own doc. So you tell it "implement a plugin that does this" and it does it directly in its own folder.

        Same with opencode, no? It has a default skill just for that.

      2. weitendorf · · focus · HN ↗
        How does this work in practice? You type /plan and it runs something that got linked into pi, or an interpreter that can run stuff and also print back out to the terminal?

        I've been avoiding investing in these kinds of tools and workflows partially because I don't understand the UX (and partially because I worry UX and tooling will change so fast that I won't get a positive ROI). Your hook sounds like a script, but your plan mode sounds like an interactive TUI, and "pull this PR and assess" sounds like a reverse proxy tool or something?

        I can definitely see why the custom plan mode is useful vs just calling a script or asking the model to do something, but what's the draw to building comment cleanup and github API access into the harness vs running the comment cleanup as part of CI, or just asking the model to pull a PR and review it using gh/the web UI/the github api (with no special harness handling)? Does the model get updated with changes you make to files it already read or recently wrote?

        The way I normally use coding agents is by giving them a very large task specification in a fresh session with some kind of verifiable exit criteria, and sending them off + staying out of their way. Normally I would just use other sessions or run scripts to do these things because the coding agents I've used queue any /command I give them (very frustrating when you have to wait 30+m just to check usage!) while the model is working, and in my sessions the model is working >90% of the time, so I usually have other terminal windows or applications open anyway.

Open on Hacker News to reply ↗

Unofficial Hacker News client; not affiliated with Y Combinator.