Retrieval Assessment for Knowledge Impact — evaluate agentic RAG quality
Project description
RAKI — Retrieval Assessment for Knowledge Impact
A CLI tool that evaluates agentic RAG quality from session transcripts.
Report Preview
Features
- Operational metrics — verify rate, rework cycles, severity distribution, cost analysis (no LLM required)
- Ragas retrieval metrics — context precision/recall, faithfulness, answer relevancy
- HTML reports — interactive reports with session-level detail and color-coded thresholds
- Pluggable adapters — bring any session format; built-in support for session-schema and Alcove
- Ground truth matching — curated YAML entries matched by domain for retrieval evaluation
Quick Start
uv pip install raki --extra html
uv run raki validate --manifest raki.yaml
uv run raki run --manifest raki.yaml --no-llm
The --no-llm flag runs operational metrics only (no API keys needed).
To include Ragas retrieval metrics, omit the flag and configure an LLM provider.
Usage
# Run all metrics (requires LLM provider)
uv run raki run --manifest raki.yaml
# Run operational metrics only
uv run raki run --manifest raki.yaml --no-llm
# Validate manifest and session data
uv run raki validate --manifest raki.yaml
# List available adapters
uv run raki adapters
Documentation
- Getting Started — install, run, and understand your first report
- Interpretation Reference — what each metric means and when to act
- Ground Truth Curation Guide — write effective ground truth entries
- Adapter Guide — integrate custom session formats
- Session Schema Reference — field definitions for session-schema format
Development
uv sync --python 3.14 --all-extras
uv run pytest tests/ -v
uv run ruff check src/ tests/
uv run ruff format src/ tests/
uv run ty check src/raki/
See CONTRIBUTING.md for the full contribution workflow.
License
Apache 2.0 — see LICENSE for details.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file raki-0.5.1.tar.gz.
File metadata
- Download URL: raki-0.5.1.tar.gz
- Upload date:
- Size: 210.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: uv/0.11.7 {"installer":{"name":"uv","version":"0.11.7","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3c4b345ffaf30663c918ad0ef2e7467fc4d88582423c0177fd821f5b0bcf78b1
|
|
| MD5 |
3fb4d33c7e8e1a305a4ee5367a298630
|
|
| BLAKE2b-256 |
17e3c434ccc3556406e3606a33d1855ba30ac2f092339f22be8f040d7cb4954c
|
File details
Details for the file raki-0.5.1-py3-none-any.whl.
File metadata
- Download URL: raki-0.5.1-py3-none-any.whl
- Upload date:
- Size: 65.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: uv/0.11.7 {"installer":{"name":"uv","version":"0.11.7","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
83e499da2f7406e1f8ae373e11e12578c97b672ebc8b824465d3c8e80d4e4f88
|
|
| MD5 |
5e4f1ca0b1e64de8b28e7f99492d491e
|
|
| BLAKE2b-256 |
5006142a6087c39b97350cba5a08ac14bb8fead7467d659e908d1bacdceb3250
|