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.0.tar.gz (11.2 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.0-py3-none-any.whl (9.8 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: ctxvault-0.1.0.tar.gz
  • Upload date:
  • Size: 11.2 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.0.tar.gz
Algorithm Hash digest
SHA256 31679e0b225c9cb38cad8cabac147f70d8b7ff84770cedc02e2437e08b298b15
MD5 7b3f6be262a35760f2a20611c853401d
BLAKE2b-256 5bfee4a9ce80af826405d73d2e4474151c16ab74dcc7a18486c7fbd8263dca5e

See more details on using hashes here.

File details

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

File metadata

  • Download URL: ctxvault-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 9.8 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.0-py3-none-any.whl
Algorithm Hash digest
SHA256 3620357cee9c429ecea55d9b01e785504e25c1d1639368843adef6dca7c0039e
MD5 56f357abec6cf030df4fad9f4e8daaa5
BLAKE2b-256 773e7c644f97065f9c99ba96337e207119d432a8c94393845fb403c2e99c8848

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