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
Metadata
Release files for pruv-openai 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| pruv_openai-0.1.0.tar.gz | 5.0 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| pruv_openai-0.1.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 10.0 kB
Release files / pruv_openai-0.1.0.tar.gz
| Download URL | pruv_openai-0.1.0.tar.gz |
|---|---|
| Size | 5.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
643111ea4ce0266cb21e820e1b61e3f64efe369acf30f07119127a803b64849e
|
|
BLAKE2b-256 checksum How to use checksums |
2e57a0b265bb4f89ac3cb4b2dbf59edf805a13105c0320097ca8c077c37c2f64
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Feb 23, 2026.
Transparency logRelease files / pruv_openai-0.1.0-py3-none-any.whl
| Download URL | pruv_openai-0.1.0-py3-none-any.whl |
|---|---|
| Size | 5.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
22ecc1f637ccbf00cde8733bf8f94a995e356c4cadf2f5860fc7ce406df1660b
|
|
BLAKE2b-256 checksum How to use checksums |
2a20bcb2464b5dcb6e43e022c214fe70027b0b1c5a2fe1ae91cad471dfbd26fa
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Feb 23, 2026.
Transparency log