What is agent authentication?
Agent authentication is how an AI agent proves which agent it is and on whose behalf it acts, using methods such as API keys, OAuth delegation and signed requests.
Also called: AI agent authentication, agent identity, delegated agent access
How it works
There are two questions. The first is which agent is calling, and who operates it. The second is which person or business it acts for, and with what permission. Different methods answer each one.
- API keys: simple secrets that identify an account. Easy to use, but easy to leak and hard to scope to one user's consent.
- OAuth delegation: the user signs in and grants the agent a limited, revocable token to act for them, with scopes that set what it may do.
- Signed requests: the agent signs each HTTP request with a private key, and the site checks it against the operator's public key. Web Bot Auth is one approach.
- Network checks: the request comes from IP ranges the operator publishes.
Why it matters for fraud and trust
Any script can put an agent's name in its user agent string. Without proof, a site cannot tell a real assistant acting for a customer from a bot posing as one. Strong agent authentication lets sites serve trusted agents while still blocking impersonators, and makes it clear who is responsible when something goes wrong.
Example
A hypothetical travel site gets a booking request labeled as a well-known AI assistant. The request carries a valid signature from that assistant's operator, and an OAuth token shows the customer approved bookings up to a set amount. The site accepts it. A second request uses the same name with no signature from an unrelated network, so the site treats it as unverified automation.
Where it fits
Agent authentication is the technical part of know your agent. Agent verification checks these claims on each request.
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.
- Web Bot AuthWeb 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).
- OAuthOAuth is an open standard that lets a user give an app limited access to their data on another service, through a token, without sharing their password with the app.
- 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.