Skip to content

Pi-Bolt 1.3.2

Latest

Choose a tag to compare

@github-actions github-actions released this 27 Nov 23:02
· 0 commits to 08b1fb342228974baaad5d408598de0192c3cd05 since this release
441f3b2

Pi-Bolt 1.3.2 is Pi 1.7.0 (and
1.6.1 before it) on 1.3.1, built ahead of time as before,
with an engine that keeps running when many workers are alive. What Pi 1.6.1 and 1.7.0 bring is in their release notes; in short:
program resume in terminals that support it, image generation from codemode, Copilot prompt caching across thinking and tool
changes, bash reporting why its full output could not be saved, and cache-miss notices split into four settings. The engine
changed, so the runtimes are new.

Changed

  • Pi 1.7.0: Pi-Bolt's changes are kept on top of it. Defaults follow Pi 1.7.0: the cache-miss notices are four settings
    (notices.cacheMisses, notices.cacheWarming, notices.compactionCosts, notices.reasoningDrops), all off, and an existing
    showCacheMissNotices is carried over to them; Pi sends no install report; first-time setup asks only about analytics; the
    default models of Mistral, Cloudflare, ant-ling and Qwen Token Plan Individual are the ones Pi 1.7.0 names. cacheWarming stays
    "streaming", and remote control stays off until you turn it on.
  • Startup profile: recorded for Pi 1.7.0, on macOS and Linux, with the prebuilt heap's order on Windows.

Fixed

  • Many workers at once: a process with many workers alive (codemode with a high PI_CODEMODE_MAX_WORKERS, for example) no
    longer stops at the 14th. Up to 29 realms (the main one and its workers) use the prebuilt heap on Linux and macOS; a worker
    started beyond that runs without it and works as any other.
  • Engine crash reports: an engine assertion prints its message, and a crash is reported with its report and exit status even
    while a JavaScript listener for SIGABRT (or another crash signal) is installed, as signal-exit installs one. Such a listener
    still receives the signals other processes send.
  • Workers that compile their own code no longer crash, rarely, when the process exits.

Measured on macOS on Apple silicon (an M5), 1.3.0 / 1.3.1 / 1.3.2, medians of 12 runs, builds interleaved:

Instructions CPU Peak memory
pi --version 56 / 56 / 56 M 5 / 5 / 5 ms 6 / 6 / 6 MB
pi -p (5 model turns), blank home 169 / 168 / 168 M 16 / 16 / 16 ms 19 / 19 / 19 MB
pi -p, typical home 189 / 187 / 187 M 17 / 17 / 17 ms 20 / 20 / 20 MB
pi -p, typical home with opensec-pi-subagents and opensec-pi-todo 501 / 500 / 500 M 47 / 46 / 47 ms 34 / 34 / 33 MB
Interactive, 5 prompts 434 / 425 / 425 M 80 / 80 / 80 ms 25 / 25 / 25 MB
60,000-character answer, per frame (6 runs) 1.25 / 1.25 / 1.25 M
Resuming a 2,292-entry session (pi -c, fullscreen), until the first frame 390 / 391 / 393 M 28 / 31 / 30 MB
4 codemode scripts at once (6 runs) 50,089 / 50,086 / 50,088 M 4,014 / 3,999 / 4,018 ms 39 / 39 / 39 MB
20 codemode scripts at once, PI_CODEMODE_MAX_WORKERS=51 (6 runs) stops / stops / 250,451 M stops / stops / 54,219 ms stops / stops / 141 MB

Measured on Linux x86-64 (an AMD EPYC 9355P, shared with other work), 1.3.0 / 1.3.1 / 1.3.2, medians of 12 runs, builds
interleaved:

CPU Peak memory
pi --version 4 / 5 / 4 ms 2 / 2 / 2 MB
pi -p (5 model turns), blank home 25 / 25 / 24 ms 15 / 15 / 15 MB
pi -p, typical home 25 / 25 / 25 ms 16 / 16 / 16 MB
pi -p, typical home with opensec-pi-subagents and opensec-pi-todo 61 / 63 / 60 ms 28 / 28 / 28 MB
Interactive, 5 prompts 83 / 83 / 83 ms 24 / 23 / 23 MB
60,000-character answer, per frame (6 runs) 0.40 / 0.40 / 0.39 ms
Resuming a 2,292-entry session (pi -c, fullscreen), until the first frame (6 runs) 43 / 44 / 44 ms 26 / 26 / 26 MB
4 codemode scripts at once (6 runs) 11,071 / 11,017 / 10,999 ms 32 / 32 / 33 MB
20 codemode scripts at once, PI_CODEMODE_MAX_WORKERS=51 (6 runs) stops / stops / 151,303 ms stops / stops / 113 MB

Peak memory is the physical footprint (macOS) or the private memory (Linux); for resuming, the footprint once drawing settles.
The three versions were measured together on the same day, so the absolute figures can differ from earlier notes. Each codemode
script runs 300,000 loop iterations and returns a checksum that the run checks; with 20 at once, 1.3.0 and 1.3.1 stop 25 to 61 ms
after launch in every run, before any script returns, and 1.3.2 finishes in 5.7 s (macOS) and 7.8 s (Linux). Against 1.3.1 no
measured row is slower beyond noise. Raw results and the scripts:
bench/results/2026-11-28-1.3.2.

