ripgrep-all
$ rga Community Low Riskripgrep-all (rga) extends ripgrep with pluggable adapters to search inside PDFs, .docx/.xlsx/.pptx, EPUBs, compressed archives, SQLite databases, and media subtitles. It passes through --json, --color=never, and ripgrep flags while caching extracted text locally.
brew install ripgrep-all Direct rga --json searches local binary documents and archives directly without loading an MCP server.
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
Inherits ripgrep's --json JSON Lines output, --color=never, non-interactive execution, and exit codes.
- Passes
--jsonand standardrgflags toripgrep - Non-interactive adapter pipeline with
--rga-adapterscontrol
Read-only search over documents, though it invokes external adapter binaries (e.g., pdftotext, ffmpeg) and writes an extracted-text cache unless --rga-no-cache is set.
- Never modifies target files
- Caches extracted text locally under
~/.cache/rgaby default
Available via brew install ripgrep-all and cargo install ripgrep_all, but requires rg plus optional external tools (poppler, pandoc, ffmpeg) for full format support.
- Depends on
ripgrepand format-specific helper binaries on PATH
Unlocks full-text regex search across PDFs, Office files, archives, and SQLite DBs in one command.
- Replaces ad-hoc Python/pdftotext extraction loops
Popular community Rust project maintained by phiresky under AGPL-3.0-or-later.
- Active
phiresky/ripgrep-allGitHub repository
Clear README and --help covering adapters, caching, and rg flag passthrough.
- Adapter list and examples documented in README and
--rga-list-adapters
Security, Auth & Guardrails
None required; caches extracted plain text in ~/.cache/rga unless --rga-no-cache is passed.
100% free, offline, and open-source (AGPL-3.0-or-later).
# ripgrep-all (rga) Agent Rules - Pass `--json` (inherited from `rg`) and `--rga-no-cache` if searching sensitive documents you should not cache on disk. - Scope searches to targeted directories and disable unneeded slow adapters with `--rga-adapters=-...`.
Agent-Ready Command Recipes
Safe Read-Only Queries
rga --json "quarterly revenue" ./reports
Extracts text from supported documents via adapters and emits ripgrep-compatible JSON Lines matches.
rga --rga-accurate --rga-adapters=-sqlite --json "token" ./artifacts
Detects file formats via --rga-accurate content inspection while disabling the SQLite adapter.
Strengths for Agents
- + Inherits
ripgrep's--jsonstructured output across PDFs, Office docs, archives, and SQLite. - + Local caching speeds up repeated queries over large document folders.
Caveats & Pitfalls
- ! Requires
ripgrep(rg) and external helpers likepdftotextorffmpegfor certain adapters. - ! By default caches extracted document text in
~/.cache/rga; pass--rga-no-cachefor sensitive files.