Skip to main content

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

rai_audit_agents-0.1.7.tar.gz (12.4 kB view details)

Uploaded Source

Built Distribution

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

rai_audit_agents-0.1.7-py3-none-any.whl (13.9 kB view details)

Uploaded Python 3

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

Hashes for rai_audit_agents-0.1.7.tar.gz
Algorithm Hash digest
SHA256 048b11292963a7d55a9d573fd3485b50d126839d879264b9160fc3035e0615bf
MD5 73b2e8af00226524e01584cf1447f4a3
BLAKE2b-256 28495fa35995e1e5cf81653a50c172f7225345a6d40c198767fb5757c71acfce

See more details on using hashes here.

Provenance

The following attestation bundles were made for rai_audit_agents-0.1.7.tar.gz:

Publisher: publish.yml on SaiTeja-Erukude/rai-audit

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file rai_audit_agents-0.1.7-py3-none-any.whl.

File metadata

File hashes

Hashes for rai_audit_agents-0.1.7-py3-none-any.whl
Algorithm Hash digest
SHA256 47f733041c951c7d8674197e62394b971d984ecee81f513b8df5a2cdecf697f9
MD5 35860e1311d6497870b59017313538b9
BLAKE2b-256 35f6cd321f5b49755f957ee2e57ac3fd467d6018117f615ba5d51efcd47f0353

See more details on using hashes here.

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

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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