Skip to main content

Responsible AI (RAI) Audit Kit — evidence-grade audits for responsible, secure, and trustworthy AI systems

Project description

RAI Audit 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 Audit 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-audit-core Audit engine, findings, reports, history, CI gates
rai-audit-ml Tabular ML - fairness, drift, data quality, robustness
rai-audit-dl Image, medical imaging, and scientific AI audits
rai-audit-llm LLM and RAG safety, faithfulness, citation, and security audits
rai-audit-agents Agent tool-use, memory, permission, and injection audits
rai-audit-kit Meta-package - installs core + ml, unified CLI

Install

pip install rai-audit-kit          # core + tabular ML
pip install "rai-audit-kit[all]"   # all modules (dl, llm, agents)

Quick start

rai-audit ml run --help

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

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

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.

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

rai_audit_kit-0.1.8.tar.gz (4.4 kB view details)

Uploaded Source

Built Distribution

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

rai_audit_kit-0.1.8-py3-none-any.whl (5.3 kB view details)

Uploaded Python 3

File details

Details for the file rai_audit_kit-0.1.8.tar.gz.

File metadata

  • Download URL: rai_audit_kit-0.1.8.tar.gz
  • Upload date:
  • Size: 4.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for rai_audit_kit-0.1.8.tar.gz
Algorithm Hash digest
SHA256 d1ec419f710b1ab8f250481cbb58d583b17322c6ae700ae743cea1f7511c7e16
MD5 0860690abeb70e8d57ef36ca119810a8
BLAKE2b-256 21af8de7b2f833649fbec617da4f52d5a64d68ad070e90b84f63345dc86e18f1

See more details on using hashes here.

Provenance

The following attestation bundles were made for rai_audit_kit-0.1.8.tar.gz:

Publisher: publish.yml on SaiTeja-Erukude/rai-audit

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file rai_audit_kit-0.1.8-py3-none-any.whl.

File metadata

  • Download URL: rai_audit_kit-0.1.8-py3-none-any.whl
  • Upload date:
  • Size: 5.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for rai_audit_kit-0.1.8-py3-none-any.whl
Algorithm Hash digest
SHA256 5e781033f2b08f440ab3b0921b70941feed1a5b8fdff0943627325ce33c9feff
MD5 62f907427d75c16daa0ea0de8d9966da
BLAKE2b-256 87825529be6b35c56d08f8ca4289fde05cbd71de0930fc52d6408540e602f77b

See more details on using hashes here.

Provenance

The following attestation bundles were made for rai_audit_kit-0.1.8-py3-none-any.whl:

Publisher: publish.yml on SaiTeja-Erukude/rai-audit

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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