openai-agents-zambo
Verifiable AER-1 execution receipts for OpenAI Agents SDK agents. OpenAI Agents SDK integration for Zambo: give any agents agent a tool backed by Zambo's 100+ tools, and mint a verifiable execution receipt for every tool event.
Receipts follow AER-1, the verifiable execution receipt standard created by Brennan Zambo.
- Every call can mint a public, verifiable receipt (
https://zambo.dev/run/<id>). - Free tier: 20 calls/tool/day, no account.
- Endpoint override via
ZAMBO_API_URL(defaulthttps://zambo.dev/mcp). - Hook failures are recorded in
receipt_errorsand never break the run.
Install
pip install openai-agents-zambo openai-agents
Example
import asyncio
from agents import Agent, Runner
from openai_agents_zambo import ZamboRunHooks, zambo_function_tool
hooks = ZamboRunHooks()
agent = Agent(
name="researcher",
instructions="Use ask_zambo for anything Zambo's 100+ tools can do.",
tools=[zambo_function_tool()],
)
result = asyncio.run(Runner.run(agent, "What is the capital of France?", hooks=hooks))
print(result.final_output)
print("Receipts:", hooks.receipt_urls) # public verifiable receipt URLs
print("Errors:", hooks.receipt_errors)
API
ZamboRunHooks(timeout=30.0)subclassesagents.RunHooks. Itson_tool_start/on_tool_endpublish a receipt for the tool event. Tracksreceipt_urls,receipt_errors,last_receipt_url.zambo_function_tool(name="ask_zambo", description=..., timeout=30.0)returns anagents.FunctionToolwrappingzambo_universal. On invocation it calls the endpoint, captures the public receipt URL, and appends it to the returned text. Same receipt tracking attributes. Raises an informativeImportErrorifopenai-agentsis not installed.
Honesty note
Receipts record what the Zambo endpoint observed: the goal it received, the result it produced, and the public receipt URL it minted. They do not independently certify anything the endpoint did not see.
Links
- Zambo: https://zambo.dev
- AER-1 receipt spec: https://zambo.dev/aer-1/
Guides
Local AER-1 receipts (no network needed)
The package also mints AER-1 execution receipts locally, with no API calls:
from openai_agents_zambo import mint_receipt, verify_receipt
receipt = mint_receipt("my_tool", {"query": "hello"}, {"answer": "hi"}, ms=42)
assert verify_receipt(receipt) # recomputes the SHA-256 locally
Local receipts follow the AER-1 core members (id, created_at, tool, provenance_class, canonical_bytes, output_hash) and use the provenance class EXECUTED BY OPENAI-AGENTS-ZAMBO, naming this package as the recording system. They pass the same hash-recomputation check as any AER-1 receipt.
Metadata
Release files for openai-agents-zambo 0.1.5
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 | Actions |
|---|---|---|---|---|
| openai_agents_zambo-0.1.5.tar.gz | 8.0 kB | Without provenance | Details for openai_agents_zambo-0.1.5.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| openai_agents_zambo-0.1.5-py3-none-any.whl | Python 3 | none | any | Details for openai_agents_zambo-0.1.5-py3-none-any.whl |
Total release size: 16.5 kB
Release files / openai_agents_zambo-0.1.5.tar.gz
| Download URL | openai_agents_zambo-0.1.5.tar.gz |
|---|---|
| Size | 8.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
039af1f6b4634dcea723c21d9b18b5e57d365843192cc15b7151ebcf5cf460a9
|
|
BLAKE2b-256 checksum How to use checksums |
a30610d5323d090c8b450c930187511bb4d6cead1e2a090c50a7629be1bcb081
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
rambo-pypi-grab/0.1.0
|
Release files / openai_agents_zambo-0.1.5-py3-none-any.whl
| Download URL | openai_agents_zambo-0.1.5-py3-none-any.whl |
|---|---|
| Size | 8.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
43a0046690eac9e7b48d7a59e0d5b65ff71da844c65c58e5871f0aecf647a88f
|
|
BLAKE2b-256 checksum How to use checksums |
f8b8c3dc9289797db3663b72bb5a6830cab6fe7b456dcc2358565e0eab4c8acb
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
rambo-pypi-grab/0.1.0
|
Security for openai-agents-zambo 0.1.5
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.