Skip to main content

ReIndex

The reindex distribution provides the ReIndex Python package and the rei CLI.

Install and initialize

Give an AI Agent this sentence:

Run uv tool install --upgrade reindex, then run rei init <data-directory> --agent <current-agent> to create or update the ReIndex skills.

The installation is complete when rei --help works directly, without uv run. pipx install reindex and python -m pip install reindex are also supported. Python 3.12 or newer is required; the Docling dependency makes the first installation and first PDF scan larger than a typical CLI.

<current-agent> is codex, claude, cursor, or copilot. init is idempotent, creates or reuses local identity, and installs or safely updates the three bundled skills. It does not scan, push, or download tutorial data.

rei init <collection-dir> [--name <name>] [--agent codex]
rei rename <collection-dir> <new-name>

Local commands

rei inspect <path>
rei scan <path> [--collection-root <collection-dir>]
rei check <path>

inspect is read-only. scan stages, validates, and atomically publishes a package. check verifies package resources, protected Node metadata, and current inputs.

For the normal author path, push runs the same package check again, so an explicit check is mainly useful after manually editing cards or in CI:

rei init <collection-dir> --name <name> --agent codex
rei inspect <collection-dir>
rei scan <collection-dir>
rei push <collection-dir> --api-url <api-url>

Remote commands

rei set-api <base-url>
rei push [path]
rei pull <name> [--output <directory>]
rei search "<query>" [--remote <name>] [--mode lexical|semantic|hybrid]
rei get <node-path> [--target card|source|content|asset]
rei get raw://<path>

push synchronously sends the complete validated package and exactly referenced raw sources. pull downloads only the complete .node.md tree. get checks a complete local package, local authoring source, and the SHA-256 cache before downloading one exact resource.

Collection names are the user-facing remote identifier. UUIDs remain internal stable identity. Resource logical paths stay Collection-relative and are scoped by the internal Collection UUID.

Skills

rei skills install --agent codex
rei skills update --agent codex
rei skills update --agent codex --force

Normal updates overwrite only unmodified ReIndex-managed copies. A modified skill reports a conflict unless --force is explicit.

Python API

The stable Python namespace is reindex. It currently exposes the HTTP client and installed package version; higher-level Collection APIs can grow here without changing the CLI implementation package.

from reindex import ApiClient, __version__

client = ApiClient("http://127.0.0.1:8000")
print(__version__, client.health())

The CLI does not include or provision a hosted API. Remote commands use the configured ReIndex API; without one, the default is the local development endpoint at http://127.0.0.1:8000.

Metadata

Release files for reindex 0.3.2

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

Source distribution (sdist)

Source distribution for reindex 0.3.2
File Size Uploaded Provenance Actions
reindex-0.3.2.tar.gz 33.4 kB Without provenance Details for reindex-0.3.2.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for reindex 0.3.2
File Interpreter ABI Platform Actions
reindex-0.3.2-py3-none-any.whl Python 3 none any Details for reindex-0.3.2-py3-none-any.whl

Total release size: 81.5 kB

Release files / reindex-0.3.2.tar.gz

Download URL reindex-0.3.2.tar.gz
Size 33.4 kB
Tags Source
SHA-256 checksum
How to use checksums
8c8d8ce8092fe8c6c380b54ecab40bdaf0ff77bf9ae9e7a3878eef0752084c8a
BLAKE2b-256 checksum
How to use checksums
ab85ba4488b1e09d929cb5c171a0fdc0ce266627303ef1d9155a52a737208d33
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.11.26 {"installer":{"name":"uv","version":"0.11.26","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

Release files / reindex-0.3.2-py3-none-any.whl

Download URL reindex-0.3.2-py3-none-any.whl
Size 48.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
f251b60428180d9912a4e6f9f5cda8a4f318b3c9ed13e9ace22ec99e6730aa71
BLAKE2b-256 checksum
How to use checksums
3bf78dcfcebf7bb5ddf0f4739e9e0801f34406b1e1436299579e83101c3c258e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.11.26 {"installer":{"name":"uv","version":"0.11.26","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

Security for reindex 0.3.2

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.

No provenance found

None of the files in this release were uploaded with provenance metadata.

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.

Release history Release notifications | RSS feed

This release

0.3.2 This release

2 release files No provenance

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