Agentic AI audits for tool-use, memory, permissions, and prompt injection
Project description
rai-audit-agents
Agentic AI audits for tool use, memory, permissions, and prompt injection delivered through tools, retrieval, email, or webpages.
Trace Schema
The canonical JSON schema follows the current OpenTelemetry GenAI operation vocabulary:
invoke_agent, invoke_workflow, execute_tool, and retrieval. Events emit aligned
attributes such as gen_ai.agent.name, gen_ai.tool.name, and
gen_ai.data_source.id.
OpenTelemetry currently marks its GenAI agent conventions as Development, so the
schema preserves a general attributes mapping alongside stable audit fields.
CLI
rai-audit agents run \
--trace packages/rai-audit-agents/examples/customer_support_trace.json \
--allowed-tools lookup_order \
--format html
Python API
from rai_audit.agents import AgentAudit, load_trace
trace = load_trace("packages/rai-audit-agents/examples/customer_support_trace.json")
report = AgentAudit(trace, allowed_tools=["lookup_order"], persist=False).run()
Framework Adapters
Adapters normalize captured records without requiring framework installations:
from rai_audit.agents import (
adapt_autogen_messages,
adapt_langgraph_events,
adapt_openai_agents_trace,
)
References:
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
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 rai_audit_agents-0.1.7.tar.gz.
File metadata
- Download URL: rai_audit_agents-0.1.7.tar.gz
- Upload date:
- Size: 12.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
048b11292963a7d55a9d573fd3485b50d126839d879264b9160fc3035e0615bf
|
|
| MD5 |
73b2e8af00226524e01584cf1447f4a3
|
|
| BLAKE2b-256 |
28495fa35995e1e5cf81653a50c172f7225345a6d40c198767fb5757c71acfce
|
Provenance
The following attestation bundles were made for rai_audit_agents-0.1.7.tar.gz:
Publisher:
publish.yml on SaiTeja-Erukude/rai-audit
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
rai_audit_agents-0.1.7.tar.gz -
Subject digest:
048b11292963a7d55a9d573fd3485b50d126839d879264b9160fc3035e0615bf - Sigstore transparency entry: 1678148363
- Sigstore integration time:
-
Permalink:
SaiTeja-Erukude/rai-audit@29674945741b6625e9d4e2216570f2e85815aca1 -
Branch / Tag:
refs/tags/rai-audit-agents-v0.1.7 - Owner: https://github.com/SaiTeja-Erukude
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@29674945741b6625e9d4e2216570f2e85815aca1 -
Trigger Event:
push
-
Statement type:
File details
Details for the file rai_audit_agents-0.1.7-py3-none-any.whl.
File metadata
- Download URL: rai_audit_agents-0.1.7-py3-none-any.whl
- Upload date:
- Size: 13.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
47f733041c951c7d8674197e62394b971d984ecee81f513b8df5a2cdecf697f9
|
|
| MD5 |
35860e1311d6497870b59017313538b9
|
|
| BLAKE2b-256 |
35f6cd321f5b49755f957ee2e57ac3fd467d6018117f615ba5d51efcd47f0353
|
Provenance
The following attestation bundles were made for rai_audit_agents-0.1.7-py3-none-any.whl:
Publisher:
publish.yml on SaiTeja-Erukude/rai-audit
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
rai_audit_agents-0.1.7-py3-none-any.whl -
Subject digest:
47f733041c951c7d8674197e62394b971d984ecee81f513b8df5a2cdecf697f9 - Sigstore transparency entry: 1678148414
- Sigstore integration time:
-
Permalink:
SaiTeja-Erukude/rai-audit@29674945741b6625e9d4e2216570f2e85815aca1 -
Branch / Tag:
refs/tags/rai-audit-agents-v0.1.7 - Owner: https://github.com/SaiTeja-Erukude
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@29674945741b6625e9d4e2216570f2e85815aca1 -
Trigger Event:
push
-
Statement type: