AI Agent Hub
Back to plugins
snapgrep preview

snapgrep

Model Inference Updated 2026.08.15

Run the following command in DeepSeek Harness:

dsh plugin install Owen718/snapgrep

Paste the following prompt into your AI chat to install this plugin:

To install snapgrep in DeepSeek Harness, run the command: dsh plugin install Owen718/snapgrep, with the full source code address at https://github.com/Owen718/snapgrep.

About this plugin

Coding agents often suffer performance bottlenecks when searching large codebases, as traditional tools like ripgrep read every file on disk repeatedly, introducing latency. snapgrep addresses this by embedding a trigram index directly in the agent's process, eliminating the need for sidecar daemons. It delivers 40-70x faster searches than ripgrep while ensuring byte-perfect correctness against ripgrep results, and seamlessly replaces built-in grep and glob commands. Designed for developers using Pi, oh-my-pi, or DeepSeek Harness environments, snapgrep is ideal for AI coding assistants that require real-time, frequent search capabilities. Its lightweight, in-process approach provides speed without the overhead of external process management, making searches both efficient and reliable.

Screenshots

Use Cases

  • Quickly locate symbols or functions in large code repositories.
  • Accelerate searches when programming agents perform real-time code analysis.
  • Replace built-in grep tools to enhance development environment performance.

Best For

  • Developers using Pi, oh-my-pi, or DeepSeek Harness.
  • Engineers building or optimizing AI coding assistants.
  • Software developers needing efficient code search tools.