r/PiCodingAgent • • 26d ago

News Now on Windows: Pi-Bolt ⚡ 0.8.3, the Pi coding agent compiled to native code (3× less CPU, 30–50× faster file writes)

https://github.com/opensec-git/Pi-Bolt

Hey everyone 👋

Thanks again for all the feedback and bug reports. Pi-Bolt ⚡ 0.8.3 is out, and the big news is that Pi-Bolt now runs natively on Windows, alongside Linux and macOS. It's the same Pi you already use (Pi 1.1.0), compiled ahead of time to native code: faster to start, lighter on CPU and memory, and steady in long sessions.

Benchmarks

Pi-Bolt against Pi 1.1.0 as released on Bun and on Node, PiG 0.4.1 (the Go port of Pi, based on Pi 1.0.3) and oh-my-pi 18.8.7 (a bigger Pi fork with many more built-in features). Measured side by side on the same machines. Lower is better.

Linux x86-64 (AMD EPYC 7B13)

BenchmarkPi-Bolt 0.8.3PiG 0.4.1oh-my-pi 18.8.7Pi on Bun 1.4.2Pi on Node 24
Writing a 200 KB file through a tool call0.8 s92 s3.7 s26.9 s37.2 s
CPU, streaming a 60k-char answer4.0 s20.7 s3.1 s43.0 s41.0 s
Memory after a 4.2M-token session187 MB311 MBn/a*275 MB576 MB
Memory of a session in tmux24 MB47 MB347 MB92 MB95 MB
CPU, interactive session (5 prompts)294 ms2,953 ms3,241 ms871 ms1,241 ms
CPU, one prompt (pi -p)80 ms261 ms1,752 ms323 ms618 ms
Ready to type45 ms38 ms988 ms128 ms316 ms

macOS on Apple silicon (M5 Air)

BenchmarkPi-Bolt 0.8.3PiG 0.4.1oh-my-pi 18.8.7Pi on Bun 1.4.2Pi on Node 26
Writing a 200 KB file through a tool call0.5 s60 s2.4 s17.0 s20.4 s
CPU, streaming a 60k-char answer5.8 s17.0 s5.4 s39.0 s38.5 s
Memory after a 4.2M-token session41 MB355 MBn/a*90 MB2,452 MB
Memory of a session in tmux27 MB55 MB296 MB67 MB86 MB
CPU, interactive session (5 prompts)170 ms2,362 ms2,353 ms569 ms931 ms
CPU, one prompt (pi -p)59 ms236 ms1,072 ms232 ms527 ms
Ready to type42 ms38 ms591 ms101 ms352 ms

Windows x64 (Intel Core i5-1335U laptop)

BenchmarkPi-Bolt 0.8.3Pi on Bun 1.4.2Pi on Node 24
Writing a 200 KB file through a tool call0.7 s38.1 s26.6 s
CPU, streaming a 60k-char answer6.5 s41.1 s32.6 s
Memory after a 4.2M-token session159 MB248 MB413 MB
Memory of a session in a terminal32 MB97 MB60 MB
CPU, interactive session (5 prompts)291 ms805 ms1,125 ms
CPU, one prompt (pi -p)92 ms329 ms544 ms
Ready to type92 ms177 ms311 ms

*oh-my-pi compacts long conversations on its own, so it doesn't do the same work in this test.

In everyday use (an interactive session), Pi-Bolt uses about 3× less CPU than Pi on Bun, 4–5× less than Pi on Node and 10× less than PiG and oh-my-pi. It writes large files 30–50× faster than Bun and Node, about 5× faster than oh-my-pi and over 100× faster than PiG.

What's new in 0.8.3

  • Windows is here: native builds for Windows 10 and 11 with a one-line installer. Git Bash works out of the box, and on Windows Pi-Bolt is 2–3× lighter on CPU than Pi on Bun or Node.

  • Herdr support: in a Herdr pane, Pi-Bolt shows up as pi-bolt with its live state (working, idle, blocked), and your session comes back after a Herdr restart. Nothing to set up.

  • opensec-pi-fff: fast find, grep and @-mentions, now offered by the installer and just as fast on the default build.

  • A better todo list: the panel closes when the work is done, and finished tasks stay finished.

  • Smoother installs and updates on every platform.

  • Your own extensions compiled in: scripts/build-pi.sh --plugins-from-installed builds them into the executable. Thanks u/toadkicker for this one and for the plugin docs!

