GPU-accelerated RAG module for vaultspec vault search
Project description
vaultspec-rag - semantic search for a vaultspec-core workspace
vaultspec-rag is the semantic search companion to vaultspec-core, and the RAG in the name stands for retrieval-augmented generation - the pattern of pulling relevant snippets out of your own files so an agent can answer with grounded context. It indexes the markdown documents in your vault and the source code that sits beside them, then lets you search them by meaning rather than by exact keyword match. A query for "how do we handle file locks during indexing" finds a decision record that discusses concurrent writes and per-root locks, even though it never uses the word "indexing."
Requirements
- Python 3.13 or newer
- uv as the package manager
- An NVIDIA GPU with CUDA support
- About 3 GB of free GPU memory
- Linux or Windows
macOS, AMD GPUs, and Apple Silicon are not supported. For the reasoning behind the hardware floor, see the architecture overview.
Quickstart
uv add vaultspec-rag
uv run vaultspec-rag install
uv run vaultspec-rag index
uv run vaultspec-rag search "your question here"
The install step prepares the GPU build inside your project, index reads your vault and code into a local search index, and search returns ranked results for the query you pass. The first run is slower than later runs because of one-time model downloads. For a guided walkthrough against a real query, follow the getting started guide.
What's a vault?
A vault is a .vault/ directory of markdown files - research notes, architecture decision records, plans, and execution logs - that vaultspec-core creates and manages. If you don't have one yet, set one up there first.
vaultspec-rag adds exactly one capability on top of that: semantic search over the vault and the source code beside it. Vault creation, document templates, frontmatter validation, and the spec-driven workflow all stay in vaultspec-core.
Both packages live side by side in the same project. You can use vaultspec-core on its own without ever installing vaultspec-rag. vaultspec-rag without vaultspec-core has nothing to search.
Documentation
Getting started
- Getting started - install, index, and run your first query end to end.
- Installation - GPU build details, supported platforms, and recovery steps.
Daily use
- Search and index - run searches, refresh the index, and scope queries.
- Service mode - keep models warm in a background service for faster queries.
- MCP integration - expose search to Claude Code and other MCP clients.
- Automation - reindex on file changes and wire searches into scripts.
Reference
- CLI reference - every command, subcommand, and flag.
- Configuration - settings, environment variables, and defaults.
- Glossary - terms used across the docs and the codebase.
Concepts
- Architecture - how the index is built, why the GPU is required, and how the pieces fit together.
Support and help
File bugs and ask questions on the GitHub issue tracker.
A useful bug report includes your vaultspec-rag version, your operating system, your GPU model, the exact command you ran, and the full stderr output.
What changed
See the changelog for release notes and version history.
License
vaultspec-rag is released under the MIT License. See LICENSE for the full text.
Project details
Release history Release notifications | RSS feed
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 vaultspec_rag-0.2.13.tar.gz.
File metadata
- Download URL: vaultspec_rag-0.2.13.tar.gz
- Upload date:
- Size: 1.2 MB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: uv/0.11.18 {"installer":{"name":"uv","version":"0.11.18","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 |
52465411316219a705e3433ce9bcc26ea729e92b9cf7af5f1b2258ab077188c2
|
|
| MD5 |
b47240885b3cddc7a8d0106048e29d25
|
|
| BLAKE2b-256 |
afae8c7fe4624f84cd480b5084e91019be16ffc99cca5495230d540ab7349d4d
|
File details
Details for the file vaultspec_rag-0.2.13-py3-none-any.whl.
File metadata
- Download URL: vaultspec_rag-0.2.13-py3-none-any.whl
- Upload date:
- Size: 376.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: uv/0.11.18 {"installer":{"name":"uv","version":"0.11.18","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 |
31a26c7708cf73862af1db7fcbb77d4f1d3302044079c757a797b1cd73ee3999
|
|
| MD5 |
4f955b6dda34a6103661b20b389d2756
|
|
| BLAKE2b-256 |
6666ca202e1c60eac716eaa6c13609954768b8c6375d035e64d93f2bfa1c196e
|