Skip to main content

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

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)

Source distribution for pruv-openai 0.1.0
File Size Uploaded
pruv_openai-0.1.0.tar.gz 5.0 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for pruv-openai 0.1.0
File Interpreter ABI Platform
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 log

Release 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

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page