fzf
$ fzf Community Low Riskfzf is the ubiquitous interactive fuzzy finder for humans in terminal workflows. Because default fzf opens an interactive TTY UI (and supports --preview shell hooks), agents must only invoke fzf --filter <query> or prefer rg/fd directly.
brew install fzf Fuzzy line filtering belongs in shell pipes via fzf --filter; exposing an interactive TUI picker over MCP makes no sense.
Agent-Readiness Checklist
Static evaluation (not yet probed on this host). Run npm run data:probe locally to capture live verification.
FCRS-1.0 6-Dimension Breakdown
Interactive TUI is the default behavior and hangs headless agents unless --filter (-f) is explicitly passed; lacks --json.
- Requires
--filterfor non-interactive stdout execution; no--jsonoutput
Read-only in --filter mode, though --preview / --bind options can execute arbitrary shell commands.
- Supports
--previewshell execution if configured viaFZF_DEFAULT_OPTS
Single Go binary available everywhere via brew, apt, go install, and GitHub releases.
- Static Go binary for macOS, Linux, and Windows
Built primarily for human interactive selection; agents gain limited value over fd + rg.
- Fuzzy ranking is occasionally useful via
--filteron short lists
Actively maintained by Junegunn Choi with massive developer adoption.
- Highly active OSS project under MIT license
Extensive README, wiki, and man page documenting --filter and environment variables.
- Detailed man page and GitHub documentation
Security, Auth & Guardrails
None required; operates on stdin streams or local directory walk.
100% free, offline, and open-source (MIT).
# fzf Agent Rules - NEVER invoke `fzf` without `--filter <query>`; interactive mode expects `/dev/tty` and hangs headless shells. - Prefer exact filters (`rg`, `fd`, `jq`) over fuzzy ranking whenever deterministic matches are needed.
Agent-Ready Command Recipes
Safe Read-Only Queries
fd -t f | fzf --filter="authsvc"
Ranks and prints fuzzy-matched lines immediately using --filter without opening a TTY UI.
Strengths for Agents
- + Fast
--filterbatch mode allows non-interactive fuzzy ranking over stdin streams. - + Zero-dependency Go binary packaged on nearly every OS.
Caveats & Pitfalls
- ! Default invocation launches an interactive TTY UI that blocks or fails in agent shells.
- ! Inherits
FZF_DEFAULT_OPTSfrom user shells, which can inject unwanted flags or--previewcommands.