Skip to main content Switch to mobile version folio-cli 0.3.1 Local hybrid RAG over curated AI / MLOps / infra curricula — graphify-style CLI for any assistant
pip install folio-cli==0.3.1 Copy PIP instructions
Local hybrid RAG over curated AI engineering / MLOps / AI infra markdown curricula (graphify-style CLI). Assistants query a shared machine index instead of stuffing GitHub repos into chat — lower token use, grounded citations.
Install (once on this machine)
PyPI distribution name is folio-cli (plain folio is taken). The CLI command is still folio.
uv tool install folio-cli folio --help From a checkout (editable / unreleased):
cd ~/Desktop/folio uv sync # creates .venv + uv.lock-backed env uv run folio status # or install the CLI globally from this tree: uv tool install --editable . Git install without waiting for PyPI:
uv tool install git+https://github.com/Iman-Sharei/folio Get the knowledge index
Index lives in ~/.folio/ (override with FOLIO_HOME). Not inside product repos.
folio bootstrap # preferred: prebuilt pack from Release # or: folio build # sync curated sources + embed (slower) folio status Refresh when the maintainer publishes new curricula:
folio update # download new Release pack (falls back to build) folio update --from-source # force rebuild from git sources Maintainer release flow:
folio build folio pack # → dist/folio-index-YYYY.MM.DD.tar.gz # upload tarball to GitHub Release; set release.index_url in config Use from any project (like graphify)
cd /path/to/your-project folio install --project --platform cursor folio query "hybrid RAG vs RAGless" --json Token rule: assistants must not WebFetch/clone curriculum repos into chat. Only folio query.
curated MD → chunk → ONNX MiniLM ↓ ChromaDB + BM25 → ~/.folio/ ↓ query → dense + BM25 → RRF → CRAG → citations (~1–2k tokens, not the whole corpus) Commands
folio bootstrap [--url URL] [--archive FILE] [--force] folio build folio update [--from-source] folio pack [--dest PATH] folio sync folio query " " [--json] [-k N] [--rerank] folio status folio install --project --platform cursor|claude|codex|agents folio uninstall --project [--purge] Tests
uv sync uv run pytest -q # all uv run pytest -q -m "not integration" # fast (no Chroma embed) uv run pytest -q -m integration # sync + ingest + retrieve + pack CI runs both layers on Python 3.11/3.12. Tag vX.Y.Z to:
upload the curricula index pack (folio-index.tar.gz) to the GitHub Release
publish the folio-cli wheel/sdist to PyPI (Trusted Publishing; see below)
Maintainer: publish folio-cli to PyPI
One-time setup (API token or Trusted Publishing):
./scripts/publish-pypi-wizard.sh After Trusted Publishing is configured, a version tag is enough:
git tag -a v0.3.1 -m v0.3.1 git push origin v0.3.1 Manual local publish (token in env):
uv build UV_PUBLISH_TOKEN=pypi-... uv publish Maintainer: publish index for folio bootstrap
Apache-2.0 View SPDX License List
rag mlops ai-engineering chromadb cli uv
Development Status 4 - Beta
Intended Audience Developers
Programming Language Python :: 3
Topic Scientific/Engineering :: Artificial Intelligence
Release files for folio-cli 0.3.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
Built distribution (wheel)
Total release size: 59.8 kB
Release files / folio_cli-0.3.1.tar.gz
Release files / folio_cli-0.3.1-py3-none-any.whl
Security for folio-cli 0.3.1
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.
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
Nov 16, 2026 2 release files No provenance
Nov 15, 2026 2 release files No provenance
Nov 14, 2026 2 release files No provenance
"PyPI", "Python Package Index", and the blocks logos are registered trademarks of the Python Software Foundation.
© 2026 Python Software Foundation