Runtimes

Built by the runtime workflow (run 46061689873), run from
pi-bolt on 08b1fb342 of release/1.3.2 (runtime stamp 55c2a5e33d6295cb; the tag's commit has the same engine), each on its
platform's runner, tested there (tests/aot, tests/runtime) and attested; the release workflow checked those attestations and
packed the runtimes into the archives below, which it attests in turn: gh attestation verify <file> -R opensec-git/Pi-Bolt.

Runtime SHA-256
pi-bolt-runtime-linux-x64.tar.gz 89dd890282da45a2212ee3ac88a45bea5ba46c645a4a70d944e554565f658c78
pi-bolt-runtime-linux-x64-musl.tar.gz 2d53cb1cede32d60556208f3ed780418f61e693ac1a442d3378c0fb7fadd8cd5
pi-bolt-runtime-linux-arm64.tar.gz 9ad23e2ce18247a7b45bfa62eabf28b0d3d9e03f5067649861d14355cd9c8adc
pi-bolt-runtime-darwin-arm64.tar.gz 69dd12dc38981a60b5b5bdac6c82e5246410191e1106756bb0b6b506e268ab26
pi-bolt-runtime-win32-x64.zip b2e2b6a411b7a082a79ebfde927fff35e8d55d36ab4cb9c4a3be7da098c9f7f1

Install

curl -fsSL https://pi-bolt.opensec.in/install.sh | sh
irm https://pi-bolt.opensec.in/install.ps1 | iex
powershell -c "irm https://pi-bolt.opensec.in/install.ps1 | iex"

or pi-bolt update, or npm install -g --allow-scripts=pi-bolt pi-bolt, or bun add -g --trust pi-bolt, or:

  • Homebrew (macOS on Apple silicon, Linux): brew install opensec-git/tap/pi-bolt
  • Scoop (Windows): scoop bucket add opensec-git https://github.com/opensec-git/scoop-bucket, then scoop install opensec-git/pi-bolt
  • mise: github:opensec-git/Pi-Bolt with the options in the installation guide

The installer checks the release signature with OpenSSL 3, ssh-keygen (OpenSSH 8.1 or later), or an installed Pi-Bolt.
Every archive also has a GitHub build attestation: gh attestation verify <file> -R opensec-git/Pi-Bolt.

Asset For
pi-bolt-linux-x64.tar.xz / .tar.gz Recommended on Linux x86-64. CPUs with AVX2 (Intel Haswell 2013+, AMD Zen+).
pi-bolt-linux-x64-baseline.tar.xz / .tar.gz Any x86-64 CPU with SSE4.2.
pi-bolt-linux-x64-jit.tar.xz / .tar.gz JIT also on, for plugins loaded at run time.
pi-bolt-linux-x64-musl.tar.xz / .tar.gz Alpine Linux and other musl systems on x86-64 (AVX2). Needs libstdc++.
pi-bolt-linux-x64-musl-baseline.tar.xz / .tar.gz musl on any x86-64 CPU with SSE4.2.
pi-bolt-linux-x64-musl-jit.tar.xz / .tar.gz musl, JIT also on.
pi-bolt-linux-arm64.tar.xz / .tar.gz Linux on ARM64, any 64-bit ARM CPU; Android in Termux, with the installer.
pi-bolt-linux-arm64-jit.tar.xz / .tar.gz Linux on ARM64, JIT also on.
pi-bolt-darwin-arm64.tar.xz / .tar.gz macOS. Macs with Apple silicon, macOS 13 or later.
pi-bolt-darwin-arm64-jit.tar.xz / .tar.gz macOS, JIT also on.
pi-bolt-win32-x64.zip Windows. Windows 10 (1809) or 11 on x64; compiled code on AVX2 CPUs, bytecode on others.
pi-bolt-win32-x64-jit.zip Windows, JIT also on.
pi-bolt-runtime-linux-x64.tar.gz, pi-bolt-runtime-linux-x64-musl.tar.gz, pi-bolt-runtime-linux-arm64.tar.gz, pi-bolt-runtime-darwin-arm64.tar.gz, pi-bolt-runtime-win32-x64.zip The Pi-Bolt Bun runtime, for compiling plugins in.
pi-bolt-kit-linux-x64.tar.gz, pi-bolt-kit-linux-x64-musl.tar.gz, pi-bolt-kit-linux-arm64.tar.gz, pi-bolt-kit-darwin-arm64.tar.gz What pi-bolt compile builds with, besides the runtime.
install.sh, install.ps1 The installers, listed in the signed SHA256SUMS: pi-bolt update runs them only after checking them.

Linux x86-64 or ARM64 with glibc 2.17 or later; Alpine and other musl Linux on x86-64; Android 7 or later on 64-bit ARM, in Termux; macOS 13 or later on Apple silicon;
Windows 10 1809 or later, or Windows 11, on x64.