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 builds a lot more in, which is better if you dont want to fiddle with config.
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.
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.
a harness doesn't do any computations by itself so what benefit is using a compiled language?
I’ve had great experience with Elixir and the new compiler combined with Ash.
TUI renderer is the one using the memory heavily so your terminal takes the heavy lifing. If you're managing the buffers and out-of-screen context good enough, Typescript can be pretty efficient.
It’s not about the terminal at all which as you noted accounts for minimal isage. It’s all the internal chat and history and everything else the agent tracks - all of which are smallish (and largish) strings allocated on the heap.
I don’t have the same issues with rust based tuis.
https://github.com/anomalyco/opencode
There is an archived Opencode project written in Go but I don't think it is affiliated.
It's hot reloadable, so any modifications an agents makes can be surfaced in the active session.
Nearly everything is already written in TS which makes integrating Pi into other software, or other software into Pi much easier.
Edit: apparently X premium(+?) also gives access to Grok Build, and several third party harnesses are officially supported.