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.1.tar.gz (9.7 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.1-py3-none-any.whl (9.9 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: ctxvault-0.1.1.tar.gz
  • Upload date:
  • Size: 9.7 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.1.tar.gz
Algorithm Hash digest
SHA256 7ca3de42dc2c0221980a5fdc80a749beae13a4b8c8ac800f0f35b3518443c5b2
MD5 9e569a0cde26d87eef2f9b061316f166
BLAKE2b-256 81108a12ab747bc060c6f8b59738b29f1dc130897a959d04309a096d0ca4f2cf

See more details on using hashes here.

File details

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

File metadata

  • Download URL: ctxvault-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 9.9 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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 6e1656385314c37615b321b294a344be86765861bfd8acb42d8502b3b06413ed
MD5 c1fd8094fbbc7f8f9a4c06d1ca628c4e
BLAKE2b-256 0b59223fa4a067c4853c503f697a0b3f6ff7493c45236a88ca3567ac4cb0974e

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