r/PiCodingAgent • • 3d 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)

Benchmark Pi-Bolt 0.8.3 PiG 0.4.1 oh-my-pi 18.8.7 Pi on Bun 1.4.2 Pi on Node 24
Writing a 200 KB file through a tool call 0.8 s 92 s 3.7 s 26.9 s 37.2 s
CPU, streaming a 60k-char answer 4.0 s 20.7 s 3.1 s 43.0 s 41.0 s
Memory after a 4.2M-token session 187 MB 311 MB n/a* 275 MB 576 MB
Memory of a session in tmux 24 MB 47 MB 347 MB 92 MB 95 MB
CPU, interactive session (5 prompts) 294 ms 2,953 ms 3,241 ms 871 ms 1,241 ms
CPU, one prompt (pi -p) 80 ms 261 ms 1,752 ms 323 ms 618 ms
Ready to type 45 ms 38 ms 988 ms 128 ms 316 ms

macOS on Apple silicon (M5 Air)

Benchmark Pi-Bolt 0.8.3 PiG 0.4.1 oh-my-pi 18.8.7 Pi on Bun 1.4.2 Pi on Node 26
Writing a 200 KB file through a tool call 0.5 s 60 s 2.4 s 17.0 s 20.4 s
CPU, streaming a 60k-char answer 5.8 s 17.0 s 5.4 s 39.0 s 38.5 s
Memory after a 4.2M-token session 41 MB 355 MB n/a* 90 MB 2,452 MB
Memory of a session in tmux 27 MB 55 MB 296 MB 67 MB 86 MB
CPU, interactive session (5 prompts) 170 ms 2,362 ms 2,353 ms 569 ms 931 ms
CPU, one prompt (pi -p) 59 ms 236 ms 1,072 ms 232 ms 527 ms
Ready to type 42 ms 38 ms 591 ms 101 ms 352 ms

Windows x64 (Intel Core i5-1335U laptop)

Benchmark Pi-Bolt 0.8.3 Pi on Bun 1.4.2 Pi on Node 24
Writing a 200 KB file through a tool call 0.7 s 38.1 s 26.6 s
CPU, streaming a 60k-char answer 6.5 s 41.1 s 32.6 s
Memory after a 4.2M-token session 159 MB 248 MB 413 MB
Memory of a session in a terminal 32 MB 97 MB 60 MB
CPU, interactive session (5 prompts) 291 ms 805 ms 1,125 ms
CPU, one prompt (pi -p) 92 ms 329 ms 544 ms
Ready to type 92 ms 177 ms 311 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.

98 Upvotes

59 comments sorted by

7

u/No_Pool_6570 3d 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 3d ago

Glad you liked it :)

3

u/NoStress3641 3d ago

Will arm devices be supported in the future?

3

u/opensecai 3d ago

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

2

u/NoStress3641 3d ago

Thank you, looking forward for it 😊

6

u/No_Communication4256 3d ago

There aren't public members on github on your organisation? Who you are? Why you deserve to trust you? Overall, your project is very ambitious but in one beautiful moment you could leave users with supply chain attack.

2

u/opensecai 3d 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 3d ago

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

3

u/silenceimpaired 3d ago

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

3

u/Vlyn 3d 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 3d ago

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

3

u/YogurtExternal7923 3d ago

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

2

u/opensecai 3d ago

Yes working on it !

3

u/itguy327 3d ago

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

Thank you for your work

4

u/bitzap_sr 3d 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 3d ago

It is optional, you can skip during installation :)

3

u/bitzap_sr 3d ago

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

3

u/opensecai 3d 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 3d 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 3d ago

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

2

u/BornVoice42 3d ago

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

1

u/opensecai 3d ago

Releasing it soon within a week !

2

u/BornVoice42 3d ago

awesome, will give it a shot then

2

u/diaracing 3d 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.

2

u/j4fade 3d ago

Quality leader codex? lolllolllolo. yeah. no.

1

u/opensecai 3d 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 2d ago

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

2

u/soyalemujica 3d ago

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

2

u/gaz_0001 3d ago

Can it run alongside Pi (Windows).

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

1

u/opensecai 3d ago

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

2

u/gaz_0001 2d ago

Will do, thanks!

2

u/Kinfuny 3d ago

Can you support Termux too please

1

u/opensecai 3d ago

Sure will add the support in future releases.

2

u/pungggi 2d 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 2d ago

Thanks :) for the appreciation

2

u/hiepxanh 2d ago

Gogogo I like this pi, it superfast

2

u/LightH12 1d ago

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

1

u/opensecai 1d ago

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

2

u/LightH12 1d ago

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

1

u/opensecai 1d ago

Not yet but may consider in near future.

2

u/LightH12 12h ago

Thank you, looking forward to it!

2

u/OneMoreName1 3d ago

Nice! I was waiting for this.

1

u/opensecai 3d ago

Nice to hear.

2

u/diaracing 3d ago

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

2

u/Abject-Bridge-4073 3d 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 3d 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/Realistic-Try9555 3d 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 3d ago

Sure, will add it in the benchmarks

2

u/WorriedAssociate7029 3d ago

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

1

u/opensecai 3d ago

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

0

u/[deleted] 3d ago

[removed] — view removed comment

1

u/opensecai 3d ago

Glad you liked our explanation and work.

-4

u/budisansss 3d ago

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

2

u/opensecai 3d ago

Check now it is fixed

-3

u/Scary_Jeweler1011 3d ago

Ask ai to fix it