OpenAI-Agents tools for the HonorNet agent presentation client — a protocol shim that mints proofs and presents three-part ADR-009 bundles. It decides nothing (hard rule 3).
Project description
honornet-agent-presentation-openai-agents
Tools for the OpenAI Agents SDK that make an OpenAI-Agents agent HonorNet-capable — able to present an issuer-signed credential, an owner-signed mandate, and a per-transaction proof to a HonorNet acceptance endpoint, and receive an approve/decline verdict.
It is a shim, not a framework
This wrapper is a protocol shim under HonorNet's hard rule 3, the same boundary as the MCP client it wraps. The analog is Visa publishing an EMV kernel: the kernel holds the card's key, mints the per-transaction cryptogram, and presents it — it decides nothing about what the cardholder buys.
These tools do exactly that and no more:
- hold an issuer-signed credential (
load_credential), - hold an owner-signed mandate (
load_mandate), - mint the per-transaction proof of possession, assemble the three-part
ADR-009 bundle, and present it (
present).
They decide nothing about what the agent buys, ranks, or chooses, and never
call a model. The approve/decline verdict is always the network's; present
relays it verbatim and adds no judgment. The tool set is exactly the three the
core client defines — this wrapper cannot add a fourth.
Install
pip install honornet-agent-presentation-openai-agents
This pulls the core honornet-agent-presentation client (which carries the
pure-Python signing, zero third-party deps) and openai-agents.
Use
from agents import Agent
from honornet_presentation import PresentationClient
from honornet_presentation_openai_agents import make_honornet_tools
client = PresentationClient(
agent_seed=AGENT_SEED, # the agent's own Ed25519 seed
endpoint="https://api.honornet.ai/authorize",
api_key=SANDBOX_OR_LIVE_CALLER_KEY, # operator-configured, not an agent argument
)
agent = Agent(
name="checkout-agent",
tools=make_honornet_tools(client), # -> [load_credential, load_mandate, present]
)
The agent decides what the transaction is; the operator configures where it
is presented (the endpoint); the shim decides neither. See
epic-AC-530
and the four-party model.
License
Apache-2.0.
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 honornet_agent_presentation_openai_agents-0.1.0.tar.gz.
File metadata
- Download URL: honornet_agent_presentation_openai_agents-0.1.0.tar.gz
- Upload date:
- Size: 8.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d0e1afe51da7830608594824cb717ef680e1c97558d6cc6f141d4f72d3b40c75
|
|
| MD5 |
99a1b15fea77f4e55b2e28304a7420cf
|
|
| BLAKE2b-256 |
60218f931e2cd0dbbd5339987440c2da597174ab24996ab3b2aefdd6d9624061
|
Provenance
The following attestation bundles were made for honornet_agent_presentation_openai_agents-0.1.0.tar.gz:
Publisher:
publish-agent-presentation-openai-agents.yml on HonorNetAI/HonornetAI
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
honornet_agent_presentation_openai_agents-0.1.0.tar.gz -
Subject digest:
d0e1afe51da7830608594824cb717ef680e1c97558d6cc6f141d4f72d3b40c75 - Sigstore transparency entry: 1803683030
- Sigstore integration time:
-
Permalink:
HonorNetAI/HonornetAI@061a37740719157a124cd3e47810fe9b5eb16dc8 -
Branch / Tag:
refs/tags/honornet-agent-presentation-openai-agents-v0.1.0 - Owner: https://github.com/HonorNetAI
-
Access:
private
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish-agent-presentation-openai-agents.yml@061a37740719157a124cd3e47810fe9b5eb16dc8 -
Trigger Event:
push
-
Statement type:
File details
Details for the file honornet_agent_presentation_openai_agents-0.1.0-py3-none-any.whl.
File metadata
- Download URL: honornet_agent_presentation_openai_agents-0.1.0-py3-none-any.whl
- Upload date:
- Size: 8.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8b312349ca6599bd5323e29957c3c71f5543acb4572c519c14c734a20beb7a44
|
|
| MD5 |
187f0b81ffa2e9c7339e0e145da3033d
|
|
| BLAKE2b-256 |
b7edab94ae915afe442aace535e320073b1463799ccf99742e2121973ae24ad9
|
Provenance
The following attestation bundles were made for honornet_agent_presentation_openai_agents-0.1.0-py3-none-any.whl:
Publisher:
publish-agent-presentation-openai-agents.yml on HonorNetAI/HonornetAI
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
honornet_agent_presentation_openai_agents-0.1.0-py3-none-any.whl -
Subject digest:
8b312349ca6599bd5323e29957c3c71f5543acb4572c519c14c734a20beb7a44 - Sigstore transparency entry: 1803683160
- Sigstore integration time:
-
Permalink:
HonorNetAI/HonornetAI@061a37740719157a124cd3e47810fe9b5eb16dc8 -
Branch / Tag:
refs/tags/honornet-agent-presentation-openai-agents-v0.1.0 - Owner: https://github.com/HonorNetAI
-
Access:
private
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish-agent-presentation-openai-agents.yml@061a37740719157a124cd3e47810fe9b5eb16dc8 -
Trigger Event:
push
-
Statement type: