Skip to main content

GPU-accelerated semantic search for your docs and source code: hybrid dense + sparse RAG on a local Qdrant backend, served to Claude Code and other MCP clients.

Project description

vaultspec-rag logo

vaultspec-rag - semantic search for a vaultspec-core workspace

PyPI version Python 3.13+ License: MIT

vaultspec-rag is the semantic search companion to vaultspec-core. The RAG in the name stands for retrieval-augmented generation. That's 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. Search by meaning closes the vocabulary gap. A query for "how do we handle file locks during indexing" finds a decision record about 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 sync
uv run vaultspec-rag index
uv run vaultspec-rag search "your question here"

install configures the GPU PyTorch build and provisions the search models and the managed Qdrant server. uv sync then fetches the GPU PyTorch build. The first run is slower because of one-time model downloads.

For repeat use, start the server-backed service first - see the getting started guide for the full walkthrough.

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 - the GPU build, dependency provisioning, and recovery steps.

Daily use

Reference

Concepts

  • Architecture - how it works, why a GPU is required, and why the service is server-first.
  • Indexing - indexing and retrieval internals.

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

vaultspec_rag-0.2.22.tar.gz (2.1 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

vaultspec_rag-0.2.22-py3-none-any.whl (688.7 kB view details)

Uploaded Python 3

File details

Details for the file vaultspec_rag-0.2.22.tar.gz.

File metadata

  • Download URL: vaultspec_rag-0.2.22.tar.gz
  • Upload date:
  • Size: 2.1 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.11.23 {"installer":{"name":"uv","version":"0.11.23","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

Hashes for vaultspec_rag-0.2.22.tar.gz
Algorithm Hash digest
SHA256 b3c3c7dc0741d3283ee0d24387b843786c09536f50342169d9c673cd5ce971c2
MD5 026f6faac7d144dfddc577bf51f8ce5f
BLAKE2b-256 d27711fefd53d2766e2b357181d95084ab2f306509b64f77eeafc540354b217e

See more details on using hashes here.

File details

Details for the file vaultspec_rag-0.2.22-py3-none-any.whl.

File metadata

  • Download URL: vaultspec_rag-0.2.22-py3-none-any.whl
  • Upload date:
  • Size: 688.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.11.23 {"installer":{"name":"uv","version":"0.11.23","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

Hashes for vaultspec_rag-0.2.22-py3-none-any.whl
Algorithm Hash digest
SHA256 a84c2de7a8ec434bb3e4ae8a3b0c6c093b8d3a2ac4d3490922101d71a58b4151
MD5 48490de2650f1259c80a10960308193d
BLAKE2b-256 d7b9aa50e6d38b0f64c6bf2ff321fdef63eb4137ad293a7af11e400b7fc98e38

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page