{"id":"TIE-AGT-034","title":"Recognise and verify AI agents that visit your website or API","maturity":"documented","collection":"Agent identity","category":"Runtime authorisation","complexity":"Medium","intent":"Tell trustworthy AI agents from impersonators and malicious bots, and tell who operates an agent from who authorised it, by verifying signed agent requests at the edge, scoring behaviour, and requiring delegated authorisation from the customer for anything beyond public content.","summary":"Agents now browse, compare and buy for customers, and User-Agent strings and IP lists cannot prove which agent is calling. Verify HTTP message signatures to identify the operator, score behaviour to catch impersonators, and require the customer's delegated authorisation before account or payment actions.","problems":["Bot fraud and scraping","Agentic commerce","Impersonation of known agents","Account takeover","Customer experience for agent traffic","Rate limiting and capacity"],"standards":["HTTP Message Signatures (RFC 9421)","Web Bot Auth: HTTP Message Signatures for automated traffic (IETF draft)","JWK Thumbprint (RFC 7638)","OAuth 2.0 (RFC 6749)","Visa Trusted Agent Protocol","Mastercard Agent Pay"],"tags":["web bot auth","signed agents","verified bots","HTTP message signatures","Signature-Agent","bot management","agent detection","agentic commerce","know your agent","trusted agent protocol","agent pay","WAF","edge"],"roles":["IAM architect","Identity engineer","Security leader","Platform engineering","AI engineering"],"industries":["Cross-industry","Financial services","Healthcare","Retail","Public sector"],"builds_on":["TIE-AGT-002","TIE-AGT-023"],"related":["TIE-AGT-022","TIE-AGT-033","TIE-AGT-035"],"authors":"Trevonix Innovation","reviewers":"Trevonix IAM architecture","version":"1.0","last_reviewed":"2026-11-24","published":"2026-11-24","og_image":"og-tie-agt-034.png","sections":{"summary":[{"type":"bullets","content":"Separate two questions: **who operates this agent** (verified with signed requests) and **who authorised it to act** (verified with the customer's delegated token or mandate).\nAt the edge, **verify HTTP message signatures** against the operator's published keys; treat a request that **claims** a known agent but **fails** verification as an impostor.\nWrite policy by **tier**: verified agents get public content at agent-friendly limits; **account and payment actions need the customer's authorisation**; unverified traffic gets bot controls."}],"problem":[{"type":"paragraph","content":"A growing share of traffic to shops, banks, airlines and content sites comes from AI agents: shopping assistants comparing prices, research agents reading pages, customer agents checking an order or booking a seat. Some of it is welcome and some of it is scraping, credential stuffing or card testing dressed up as an assistant.\n\nThe usual signals do not help. User-Agent strings are free to copy. IP ranges are shared by cloud platforms and change often. CAPTCHAs stop helpful agents and are increasingly solved by bad ones. And even when you know which company runs an agent, that says nothing about whether this customer asked it to see their orders or make a purchase. Sites end up either blocking agents they would like to serve, or trusting anything that claims to be one."}],"use_when":[{"type":"bullets","content":"Your public website, store or API receives meaningful AI agent traffic.\nYou want to serve legitimate agents (search, shopping, customer assistants) better than unknown bots.\nAgents act for your customers on accounts, orders or payments."}],"avoid_when":[{"type":"bullets","content":"The API is private and every caller is a registered OAuth client. Client authentication already tells you who is calling (TIE-AGT-015).\nThe site has no sign-in and no abuse problem. Simple rate limits may be enough."}],"forces":[{"type":"bullets","content":"**Openness against abuse.** Welcoming agents brings customers; welcoming everything brings fraud.\n**Operator identity against user authority.** A verified agent company is not the same as an authorised customer.\n**Standards maturity against urgency.** Signed agent requests are an IETF draft with growing support, not yet universal.\n**Edge against application.** Signatures are best checked at the edge; customer authorisation lives in the application and identity provider."}],"solution":[{"type":"paragraph","content":"Verify in layers. At the **edge** (CDN or WAF), check Web Bot Auth signatures: the agent signs each request with HTTP Message Signatures, includes a Signature-Agent header pointing to its operator's key directory, and you verify the signature, its freshness and the key. Label each request verified, invalid, expired or unsigned, and pass the label and operator to the application. **Behavioural detection** separates humans, helpful agents and bad bots when no signature is present, and catches impostors. In the **application**, anything that touches a customer's account requires the customer's own authorisation: a delegated OAuth token issued after the customer signed in and consented, a confirmation on their device (TIE-AGT-022), or a mandate (TIE-AGT-023). Payment networks' agent protocols carry the same two ideas for commerce: a signed agent and a recognised consumer."},{"type":"image","content":"Verify the operator at the edge, score behaviour, and require the customer's authorisation for account actions.","title":"Solution overview","media":"tie-agt-034-solution.png","alt":"Diagram. Left: four kinds of incoming traffic: a signed shopping agent, a signed agent carrying a customer's delegated token, an unsigned bot claiming to be a well-known assistant, and a person in a browser. Centre: the edge verifies Web Bot Auth signatures using the operator's key directory and lab"},{"type":"table","content":"Traffic | Verification result | Policy\nSigned agent, no customer token | Operator verified | Public content, agent-friendly rate limits, no account actions\nSigned agent with customer's delegated token | Operator and customer verified | Account actions within the token's scopes\nPayment by an agent | Operator verified plus mandate or customer confirmation | Payment within mandate limits or after confirmation\nClaims a known agent, signature missing or invalid | Impostor | Block and alert\nUnsigned automation | Unknown | Bot controls: challenge, rate limit or block by risk score\nPerson in a browser | Human | Normal journey","title":"Policy tiers"},{"type":"numbered","content":"**Turn on signature verification at the edge** (CDN or WAF) and log results in report-only mode first.\n**Decide which operators you trust** for which purposes (search, shopping, customer assistants) and record them in an allow-list with owners and review dates.\n**Pass verification results to the application** in trusted headers set only by the edge, never accepted from the client.\n**Add behavioural detection** for unsigned traffic and to catch agents driving a browser.\n**Require the customer's authorisation for account actions:** delegated OAuth with consent for API access, confirmation on the customer's device, or a mandate for repeated purchases.\n**Offer agents an API** with documented scopes, so they do not need to scrape or drive the UI.\n**Monitor** verified, impostor and unknown agent volumes; tune limits per operator.","title":"How it works"},{"type":"tip","content":"When you sign outbound requests from your own agents (for example a procurement agent visiting suppliers' sites), publish your key directory and register with the major edge providers. Your agents are then recognised instead of challenged.","title":"Sign your own agents too"}],"design_rules":[{"type":"numbered","content":"**Operator identity and customer authority are separate checks.**\n**Signatures are verified at the edge;** the application trusts only edge-set labels.\n**Claiming to be a known agent without a valid signature is a block-worthy signal.**\n**Account and payment actions always need the customer's authorisation.**\n**Trusted operators have owners and review dates.**\n**Report-only before enforcement.**"}],"anti_patterns":[{"type":"table","content":"Anti-pattern | What goes wrong\nAllow-listing agents by User-Agent string | Anyone can claim to be a trusted assistant\nTreating a verified operator as an authorised customer | The agent company's signature unlocks any customer's account\nAccepting a verification header from the client | Attackers set it themselves\nBlocking all automation | Helpful agents fail and customers move to competitors\nAsking agents to share customers' passwords | Credential sharing, account takeover and no consent record"}],"benefits":[{"type":"bullets","content":"Better service for legitimate agents and their customers.\nImpostors are easy to spot: they claim an identity they cannot prove.\nClear, auditable rules for what agents may do on customer accounts.\nLess reliance on CAPTCHAs and IP lists."}],"costs":[{"type":"bullets","content":"Edge features for signature verification and bot management, often on premium plans.\nAn operator allow-list to maintain.\nAn API and delegated authorisation flow for agent use cases.\nStandards still in draft; operator adoption varies."}],"tests":[{"type":"table","content":"Test | Expected result\nSend a correctly signed request from a test agent with a registered key | Labelled verified; agent policy applied\nReplay a captured signed request after its expiry | Labelled expired; not treated as verified\nSend a request claiming a known agent with no signature | Treated as impostor; blocked\nSend a client-supplied \"verified\" header | Ignored; edge overwrites it\nVerified agent tries to view a customer's orders without a delegated token | Refused\nVerified agent with a valid delegated token reads orders | Allowed within scope"}],"maturity_notes":[{"type":"paragraph","content":"**Documented.** Written from the IETF draft, edge provider documentation and payment network specifications. Web Bot Auth is a working group draft, and edge support and agent adoption grew through 2025 and 2026; Trevonix has not yet tested it end to end."}],"faq":[{"type":"faq","content":"No. It tells you which operator sent the request (for example the company running a shopping assistant). It does not say which customer asked for it, or whether that customer authorised the action. Use the customer's delegated token or confirmation for that.","title":"Does a valid signature mean the customer authorised the agent?"},{"type":"faq","content":"For machine-to-machine APIs with registered clients, no: OAuth client authentication already identifies the caller. Signed requests matter for open endpoints, websites and agents that are not your registered clients.","title":"Do we need this for our private APIs?"}],"references":[{"type":"bullets","content":"[IETF: HTTP Message Signatures for automated traffic (Web Bot Auth draft)](https://datatracker.ietf.org/doc/draft-ietf-webbotauth-httpsig-protocol/)\n[RFC 9421: HTTP Message Signatures](https://www.rfc-editor.org/rfc/rfc9421)\n[Cloudflare: Web Bot Auth](https://developers.cloudflare.com/bots/reference/bot-verification/web-bot-auth/)\n[AWS: Authenticate legitimate AI agent traffic with AWS WAF Bot Control](https://aws.amazon.com/blogs/security/authenticate-legitimate-ai-agent-traffic-with-aws-waf-bot-control)\n[Cloudflare: Securing agentic commerce with Visa and Mastercard](https://blog.cloudflare.com/secure-agentic-commerce/)\n[Visa: Trusted Agent Protocol](https://developer.visa.com/capabilities/trusted-agent-protocol/overview)"}]},"recipes":{"ping":{"status":"documented","product_name":"PingOne Protect Bot Detection with agent identification","summary":"Behaviour and HTTP message signature signals identify computer-using agents and some agent types; branch in DaVinci or journeys.","last_verified":"2026-11","blocks":[{"type":"numbered","content":"Add the PingOne Signals (Protect) SDK to your web apps (version 5.6.10 or later with **isIAFDetectionEnabled** and **agentIdentification** set to true).\nUse PingOne Protect's **Bot Detection** predictor, which uses browser fingerprint, behaviour, device attributes and HTTP message signatures, and can identify some AI agent types in the risk evaluation response.\nIn DaVinci flows (PingOne) or journeys (Advanced Identity Cloud), branch on the result: let verified agents continue to read-only paths, send account actions through delegated authorisation, and mitigate bots.\nWatch volumes in the **Agent Detection (CUA)** dashboard (early access).","title":"Configure"},{"type":"bullets","content":"Bot Detection needs a PingOne Protect licence. Check the exact recommended action values in the risk evaluation API before branching on them.","title":"Gotchas"}]},"okta":{"status":"documented","product_name":"Okta Customer Identity and Auth0 for the customer side","summary":"Delegated customer authorisation for agents; signature verification at the edge.","last_verified":"2026-11","blocks":[{"type":"numbered","content":"Verify agent signatures at your edge provider and pass the result to the application.\nUse Okta Customer Identity or Auth0 for the customer's side: delegated access for agents with consent, CIBA confirmation and Token Vault (Auth0 for AI Agents).\nOkta for AI Agents for Okta Customer Identity (GA November 2026) extends agent identity controls to customer-facing agents.\nUse Auth0 Bot Detection on sign-up and sign-in for unsigned automation.","title":"Configure"},{"type":"bullets","content":"Okta and Auth0 documentation reviewed for this pattern does not describe verifying Web Bot Auth signatures; do that at the edge.","title":"Gotchas"}]},"entra":{"status":"documented","product_name":"Azure Front Door WAF AI bot ruleset and Entra External ID","summary":"Group and act on AI bots at the edge (preview); customer authorisation in External ID.","last_verified":"2026-11","blocks":[{"type":"numbered","content":"On Azure Front Door Premium, enable the **AI bot ruleset** for Web Application Firewall (public preview, November 2026), which groups AI bots into AI training, AI search, AI interactive agents and miscellaneous AI agents (unverifiable bots, including impostors).\nSet an action per group (Allow, Block, Log, JS challenge or CAPTCHA); every rule starts in Log, so review WAF insights first.\nUse Microsoft Entra External ID for customers' delegated authorisation when agents act on their accounts.","title":"Configure"},{"type":"bullets","content":"Microsoft's announcement does not mention Web Bot Auth or how bots are verified; confirm before relying on it for signature-based trust.","title":"Gotchas"}]},"saviynt":{"status":"not-available","product_name":"Saviynt","summary":"Saviynt does not address inbound agent traffic to public websites.","last_verified":"","blocks":[]},"misc":{"status":"documented","product_name":"Cloudflare, AWS WAF and payment network agent protocols","summary":"Edge verification of Web Bot Auth signatures; Visa and Mastercard agent protocols build on it.","last_verified":"2026-11","blocks":[{"type":"numbered","content":"**Cloudflare:** Bot Management verifies Web Bot Auth signatures for verified bots and signed agents; on Enterprise plans use the **cf.bot_management.signed_agent** field in security rules to treat signed agents as a group.\n**AWS WAF Bot Control** (rule group version 4.0 or later) verifies signatures and adds labels such as **web_bot_auth:verified**, **invalid** and **expired** for rules.\n**Payment networks:** Visa Trusted Agent Protocol and Mastercard Agent Pay build on Web Bot Auth to identify registered shopping agents and carry consumer recognition to merchants.","title":"Configure"}]}},"slug":"tie-agt-034-recognise-and-verify-ai-agents-that-visit-your-website-or-api","updated_at":"2026-11-24T18:49:34.175Z","url":"https://exchange.trevonix.com/patterns/tie-agt-034-recognise-and-verify-ai-agents-that-visit-your-website-or-api","markdown_url":"https://exchange.trevonix.com/patterns/tie-agt-034-recognise-and-verify-ai-agents-that-visit-your-website-or-api.md","publisher":"Trevonix","license":{"name":"CC BY 4.0","url":"https://creativecommons.org/licenses/by/4.0/"}}