What is Web Bot Auth?
Web Bot Auth is an approach for bots and AI agents to prove who they are by signing their HTTP requests with a private key, using HTTP Message Signatures (RFC 9421).
Also called: Signed agent requests, HTTP message signatures for bots
How it works
The agent's operator creates a key pair and publishes the public key in a known location, such as a key directory on its own domain. The agent then signs parts of each request with the private key, following HTTP Message Signatures, defined in RFC 9421. The signature and the details of what was signed travel in request headers.
A website that receives the request can fetch the operator's public key and check the signature. If it is valid, the request came from someone who holds the operator's private key, which a script copying the agent's name does not.
Why it matters
Older ways to identify bots rely on the user agent string, which is easy to fake, or on IP address lists, which are hard to maintain and break when agents run on shared cloud networks. A signature ties the request to a key, not to a network, so it can work wherever the agent runs.
This makes agent verification stronger and helps sites set clear rules for known agents.
Limits
Signatures answer one question well, but not every question.
- Only agents whose operators sign requests can be verified this way. Unsigned traffic still needs other checks.
- A valid signature proves which operator sent the request, not that the action is safe or that the end user approved it.
- The approach is still developing, so details and adoption vary between operators.
How teams use it
Sites can check signatures at the edge, treat validly signed requests from trusted operators as verified, and fall back to network checks and bot detection for everything else. A request that claims a signing agent's name but has no valid signature is a strong sign of impersonation.
Related terms
- Agent verificationAgent verification is the check that a request claiming to come from a named AI agent or crawler really comes from that agent, and not from a script that copies its name.
- Know your agent (KYA)Know your agent (KYA) is the practice of identifying an AI agent, the organization that runs it and the person it acts for, before letting it access accounts or make transactions.
- AI agentAn AI agent is software that uses a language model to plan and take actions toward a goal, such as browsing sites, calling APIs or filling in forms, with little or no human input at each step.
- Bot detectionBot detection is the set of methods used to tell whether a website or app visitor is a person or an automated program, and often which kind of program it is.