Vera

•
102
•

Perform local code searches combining advanced retrieval techniques, parsing over 60 languages with tree-sitter, and providing structured, offline results.

Vera is an advanced, local-first code search tool built in Rust, designed to overcome limitations of existing solutions. It integrates BM25 keyword matching, vector similarity, and cross-encoder reranking into a robust retrieval pipeline. This unique approach, backed by extensive research and benchmarking, delivers significantly higher accuracy compared to vector retrieval alone. Vera provides a zero-dependency, single binary that parses over 60 languages using tree-sitter, runs entirely offline, and generates structured JSON output, making it highly efficient for developers and AI agents alike.

主要功能

01Cross-encoder reranking for superior search relevance and accuracy.
02Model-agnostic, local-first operation with optional GPU acceleration and custom model support.
0325 GitHub stars
04Zero-dependency, single static binary with 60+ tree-sitter grammars compiled in.
05Token-efficient, structured output (JSON or markdown codeblocks) including symbol metadata.
06High accuracy proven on real codebases (e.g., 0.80 nDCG@10) through advanced retrieval.

使用案例

01Quickly find specific code patterns, logic, or definitions across large local projects.
02Integrate with AI agents for enhanced code understanding, generation, and analysis.
03Identify code references, discover dead code, or gain project overviews and statistics.