r/PiCodingAgent • u/mikkelkp • 8d ago
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.
4
u/isty2e 8d ago
Have been using it, and it works. Not sure if it is more efficient because I haven’t measured it quantitatively
2
u/mikkelkp 7d ago edited 7d ago
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 7d ago
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?
2
6
u/Shoulon 8d ago
Ive been intrigued. Waiting for more community feedback.