veles-core
Core library for Veles — fast and accurate local code search for AI agents.
veles-core is the indexing and search engine. It walks a directory,
chunks source files, builds a BM25 inverted index plus a dense
model2vec-rs embedding index,
and serves hybrid queries with Reciprocal Rank Fusion. Tree-sitter is
used to extract symbols (functions, structs, classes, …) for
definition-level lookups.
use ;
use Path;
let index = from_path?;
let results = index.search;
for r in results
The on-disk index is persisted under <repo>/.veles/ and supports
incremental updates that reuse embeddings of unchanged files.
For end-user CLI documentation see the project README and USAGE.md.
License
MIT