Skip to main content

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

Metadata

Release files for metamind-vault-rag 0.10.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for metamind-vault-rag 0.10.1
File Size Uploaded Provenance
metamind_vault_rag-0.10.1.tar.gz 220.0 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for metamind-vault-rag 0.10.1
File Interpreter ABI Platform
metamind_vault_rag-0.10.1-py3-none-any.whl Python 3 none any Details

Total release size: 285.7 kB

Release files / metamind_vault_rag-0.10.1.tar.gz

Download URL metamind_vault_rag-0.10.1.tar.gz
Size 220.0 kB
Tags Source
SHA-256 checksum
How to use checksums
895e469c1002c3aaca2a2d27b354e12a066ad089cf2b61aa40a5a043f9a1c36b
BLAKE2b-256 checksum
How to use checksums
5e61f5f4dad3f7b4d0e19e8690beb8e3d3267736b7d4db87ccfb632b78e4cd74
Upload date
Uploaded using Trusted Publishing?
What is 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}

Release files / metamind_vault_rag-0.10.1-py3-none-any.whl

Download URL metamind_vault_rag-0.10.1-py3-none-any.whl
Size 65.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
d8d19eb1cc66ff6f4070b49cbc16ea4bdfefd7e499afd68bea29fbfca8fcc783
BLAKE2b-256 checksum
How to use checksums
e3ed44eae86ea3585b6fb4c2f386103ce574848a5aefcaa9b507453be425ff86
Upload date
Uploaded using Trusted Publishing?
What is 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}

Security for metamind-vault-rag 0.10.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.10.1 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page