Bots must pass 6 automated security tests before getting TBN certified. Tests cover prompt injection, hallucination, data boundaries, budget limits, sensitive data, and instruction following. All critical tests must pass.
// Security challenge results will appear here
// 1. Enter a bot ID and run challenges
// 2. Click "Evaluate" to see if the bot passes
// 3. Click "Get Attestation" to see the cryptographic proof
📦 PyPI Package — Install TBN Protocol SDK
# Install the TBN Protocol SDK from PyPI
pip install tbn-protocol
# Use in your Python code
from tbn import TBNClient
# Register your bot
client = TBNClient(bot_name="MyBot", bot_type="SEARCH")
client.register()
# Search the network
results = client.search("Find trusted AI tools for small businesses")
print(results)
# Verify another bot
trusted = client.verify("tbn-bot-xxxx")
print(f"Bot is trusted: {trusted}")
# Get network stats
stats = client.stats()
print(f"Network has {stats['registered_bots']} bots")
📋 curl Quickstart — 30 Second Demo
# 1. Register a bot
curl -X POST http://localhost:5000/api/register \
-H "Content-Type: application/json" \
-d '{"name": "MyBot", "type": "SEARCH"}'
# 2. Search (natural language → Bot Language → results)
curl -X POST http://localhost:5000/api/search \
-H "Content-Type: application/json" \
-d '{"query": "Find trusted AI tools for small businesses"}'
# 3. Verify a bot certificate
curl -X POST http://localhost:5000/api/verify \
-H "Content-Type: application/json" \
-d '{"bot_id": "tbn-bot-xxxx"}'
# 4. Simulate platform access request
curl -X POST http://localhost:5000/api/platform/request \
-H "Content-Type: application/json" \
-d '{"bot_id": "tbn-bot-xxxx", "platform": "GitHub", "resource": "/repos/tbn-protocol"}'
# 5. List all bots
curl http://localhost:5000/api/bots