What is Web Bot Auth? How AI agents prove who they are
Web Bot Auth lets a bot or AI agent sign its requests so a website can verify who sent them, not trust a user agent string. How the signature works, who uses it, and what a site owner should do.
Web Bot Auth is a way for a bot or AI agent to prove who it is. The agent signs each request with a private key. The website checks the signature against a public key the agent's operator has published. If it matches, the request really came from that operator.
It replaces the two methods sites have relied on until now, both of which are weak: reading the user agent string, which anyone can copy, and matching IP addresses against published lists, which are hard to keep current and break when traffic passes through shared infrastructure.
Accurate as of November 2026. The standard is still being finalised in an IETF working group.
Why it matters now
For years the question about a bot was simple: is it a search crawler I want, or a scraper I do not? Blocking anything unfamiliar was a reasonable default.
AI agents change that. An assistant visiting your site may be carrying a customer who wants to buy. Block it and you lose the sale. Let through anything that claims to be it and you have no bot protection at all. Sites need to tell a real agent from an impostor, and a string in a header cannot do that.
How it works
Web Bot Auth is a profile of an existing standard, HTTP Message Signatures (RFC 9421), with rules added for bots.
1. The operator publishes its public keys at a fixed address:
GET https://agent-operator.example/.well-known/http-message-signatures-directory
2. The agent signs its requests. Each one carries three extra headers:
Signature-Agent: "https://agent-operator.example"
Signature-Input: sig=("@authority" "signature-agent");keyid="...";tag="web-bot-auth";created=...;expires=...
Signature: sig=:...:
Signature-Agent says whose keys to look up. Signature-Input says what was signed, with which key, and for how long the signature is valid. Signature is the signature itself.
3. The website verifies. It fetches the key directory, finds the key named by keyid, and checks the signature. The keys are Ed25519, and the directory is cached, so this adds little to a request.
A signature is short-lived and covers the site it was sent to, so one captured from a request cannot be replayed elsewhere later.
What it proves, and what it does not
It proves who operates the software making the request.
It does not prove that the agent is well behaved, that it will respect your robots.txt, or that a person authorised what it is about to do. Identity is the first question, not the last. Proof that a customer approved a purchase belongs to a payment standard such as AP2.
It also does nothing about agents that do not sign. An assistant built into a person's own browser sends that browser's ordinary headers and is indistinguishable from the person. Web Bot Auth covers hosted agents: the ones that run in a data centre and fetch your pages from there.
Who uses it
On the agent side, operators that publish a key directory include Google, OpenAI and Shopify, along with browser-automation providers. Our agent directory lists which agents sign and where their keys are.
On the website side, verification is mostly done by CDNs and bot-management services, with Cloudflare the most visible. Visa's Trusted Agent Protocol is built on the same signatures, using the tag value to separate an agent that is browsing from one that is paying.
What a site owner should do
For most sites, the work is configuration, not code.
- Find out whether your CDN or firewall verifies signatures. If it does, signed agents can be allowed by verified identity, and you can stop relying on user agent rules.
- Check your rules do not block verified agents by accident. A "block AI bots" setting often catches shopping assistants along with training crawlers. See how Cloudflare bot rules affect AI agents.
- Do not strip the headers. A proxy or cache in front of your origin that drops
SignatureandSignature-Inputmakes every signed request unverifiable. - Keep the user agent rules for now. Many agents do not sign yet. Signatures are the stronger check where they exist, not a replacement everywhere.
Verifying signatures yourself, at your own origin, is possible and rarely worth it unless you run your own edge.
How this relates to robots.txt
They answer different questions. robots.txt says what you would like bots to do. Web Bot Auth says who a bot is. A site needs both: the first to state the policy, the second to know whom it is being applied to.
You can see how your current rules treat each known agent with a free check.
Read next
- AI crawlers vs AI agents — why the two need different treatment
- How Cloudflare bot rules affect AI agents — the settings that decide who gets in
- Agent traffic in your analytics — recognising agents once they arrive