pruv verification layer for OpenAI Agents SDK
Project description
pruv-openai
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:
toolspans →tool.executescopehandoffspans →agent.handoffscopellm/model/generationspans →llm.callscopeguardrailspans →guardrail.checkscope
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
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
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 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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
643111ea4ce0266cb21e820e1b61e3f64efe369acf30f07119127a803b64849e
|
|
| MD5 |
fda1da6e70d4a4a75b8a4e577ab281b0
|
|
| BLAKE2b-256 |
2e57a0b265bb4f89ac3cb4b2dbf59edf805a13105c0320097ca8c077c37c2f64
|
Provenance
The following attestation bundles were made for pruv_openai-0.1.0.tar.gz:
Publisher:
publish.yml on mintingpressbuilds/pruv
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
pruv_openai-0.1.0.tar.gz -
Subject digest:
643111ea4ce0266cb21e820e1b61e3f64efe369acf30f07119127a803b64849e - Sigstore transparency entry: 983693268
- Sigstore integration time:
-
Permalink:
mintingpressbuilds/pruv@25f735c4aeb10c4773d581de396430819f9a818f -
Branch / Tag:
refs/heads/main - Owner: https://github.com/mintingpressbuilds
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@25f735c4aeb10c4773d581de396430819f9a818f -
Trigger Event:
workflow_dispatch
-
Statement type:
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
22ecc1f637ccbf00cde8733bf8f94a995e356c4cadf2f5860fc7ce406df1660b
|
|
| MD5 |
30c6fccaf222f86250fc219635222d7e
|
|
| BLAKE2b-256 |
2a20bcb2464b5dcb6e43e022c214fe70027b0b1c5a2fe1ae91cad471dfbd26fa
|
Provenance
The following attestation bundles were made for pruv_openai-0.1.0-py3-none-any.whl:
Publisher:
publish.yml on mintingpressbuilds/pruv
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
pruv_openai-0.1.0-py3-none-any.whl -
Subject digest:
22ecc1f637ccbf00cde8733bf8f94a995e356c4cadf2f5860fc7ce406df1660b - Sigstore transparency entry: 983693307
- Sigstore integration time:
-
Permalink:
mintingpressbuilds/pruv@25f735c4aeb10c4773d581de396430819f9a818f -
Branch / Tag:
refs/heads/main - Owner: https://github.com/mintingpressbuilds
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@25f735c4aeb10c4773d581de396430819f9a818f -
Trigger Event:
workflow_dispatch
-
Statement type: