Skip to main content

CtxVault is a local-first knowledge vault that indexes your documents, generates embeddings, and enables fast semantic search via CLI or API. Designed for personal knowledge bases, RAG pipelines, and AI agents.

Project description

CtxVault

Local semantic search vault for LLMs.

CtxVault lets you index documents locally, generate embeddings, and query them with semantic search.
Designed as a lightweight RAG backend for agents, scripts, and LLM workflows.

Why CtxVault

  • 100% local (no cloud, no data sharing)
  • simple CLI
  • works offline
  • persistent vector store (Chroma)
  • file-based workflow
  • agent/API ready (future)

Ideal for:

  • personal knowledge bases
  • private documents
  • local RAG pipelines
  • AI agents needing contextual memory

Install

Python 3.10+

pip install -e .

Quickstart

Initialize a vault:

ctxvault init ./my-vault

Index files or folders:

ctxvault index ./my-vault/docs

Query:

ctxvault query "what is project Orion?"

CLI Commands

init

Initialize a vault directory.

ctxvault init <path>

index

Index a file or directory.

ctxvault index <path>

query

Semantic search inside the vault.

ctxvault query "<text>"

delete

Remove a document from the vault.

ctxvault delete <path>

reindex

Reindex a document after changes.

ctxvault reindex <path>

list

List indexed documents.

ctxvault list

Privacy

All processing happens locally. No data is sent to external services.


Roadmap

  • CLI MVP
  • FastAPI server
  • sync and file watcher
  • multi-vault support

License

MIT

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

ctxvault-0.1.4.tar.gz (13.4 kB view details)

Uploaded Source

Built Distribution

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

ctxvault-0.1.4-py3-none-any.whl (14.4 kB view details)

Uploaded Python 3

File details

Details for the file ctxvault-0.1.4.tar.gz.

File metadata

  • Download URL: ctxvault-0.1.4.tar.gz
  • Upload date:
  • Size: 13.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.9

File hashes

Hashes for ctxvault-0.1.4.tar.gz
Algorithm Hash digest
SHA256 31cd048425bd3ad3ba2609ad1089ed528ce135cbd636a6cfce3bbc5f38b7ae15
MD5 8c4e3496c83ce018a6e6ab149b494336
BLAKE2b-256 afaecca193fee54d9bc3dafb5cdc8eaf038cf90dc8c4cd5d21d8ecbd13afcdbe

See more details on using hashes here.

File details

Details for the file ctxvault-0.1.4-py3-none-any.whl.

File metadata

  • Download URL: ctxvault-0.1.4-py3-none-any.whl
  • Upload date:
  • Size: 14.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.9

File hashes

Hashes for ctxvault-0.1.4-py3-none-any.whl
Algorithm Hash digest
SHA256 66657290baf3451861d878b40c9c996ffe887d8258cf1f586a08d7f8a5aa8d4e
MD5 4b738a7d6ba62099723bcf4c58da681f
BLAKE2b-256 7c37487aaee393c6cc43d11c0e3cfd6cae2831736e0487a99161e2cee17d0e46

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