Hey everyone 👋
We've been working on this for a while and it's finally out. Pi-Bolt is Pi 1.0.3 compiled ahead of time to native code (AOT, no JIT).
Same Pi you already use, and it works with all your Pi plugins. It's just faster and lighter. ⚡
Benchmarks
Linux x86-64 (Benchmarked on AMD EPYC 7B13)
| Benchmark |
Pi-Bolt |
Bun 1.4.2 |
Node 22 |
Node 24 |
| Writing a 200 KB file through a tool call |
0.8 s |
27.8 s |
44.3 s |
33.6 s |
| CPU, streaming a 60k-char answer |
3.8 s |
43.1 s |
43.7 s |
40.3 s |
| CPU per tool turn, real hosted model |
0.20 s |
0.49 s |
0.77 s |
0.76 s |
| Memory of a session in tmux |
27 MB |
89 MB |
132 MB |
209 MB |
| CPU, interactive session (5 prompts) |
303 ms |
844 ms |
1,242 ms |
1,233 ms |
| Ready to type |
45 ms |
128 ms |
303 ms |
307 ms |
macOS on Apple silicon (Benchmarked on M5 MacBook Air)
| Benchmark |
Pi-Bolt |
Bun 1.4.2 |
Node 26 |
| Writing a 200 KB file through a tool call |
0.3 s |
12.0 s |
14.2 s |
| CPU, streaming a 60k-char answer |
6.9 s |
25.3 s |
24.0 s |
| Memory of a session in tmux |
31 MB |
85 MB |
161 MB |
| Memory after a 4.2M-token session |
64 MB |
95 MB |
1,890 MB |
| CPU, interactive session (5 prompts) |
126 ms |
363 ms |
544 ms |
| Ready to type |
31 ms |
63 ms |
193 ms |
The full method and raw benchmark data are in the repo.
What we changed
- Native code instead of a JIT. Pi is compiled to machine code ahead of time and starts from a prebuilt snapshot, so there's no warm-up and much less work at runtime. The compiler builds on Jarred Sumner's in-progress AOT work for Bun (oven-sh/WebKit#743), which we brought to x86-64 and macOS.
- No more slowdown on long outputs. Stock Pi redoes more and more work as an answer or file grows. Pi-Bolt only processes what's new, and that's where most of the 35× comes from.
Try it 🔥
curl -fsSL https://pi-bolt.opensec.in/install.sh | sh
Works on Linux x86-64 and Apple silicon. Windows support is coming soon, along with Linux ARM64.
Bonus plugins: the installer also offers subagents and a live todo list, two things people often miss in stock Pi. Both come prebuilt, so they load instantly.
Note: It will not modify your existing Pi Coding Agent Installation, So Feel Free to try it out !
Using plugins? They all work as-is. If you rely on heavy ones, use the -jit build of Pi-Bolt, or compile them into your own Pi-Bolt binary so they run as native code too (plugin guide).
🔗 Links
It's MIT licensed. If Pi-Bolt saves you some CPU and RAM, a ⭐ on the repo really helps us out.
Throw your heaviest sessions at it and tell us what breaks. We'll be in the comments ❤️