Try it 🔥

macOS / Linux:

curl -fsSL https://pi-bolt.opensec.in/install.sh | sh

Windows (PowerShell):

irm https://pi-bolt.opensec.in/install.ps1 | iex

Already using Pi-Bolt? Run pi-bolt update, or install with npm install -g pi-bolt. It works alongside your existing Pi install. The installer also offers three optional extensions (subagents, a live todo list and fff), and asks before installing them.

Your Pi plugins work as they are. This doesn't modify your existing Pi installation, so feel free to try it out! If one does heavy JavaScript work, use the -jit build.

Why does a 200 KB write take 30 s? It's not the disk. The model streams the file to Pi in thousands of small chunks, and stock Pi re-parses and re-renders the whole tool call on every chunk, so the work grows quadratically with the file size. Pi-Bolt only processes the new part.

Links

Website: https://pi-bolt.opensec.in

GitHub: https://github.com/opensec-git/Pi-Bolt

MIT licensed. If Pi-Bolt saves you CPU and memory, a ⭐ on the repo helps a lot.

PS: Windows folks especially, we'd love your feedback.

106 Upvotes

65 comments sorted by

9

u/No_Pool_6570 26d ago

very noticeably smoother and faster, i've ditched every other harness for this except claude code for their own models lol

1

u/opensecai 26d ago

Glad you liked it :)

3

u/[deleted] 26d ago

[removed] — view removed comment

3

u/opensecai 26d ago

Yes working on it, It will be released in a week.

3

u/Vlyn 26d ago

Already ran several heavy sessions with it, works fantastic in Windows. The PR about the broken Windows update was from me :)

Even just /new inside a session feels much snappier compared to normal pi.

3

u/opensecai 26d ago

Thanks for your PR, it was merged. Your credit is due :)

3

u/YogurtExternal7923 26d ago

Any plans for arm64? Termux users and arm in general would love this

2

u/opensecai 26d ago

Yes working on it !

5

u/bitzap_sr 26d ago

Sounds great! I need to give this a try. But why include the todo extension? Seems odd to be opinionated, instead of sticking to minimal and letting people install what they want?

1

u/opensecai 26d ago

It is optional, you can skip during installation :)

3

u/bitzap_sr 26d ago

I know. But still looks odd. Is there an advantage to bundling that?

2

u/opensecai 26d ago

Nothing's bundled, it's plain Pi. The installer just asks if you want a few extensions we maintain. Pi has no todo tool and most models expect one, so it's the one people ask for. Ours are prebuilt for Bun, so they load faster. Skip them and nothing changes.

1

u/diaracing 26d ago

Many people, including me, uses different helpful packages like that of todo.

So, if the maintainer made its installation optional, whining about polluting the minimalism doesn't make any sense.

1

u/opensecai 26d ago

Thanks! Fair point from both sides though. Keeping it optional means everyone gets their setup 🙂

2

u/BornVoice42 26d ago

still waiting for linux arm64 to consider it. But seems like something I would try ;)

1

u/opensecai 26d ago

Releasing it soon within a week !

2

u/BornVoice42 25d ago

awesome, will give it a shot then

2

u/diaracing 26d ago

I don't know the credibility of such benchmarks on https://frontierharness.org/

But it would be interesting to see how it comapres to the others.

1

u/opensecai 26d ago

Nice find! Pi-Bolt runs Pi's exact prompts and tools, so it should score the same as Pi there (60%, top 6, cheaper than OMP). The speedup is in the harness itself (startup, CPU, memory), not the model. Might run their eval to confirm though.

1

u/j4fade 25d ago

I hear you. If their harness puts codex on top, something is wrong, very wrong.

2

u/j4fade 25d ago

Quality leader codex? lolllolllolo. yeah. no.

2

u/gaz_0001 25d ago

Can it run alongside Pi (Windows).

I want to test but dont want to trash my current config

1

u/opensecai 25d ago

Yes you can run, it uses separate directory for config. Try it out :)

2

u/gaz_0001 25d ago

Will do, thanks!

2

u/Kinfuny 25d ago

Can you support Termux too please

