Hacker News new | ask | show | jobs
by whimsicalism 15 days ago
why pi over opencode? earnestly curious, trying to figure out what open solution people are consolidating on. (codex is also pseudo-open but contributions closed and nice)
4 comments

pi is the neovim of agentic harnesses, its barebones and extremely configurable. if you're the sort of person who likes that sort of things its a forever product, nothing is going to displace it because you have full control.

opencode builds a lot more in, which is better if you dont want to fiddle with config.

> nothing is going to displace it because you have full control

A few months back Pi was working with Gemini. But Gemini support has been removed.

Pi also doesn't work with Claude Code subscription (Anthropic counts tokens used with alternate harnesses separately).

So, in practice Pi is displaced.

Note that that page says it’s against Anthropic ToS to use it with an Anthropic subscription. <shrug>
And there is oh my pi for someone who wants both
nice. i had thought the consensus had moved pretty firmly towards pi, so i was surprised to see Thinking Machines demoing their new model Inkling in OpenCode. wondering if they are previewing an acquisition
OpenCode is a good baseline for "open-source harness with most the stuff already configured an average person will need".
Agree, after spending too much time and tokens configuring Pi and adding extensions to match other harnesses, I switched to OpenCode and left the Pi customization circle jerk. I have other things to do and IMHO harness engineers should do the harness engineering, I don’t want to waste tokens and time to build and benchmark extensions. Pi is great, but would be better with a set of official, trustworthy and efficient extensions, and opt-in to enable it.
That’s basically what oh-my-pi is.
Most of my harness experience is with Claude Code and Pi, a little bit of OpenCode.

I like how quick and snappy Pi is, it feels like a minimal harness, just enough to manage the agent and get out of the way. Earlier models also seemed to have an easier time working with the tools, e.g. GPT-OSS-20B is about a year old and had no trouble in Pi.

Opencode gives you better defaults and a Mac/Windows app for free but pi is much more extensible and portable.
I tried OpenCode but didn't particular like it as a Claude Code user, that is the main reason I switched to Pi. The reason I am sticking is how simple it is to extend it. I moved from Claude Code to Pi and within 2 hours (and the help of Claude Code) I have a setup that matches Claude Code and is even better for my setup.

Things I've added:

1. Built my own AI judge for 'auto' mode that matches my setup.

2. /plan /go for planning and executing.

3. /flow for A-Z setups. That includes planning, executing, testing and shipping.

4. /deep-research a multi fan-out setup for researching a topic.

5. My own sub agents.

6. A TaskCreate/Update/List setup.

7. Monitors.

8. BashOutput / KillShell.

9. Proper notifications with Notify that uses macOS banner and work.

10. Spawn tool that triggers multiple sub agents.

11. A bridge between signal to use Pi remotely.

Yes a lot of these things is something that was already in Claude Code but now I don't have to use Claude Code and I can customize it to fit me exactly.