Skip to main content

ReIndex CLI

rei builds local files into ReIndex 1.0 packages and connects them to a ReIndex API. reindex is an alias.

Install and initialize

Give an AI Agent this sentence:

Run uv tool install --upgrade reindex-cli, 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-cli and python -m pip install reindex-cli 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.

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-cli 0.3.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 reindex-cli 0.3.0
File Size Uploaded Provenance Actions
reindex_cli-0.3.0.tar.gz 34.7 kB Without provenance Details for reindex_cli-0.3.0.tar.gz

Built distribution (wheel)

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

Total release size: 82.3 kB

Release files / reindex_cli-0.3.0.tar.gz

Download URL reindex_cli-0.3.0.tar.gz
Size 34.7 kB
Tags Source
SHA-256 checksum
How to use checksums
3552cfbb7aa70839656ea9f00f27ac62edd4b40d27686ecb728daa465fa34aee
BLAKE2b-256 checksum
How to use checksums
11df99d8e19f6ce2b92f2f1542f31236ab44e936f488fababcb56ca80b007f56
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_cli-0.3.0-py3-none-any.whl

Download URL reindex_cli-0.3.0-py3-none-any.whl
Size 47.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
0afa1fc2557c0af263291d2a4b706e165a36b270ee52c452e6c5aad4b3097d4d
BLAKE2b-256 checksum
How to use checksums
5b434f9f670ab66f3fa9645ccb07196342133467e2f74704d7cd7b3107e2fe0c
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-cli 0.3.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.

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.0 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