2026-11-27 16:19 UTC

Pi-Bolt packages the Pi coding agent as a cross-platform native executable

state: expiredheat: mediumuncertainty: mediumrelevance: mediumpi-coding-agent native-executable local-coding-agentsOpenSec

What is this?

OpenSec’s Pi-Bolt is an independent, MIT-licensed build of the Pi coding agent, distributed as a native executable for Linux, macOS, Windows and Android via Termux. Its repository says it retains Pi’s commands, settings, providers and extensions while compiling code ahead of time; it reports lower startup time, CPU use and memory than Pi running on Node or Bun. These are project-reported benchmarks, not independently verified in the supplied sources. The project notes that it is not affiliated with Pi’s authors or Bun’s maintainers.

Why it matters

Pi-Bolt is a practical packaging and runtime experiment, not a new coding model: it aims to make the Pi agent quicker to launch and less resource-intensive while keeping its familiar setup and extensions. If the project’s benchmarks hold up in independent testing, it could make Pi more appealing on constrained machines or in longer sessions. The large speedup for writing a file is a project-reported benchmark, not evidence that the agent writes code or completes tasks 120 times faster overall.

Current assessment

OpenSec’s Pi-Bolt 1.0.0 packages the Pi coding agent as a native executable for Linux, macOS, Windows and Android via Termux. Its repository says it preserves Pi’s commands, sessions, settings, providers and extensions, and describes an ahead-of-time compilation approach built on Bun and JavaScriptCore. The project reports cross-platform improvements in startup time, CPU and memory compared with Pi 1.4.0 on Node 24 or stock Bun. For example, its Linux x86-64 table reports 41 ms to become ready versus 423 ms on Node 24, and 117 MB versus 521 MB after 40 prompts; a 400 KB file-writing benchmark is 1.2 seconds versus 143.7 seconds. These are maintainer-run results against a local model, with different runner conditions across platforms; no independent validation is supplied. The file-writing result measures this particular tool-call benchmark, not general coding-agent quality or end-to-end task speed. The default build interprets runtime-loaded extensions; the project offers a JIT variant for heavier plugins and says extensions can also be compiled in. Pi-Bolt is an independent fork, not affiliated with Pi’s authors or Bun’s maintainers. Useful for Pi users who value lower resource use or fast startup, but users should check extension compatibility and benchmark on their own workloads before switching.

Measured heat

no measured readings yet — the hourly heat pass fills this in

How the heat travelled

10-24 04:27 (minted)⭐ origin echo-reconstructedPi-Bolt packages the Pi coding agent as a native executable for Linux, macOS, Windows, and Android via Termux; its repository reports faster
OpenSec on github (echo) · attributed from hn.story.50218338 · published time unknown
—
10-24 04:18first on hacker news · published · lag ?Pi, the coding agent, compiled ahead of time to one native executable
thunderbong
—
10-24 04:18amplified on hacker news 👑hn.story.50218338
thunderbong
peak 3 · 0 comments · 100% of case engagement
10-24 04:26our radar first saw it · lag ?discovery anchor: hn.story.50218338—

Evidence (2) — ⭐ canonical anchor

sourceobjectauthorscorecomments
🟧 hnPi, the coding agent, compiled ahead of time to one native executable
Retrieved article excerpt

Open article · Retrieved 2026-10-24T04:27:10.491892+00:00

