cortex-vec
Vector store CLI for the cortexes knowledge vault — hybrid retrieval over a plain-markdown vault, fusing a persistent BM25 index with OpenAI-embedding vector search (ChromaDB) via Reciprocal Rank Fusion. Handles mixed Chinese/English content.
The vault is the source of truth (markdown + git); everything this tool builds is a rebuildable derived index.
Install
# Recommended: isolated tool install via uv
uv tool install cortex-vec
# Or with pip
pip install cortex-vec
Usage
cortex-vec rebuild # full rebuild (embeddings, needs OPENAI_API_KEY)
cortex-vec rebuild --bm25-only # rebuild just the BM25 index — free, no API key
cortex-vec search "nginx certificate" --n 5
cortex-vec status # index health: vector + BM25 entry counts
Configuration lives in ~/.cortex/config.json (created by the Cortexes
plugin's /cortexes:genesis command). OPENAI_API_KEY is required for
embeddings; without it, search automatically degrades to BM25-only.
This package is the retrieval backend of the Cortexes Claude Code plugin — session recording, memory distillation, and indexed retrieval for Claude Code. See the repository for the full documentation.
Release files for cortex-vec 0.9.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| cortex_vec-0.9.0.tar.gz | 88.8 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| cortex_vec-0.9.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 149.5 kB
Release files / cortex_vec-0.9.0.tar.gz
| Download URL | cortex_vec-0.9.0.tar.gz |
|---|---|
| Size | 88.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
e74723a6a4b3f92833fcda71610ad2cb0a6ba01e56c73f0f3bbcf4c5a29c977e
|
|
BLAKE2b-256 checksum How to use checksums |
eac468f10ae3232db74d752f777c58fe64e367709f567893c3af6679be49faef
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Sep 22, 2026.
Transparency logRelease files / cortex_vec-0.9.0-py3-none-any.whl
| Download URL | cortex_vec-0.9.0-py3-none-any.whl |
|---|---|
| Size | 60.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
be05393d23b3235dd1ce4e9fdc045b88e3501fd6f8ae411901fe16ae683fe778
|
|
BLAKE2b-256 checksum How to use checksums |
978098e4e64a419e85d7360b77d89825c5700c1ff7924ea9fe079ec481cc8d3e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Sep 22, 2026.
Transparency log