Observed since 21 Oct, 10:43 UTC
No superseded metadata states collected. Unchanged observations do not create new revisions.
⚡ Fast, beautiful AI CLI wrapper around modern coding harnesses for Unix pipelines
Lightweight, fast terminal AI wrapper around modern coding harnesses with Rich markdown and math rendering.
Wraps fast headless AI harnesses (pi, omp, claude, codex, copilot, opencode, fx) for everyday queries and Unix pipelines.

pi, omp, claude, codex, copilot, opencode, or fx.ai --wizard to inspect detected harnesses and choose your default.ai what is the biggest object on earth directly.--no-tools for plain answers.ai do — natural language → one shell command, confirm [Y/e/n] before it runs.ai commit — Conventional Commit message from your staged diff, matching your repo's style.ai explain — make 2>&1 | ai explain tells you what broke and how to fix it.-f 'src/**/*.py' — attach files by glob as context.-c / --copy — copy the answer (or just its code block) to the clipboard..ai.md in a project + ~/.config/ai/context.md, injected automatically.ai log — fuzzy-search past sessions with fzf and a live preview.--json — machine-readable output for scripts.Ctrl+G, get the command.yay -S ai-flow-cli
# or paru:
paru -S ai-flow-cli
misemise use -g pipx:ai-flow-cli
# or via python backend:
mise use -g pip:ai-flow-cli
pip / pipx / uv)# Standard pip install:
pip install --user ai-flow-cli
# Isolated global CLI with pipx:
pipx install ai-flow-cli
# Fast install with uv:
uv tool install ai-flow-cli
curl -sSL https://raw.githubusercontent.com/Codder13/ai-flow-cli/main/install.sh | bash
Run the interactive wizard to detect installed harnesses and set your preferred default:
ai --wizard
If no config exists yet, ai automatically prompts the wizard on first run when interactive, or picks the first detected harness (pi -> omp -> claude -> ...).
No quotes needed:
ai explain what is eBPF in 3 bullet points
Use -a or --agent (or --harness) to override your default agent harness for a single query:
ai -a claude explain why rust ownership works this way
ai -a omp write a bash script to backup my dotfiles
-H / --handoff)When a terminal query evolves into a deeper interactive agent session, hand off your entire conversation context to a full harness TUI:
# Handoff current context to default or specified harness TUI
ai -H
ai -H omp
ai -H claude "Fix all broken unit tests across the whole workspace"
By default, queries run with tool execution enabled so the AI can inspect files and run commands. Pass --no-tools (or -nt) to prevent the AI from accessing tools:
ai check git status and run tests
ai --no-tools "explain how quicksort works"
When piped, ai preserves standard Unix conventions:
git diff | ai explain these changes
cat error.log | ai "what caused this panic?"
curl -s https://example.com | ai summarize this page
Output is automatically raw and unformatted when redirected to a pipe or file:
ai "generate a python regex for uuid4" > regex.txt
ai doai do find files over 100MB in my home
# $ find ~ -type f -size +100M -exec ls -lh {} +
# Run it? [Y/e/n]
e lets you edit the command before running; executed commands land in your shell history.
ai do --print ... only prints the command (great for scripts).
ai commitgit add -p
ai commit # shows the message → [Y]es commit / [e]dit in $EDITOR / [n]o
ai commit --print # just print it
ai commit "mention the issue #12"
ai explaincargo build 2>&1 | ai explain
journalctl -u nginx -n 50 | ai explain "why won't it start?"
-f / --fileai -f 'src/**/*.luau' "where is player data saved?"
ai -f README.md -f pyproject.toml "is the install section accurate?"
Binary files are skipped; each file is capped at 200 KB (1 MB total).
ai -c "regex for an ipv4 address" # copies the code block (wl-copy/xclip/pbcopy)
ai --json "capital of France" | jq -r .response
A dim harness · model · 3.2s footer is shown on terminals. Hide it with AI_NO_FOOTER=1.
ai logai log # fzf picker with preview (plain list without fzf)
ai log rojo # only sessions mentioning "rojo"
ai log -a --json # everything, as JSON
# ~/.zshrc
eval "$(ai --zsh)"
Type undo last git commit but keep changes, press Ctrl+G → the line becomes
git reset --soft HEAD~1. Review, then Enter. Change the key with AI_ZSH_KEY.
Settings are stored in ~/.config/ai/config.json:
{
"harness": "pi"
}
You can change it anytime via:
ai --wizard
Anything in these files is prepended to every prompt (skip with --no-context):
| File | Scope |
|---|---|
~/.config/ai/context.md | Always: who you are, your OS, preferences |
.ai.md (nearest, walking up from cwd, stops at $HOME) | Per project: conventions, stack, commands |
MIT
Download counts and popularity will appear here as the collector receives them.
| Version | Published | Direct dependencies | Open version |
|---|---|---|---|
| 0.13.0 | 10 Oct 2026 | 2 |
This describes our collected data; it is not a security assessment.
Observed since 21 Oct, 10:43 UTC
No superseded metadata states collected. Unchanged observations do not create new revisions.
package:ed39c7e623a9dcb141b24c292da9ec7a2faa60f19458056ce350a12363fa4c36