Skip to main content

Python SDK for AgenticAudit — open-source compliance monitoring for AI agents

Project description

AgenticAudit

Python SDK for AgenticAudit — open-source compliance monitoring for AI agents.

Log every AI agent action, auto-detect PII, score risk, and map to GDPR / AI Act / SOC 2.

Install

pip install agentic-audit

Quick start

from agentaudit import AgentAudit

audit = AgentAudit(api_key="aa_live_xxxxx")

event = audit.log(
    agent_id="booking-agent-v2",
    action="access_customer_record",
    data={"customer_email": "maria@example.com"},
)

print(event.risk_level)   # "medium"
print(event.pii_detected) # True
print(event.frameworks)   # {"gdpr": ["art_30"], "ai_act": ["art_14"]}

Async support

from agentaudit import AsyncAgentAudit

async with AsyncAgentAudit(api_key="aa_live_xxxxx") as audit:
    event = await audit.log(
        agent_id="my-agent",
        action="database_query",
        data={"query": "SELECT * FROM users"},
    )

Integrations

  • Claude Code — zero-overhead deterministic hooks via agentic-audit-hook
  • Cowork — plugin with automatic hook registration
  • LangChainpip install agentic-audit[langchain] for callback handler
  • CrewAI — event hook for multi-agent crews
  • Any agent — REST API / this SDK

Links

License

Apache 2.0

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

agentic_audit-0.3.0.tar.gz (7.9 kB view details)

Uploaded Source

Built Distribution

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

agentic_audit-0.3.0-py3-none-any.whl (11.1 kB view details)

Uploaded Python 3

File details

Details for the file agentic_audit-0.3.0.tar.gz.

File metadata

  • Download URL: agentic_audit-0.3.0.tar.gz
  • Upload date:
  • Size: 7.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.11.1 {"installer":{"name":"uv","version":"0.11.1","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 agentic_audit-0.3.0.tar.gz
Algorithm Hash digest
SHA256 fbfcebfa23698f77e6903e210b37f683489f16cb415f24a4d216aba0c4875efc
MD5 202045bba6c9bda6895726b5f33c2253
BLAKE2b-256 a36e872e94df9f56ee7692cddc839214e03482f9f21008133f70b03a21edc164

See more details on using hashes here.

File details

Details for the file agentic_audit-0.3.0-py3-none-any.whl.

File metadata

  • Download URL: agentic_audit-0.3.0-py3-none-any.whl
  • Upload date:
  • Size: 11.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.11.1 {"installer":{"name":"uv","version":"0.11.1","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 agentic_audit-0.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 96230c7313c2605fba482ce1752e2d42540b134ad7556e6e150acaef361eb15d
MD5 85ad713ac7f2ce4a7bfccb1aeece9c90
BLAKE2b-256 c3fe464d859b85dd48bdaa6157fa1d2417c6eeb03f3469f9142608e60159bbbe

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