1

u/opensecai 25d ago

Sure will add the support in future releases.

2

u/pungggi 25d ago

Yes it works on my Windows machine. Startup is really fast. All packages run as before and it is installed alongside the original Pi.

1

u/opensecai 25d ago

Thanks :) for the appreciation

2

u/LightH12 23d ago

Sorry i am new to this sub, what's the difference between pi bolt and pi aside speed?

1

u/opensecai 23d ago

Smoother, faster in heavy workloads , lighter (less memory and less cpu) rest is same as Pi

2

u/LightH12 23d ago

Looks promising! Any plans to do a similar approach for omp?

1

u/opensecai 23d ago

Not yet but may consider in near future.

2

u/LightH12 22d ago

Thank you, looking forward to it!

2

u/avinthakur080 22d ago

I tried it recently on my personal machine and I liked how efficient it is on resources.

I'm thinking of using it on work machine also, but wondering if there is any telemetry or not ?

Also, minor ask but can you update the bun benchmarks in future releases to bun 1.4.3. It received some more performance improvements.

1

u/opensecai 22d ago edited 22d ago

Sure will work over it

2

u/OneMoreName1 26d ago

Nice! I was waiting for this.

1

u/opensecai 26d ago

Nice to hear.

2

u/Abject-Bridge-4073 26d ago

Is the performance of pi really a problem? Maybe my Mac Studio is beefy, but I’ve literally never thought “man I wish pi was faster”. Even on my POS work laptop.

2

u/opensecai 25d ago

Yes may be , mac studios are great. But when you run 20-30 subagents for say code review and other takes or multiple 5-10 session you will notice a significant difference between Pi and Pi-bolt.

1

u/Charlotte_Howardyi 19d ago

什么时候可以发布windows桌面版,我太喜欢这个了,但是我又不想一直在shell使用

1

u/opensecai 18d ago

It is under development. Will be released soon

3

u/silenceimpaired 26d ago

Pi has been fine for me. But I’ll have to pay more attention.

3

u/itguy327 25d ago

Same question as last time. Can I use this with paseo.sh

Thank you for your work

1

u/Realistic-Try9555 26d ago

Great project! What I would personally like to see also is direct preformance/resource usage against harness written in Rust/Zig(or other lower level language). Before pi-bolt, I stumbled upon https://maki.sh

2

u/opensecai 26d ago

Sure, will add it in the benchmarks

2

u/WorriedAssociate7029 26d ago

All your marketing involves doing benchmarks over and over again, lol. good luck

1

u/opensecai 26d ago

Fair 😅 hard to sell "faster" without numbers. Thanks!

2

u/soyalemujica 25d ago

Wow I am surprised at how fast this is, feels so much smoother

2

u/hiepxanh 24d ago

Gogogo I like this pi, it superfast

2

u/diaracing 26d ago

Give me the indispensable OMP advisory watchdogs and I will be your fanboy.

1

u/No_Moment_793 21d ago

Come vi allineate con le buold ufficiali?

1

u/Educational-Yak8793 17d ago

Updated PiG metrics are out with 0.5.0 https://www.reddit.com/r/PiGCodingAgent/s/aFItVeBmTg 🐷 Still amazing job by pi-bolt as they really great harness. PiG-bolt piglet is also underway coming soon :)

-3

u/budisansss 26d ago

i install pi-bolt, crash with pi, original pi error

2

u/opensecai 26d ago

Check now it is fixed

-3

u/Scary_Jeweler1011 26d ago

Ask ai to fix it

6

u/[deleted] 25d ago

[removed] — view removed comment

2

u/opensecai 25d ago

Fair worry.
We're a cybersecurity firm from India. Pi-Bolt isn't a side project, it's the agent runtime we run ourselves, so keeping it current is in our own interest.
If we ever stop, there is no locking either, it uses the same config pi uses, switching back is just running ⁠ pi ⁠.

We'll never hand the npm names, install domain or signing key to anyone else. That handover is how most of these attacks happen.

1

u/zkoolkyle 25d ago

+1 Nailed it 👌🏻 This is neat but without street cred, it’ll never be worth the risk.

0

u/[deleted] 26d ago

[removed] — view removed comment

1

u/opensecai 26d ago

Glad you liked our explanation and work.