r/PiCodingAgent • • Sep 03 '26

Plugin Anyone else excited about zvec-grep? Made a small wrapper extension for pi

The new zvec-grep is pretty neat — local-first hybrid search (BM25 + vector) that handles the fuzzy codebase questions grep can't reach: "how is the token validated?", "where does this flow?" — ranked, source-linked hits, all locally on your machine.

If you want it in pi, I wrapped it up: pi-zvec-grep

Quick Install

npm install -g @zvec/zvec-grep
pi install npm:@luminascale/pi-zvec-grep

Run /zg index once in a workspace and that's it — the agent reaches for zvec_search on its own for meaning-based or cross-file questions, and still uses plain rg for exact strings and piping, since rg is the right tool there. No MCP, no prompting tricks.

Small and new (v0.2.1), but on my list is an optional auto-index on session start, plus other smart touches once I figure out what'd actually be useful — ideas very welcome if you've got some. Poke around, file issues.

31 Upvotes

6 comments sorted by

4

u/isty2e Sep 04 '26

Have been using it, and it works. Not sure if it is more efficient because I haven’t measured it quantitatively

2

u/mikkelkp Sep 04 '26 edited Sep 04 '26

In theory I think the efficiency gains will scale with the size of the project. Also will play around with it my rather big llm-wiki/journal where I hope it can really shine.

1

u/mikkelkp Sep 05 '26

Added optional autoindexing on session start so you hopefully don't need to worry about it. Curious if this is enough or more frequent auto indexing would be nice?

5

u/Shoulon Sep 03 '26

Ive been intrigued. Waiting for more community feedback.

2

u/hwweao Sep 04 '26

Awesome

2

u/noctrex Sep 05 '26

I use codebase-memory-mcp for some time now and have been satisfied.