Skip to main content

pruv verification layer for OpenAI Agents SDK

Project description

pruv-openai

pruv-openai Python 3.10+ License: MIT

Cryptographic verification for OpenAI Agents SDK. Every tool call, guardrail check, agent handoff, and LLM call — automatically recorded into a pruv identity chain.

pip install pruv-openai

Usage

from pruv_openai import OpenAIAgentWrapper

wrapped = OpenAIAgentWrapper(agent, agent_id="agent-id", api_key="pv_live_...")
result = await wrapped.run("analyze the quarterly report")
receipt = wrapped.receipt()

Implements the OpenAI Agents SDK TracingProcessor protocol. Your agent code stays unchanged. pruv runs underneath it.

How it works

PruvTraceProcessor implements the TracingProcessor protocol with automatic scope detection:

  • tool spans → tool.execute scope
  • handoff spans → agent.handoff scope
  • llm / model / generation spans → llm.call scope
  • guardrail spans → guardrail.check scope

Every span is posted to the pruv identity chain via POST /api/identity/act. The chain is tamper-evident — modify one entry and verification detects exactly where.

Links

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

pruv_openai-0.1.0.tar.gz (5.0 kB view details)

Uploaded Source

Built Distribution

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

pruv_openai-0.1.0-py3-none-any.whl (5.0 kB view details)

Uploaded Python 3

File details

Details for the file pruv_openai-0.1.0.tar.gz.

File metadata

  • Download URL: pruv_openai-0.1.0.tar.gz
  • Upload date:
  • Size: 5.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for pruv_openai-0.1.0.tar.gz
Algorithm Hash digest
SHA256 643111ea4ce0266cb21e820e1b61e3f64efe369acf30f07119127a803b64849e
MD5 fda1da6e70d4a4a75b8a4e577ab281b0
BLAKE2b-256 2e57a0b265bb4f89ac3cb4b2dbf59edf805a13105c0320097ca8c077c37c2f64

See more details on using hashes here.

Provenance

The following attestation bundles were made for pruv_openai-0.1.0.tar.gz:

Publisher: publish.yml on mintingpressbuilds/pruv

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

File details

Details for the file pruv_openai-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: pruv_openai-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 5.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for pruv_openai-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 22ecc1f637ccbf00cde8733bf8f94a995e356c4cadf2f5860fc7ce406df1660b
MD5 30c6fccaf222f86250fc219635222d7e
BLAKE2b-256 2a20bcb2464b5dcb6e43e022c214fe70027b0b1c5a2fe1ae91cad471dfbd26fa

See more details on using hashes here.

Provenance

The following attestation bundles were made for pruv_openai-0.1.0-py3-none-any.whl:

Publisher: publish.yml on mintingpressbuilds/pruv

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