Skip to main content

RAI Check Kit

RAI = Responsible AI. A Python package suite for evidence-grade audits of responsible, secure, and trustworthy AI systems.

Run fairness, data quality, robustness, compliance, image, medical imaging, LLM safety, RAG security, and agent trace checks. Export HTML, Markdown, or JSON reports and gate CI pipelines on risk thresholds.

Author: Sai Teja Erukude | License: MIT

Why this exists

AI teams often run fairness, robustness, RAG, and agent security checks separately. RAI Check Kit brings them into one evidence and reporting workflow, so teams can review findings consistently, preserve audit artifacts, and apply the same CI gates across model types.

What it looks like

HTML audit report
HTML fairness audit report
Model card export
Markdown model card preview
LLM and RAG audit output
RAG security audit output
Agent trace finding
Agent trace prompt injection finding

Packages

Package Purpose
rai-check-core Audit engine, findings, reports, history, CI gates
rai-check-ml Tabular ML - fairness, drift, data quality, robustness
rai-check-dl Image, medical imaging, and scientific AI audits
rai-check-genai LLM, RAG, and agentic AI safety, security, and trace audits
rai-check-kit Meta-package - installs core + ml, unified CLI

Install

pip install rai-check-kit          # core + tabular ML
pip install "rai-check-kit[all]"   # all modules (dl + genai)

Quick start

rai-check ml run --help

For repeatable audit workflows, generate and run a YAML configuration:

rai-check init --project loan-model
rai-check run --config audit.yaml

rai-check init writes a starter predictions.csv beside audit.yaml; replace it with captured model predictions, or update audit.data to point at your CSV. Classification configs expect y_true and y_pred columns by default.

Configured runs write report artifacts and an evidence manifest with input, environment, source-revision, and artifact hashes.

from rai_audit.ml import ClassificationAudit

report = ClassificationAudit(
    y_true=y_true,
    y_pred=y_pred,
    sensitive_features=sensitive_df,
).run()

report.to_html("audit_report.html")

Examples

Development

pip install uv
uv sync
uv run pytest

See CONTRIBUTING.md for monorepo layout and release workflow.

Metadata

Release files for rai-check-kit 0.0.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for rai-check-kit 0.0.1
File Size Uploaded Provenance Actions
rai_check_kit-0.0.1.tar.gz 4.4 kB With provenance Details for rai_check_kit-0.0.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for rai-check-kit 0.0.1
File Interpreter ABI Platform Actions
rai_check_kit-0.0.1-py3-none-any.whl Python 3 none any Details for rai_check_kit-0.0.1-py3-none-any.whl

Total release size: 9.8 kB

Release files / rai_check_kit-0.0.1.tar.gz

Download URL rai_check_kit-0.0.1.tar.gz
Size 4.4 kB
Tags Source
SHA-256 checksum
How to use checksums
ac2bee5a8a19fa0944cede0d6618615373d8da33f416bfa37e90bca9bd17a719
BLAKE2b-256 checksum
How to use checksums
6e98c334bb3cefc115a5ad3a1d06b2cfb794481a8f3f48948f6dddb3c19be645
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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 Sep 21, 2026.

Transparency log

Release files / rai_check_kit-0.0.1-py3-none-any.whl

Download URL rai_check_kit-0.0.1-py3-none-any.whl
Size 5.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
aa0c2d600a767f73988dcaf75350ab14adf021538c68501eff65dd16fd8ca91e
BLAKE2b-256 checksum
How to use checksums
88b71a9b7c4e2c20320e2c35f729addc9ec4eaab4777db8b00f92525b2aa8f14
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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 Sep 21, 2026.

Transparency log

Security for rai-check-kit 0.0.1

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

All 2 files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for rai_check_kit-0.0.1.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 Sep 21, 2026.

Transparency log

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.0.1 This release

2 release files Full 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