Skip to main content

Verity - AI Governance Through Enforcement (API + CLI)

Reason this release was yanked:

Outdated

Project description

Verity - AI Governance Through Enforcement

Complete AI model audit system with CI/CD integration, evidence storage, and regulator-ready exports.

Quick Start

Install Dependencies

# Install root dependencies (concurrently)
npm install

# Install website and dashboard dependencies
npm run install:all

Run Everything

# Run website, dashboard, and API together
npm run dev:all

This will start:

Run Individual Services

# Just the website
npm run dev:website

# Just the dashboard
npm run dev:dashboard

# Just the API
npm run dev:api

Project Structure

ai-audit-ci/
├── audit/              # CLI audit tool
│   ├── cli.py         # Main CLI interface
│   ├── metrics.py      # Fairness metrics
│   ├── evidence.py    # Report generation
│   └── export.py      # PDF/JSON exports
├── api/                # FastAPI backend
│   ├── main.py        # API server
│   ├── database.py    # Database models
│   ├── routes/        # API routes
│   └── manage.py      # Management CLI
├── website/            # Marketing website (React)
│   └── src/
│       ├── pages/     # Website pages
│       └── components/
└── dashboard/          # Dashboard app (React)
    └── src/
        ├── pages/     # Dashboard pages
        └── components/

Features

Core Audit Tool

  • ✅ Fairness metrics (demographic parity, equal opportunity, disparate impact)
  • ✅ SHA-256 hashing for all artifacts
  • ✅ Immutable audit reports
  • ✅ GitHub Actions integration
  • ✅ Regulator-ready PDF/JSON exports

API & Evidence Store

  • ✅ User authentication
  • ✅ Organization & project management
  • ✅ API key management
  • ✅ Append-only audit storage
  • ✅ Commit context tracking
  • ✅ Policy versioning

Dashboard

  • ✅ Project overview with statistics
  • ✅ Audit timeline visualization
  • ✅ Trend charts
  • ✅ Policy management
  • ✅ Regulator portal (Enterprise)

Website

  • ✅ Dark, professional design
  • ✅ Responsive layout
  • ✅ Animated interactions
  • ✅ Enterprise messaging

Development

Prerequisites

  • Python 3.11+
  • Node.js 18+
  • npm or yarn

Setup

  1. Install Python dependencies:
cd ai-audit-ci
pip install -r requirements.txt
  1. Install Node dependencies:
npm run install:all
  1. Initialize database:
cd api
python -m api.main
  1. Run all services:
npm run dev:all

Usage

Run an Audit

cd ai-audit-ci
python -m audit.cli run --config examples/tabular/config.yml

Upload Audit Evidence

Set environment variables:

export VERITY_API_KEY=your_api_key
export VERITY_API_URL=https://verityai-production.up.railway.app

Then run with upload:

python -m audit.cli run --config config.yml --upload

GitHub Actions

Add to .github/workflows/audit.yml:

name: AI Governance Audit (Verity)
on: [pull_request]
jobs:
  audit:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v4
      - uses: actions/setup-python@v5
        with:
          python-version: '3.11'
      - run: |
          pip install verity-audit
          verity run --config verity.yml --upload
        env:
          VERITY_API_KEY: ${{ secrets.VERITY_API_KEY }}
          DATASET_URL: ${{ secrets.DATASET_URL }}  # For datasets not in repo
          GITHUB_SHA: ${{ github.sha }}
          GITHUB_REF_NAME: ${{ github.ref_name }}
          GITHUB_REPOSITORY: ${{ github.repository }}

Note: For datasets stored outside the repository (S3, GCS, etc.), see CI/CD Dataset Patterns for configuration options.

API Endpoints

  • POST /v1/audits - Upload audit evidence
  • GET /v1/audits/{audit_id} - Retrieve audit
  • POST /auth/signup - Create account
  • POST /auth/login - Sign in
  • GET /dashboard/orgs/{org_id}/projects - List projects
  • GET /dashboard/projects/{project_id}/audits - Get audit history
  • GET /dashboard/projects/{project_id}/trends - Get trend data

See api/README.md for full API documentation.

License

Proprietary - All rights reserved

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

verity_audit-1.3.1.tar.gz (97.0 kB view details)

Uploaded Source

Built Distribution

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

verity_audit-1.3.1-py3-none-any.whl (106.7 kB view details)

Uploaded Python 3

File details

Details for the file verity_audit-1.3.1.tar.gz.

File metadata

  • Download URL: verity_audit-1.3.1.tar.gz
  • Upload date:
  • Size: 97.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.3

File hashes

Hashes for verity_audit-1.3.1.tar.gz
Algorithm Hash digest
SHA256 a34d154daa62cb184566930e7d9461a87016a4bf4964eb3cb3bf1a5fdf8d2f1b
MD5 531f956c78fc29b14a3ee320b2b62981
BLAKE2b-256 c13a45cb8b5c27a24b82eb23303d9ea01f97030de22d15baabb688c86ab90088

See more details on using hashes here.

File details

Details for the file verity_audit-1.3.1-py3-none-any.whl.

File metadata

  • Download URL: verity_audit-1.3.1-py3-none-any.whl
  • Upload date:
  • Size: 106.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.3

File hashes

Hashes for verity_audit-1.3.1-py3-none-any.whl
Algorithm Hash digest
SHA256 0ef1d294767afc88b5e65c534c2e9c8d7bb697629695bc76c0574cf73f9180ad
MD5 2f0c2a4faa02ebbebd242dd0a9f3c9f6
BLAKE2b-256 306be3a67f4c24c954a68cab639b72e2dcd0a3418a987c967e57646e37decfa1

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