A local BM25 index for your codebase β ranked results, instant queries, zero network calls.
grep finds strings. idx finds relevant code.
BM25 scoring with a filename-match bonus. Files whose names match your query always surface first.
Pre-built inverted index β no disk scanning at query time. Results arrive before grep opens its first file.
Everything runs locally. No telemetry, no cloud indexing, no data leaving your machine.
Narrow by extension (-e go) or path (-p internal/core). AND / OR with relaxation fallback.
File saved? Index updated. The background agent tracks every change β no manual syncs during development.
Files you open with idx read get a ranking boost in future searches β the index learns your workflow.
Requires a Git repository. No build tools needed.
One command. Works on macOS and Linux. No Go required.
Scans and indexes the full project once so searches are ready to go.
Keeps the index in sync as you edit files.
AND / OR logic, path and extension filters, results ranked by relevance.
From basic lookups to filtered, multi-term searches.
One command installs the idx skill in your editor. grep and rg calls are intercepted β your AI gets ranked, compact results instead of raw line dumps.
Install once per editor
idx skills install claude
idx skills install cursor
idx skills install copilot