Atuin-style fuzzy history search for Pi
Press ↑ to search previous prompts with fuzzy matching. Backed by atuin DB + local JSONL.
pi install npm:pi-atuinOr from source:
git clone https://github.com/RealAlexandreAI/pi-atuin.git
cd pi-atuin && pi install .# Install atuin (if not already)
curl --proto '=https' --tlsv1.2 -LsSf https://setup.atuin.sh | sh
# Register / login
atuin register -u <username> -e <email>
# Install pi hook (tracks bash commands in atuin)
atuin hook install piWith this, pi prompts and bash commands sync bidirectionally to atuin DB. Search in either pi or your shell.
No setup needed. History stored in ~/.pi/agent/pi-history.jsonl.
- Press ↑ when your input is empty (or cursor is on the first line)
- Type to fuzzy-filter
- ↑↓ to navigate, Enter to select, Esc to cancel
All pi prompts are recorded automatically. Supports bash, zsh, and fish.
- History file permissions:
600(owner-only) - Max 1,000 entries, auto-trimmed
- Atuin calls use
execFile(no shell injection) - No hardcoded credentials or keys
MIT
Built for Pi Coding Agent. Inspired by atuin.