opensec-git/Pi-Bolt
⚡ Pi, the coding agent, compiled ahead of time to one native executable. 10× faster to start, 7× less CPU and 4.5× less memory than Pi on Node. Linux, macOS, Windows, ARM64 and Android (Termux).
What it solves
Pi-Bolt addresses the performance overhead of running the Pi coding agent on standard JavaScript runtimes like Node.js or Bun. By eliminating the need for just-in-time (JIT) compilation and parsing at launch, it significantly reduces startup time, memory usage, and CPU consumption, making the agent much faster and more responsive during long coding sessions.
How it works
Pi-Bolt is an ahead-of-time compiled version of the Pi agent. Instead of interpreting code at runtime, it converts all functions into optimized native machine code during the build process. It uses a prebuilt heap that maps directly from the executable at launch, ensuring that the application is ready to use almost instantly without the typical initialization delays.
Who it’s for
It is designed for developers who use the Pi coding agent and want a more efficient, lightweight, and high-performance experience. It is ideal for users on Linux, macOS, Windows, or Android (via Termux) who want to run the agent without managing Node.js or Bun installations.
Highlights
- Zero-setup execution: Runs as a single native executable with no external dependencies like Node.js or Bun.
- Drop-in compatibility: Fully compatible with existing Pi commands, settings, sessions, and extensions.
- High performance: Dramatically faster file operations and lower memory footprint compared to standard Pi installations.
- Cross-platform: Native support for Linux (x86-64/ARM64), macOS (Apple silicon), Windows (x64), and Android (Termux).
- Flexible integration: Works seamlessly with editors like Zed, VS Code, and Neovim via the Agent Client Protocol (ACP) and Model Context Protocol (MCP).
Related
- Project
- Project
- Project
- Project
- Project