Skip to main content

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

RAKI HTML Report

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

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

raki-0.5.1.tar.gz (210.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

raki-0.5.1-py3-none-any.whl (65.3 kB view details)

Uploaded Python 3

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

Hashes for raki-0.5.1.tar.gz
Algorithm Hash digest
SHA256 3c4b345ffaf30663c918ad0ef2e7467fc4d88582423c0177fd821f5b0bcf78b1
MD5 3fb4d33c7e8e1a305a4ee5367a298630
BLAKE2b-256 17e3c434ccc3556406e3606a33d1855ba30ac2f092339f22be8f040d7cb4954c

See more details on using hashes here.

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

Hashes for raki-0.5.1-py3-none-any.whl
Algorithm Hash digest
SHA256 83e499da2f7406e1f8ae373e11e12578c97b672ebc8b824465d3c8e80d4e4f88
MD5 5e4f1ca0b1e64de8b28e7f99492d491e
BLAKE2b-256 5006142a6087c39b97350cba5a08ac14bb8fead7467d659e908d1bacdceb3250

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page