pydanticai-zambo
Verifiable AER-1 execution receipts for PydanticAI agents. PydanticAI function tools for Zambo, with automatic verifiable receipt capture.
Receipts follow AER-1, the verifiable execution receipt standard created by Brennan Zambo. Every ask_zambo call routes a goal through Zambo's 153 tools over the public MCP endpoint, and every call mints a public verifiable receipt at https://zambo.dev/run/{id}.
Install
pip install pydanticai-zambo
Ten-line example
from pydanticai_zambo import ZamboToolset
from pydantic_ai import Agent
from pydantic_ai.models.test import TestModel
toolset = ZamboToolset()
agent = Agent(TestModel(), tools=toolset.tools())
result = agent.run_sync("Summarize the Zambo free tier")
toolset.record_run(result.output)
print(toolset.last_receipt_url)
The tool prints each public https://zambo.dev/run/{id} URL and keeps the most recent URL in last_receipt_url. The receipt describes what the endpoint recorded and observed. It does not prove an outside outcome that the endpoint did not observe.
Set ZAMBO_API_URL to point at a compatible Zambo host, or ZAMBO_TIMEOUT to change the request timeout. Receipt failures land in receipt_errors and never break the host agent.
The package imports cleanly without pydantic-ai installed; calling tools() without it raises an informative ImportError telling you to pip install pydantic-ai.
Project homepage: 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 pydanticai_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 PYDANTICAI-ZAMBO, naming this package as the recording system. They pass the same hash-recomputation check as any AER-1 receipt.
Metadata
Release files for pydanticai-zambo 0.2.3
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 |
|---|---|---|---|---|
| pydanticai_zambo-0.2.3.tar.gz | 13.4 kB | Without provenance | Details for pydanticai_zambo-0.2.3.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| pydanticai_zambo-0.2.3-py3-none-any.whl | Python 3 | none | any | Details for pydanticai_zambo-0.2.3-py3-none-any.whl |
Total release size: 28.3 kB
Release files / pydanticai_zambo-0.2.3.tar.gz
| Download URL | pydanticai_zambo-0.2.3.tar.gz |
|---|---|
| Size | 13.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
bcaed6d4e2b25810f5a30bcfaa4d7a03bdd5bf5a791dc86ac1f180f53cfb8203
|
|
BLAKE2b-256 checksum How to use checksums |
b3d42c07327201a1392c5d875f1a658f020448ab5d6e9accb85b2e0c01872976
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
rambo-pypi-grab/0.1.0
|
Release files / pydanticai_zambo-0.2.3-py3-none-any.whl
| Download URL | pydanticai_zambo-0.2.3-py3-none-any.whl |
|---|---|
| Size | 14.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
b0cff5afd2763022be2e480deabbe26a5ce22441e4b8d47d15ffa4024f392c40
|
|
BLAKE2b-256 checksum How to use checksums |
62164e15024d0230e5228e3132203fa9271db1f841222907f4ae2c4ca0e39699
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
rambo-pypi-grab/0.1.0
|
Security for pydanticai-zambo 0.2.3
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.