Verdicts
How to read a KYA verdict (actor, confidence, verification and every reason code) and how to act on it.
After this page you can read any verdict and decide what your site does with it. A session, the edge package's headers and a lookup all use the same words.
| Field | Says |
|---|---|
actor | What the visitor is taken to be |
operator, product, category | Which agent, for an ai_agent or an impersonation of one |
verification | How far a claim to be an agent was checked |
confidence | How sure the verdict is. Sessions only |
reasons | What the verdict rests on, as stable codes. Sessions only |
Actor
actor | Meaning |
|---|---|
human | The page was used the way a hand uses it, and nothing says otherwise. Only a session can say this |
ai_agent | A declared AI agent or crawler: it names itself in its user agent, signs its requests, or comes from its operator's published addresses |
automation | A script or a driven browser: an HTTP library, an automation tool, or something posing as an agent |
unknown | No information: nothing for it being a person, nothing against. A session on a page that has only loaded is unknown. So is everything a lookup can't name, people included |
Confidence
confidence | When | In practice |
|---|---|---|
high | Proof, or a sign that doesn't happen by accident: a verified signature, the operator's own network, an impersonation, an automation tool's trace. For human: human-like input and nothing against it | Safe to act on |
medium | A claim nothing could check, or two signs that agree. For human: human-like input beside a weak sign such as data_center_ip | Act on it where a mistake is cheap |
low | One sign alone. For unknown: nothing seen either way yet, as on a page that has just loaded | A hint, not a decision. Log it |
A session that showed an agent or automation with medium or high confidence keeps that verdict when later reports show less.
Verification
verification | Meaning |
|---|---|
signed | The request's signature verifies against keys the agent publishes |
network_verified | The address is in the IP ranges the agent's operator publishes |
claimed | Only the user agent says so, and nothing could check it: the operator publishes no ranges, there was no usable address, or its ranges weren't current |
impersonated | The user agent names an agent, but the address is in none of its operator's ranges. actor is automation; operator and product are the ones it claims |
none | No claim to be an agent |
Reason codes
Each code is one observable thing. "Alone" is what one sign gives with nothing else.
reasons | Meaning | Alone |
|---|---|---|
signed_agent | The request's signature verified | ai_agent, high |
agent_network | The address is in the operator's published ranges | ai_agent, high |
agent_user_agent | The user agent names a known agent; nothing could check it | ai_agent, medium |
ai_browser_user_agent | The browser's own user agent says an AI drives it (the Claude desktop app's browser) | ai_agent, medium |
impersonation | The user agent names an agent whose operator doesn't publish this address | automation, high |
webdriver | navigator.webdriver is true | automation, high |
headless_user_agent | The user agent says HeadlessChrome | automation, high |
automation_user_agent | The user agent names an HTTP library or automation tool | automation, high |
playwright, puppeteer, selenium, chromedriver, phantomjs, nightmare, cypress | That tool's own objects are on the page | automation, high |
automation_controller | A browser automation controller's objects are on the page | automation, high |
webdriver_attribute | The page's root element carries a webdriver, selenium or driver attribute | automation, high |
webdriver_hidden | navigator.webdriver was replaced, as tools that hide it do | automation, low |
user_agent_mismatch | The request's user agent differs from the one the page reports | automation, low |
user_agent_replaced | A Chrome user agent with none of the brand names Chrome sends beside it | automation, low |
platform_mismatch | The user agent names one kind of device, the browser's platform another | automation, low |
software_renderer | Graphics are drawn in software, as on a server with no GPU | automation, low |
permissions_mismatch | The browser gives two different answers about notification permission | automation, low |
no_window | A visible page in a window with no size | automation, low |
viewport_emulated | Desktop Chrome whose window is exactly the page's size: the size is being set by a tool. A developer resizing the page in DevTools can cause it | automation, low |
casting_switched_off | Desktop Chrome with casting off, as tools that launch Chrome leave it. A company policy can cause it | automation, low |
no_languages | The browser lists no languages | automation, low |
clicks_without_pointer_travel | Clicks land somewhere new with next to no pointer movement before them | automation, low |
typing_faster_than_hands | Keys arrive faster than fingers move | automation, low |
text_without_keys | Text appears with no key presses, or several characters at once | automation, low |
uniform_key_timing | Key presses at near-identical intervals | automation, low |
synthetic_input | A script on the page made a click or key press. Sites' own libraries do this | unknown, low |
devtools_protocol | The DevTools protocol is attached. Open DevTools does this too | unknown, low |
device_emulation | A phone's user agent on a computer, in DevTools' device mode | unknown, low |
data_center_ip | The address belongs to a listed cloud provider | unknown, low |
human_like_input | A pointer that travels at changing speed, a touch, or typing with an uneven rhythm | human, high |
synthetic_input, devtools_protocol, device_emulation and data_center_ip are weak signs: alone they're listed and the session stays unknown, and beside human-like input they lower human to medium. Two automation, low signs together, or one with a weak sign, give automation with medium confidence. New codes will be added: ignore the ones you don't know.
Acting on a verdict
KYA never blocks or challenges anyone. Your code does, if you choose.
- Start report-only. Log
actor,confidenceandreasonsbeside your own outcomes before you change what any visitor sees. - Never treat
lowas a decision. One sign alone can be wrong about a person. - No information is not
human.unknown, a missing session, and the edge package'skya-sourceofskippedorunavailableall mean KYA couldn't say.humanis said only after input a hand makes, so a page that has only loaded isunknown. - Read the verdict when it matters. It changes as the page is used: a sign-in or a checkout is a better moment than the first page load.
- Treat
claimedas a name, not proof. Anyone can send a user agent.signedandnetwork_verifiedare checked;impersonatedis checked and failed.
What KYA can't tell
- An agent that drives a person's own browser the way a person would, and leaves no trace, looks like a person.
- An agent that doesn't declare itself but leaves automation traces is
automation, notai_agent. - A lookup finds declared agents only, and doesn't know a home connection from a VPN.
The verdict comes from written rules, one per reason code, not a trained model. Their thresholds will be tuned; the codes stay.
Quickstart
Create a site with your API key, paste one script tag, load a page and read its session's verdict. Then try the agent lookup with the built-in test agent.
Edge package
@finic/kya for Cloudflare Workers, Next.js and Node: it serves the snippet from your own domain and hands your origin each request's verdict as kya-* headers.