openai-agents-zambo
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.
- 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/api/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.
Release files for openai-agents-zambo 0.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 | |
|---|---|---|---|
| openai_agents_zambo-0.1.0.tar.gz | 5.2 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| openai_agents_zambo-0.1.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 11.7 kB
Release files / openai_agents_zambo-0.1.0.tar.gz
| Download URL | openai_agents_zambo-0.1.0.tar.gz |
|---|---|
| Size | 5.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
5bcf443cca2245dfe762b2f77f5bdc6153815bc182ac4c9f3a4d15eacc1b3bcf
|
|
BLAKE2b-256 checksum How to use checksums |
307741a7c6a4648610b4c5705956bb61b16ead268c30231af1e7c8ed9df67b7e
|
| 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.0-py3-none-any.whl
| Download URL | openai_agents_zambo-0.1.0-py3-none-any.whl |
|---|---|
| Size | 6.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
a9660cdb978a126e531cb4972625d6b0ebb2277369ff99541dfd8f9c71736503
|
|
BLAKE2b-256 checksum How to use checksums |
5819fabd2f7649684b7f20ca6d83a7c1a6a048158ed4684e2e6a0b843fc90b10
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
rambo-pypi-grab/0.1.0
|