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.

Checks also cover instruction poisoning persisted into agent memory and bounded tool-execution budgets. Agent findings include OWASP Agentic Top 10 2026 mappings where applicable.

Additional controls cover tool arguments, scoped identities, credential propagation, MCP/tool manifests, recursion and retry limits, stop signals, reversible high-impact actions, authenticated handoffs, and delegated permissions. Reports include an explicit OWASP Agentic Top 10 2026 evidence map.

Trace Schema

The canonical versioned JSON schema follows the current OpenTelemetry GenAI operation vocabulary. New traces should set "schema_version": "1.0"; unversioned traces are migrated during loading: 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,
    adapt_otel_spans,
)

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.8.tar.gz (17.8 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.8-py3-none-any.whl (18.9 kB view details)

Uploaded Python 3

File details

Details for the file rai_audit_agents-0.1.8.tar.gz.

File metadata

  • Download URL: rai_audit_agents-0.1.8.tar.gz
  • Upload date:
  • Size: 17.8 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.8.tar.gz
Algorithm Hash digest
SHA256 d355301232298e7ea3285bf3b10686ddbe4444c423ff4fd915b6669e07a64f79
MD5 1a698a73c791d31ff787429cee12d54f
BLAKE2b-256 67cb796f00d17862dc3f3780b964818f465c3148dba426e55eae1d8bb77fa762

See more details on using hashes here.

Provenance

The following attestation bundles were made for rai_audit_agents-0.1.8.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.8-py3-none-any.whl.

File metadata

File hashes

Hashes for rai_audit_agents-0.1.8-py3-none-any.whl
Algorithm Hash digest
SHA256 fa5f0c2ffb38232ff8ee27e02c1fc885ab5a55380cc308c1c951687aacc6b2e3
MD5 67dfd00f9fcd6f186d442caed6dee2e3
BLAKE2b-256 c526e6b340500b1b55350e62382c0587d6ed136ea1747011b51300c08d6df163

See more details on using hashes here.

Provenance

The following attestation bundles were made for rai_audit_agents-0.1.8-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