TBN Protocol
Trust infrastructure for AI agents. Think HTTPS for bots.
Every consequential action your AI agent takes gets a cryptographic receipt — RSA-PSS-SHA256 signed, hash-chained, independently verifiable by anyone without server access or trust in us. The design rule: no receipt, no effect.
Install
pip install tbn-protocol
Quick Start
from tbn import TBNClient
# 1. Get a trial API key (instant, self-service, 7 days / 100 calls per day)
client = TBNClient("MyBot", "SEARCH")
result = client.register(company="My Company", email="dev@mycompany.com")
print(result["api_key"]) # Save this — shown only once
# 2. Verify any agent's certification (no key needed)
status = client.verify_public("tbn-bot-a1cc0d69")
print(status["certification_status"]) # VALID / REVOKED / UNKNOWN
# 3. Independently verify a signed governance record (no key needed)
proof = client.verify_record("tbn_gar_1129396b50ad44065b2b2461cc885b7c")
assert proof["verified"] == True # hash recomputed + signature checked
# 4. Search (requires your API key)
results = client.search("Find trusted AI tools for small businesses")
If you already have a key
client = TBNClient("MyBot", api_key="tbn_live_...")
results = client.search("Find AI compliance tools")
Zero-Trust Verification
You can verify records without any API key — the verification endpoint
recomputes the hash and checks the signature, returning verified: true
only if both pass. You're not trusting our word; you're recomputing it.
# Get TBN's public key for offline verification
key = client.get_public_key()
print(key["public_key_pem"])
print(key["algorithm"]) # RSA-PSS with SHA-256
Live Endpoints (no key)
- Architecture: https://tbn.hardinai.co.uk/architecture
- Governance dashboard: https://tbn.hardinai.co.uk/governance
- Verify a record: https://tbn.hardinai.co.uk/api/gar/verify/{record_id}
- Public key: https://tbn.hardinai.co.uk/api/signing/public-key
- Pricing: https://tbn.hardinai.co.uk/api/access/plans
License
AGPL-3.0. Commercial licensing available — contact burhan@hardinai.co.uk.
Links
Metadata
Release files for tbn-protocol 0.1.6
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| tbn_protocol-0.1.6-py3-none-any.whl | Python 3 | none | any | Details for tbn_protocol-0.1.6-py3-none-any.whl |
Release files / tbn_protocol-0.1.6-py3-none-any.whl
| Download URL | tbn_protocol-0.1.6-py3-none-any.whl |
|---|---|
| Size | 6.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
1b71032df53080270a531fd440842450caee8e6ebd401920efb62305c9a488ea
|
|
BLAKE2b-256 checksum How to use checksums |
e6359f9df2d705bc884dd48a5f4736ef694896454733959c848320b912ff95a3
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.10.12
|
Security for tbn-protocol 0.1.6
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.