[Pi-Bolt logo](https://github.com/opensec-git/Pi-Bolt)

# Pi-Bolt

**The [Pi](https://github.com/earendil-works/pi) coding agent, compiled ahead of time to native code.**  
One executable for Linux x86-64 and ARM64, macOS on Apple silicon and Windows x64.  
No JIT, no Node.js or Bun required.

[CI](https://github.com/opensec-git/Pi-Bolt/actions/workflows/ci.yml)
[Release](https://github.com/opensec-git/Pi-Bolt/releases/latest)
[npm](https://www.npmjs.com/package/pi-bolt)
[npm downloads](https://www.npmjs.com/package/pi-bolt)
[GitHub stars](https://github.com/opensec-git/Pi-Bolt/stargazers)
[The Pi release Pi-Bolt is built on](https://github.com/opensec-git/Pi-Bolt/blob/pi-bolt/sources.json)
  
[Linux x86-64](https://github.com/opensec-git/Pi-Bolt#requirements)
[macOS Apple silicon](https://github.com/opensec-git/Pi-Bolt#requirements)
[Windows x64](https://github.com/opensec-git/Pi-Bolt#requirements)
[MIT license](https://github.com/opensec-git/Pi-Bolt/blob/pi-bolt/LICENSE)

[**Install**](https://github.com/opensec-git/Pi-Bolt#quick-start) ·
[**Benchmarks**](https://github.com/opensec-git/Pi-Bolt#benchmarks) ·
[**Docs**](https://github.com/opensec-git/Pi-Bolt#documentation) ·
[**Website**](https://pi-bolt.opensec.in)

Pi-Bolt is the Pi you already use, with the same commands, sessions, settings, providers and extensions, but every function is
compiled to machine code when the executable is built, so nothing is parsed or JIT-compiled at launch. Against Pi as released on
Node 24, it writes a 400 KB file 120 times faster, uses 8 times less CPU while a long answer streams, 7 times less over a session
and a quarter of the memory; against Pi on stock Bun, much the same.

[Pi-Bolt 1.0.0 against Pi 1.4.0 as released, Linux x86-64: writing a 400 KB file 120 times faster than on Node 24 (162 times than on Bun), 8 times less CPU while a long answer streams, 7.1 times less CPU over an interactive session, 4.5 times less memory after 40 prompts](https://github.com/opensec-git/Pi-Bolt/blob/pi-bolt/docs/images/pi-bolt-benchmarks.png)

[Pi-Bolt 1.0.0 against Pi 1.4.0 as released on Node 24 and on Bun, on Linux x86-64, Linux ARM64, macOS and Windows: 61 to 162 times faster writing a 400 KB file, 4.8 to 17 times less CPU streaming a long answer, 5.3 to 8.8 times less CPU per prompt, 5.9 to 7.1 times less CPU over a session, 2.5 to 15 times less memory, 3.8 to 11 times sooner ready to type](https://github.com/opensec-git/Pi-Bolt/blob/pi-bolt/docs/images/pi-bolt-every-platform.png)

pi-bolt-v5-github.mp4

[
](https://private-user-images.githubusercontent.com/72255307/682885984-d043eb7d-ecb2-4837-a3ee-cbd98079adf9.mp4?jwt=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3OTI4MTYzMjksIm5iZiI6MTc5MjgxNjAyOSwicGF0aCI6Ii83MjI1NTMwNy82ODI4ODU5ODQtZDA0M2ViN2QtZWNiMi00ODM3LWEzZWUtY2JkOTgwNzlhZGY5Lm1wND9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNjEwMjQlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjYxMDI0VDA0MjcwOVomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWJhNmJhNTk1ZjRhMDFkNGI4NjE2YzA0Njc4MTBkNzcwNjA5MDM0MDlkYTQxNGEyZTc4N2M5YTJiZDNkZWFmZTQmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JnJlc3BvbnNlLWNvbnRlbnQtdHlwZT12aWRlbyUyRm1wNCJ9.W-wvO7Ziqb2F_XxXfIziH7BFBqiec09UDBwxGoEXvvg)

## Why Pi-Bolt

|  | Pi on Node 24 | Pi‑Bolt |
| --- | --- | --- |
| Ready to type | 423 ms | **41 ms** 10× sooner |
| Writing a 400 KB file through a tool call | 143.7 s | **1.2 s** 120× faster |
| CPU while a long answer streams | 18.6 s | **2.3 s** 8× less |
| CPU per prompt, 40 prompts into a session | 352 ms | **46 ms** 7.7× less |
| Memory after 40 prompts | 521 MB | **117 MB** 4.5× less |

Pi-Bolt 1.0.0 against Pi 1.4.0 as released, Linux x86-64, one CPU. Every platform: [Benchmarks](https://github.com/opensec-git/Pi-Bolt#benchmarks).

- **Nothing to install first:** one executable; no Node.js, Bun or npm to run it.
- **The same Pi:** same commands, sessions, settings and providers; every Pi extension works unchanged.
- **Long sessions stay fast:** a frame costs about the same with 4,000 messages as with none, and typing stays responsive.
- **Everywhere:** Linux x86-64 and ARM64 (Android too, in Termux), macOS on Apple silicon, Windows x64.

## Quick start

**Linux, macOS, Android (Termux)**

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

**Windows** (PowerShell)

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

Or:

- Command Prompt: `powershell -c "irm https://pi-bolt.opensec.in/install.ps1 | iex"`
- npm: `npm install -g --allow-scripts=pi-bolt pi-bolt`
- Bun: `bun add -g --trust pi-bolt`
- Arch Linux: the community AUR package
  [`pi-bolt-avx2-bin-release-git`](https://aur.archlinux.org/packages/pi-bolt-avx2-bin-release-git) (the x86-64 AVX2 build,
  signature checked), `paru -S pi-bolt-avx2-bin-release-git`

Then, in your project:

```
pi-bolt                         # start
pi-bolt update                  # install the latest release
pi-bolt update --rollback       # put back the build it replaced
pi-bolt update --channel beta   # take pre-releases too
```

New to Pi? Run `/login` to connect a provider. Your Pi configuration in `~/.pi/agent` is used as is. Pi-Bolt installs next to Pi as `pi-bolt`, so both can stay installed;
running the installer again updates, reinstalls or uninstalls it.

**Optional extensions the installer offers**

The installer verifies the release signature and offers three optional extensions by OpenSec:

- [`opensec-pi-subagents`](https://www.npmjs.com/package/opensec-pi-subagents): specialized agents in separate sessions,
  parallel workflows and scheduled jobs.
- [`opensec-pi-todo`](https://www.npmjs.com/package/opensec-pi-todo): a todo list for the model, shown as a live panel above the
  editor.
- [`opensec-pi-fff`](https://www.npmjs.com/package/opensec-pi-fff): pi-fff's fast fuzzy find, grep and `@`-mentions, at full
  speed on the default build.

**JIT build, for heavy plugins**

The default build has no JIT: Pi's own code is compiled machine code, and an extension loaded at run time is interpreted. Light
extensions don't notice. For extensions that do heavy work (search, parsing) or use `bun:ffi`, install the JIT build. Pi itself
stays compiled, so it is within about 5% of the default.

```
# macOS, Linux ARM64, Termux
curl -fsSL https://pi-bolt.opensec.in/install.sh | PIBOLT_VARIANT=arm64-jit sh
# Linux x86-64
curl -fsSL https://pi-bolt.opensec.in/install.sh | PIBOLT_VARIANT=x64-jit sh
```

On Windows, run `$env:PIBOLT_VARIANT = "x64-jit"` before the PowerShell command. With npm, keep `PIBOLT_VARIANT` set in your
shell profile; it is read on every run. `pi-bolt --version` then ends in `JIT on`, and `pi-bolt update` keeps the build you
chose.

On the default build, an extension that needs the JIT (it calls into a native library through `bun:ffi`) fails with a line that
names the extension and gives the command that switches to the JIT build.


**Manual download**

Download a build from the [latest release](https://github.com/opensec-git/Pi-Bolt/releases/latest), check it against
`SHA256SUMS`, unpack it and run `./pi` (on Windows, `pi-bolt.exe`).

| Download | For |
| --- | --- |
| `pi-bolt-linux-x64.tar.xz` | **Linux**, CPUs with AVX2 (Intel Haswell, AMD Zen and later) |
| `pi-bolt-linux-x64-baseline.tar.xz` | Linux, any x86-64 CPU |
| `pi-bolt-linux-arm64.tar.xz` | **Linux** ARM64, any 64-bit ARM CPU (Raspberry Pi 3 and later, AWS Graviton, Ampere) |
| `pi-bolt-darwin-arm64.tar.xz` | **macOS**, Apple silicon |
| `pi-bolt-win32-x64.zip` | **Windows** x64; compiled code on CPUs with AVX2, bytecode on others |

`-jit` builds are for heavy use of plugins loaded at run time; the runtime and kit archives are what `pi-bolt compile` builds
with ([compiling plugins in](https://github.com/opensec-git/Pi-Bolt/blob/pi-bolt/docs/PLUGINS.md)). In Termux, use the installer: it sets the executable's loader to Termux's glibc
([Android](https://github.com/opensec-git/Pi-Bolt#android-termux)).


**Android (Termux)**

In [Termux](https://termux.dev) from F-Droid or GitHub (the Google Play version has no glibc packages), run the same
`curl ... | sh` command. Pi-Bolt is a glibc program and Android's libc is not glibc, so the installer first installs Termux's
glibc (`pkg install glibc-repo && pkg install glibc`, after asking), sets it as the executable's loader, and links `pi-bolt`
into `$PREFIX/bin`.

`pi-bolt` is a small launcher that starts Pi-Bolt in Android's time zone and without Termux's `LD_PRELOAD` (a library of
Android's libc, which glibc cannot load); the programs Pi-Bolt starts get it back. The installer copies Termux's `resolv.conf`
and `hosts` to `$PREFIX/glibc/etc`, where Termux's glibc reads them.


**Requirements**

- **Linux** x86-64 or ARM64 with glibc 2.17 or later (Ubuntu 20.04+, Debian 11+, RHEL/Rocky 8+, Amazon Linux 2, Raspberry Pi
  OS 64-bit). musl is not supported.
- **Android** 7 or later on 64-bit ARM, in Termux.
- **macOS** 13 or later on Apple silicon. Install with the installer or npm
  ([Troubleshooting](https://github.com/opensec-git/Pi-Bolt/blob/pi-bolt/docs/TROUBLESHOOTING.md#macos)).
- **Windows** 10 (1809) or later, or Windows 11, on x64. Install with the installer or npm; for problems, see
  [Troubleshooting: Windows](https://github.com/opensec-git/Pi-Bolt/blob/pi-bolt/docs/TROUBLESHOOTING.md#windows).
- Windows on ARM64 runs the x64 build, in Windows 11's x64 emulation.

## Features

- **Editors:** `pi-bolt --acp` runs Pi-Bolt in the agent panel of Zed, JetBrains IDEs, VS Code, Neovim and other
  [ACP](https://agentclientprotocol.com) editors, with your Pi settings, extensions, skills and sessions. [Setup](https://github.com/opensec-git/Pi-Bolt/blob/pi-bolt/docs/ACP.md)
- **Other agents:** `pi-bolt --mcp` is an [MCP](https://modelcontextprotocol.io) server; other agents give Pi-Bolt a task with
  its `prompt` tool and continue the session in later calls. [Setup](https://github.com/opensec-git/Pi-Bolt/blob/pi-bolt/docs/MCP.md)
- **Built-in search:** the `grep` and `find` tools are on by default and search in-process, following `.gitignore`, with
  nothing to install. With [`opensec-pi-fff`](https://www.npmjs.com/package/opensec-pi-fff) or `@ff-labs/pi-fff` loaded,
  FFF's search tools are used instead.
- **Compiled plugins:** `pi-bolt compile` compiles the extensions installed on this machine into your Pi-Bolt (Linux and macOS)
  with the release's own compiler, where they run as machine code; `pi-bolt update` compiles them into each new release.
  [Plugins](https://github.com/opensec-git/Pi-Bolt/blob/pi-bolt/docs/PLUGINS.md)
- **Doctor:** `pi-bolt doctor` prints a plain-text report of your installation to paste into an issue. [Details](https://github.com/opensec-git/Pi-Bolt#pi-bolt-doctor)
- **Updates:** `pi-bolt update` installs the latest release, and `--rollback` puts back the build it replaced.
- **Herdr:** Pi-Bolt shows its state in a [Herdr](https://herdr.dev) pane, and a Herdr restart reopens the conversation.
  [Details](https://github.com/opensec-git/Pi-Bolt#herdr)
- **ARM64 and Android:** Linux ARM64 builds, and the same installer in Termux. [Android](https://github.com/opensec-git/Pi-Bolt#android-termux)

Pi extensions work unchanged. The default build has no JIT, so an extension loaded at run time is interpreted; compile the ones
you use every day into Pi-Bolt with `pi-bolt compile`, or use the [JIT build](https://github.com/opensec-git/Pi-Bolt#jit-build-for-heavy-plugins).

**Setup in Zed and Claude Code**

In Zed's `settings.json` ([other editors](https://github.com/opensec-git/Pi-Bolt/blob/pi-bolt/docs/ACP.md)):

```
"agent_servers": {
  "Pi-Bolt": { "type": "custom", "command": "/full/path/to/pi-bolt", "args": ["--acp"], "env": {} }
}
```

In Claude Code ([other clients](https://github.com/opensec-git/Pi-Bolt/blob/pi-bolt/docs/MCP.md)):

```
claude mcp add pi-bolt -- /full/p
thunderbong30
🟧 echo.github ⭐Pi-Bolt packages the Pi coding agent as a native executable for Linux, macOS, Windows, and Android via Termux; its repository reports fasterOpenSec——

Interpretation history

Decision trace