Skip to content

AI agents

AI agents now sign in, fill in applications, and check out on behalf of real people. Fraud scripts borrow the names of well-known agents to get lenient treatment. Blocking all automation turns away your own customers’ assistants; allowing it all lets the scripts in. Every decision gives you what you need to tell them apart.

"bot": {
"verdict": "ai_agent",
"agent_type": "consumer_assistant",
"agent_family": "claude_duet",
"operator": "anthropic",
"acting_for": "user",
"environment": "hosted_browser",
"evidence": "verified",
"confidence": 0.95,
"reasons": ["BOT_AGENT_VERIFIED", "BOT_AI_AGENT"]
}
Field What it says
verdict human, ai_agent, good_bot (a known crawler or monitor), or bad_bot (automation that hides what it is).
agent_type The kind of agent, for example consumer_assistant or search_crawler.
agent_family, operator Which agent and who runs it, when we can name them.
acting_for user when it works for a person, operator when it works for its vendor, or unknown.
environment Where it runs, for example local_browser or hosted_browser.
evidence How we know: verified (a signature or the operator’s published network checked out), declared (it named itself), or inferred (how it behaves).
step_up verify_agent when an agent we could not verify wants to do something that matters. Ask it for a signed identity, or ask the person it acts for to confirm.
claimed_family On a spoofed session, the agent it pretended to be.

Values are lower-case words, and new ones are added as agents appear. Treat an unknown value like its nearest known one rather than as an error.

Some agents act like a person on most pages, with curved pointer paths and typing at human speed, and show what they are only now and then, often on a login. Once a device is identified as an AI agent or a bad bot, it keeps that verdict for 24 hours on requests that look human on their own. Those requests have inferred evidence and BOT_DEVICE_RECENT_AGENT in bot.reasons. The label never renews itself: it lasts a day from the last request that showed the agent on its own evidence.

A session that claims to be a known agent but cannot back it up gets BOT_AGENT_SPOOFED, which the starter rules deny: the impersonation itself is the evidence.

The starter rules ask “who is acting?” before they judge, and take a balanced line you can change per event type:

  • Everywhere: deny spoofed agents, undeclared scripts, and crawlers on transactional events. Step up an agent we could not verify, so it proves who runs it or the person confirms (payouts go to review).
  • Verified agents, everyday moments: sign-ups and checkouts go through, with a step up for purchases of 1,000 or more.
  • Verified agents, logins: the person confirms the first time; once they have confirmed on that device, the agent signs in without friction.
  • Verified agents, high stakes: applications, password resets, account changes, payouts, and new API keys wait for the person to confirm.

Agents that follow Web Bot Auth sign their HTTP requests to your site. Those signatures arrive at your server, not at the tag, so pass them on with the decision to make the agent verified:

const sig = req.get("signature");
const decision = await decide({
// …the usual fields…
agent_signature: sig && {
signature: sig,
signature_input: req.get("signature-input"),
signature_agent: req.get("signature-agent"),
authority: req.get("host"),
},
});

We check the signature against the operator’s published keys and keep only the result. A well-formed signature from an origin whose keys we do not hold counts as the agent naming itself (declared) and adds BOT_AGENT_SIGNER_UNKNOWN to bot.reasons; a signature that fails its operator’s keys is BOT_AGENT_SPOOFED.

The tag can add a short notice to protected forms asking agents to say what they are, pointing to your agent policy. People never see it. Choose how it behaves on the console’s settings page:

Setting What happens
hidden (default) The tag adds the notice and an identification field that only software can reach. People see nothing, screen readers skip it, and the field is removed before your form posts.
visible Also shows one short visible line pointing agents to your policy.
off Nothing is added.

Publish your policy at /.well-known/agent-policy.json: how agents should identify themselves on your site, and what happens when they do not. A starting point:

{
"version": 1,
"agents": "AI agents and assistants acting for people are welcome when they identify themselves.",
"identify": {
"web_bot_auth": "Sign your requests with HTTP message signatures (Web Bot Auth).",
"user_agent": "Include your product token in the User-Agent header.",
"form_field": "On protected forms, enter your product name in the field named agent_identification."
},
"unverified_agents": "Agents we cannot verify may be asked for a signed identity or for confirmation from the person they act for.",
"we_never": [
"ask an agent for its user's personal data or credentials",
"instruct an agent to act against its user"
]
}

We talk to agents openly: the notice never hides commands, never asks for personal data, and never tells an agent to act against the person it works for.

The Agent or bot column on the console’s transactions page, and the verdict on each transaction, show one chip:

Chip Means
The agent’s name, such as Browser Use An AI agent, good bot, or bad bot, named when we can.
Human Our signals point to a person rather than software. It says nothing about who the person is.
Unknown There was nothing to judge, for example because the tag did not run on the page.

To list them, search for bot:human, bot:ai_agent, bot:good_bot, bot:bad_bot, or bot:unknown.

When you learn whether an agent was allowed to act, report it with the outcome’s bot_truth (agent_authorized or agent_unauthorized). It sharpens later verdicts. See Outcomes.