HELM × OpenAI Agents SDK (Python)
Route tool execution through HELM governance in under 5 minutes.
Install
pip install helm # or: pip install -e sdk/python/
Quick Integration
from helm_openai_agents import HelmToolExecutor, wrap_openai_tool
# 1. Create executor pointing to your HELM instance
executor = HelmToolExecutor(helm_url="http://localhost:8080")
# 2. Execute tools through governance
result = executor.execute("search_web", {"query": "HELM governance"})
print(f"Verdict: {result.receipt.verdict}")
print(f"Receipt: {result.receipt.receipt_id}")
# 3. Export EvidencePack
pack_hash = executor.export_evidence_pack("evidence.tar")
print(f"Pack SHA-256: {pack_hash}")
# 4. Verify offline
# helm verify --bundle evidence.tar
With OpenAI Agents SDK
from agents import Agent, Runner
from helm_openai_agents import HelmToolExecutor
executor = HelmToolExecutor(
helm_url="http://localhost:8080",
fail_closed=True, # Deny on HELM unreachable
metadata={"org": "acme", "env": "production"},
)
# Wrap your tool functions
@executor.wrap_openai_tool
def search_web(query: str) -> str:
return f"Results for: {query}"
agent = Agent(name="researcher", tools=[search_web])
result = Runner.run_sync(agent, "Search for HELM governance")
Proxy Mode (Zero Code Changes)
# Start HELM proxy
helm proxy --upstream https://api.openai.com/v1
# Point your app at the proxy
export OPENAI_BASE_URL=http://localhost:9090/v1
python your_app.py # Every tool call is now governed
Tests
cd sdk/python && pytest openai_agents/ -v
Metadata
Release files for helm-openai-agents 0.4.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 | Provenance | |
|---|---|---|---|---|
| helm_openai_agents-0.4.0.tar.gz | 4.6 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| helm_openai_agents-0.4.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 9.6 kB
Release files / helm_openai_agents-0.4.0.tar.gz
| Download URL | helm_openai_agents-0.4.0.tar.gz |
|---|---|
| Size | 4.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
e9cdb92c04c1407dd4b8fdd00f3340b0989bc9ee21609b0b895fa245daafe54d
|
|
BLAKE2b-256 checksum How to use checksums |
89333546c6d5be97271a527723b11d5cce90f57448ba106f8d1f7deeca74cc0c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.11
|
Release files / helm_openai_agents-0.4.0-py3-none-any.whl
| Download URL | helm_openai_agents-0.4.0-py3-none-any.whl |
|---|---|
| Size | 4.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
b235410284cc607e5c4c51c84024ad74440e39c76ffc8f048c695d98f42c65f9
|
|
BLAKE2b-256 checksum How to use checksums |
029ffbe7b0559afe856152e2f7a2822ce72c5b9c42ae40fd59b1297a7a934cc0
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.11
|
Security for helm-openai-agents 0.4.0
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.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.