Skip to content

Getting Started

Installation

pip install agent-audit-kit

Basic Usage

Scan the current directory:

agent-audit-kit scan .

Scan with SARIF output for CI/CD:

agent-audit-kit scan . --format sarif -o report.sarif

Only show critical and high findings:

agent-audit-kit scan . --severity high

Show security score:

agent-audit-kit scan . --score

OWASP coverage matrix:

agent-audit-kit scan . --owasp-report

Compliance check:

agent-audit-kit scan . --compliance eu-ai-act

CI/CD Mode

Exit with code 1 if any finding at or above threshold:

agent-audit-kit scan . --ci --severity high

Pre-commit

Add to .pre-commit-config.yaml:

repos:
  - repo: https://github.com/sattyamjjain/agent-audit-kit
    rev: v0.6.8
    hooks:
      - id: agent-audit-kit

GitHub Action

- uses: sattyamjjain/agent-audit-kit@v0.6.8
  with:
    severity: low
    fail-on: high