Skip to content

TAITerminal AI Helper

A shell plugin for bash and zsh that learns the commands you actually run and suggests them as you type — no server, no daemon, no Python on your keystrokes. Everything runs on your machine, offline, stdlib only.

tai in action — the hint, the ranked list, the filesystem, a typo answered by the habit it shadows
sh
curl -fsSL https://raw.githubusercontent.com/mlibre/Terminal-AI-Helper/main/install.sh | bash

npm is a door to the same install: npm i -g terminal-ai-helper@latest --allow-scripts=terminal-ai-helper unpacks the same files and runs the same installer itself, and tai update knows an npm install and updates it from the registry — and retargets a plugin line an older install left behind.

Start with the keys, or read how it is built. Your history never leaves the machine — secrets and stray keys are filtered out before anything is stored — and tai uninstall removes the integration, the data, the wrapper and the ~/.tai checkout in one command.