metamind-vault-rag
A retrieval engine for a directory of markdown. It watches files, indexes them incrementally, and answers hybrid search queries over them.
Vectors live in sqlite-vec, keywords in SQLite FTS5, and the two are fused with reciprocal rank fusion. Embeddings run in-process through fastembed's ONNX models, so there is no server to stand up and no API key to hold. An optional cross-encoder rescore tier is available through the rerank extra.
Install
uv tool install metamind-vault-rag
Entry points
| Command | Purpose |
|---|---|
metamind-vault-rag-watcher |
Watch a directory and index changes |
metamind-vault-rag-indexer |
One-shot full reindex |
metamind-vault-rag-http |
Loopback HTTP search API |
metamind-vault-rag-server |
stdio MCP server |
metamind-vault-rag-doctor |
Environment and index diagnostics |
Configuration
| Variable | Meaning |
|---|---|
VAULT_PATH |
Directory to index |
VAULT_COLLECTION |
Collection name, which scopes the index files |
VAULT_HTTP_PORT |
Port for the loopback search API |
VAULT_STATE_DIR |
Where indexes, caches and logs are written. Defaults to ~/.vault-rag |
Indexes are written to the state directory, named after the collection, and are never placed inside the corpus. Two clients pointed at different collections, or different state directories, coexist on one machine without either knowing about the other.
Consumers
Installed by any client that wants retrieval without running a service. The engine holds no opinion about who is asking: it names no client in its output, its environment variables are all VAULT_-prefixed, and it writes nothing outside the state directory.
Development
uv run --extra dev pytest
A client can be pointed at a working copy instead of a release with uv tool install --from /path/to/this/repo metamind-vault-rag.
Licence
MIT
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file metamind_vault_rag-0.10.1.tar.gz.
File metadata
- Download URL: metamind_vault_rag-0.10.1.tar.gz
- Upload date:
- Size: 220.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via:
uv/0.12.5 {"installer":{"name":"uv","version":"0.12.5","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
895e469c1002c3aaca2a2d27b354e12a066ad089cf2b61aa40a5a043f9a1c36b
|
|
| MD5 |
ef1e7824958f4dd34bb5fe1a54d22c88
|
|
| BLAKE2b-256 |
5e61f5f4dad3f7b4d0e19e8690beb8e3d3267736b7d4db87ccfb632b78e4cd74
|
File details
Details for the file metamind_vault_rag-0.10.1-py3-none-any.whl.
File metadata
- Download URL: metamind_vault_rag-0.10.1-py3-none-any.whl
- Upload date:
- Size: 65.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via:
uv/0.12.5 {"installer":{"name":"uv","version":"0.12.5","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d8d19eb1cc66ff6f4070b49cbc16ea4bdfefd7e499afd68bea29fbfca8fcc783
|
|
| MD5 |
df603ed990705878dff5a4ba22706b67
|
|
| BLAKE2b-256 |
e3ed44eae86ea3585b6fb4c2f386103ce574848a5aefcaa9b507453be425ff86
|