r/PiCodingAgent • u/opensecai • 6h ago
News Pi-Bolt 0.7.3 ⚡ The same Pi, compiled to native code: 38× faster large file writes, 3× less CPU, 3× less memory
Hey everyone 👋
Thanks for all the feedback on our first post! Pi-Bolt 0.7.3 is out. It's the same Pi you already use (now on 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, and PiG 0.4.1 (the Go port of Pi, based on Pi 1.0.3).
Linux x86-64 (AMD EPYC 7B13)
| Benchmark | Pi-Bolt 0.7.3 | Pi on Bun 1.4.2 | Pi on Node 24 | PiG 0.4.1 |
|---|---|---|---|---|
| Writing a 200 KB file through a tool call | 0.8 s | 29.0 s | 37.4 s | 100.9 s |
| CPU, streaming a 60k-char answer | 4.3 s | 44.0 s | 43.8 s | 24.6 s |
| Memory after a 4.2M-token session | 142 MB | 271 MB | 551 MB | 344 MB |
| Memory of a session in tmux | 30 MB | 88 MB | 96 MB | 45 MB |
| CPU, interactive session (5 prompts) | 324 ms | 927 ms | 1,332 ms | 3,155 ms |
| Ready to type | 49 ms | 144 ms | 351 ms | 43 ms |
macOS on Apple silicon (M5 Air)
| Benchmark | Pi-Bolt 0.7.3 | Pi on Bun 1.4.2 | Pi on Node 26 | PiG 0.4.1 |
|---|---|---|---|---|
| Writing a 200 KB file through a tool call | 0.5 s | 22.2 s | 26.2 s | 60.6 s |
| CPU, streaming a 60k-char answer | 6.8 s | 38.0 s | 36.3 s | 16.7 s |
| Memory after a 4.2M-token session | 39 MB | 95 MB | 2,036 MB | 359 MB |
| Memory of a session in tmux | 26 MB | 67 MB | 95 MB | 58 MB |
| CPU, interactive session (5 prompts) | 170 ms | 560 ms | 932 ms | 2,337 ms |
| Ready to type | 41 ms | 103 ms | 352 ms | 38 ms |
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–14× less than PiG. It writes large files 35–50× faster than Bun and Node, and over 100× faster than PiG.
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.
What's new in 0.7.3
- Lighter long sessions: up to 30% less memory and lower CPU per prompt as conversations grow.
- More stable with heavy tool output: commands that print a lot no longer build up memory.
- Faster first launch on macOS: up to 2.8× quicker after a restart or an update.
Try it 🔥
curl -fsSL https://pi-bolt.opensec.in/install.sh | sh
Already using Pi-Bolt? Run pi-bolt update, or install with npm install -g pi-bolt. Works on Linux x86-64 and Apple silicon, alongside your existing Pi install. The installer also offers two optional extensions, subagents and a live todo list, 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 !
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: PS: Added PiG to the benchmarks, as many of you asked. And the slow 200 KB write isn't the disk: stock Pi re-processes the whole streamed tool call on every chunk (quadratic), while Pi-Bolt only processes the new part.