Klea RAG
Knowledge vaLidated Expert AI Assistant for scientific research.
This package is Klea's retrieval-augmented generation component: a configurable, multi-domain pipeline built on LangGraph. Each query is classified into a domain, retrieved from that domain's stores, answered from the retrieved context, and evaluated (with optional improve loops).
Features:
- multi-domain support with automatic query classification
- hybrid retrieval over vector stores (Chroma, Qdrant, PGVector) and BM25, fused with Reciprocal Rank Fusion and optional cross-encoder reranking
- answer evaluation with iterative improvement loops
- MCP tool integration for live data access
- FastAPI server, Textual terminal UI (
klea-rag/klea-rag tui), and NiceGUI web UI (klea-rag web)
Funded by the BioFAIR Pathfinder project ("Creating AI-enabled analysis pipelines for FAIR neuroscience data").
Documentation: https://klea.science/components/rag.html
Metadata
Release files for klea-rag 0.6.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 | Provenance | Actions |
|---|---|---|---|---|
| klea_rag-0.6.0.tar.gz | 53.5 kB | With provenance | Details for klea_rag-0.6.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| klea_rag-0.6.0-py3-none-any.whl | Python 3 | none | any | Details for klea_rag-0.6.0-py3-none-any.whl |
Total release size: 101.2 kB
Release files / klea_rag-0.6.0.tar.gz
| Download URL | klea_rag-0.6.0.tar.gz |
|---|---|
| Size | 53.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
b3bf31bd2040ff9046f36daf923cd224b12a2fb00b6ad1c1d68e8513d493b176
|
|
BLAKE2b-256 checksum How to use checksums |
cf74eb81b3fb6db179dae4f06e1a00e93084d1391995c05be653706851cb4f6e
|
| 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 Nov 11, 2026.
Transparency logRelease files / klea_rag-0.6.0-py3-none-any.whl
| Download URL | klea_rag-0.6.0-py3-none-any.whl |
|---|---|
| Size | 47.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
8413df2f45e14536a607494fba3ec1521715e1daf847fd9d674a208a3345de67
|
|
BLAKE2b-256 checksum How to use checksums |
78dc225ec5ccfae05b6d10b26b077187f072c1e49a943e079446540b4ee3b7a9
|
| 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 Nov 11, 2026.
Transparency logSecurity for klea-rag 0.6.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.
Attestation for klea_rag-0.6.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 Nov 11, 2026.
Transparency logA 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.