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
- LangChain —
pip 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
Release history Release notifications | RSS feed
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)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
fbfcebfa23698f77e6903e210b37f683489f16cb415f24a4d216aba0c4875efc
|
|
| MD5 |
202045bba6c9bda6895726b5f33c2253
|
|
| BLAKE2b-256 |
a36e872e94df9f56ee7692cddc839214e03482f9f21008133f70b03a21edc164
|
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
96230c7313c2605fba482ce1752e2d42540b134ad7556e6e150acaef361eb15d
|
|
| MD5 |
85ad713ac7f2ce4a7bfccb1aeece9c90
|
|
| BLAKE2b-256 |
c3fe464d859b85dd48bdaa6157fa1d2417c6eeb03f3469f9142608e60159bbbe
|