Agent Detection
Agent Detection tells you who is really visiting your website: a person, or an AI agent acting for one.
More and more of your visitors are AI assistants browsing on someone’s behalf. They compare prices, fill out forms, book appointments, and buy things. Most of that traffic is welcome, because behind each agent is a real customer. The problem is that you can’t see it. Agents look like people in your analytics, and a helpful assistant looks the same as one that is scraping your content or abusing your signup form.
Agent Detection is not about blocking agents. It shows you who your visitors are, so you can decide how to treat each one.
Why it matters
Every visit is labeled as a person or an agent, along with the kind of agent. Your funnels, conversion rates, and dashboards reflect real people again, and agent traffic becomes something you can measure instead of noise.
See how much of your traffic and revenue comes through agents, which pages they use, and where they give up. Use that data to make your site easier for agents to use, for example by offering an API or structured data where they get stuck.
Some agents are there to cause harm: fake signups, credential stuffing, card testing, scalping, or scraping. Challenge or block agents on the flows where only a person should be, such as signup, checkout, and one-per-person offers.
Send people to your UI and send agents to a path built for them, such as an API or tool endpoint. Agents finish their task faster, and your pages stay built for people.
You decide what happens with each verdict. Agent Detection only tells your site who is visiting. It never blocks anyone by itself.
How it tells the difference
Agent Detection judges a visitor by how they move, not by what they claim to be. A person has a hand on a mouse, trackpad, or keyboard, and software does not. Agent Detection measures that difference and gives each visit one verdict. You add one script tag to your site, and it tells your page the verdict so the page can act on it. For the details, see How it works.
Quickstart
Create an integration
In the Resemble app, open Agent Detection in the sidebar and create an integration for your domain. Each integration gets a publishable key (pk_live_...) and a snippet you can paste.
The publishable key only works from the domains listed on the integration, and it can only send telemetry for that site. That makes it safe to put in a public web page.
Never put a Resemble API key in a web page. The telemetry endpoint rejects API keys and only accepts a publishable key.
The verdict
A verdict is final. Once a visit has one, the SDK stops collecting for that visit.
Visitor classes
How it works
The SDK collects signals that show whether a hand is on the controls:
- Pointer movement: jitter, heading changes, and the timing between movements.
- Clicks: how long the pointer hovers before a click, how far from an element’s center it lands, and whether a real input device produced it.
- Typing: the variation between keystrokes and how long keys are held down.
- Scrolling: the number of wheel events in each gesture and how they slow down.
- Environment: request headers, browser automation flags, and Web Bot Auth signatures from agents that identify themselves.
Resemble combines these into a probability that a person is present, plus a visitor class. It waits until there is enough interaction to judge. A visit that ends without enough evidence does not get a verdict.
Privacy
- Keystrokes are recorded as a category only (letter, digit, backspace, and so on). The key that was pressed is never recorded, and neither is typed text or page content.
- Visitor IP addresses are hashed before they are stored. The raw IP is never saved.
- Raw event streams are kept only for visits classed as agents and for a sample of the rest. They expire after the integration’s retention period.
Agent Detection is advisory. The signals come from the visitor’s browser, so a determined attacker can fake them. Use the verdict alongside your existing security controls, not in place of them.
Pricing
Each team gets 10,000 decided visits a day for free, counted per UTC day. After that, each decided visit is billed at the Agent Detection Visit rate. A visit is billed once, however many times the page sends telemetry. A visit that never reaches a verdict is never billed.
Endpoints
All paths are relative to https://app.resemble.ai/api/v2.
