AGENTOMETRIC TRUST PROTOCOL · AGTP/0.1
The Agentometric Trust Protocol (AGTP) is a published standard for proving who an AI agent acts for and what it may ask. A brand signs a passport and a never-ask mandate for each agent; anyone can check them against the brand’s public key. Sure91 is the first registry and Guard built on it.
// illustrative
{
"principal": "Demo Bank Ltd",
"agent": "emi-reminder",
"channels": ["voice", "whatsapp"],
"numbers": ["1600-XXX-XXX"],
"a2p_declared": true,
"may_ask": ["emi_due_date"],
"never_asks": ["otp", "pin", "cvv"],
"sig": "ed25519:7f3k…2q"
}
SIGN
Your key. Your signature.
PUBLISH
A public registry. Anyone can read.
CHECK
On the device. Only a 5-character hash prefix is sent.
Sandbox keys and the Guard SDKs (TypeScript and Android) are shared with pilot partners; the conformance vectors are public. Read the spec · Conformance vectors · Request sandbox access
VOICE-AI · CPAAS · WHATSAPP
Hash the recipient on your side, issue a signed interaction, ask the Gateway before any sensitive request, close with a receipt. Python shown; plain REST underneath.
from sure91_sdk import Sure91
s91 = Sure91("https://trust.sure91.in", partner_key)
# The number is hashed here; only the keyed hash is sent, never the number.
ia = s91.issue(recipient="+91 98xxx xxxxx", ta_id="DEMO-HB89",
channel="voice", binding="cli:+911600123456",
purpose="payment_reminder")
footer = ia["footer"] # "AI agent · Verify this interaction: sure91.in/DEMO-HB89-TT"
# Before any sensitive ask, the Gateway: the bank's signed mandate decides.
d = s91.authorize(ia["interaction_id"], "request_otp")
if d["decision"] == "deny":
agent.say(d["say_instead"]) # never asks; nothing of the call is sent
s91.complete(ia["interaction_id"], disposition="delivered")COLLECTIONS · RBI, FROM 1 JAN 2027
For purpose collections, send the account's days past due. Outside 08:00–19:00 IST, over the bank's daily limit, before the agent's escalation stage or from an uncleared agency, a live key gets 403 and no code; a test key issues with a warning. Every refusal is a signed decision in the bank's Gateway log.
Reasons: outside_calling_hours · contact_limit_reached · escalation_stage_not_reached · dpd_required · agency_suspended · agency_undertaking_missing · agency_certification_lapsed
try:
ia = s91.issue(recipient="+91 98xxx xxxxx", ta_id="DEMO-J4AF",
channel="voice", binding="cli:+911600123457",
purpose="collections",
recovery={"dpd": 38}) # add "borrower_requested_time": True
# only when the borrower asked for this time
except httpx.HTTPStatusError as e:
# 403: e.g. "20:15 IST is outside 09:00-19:00 IST" — do not place the call
reschedule(e.response.json()["detail"])
# Disclosure proof: right after the agent says it is an AI
s91.disclosed(ia["interaction_id"], language="hi") # signed DisclosureConfirmation
# Brands that set require_disclosure: the Gateway refuses sensitive asks until this is sent
# Node 18+: sdk/node/sure91.ts — issue · disclosed · authorize · mayAsk (fails closed) · complete
# Bank side: GET /v1/principals/me/gateway/log?decision=deny&format=csv
# GET /v1/principals/me/compliance/recovery?month=2027-01&format=csv
# Public: GET /v1/registry/brands/{slug}/agenciesBANKS · INSURERS · NBFCS
Generate an Ed25519 key on your machine or behind your HSM workflow, register its public half, sign each registry entry. Or do the same in the console, in the browser.
python3 tools/sure91_sign.py keygen --out bank-key.json
python3 tools/sure91_sign.py register --key bank-key.json \
--api https://trust.sure91.in --token s91_live_…
python3 tools/sure91_sign.py sign --key bank-key.json \
--api https://trust.sure91.in --token s91_live_…
# Air-gapped: sign the RFC 8785 payload, paste the signature back.
python3 tools/sure91_sign.py sign-payload --key bank-key.json \
--payload <payload_b64u>BANK APPS · DIALERS
TypeScript and Kotlin (Android). The phone sends a 5-hex hash prefix, never the number; a timeout is never a false green.
import { Guard } from "./guard"; // guard.ts, shared with partners
const guard = new Guard({ baseUrl: "https://trust.sure91.in", appKey });
await guard.load(); await guard.sync();
const v = await guard.check("+91 1600 123 456", "voice");
// v.state: VERIFIED | WRONG_ASK | REVOKED | IMPERSONATION_SUSPECTED | UNKNOWN …
// v.colour: green | amber | red | grey
const m = await guard.check("AX-DEMOBK", "sms", { text: smsBody });
// a message asking for an OTP from a genuine sender → amberVoice-AI platforms attach a signed identity to each call. CPaaS and WhatsApp providers add a short code to templates. Bank apps and dialers embed the Guard SDK — Android first — to check and display verdicts.
Voice-AI platforms
CPaaS and WhatsApp
Bank apps (Android first)
Dialers
A regulator can adopt the protocol without adopting us. Trust & Privacy →