Skip to main content

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)

License

AGPL-3.0. Commercial licensing available — contact burhan@hardinai.co.uk.

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)

Table of built distributions (wheels) for tbn-protocol 0.1.6
File Interpreter ABI Platform
tbn_protocol-0.1.6-py3-none-any.whl Python 3 none any Details

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

Release history Release notifications | RSS feed

This release

0.1.6 This release

1 release file

0.1.5

2 release files

0.1.4

2 release files

0.1.3

2 release files

0.1.2

2 release files

0.1.1

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page