Who it is forA Pi Bolt user who relies on heavy extensions and wants them to run as compiled code.
The problemOn the default build, extensions loaded at run time are interpreted, which can slow down heavy work such as search or parsing.
The outcomeThe extensions installed on this machine are compiled into Pi Bolt and run as machine code, and new releases recompile them on update.
What you need first
- A supported system: Linux x86-64 or ARM64 with glibc 2.17 or later, macOS 13 or later on Apple silicon, Windows 10 (1809) or later on x64, or Android in Termux
- A terminal and a project folder to run it in
- A provider account connected with /login, or a local model, as Pi uses
Steps
- Install Pi Bolt with the installer and confirm it runs with
pi-bolt. - Install the extensions you use every day with
pi-bolt install <package>. (inferred, check the README) - Run
pi-bolt compileto compile the installed extensions into Pi Bolt (Linux and macOS). - Run
pi-bolt updatelater, which compiles the extensions into each new release.
Prompt for your agent
In the repo opensec-git/Pi-Bolt, run pi-bolt compile on this Linux or macOS machine and report which extensions were compiled. Verify by running pi-bolt doctor and checking that the compiled extensions are listed.
Caveat. pi-bolt compile is listed for Linux and macOS only, and the default build's JIT-free mode means extensions that need bun:ffi require the separate JIT build.
Use this in your AI agent
Ask your agent
Using the Deduped MCP, get the setup steps for opensec-git/Pi-Bolt and "Compile your daily Pi extensions into Pi Bolt"
Add Deduped to Claude Code once
claude mcp add --transport http deduped https://dedupedai.com/mcp
Every Monday: the 5 hottest repos and exactly how to use them. Free, one email a week, unsubscribe anytime.
Get them freeShare: X LinkedIn Hacker News Email Copy link
Third-party repos we don't own. AI-written use cases can be wrong. Disclaimer