palveron-openai-agents
PALVERON AI Governance for the OpenAI Agents SDK — input and output guardrails with audit trails.
Installation
pip install palveron-openai-agents
Quick Start
from agents import Agent
from palveron_openai_agents import palveron_input_guardrail, palveron_output_guardrail
agent = Agent(
name="assistant",
instructions="You are a helpful assistant.",
input_guardrails=[palveron_input_guardrail(api_key="pv_live_xxx")],
output_guardrails=[palveron_output_guardrail(api_key="pv_live_xxx")],
)
# Inputs with PII → blocked before the agent sees them
# Outputs with secrets → blocked before the user sees them
How It Works
| Guardrail | When | What happens on BLOCKED |
|---|---|---|
palveron_input_guardrail |
Before agent processes input | Raises GuardrailTripwireTriggered |
palveron_output_guardrail |
Before output reaches user | Raises GuardrailTripwireTriggered |
Every check creates an immutable trace in your PALVERON project for audit and compliance.
Configuration
guardrail = palveron_input_guardrail(
api_key="pv_live_xxx",
base_url="https://gateway.internal.corp:8080", # On-prem
fail_open=False, # Block on gateway errors (default)
metadata={"team": "ml"}, # Extra metadata on traces
)
Links
License
Metadata
Release files for palveron-openai-agents 1.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 | |
|---|---|---|---|
| palveron_openai_agents-1.1.0.tar.gz | 6.0 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| palveron_openai_agents-1.1.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 11.3 kB
Release files / palveron_openai_agents-1.1.0.tar.gz
| Download URL | palveron_openai_agents-1.1.0.tar.gz |
|---|---|
| Size | 6.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
72037e437169adcfbd8cbb91260ea8e488b63bb9e022166dabffddfc6c8b4518
|
|
BLAKE2b-256 checksum How to use checksums |
0252db8f753c9a5aafc23804f0e97a617dbb5211a0be175e5267e203d847b02f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
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 May 19, 2026.
Transparency logRelease files / palveron_openai_agents-1.1.0-py3-none-any.whl
| Download URL | palveron_openai_agents-1.1.0-py3-none-any.whl |
|---|---|
| Size | 5.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
a242e1852fbba0838fa8c43758d23fab31969bfe352d1866877a5af227875ca3
|
|
BLAKE2b-256 checksum How to use checksums |
7c73de7d2f2bd573a55cc34941f148cde21ca8b863a3266f43181b136684485f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
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 May 19, 2026.
Transparency log