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.

Links

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

tbn_protocol-0.1.6-py3-none-any.whl (6.2 kB view details)

Uploaded Python 3

File details

Details for the file tbn_protocol-0.1.6-py3-none-any.whl.

File metadata

  • Download URL: tbn_protocol-0.1.6-py3-none-any.whl
  • Upload date:
  • Size: 6.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/7.0.0 CPython/3.10.12

File hashes

Hashes for tbn_protocol-0.1.6-py3-none-any.whl
Algorithm Hash digest
SHA256 1b71032df53080270a531fd440842450caee8e6ebd401920efb62305c9a488ea
MD5 5ff09146a2b4fb90f62e199e37046aa8
BLAKE2b-256 e6359f9df2d705bc884dd48a5f4736ef694896454733959c848320b912ff95a3

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

0.1.6 This release

1 file

0.1.5

2 files

0.1.4

2 files

0.1.3

2 files

0.1.2

2 files

0.1.1

2 files

0.1.0

2 files

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page