Alphakdeps.io is experimental and evolving — the registry and packages may change or reset.
Toolkdeps asset

kdeps-tools-search_local

v1.3.0

Search for text patterns in local files using ripgrep. Returns matching files with a snippet, and (when the query is found) a match_id/line/revision - pass match_id to read_file to jump straight to that hit. Use for finding usages, patterns, or strings across the codebase. Requires: query (search term). path is the directory to search; leave it out to search every folder of the working project (its own and the search folders its card lists). Optional: glob (file pattern), limit (max results, default 3), index (rank results with the folder index); index also accepts fuzzy, maxDistance, indexDBPath and graphBoost.

set tools / shelf rag

LLM context: ~391 tokens when loaded (prompt or tool definition)

Where it runs

Part of the tools set, used in workflow and agent mode. What the model is told about each built-in tool: its description, usage notes and parameters. kdeps runs the tool itself.

  1. the agent loop builds the request
  2. the tool definitions are sent to the modeltools/search_local
  3. the model calls a tool
  4. kdeps runs it
  5. the result goes back to the model

Loaded by: kdeps (agent loop), /update, /settings, kdeps run, kdeps install, kdeps list, kdeps uninstall, kdeps update

In the code: kdeps (agent loop)agent.RegisterBuiltinToolsagent.definedAs

Install

A kdeps asset: installed with the first-run profile that includes its set, or the first time a command needs it, and updated without a new release.

kdeps install tools/search_local

Pin a version with kdeps install tools/search_local@<version>.

Contents

Search for text patterns in local files using ripgrep. Returns matching files with a snippet, and (when the query is found) a match_id/line/revision - pass match_id to read_file to jump straight to that hit. Use for finding usages, patterns, or strings across the codebase. Requires: query (search term). path is the directory to search; leave it out to search every folder of the working project (its own and the search folders its card lists). Optional: glob (file pattern), limit (max results, default 3), index (rank results with the folder index); index also accepts fuzzy, maxDistance, indexDBPath and graphBoost.

ParameterTypeDescription
fuzzybooleanFuzzy (Levenshtein) matching when index is true
globstringFile glob filter, e.g. '*.go', '*.py'
graphBoostbooleanRe-rank indexed results using the folder's reference/topic graph; requires index
indexbooleanBuild and use the folder's TF-IDF index for ranked search instead of a content walk
indexDBPathstringIndex database path; defaults to the folder's kdeps data dir
limitnumberMaximum number of results. Default: 3
maxDistancenumberMaximum edit distance for fuzzy matching. Default: 2
pathstringDirectory to search in (absolute path); omit to search all of the project's folders
query *stringSearch term or regex pattern
aliases:
  - grep
  - rg
  - ripgrep
  - search_files
  - find_in_files
  - codebase_search
  - grep_search

Versions

VersionPublishedStatus
1.3.010/21/2026active
1.2.010/17/2026active
1.1.010/16/2026active
1.0.010/11/2026active

Details

Author
kdeps
License
Apache-2.0
Latest Version
1.3.0
Published
10/11/2026

Tags

kdepstool