hunch

Shell command generator powered by Apple Intelligence. Natural language in, actual command out. Runs entirely on-device — no cloud, no API keys.

On-device LLM macOS 26
$ brew tap es617/tap && brew install hunch

Click to copy. Requires macOS 26 Tahoe + Apple Silicon.

hunch demo — type a description, hit Ctrl+G, get the command

Three hooks, one tool

^G

Natural language to command

Type what you want, hit Ctrl+G. The buffer is replaced with the actual command. You inspect before running.

?

Smart command-not-found

Typos get corrected, missing tools get install instructions, Linux commands get macOS equivalents. Instant for typos, sub-second for the rest.

!

Failure explanation

When a command fails, a one-line explanation appears in grey. No need to Google the exit code.

Examples

hunch find files changed in the last hour find . -mmin -60
$ ncdu not installed: brew install ncdu
$ grpe foo did you mean: grep
$ ip a macOS equivalent: ifconfig

How it works

You type "find files changed in the last hour" + Ctrl+G
FTS5 search 21k tldr examples → top 8 matches
Prompt system instruction + examples + your query
Apple 3B on-device, Neural Engine, ~0.5s
find . -mmin -60
~83%
Benchmark accuracy
0.5s
Average latency
0
Cloud dependencies

What gets installed

~/.local/bin/hunch ~1 MB Swift binary
~/.local/share/hunch/tldr_bank.db 4 MB FTS5 index
~/.local/share/hunch/hunch.zsh 2 KB zsh plugin