Skip to main content

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.

Metadata

Release files for cortex-vec 0.10.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for cortex-vec 0.10.0
File Size Uploaded Provenance Actions
cortex_vec-0.10.0.tar.gz 93.2 kB With provenance Details for cortex_vec-0.10.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for cortex-vec 0.10.0
File Interpreter ABI Platform Actions
cortex_vec-0.10.0-py3-none-any.whl Python 3 none any Details for cortex_vec-0.10.0-py3-none-any.whl

Total release size: 155.9 kB

Release files / cortex_vec-0.10.0.tar.gz

Download URL cortex_vec-0.10.0.tar.gz
Size 93.2 kB
Tags Source
SHA-256 checksum
How to use checksums
a1a8e4b567767b65aed57d138eb1b5c001900c1eab5c77ab67d285fdd69c95da
BLAKE2b-256 checksum
How to use checksums
11da08426abae7477a4813bdf8fe60089dfe9b67606a7b1c88ef0403128416c6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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 Oct 21, 2026.

Transparency log

Release files / cortex_vec-0.10.0-py3-none-any.whl

Download URL cortex_vec-0.10.0-py3-none-any.whl
Size 62.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
ef1313b5c7042be731802545a02d7221584d50766ac696f293ac2b8d76fe2bc7
BLAKE2b-256 checksum
How to use checksums
b2583e1f1ab88a4c87d2e476efbd0b1bf01d76cafe8b237d90216ea5d3ec576d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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 Oct 21, 2026.

Transparency log

Security for cortex-vec 0.10.0

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.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for cortex_vec-0.10.0.tar.gz

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 Oct 21, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page