Metadata-Version: 2.4
Name: zambo-sdk
Version: 0.1.11
Summary: Zambo Python client: tools behind one MCP endpoint (https://zambo.dev/mcp), a verifiable AER-1 receipt for every call, no API key
Author: Brennan Zambo
License: MIT
Project-URL: AER-1 standard, https://zambo.dev/aer1/
Project-URL: Add Zambo to your AI, https://zambo.dev/add/
Project-URL: Homepage, https://zambo.dev
Project-URL: Documentation, https://zambo.dev/docs
Keywords: zambo,mcp,ai-tools,agents,receipts,execution-receipt,verifiable-receipt,ai-agent-receipt
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Classifier: Intended Audience :: Developers
Classifier: Topic :: Scientific/Engineering :: Artificial Intelligence
Requires-Python: >=3.9
Description-Content-Type: text/markdown

# zambo-sdk

**AER-1, the agent execution receipt standard: [zambo.dev/aer-1](https://zambo.dev/aer-1/) | Add Zambo to your AI: [zambo.dev/add/](https://zambo.dev/add/)**

Thin Python client for [Zambo](https://zambo.dev), the verifiable work layer for AI. tools behind one MCP endpoint, a verifiable AER-1 receipt for every call. Free tier included: 20 calls + 1 wrap-up free every day; picking up in another AI is always free. No account, no API key. Zero dependencies.

## Install

```bash
pip install zambo-sdk
```

## Quickstart

```python
from zambo_sdk import Client, verify_receipt

z = Client()

# 1. Call a tool: plain JSON-RPC, no API key
result = z.call("live_price", {"symbol": "BTC"})
print(result.text)
print("receipt:", result.receipt_id)
print("audit:  ", result.audit_url)

# 2. Route any goal through the universal entry point
job = z.universal("audit https://example.com for AI discoverability", session="demo-1")
print(job.text)

# 3. Search the full tool catalog
found = z.search("generate QR code")
print(found.text)

# 4. Verify a receipt client-side (recomputes the sha256 locally)
v = verify_receipt(result.receipt_id)
print("verified:", v.verified, v.checks)
```

## API

- `Client().call(tool, arguments)` -> `CallResult` (`.text`, `.receipt_id`, `.audit_url`, `.receipt`)
- `Client().list_tools()` -> list of tool descriptors
- `Client().search(query)` -> search the full catalog via `capability_search`
- `Client().universal(goal, session=None)` -> multi-step jobs via `zambo_universal`
- `get_receipt(receipt_id)` -> full receipt JSON
- `verify_receipt(receipt_id)` -> `Verification` (`.verified`, `.checks`, `.audit_url`)

`verify_receipt` checks three things: the receipt exists, the server marks it `verified`, and, recomputed locally so the server can't fake it, `sha256(canonical_bytes) == output_hash`, plus the presence of the anchor record. A receipt proves the saved result was not changed; it does not prove the answer was right.

Receipts follow AER-1 (IETF Internet-Draft draft-zambo-aer1-26). Multi-step jobs can be packaged as a handover: one link a reviewer opens to walk the steps and record a decision.

## Notes

- Endpoint: `https://zambo.dev/mcp` (JSON-RPC 2.0 over HTTPS, `streamable_http`-compatible).
- Receipts: audit page `https://zambo.dev/run/<uuid>`; verify any receipt at https://zambo.dev/verify/.
- Need more than the free tier? The $0.99/24h Day Pass is at [zambo.dev/day-pass](https://zambo.dev/day-pass/).

## Where these receipts run live: Zambo

zambo-sdk is a zero dependency Python client for Zambo, every call returning a verifiable AER-1 receipt, and it has been downloaded 3,878 times on PyPI. The live home of those receipts is Zambo, the verifiable work layer for AI. Connect any AI to the live endpoint at https://zambo.dev/mcp or add Zambo to your AI in one step at https://zambo.dev/add/

Free tier: 20 calls + 1 wrap-up free every day; picking up in another AI is always free. The Day Pass is $0.99 for 24 hours, unlimited.

Install:

    pip install zambo-sdk

## The Zambo pattern family

Five installable packages teach Zambo patterns, each with a real run behind it. The family page: https://rambozambodotdev.gitlab.io/aer1-hub/the-pattern-family.html

- **zambo-swarm**: use it when the job is bigger than one agent and several workers must each prove their piece of one shared job. PyPI: https://pypi.org/project/zambo-swarm/ and npm: https://www.npmjs.com/package/zambo-swarm
- **zambo-loop**: use it when an agent must pick up its own work tomorrow, recall its baseline verbatim, and keep one job alive across sessions. npm: https://www.npmjs.com/package/zambo-loop (PyPI listing pending)
- **zambo-verify-pass**: use it when someone retells a result and you need to catch the drift against the receipt of record. PyPI: https://pypi.org/project/zambo-verify-pass/ and npm: https://www.npmjs.com/package/zambo-verify-pass
- **zambo-delivery**: use it when a client must check delivered work step by step and their pickup is the sign-off. PyPI: https://pypi.org/project/zambo-delivery/ and npm: https://www.npmjs.com/package/zambo-delivery
- **zambo-watch**: use it when one watcher checks the same signal on a schedule and must prove what it saw, quiet days included. PyPI: https://pypi.org/project/zambo-watch/ and npm: https://www.npmjs.com/package/zambo-watch
