AI Agent Detection for SaaS Accounts
Your newest SaaS account never sat at a keyboard.
SaaS operators are finding it in the user table anyway. It opened a trial, took the promo, and referred a friend. A WAF had nothing to say. Bot management looked at the request and let it through... and so did the CAPTCHA.
Those checks did the job they were sold to do. They judged one request.
Plenty of the agents are wanted. A customer running Claude Code, Codex, or Cursor agent mode, or an MCP bot the team invited, is using the product on purpose. The fellow running a dozen agents so the free month never ends is not.
AI agent detection is that second question. It goes beyond asking whether this request is a bot, and asks whether the account is one you want. Dregs is one judgment layer for it. It scores the identity over time. Whether you use Dregs or another account score, the goal isn't to block every agent.
What AI Agent Fraud Looks Like
For a SaaS operator, AI agent fraud is an agent taking a benefit a genuine customer would pay for or earn. The form is filled, the trial starts, the credit lands, and nobody on the team watched it happen. Call the same mess agentic fraud. The user table doesn't get cleaner because the name did.
The laps are familiar, only faster. AI agents creating accounts, then claiming the free trial on each one. A promo code, or a referral credit, collected from both ends of a friendship the agent arranged with itself. A small network of identities that share a rhythm: sign up, take the offer, go quiet, and let the next one start. AI agent signups look ordinary one at a time. Lined up, they are one operation.
Agentic commerce is the lighter name for an agent redeeming an offer. Agentic commerce fraud is that lap when the offer was the point and the account was disposable. The account is still the thing worth scoring.
The fellow from the signup form is a cool customer. He doesn't need a warehouse of phones. He points an agent at the form, hands it a fresh inbox, and goes to lunch. The more ambitious version of the same pest keeps several agents on a schedule, so the free tier is a subscription he never pays. By the time someone on your team looks, the blister has a tidy book of accounts, and not one of them is a customer.
Why a Per-Request Check Can't See It
A per-request bot check answers a question about the client in front of it. That question is worth asking. It's the wrong question for the account that comes back next week.
| Check | Question it answers | What still gets through |
|---|---|---|
| CAPTCHA or other challenge | Can this client complete a challenge? | An agent in a real browser, and a person supervising the agent |
| WAF or bot management | Does this request look automated or hostile? | A normal request that creates another account |
| Account scoring | Is this identity one you want, as activity accumulates? | Floods that never become accounts. Those stay at the edge. |
A CAPTCHA, including the invisible kind, asks whether this client can complete a challenge. An agent driving a real browser often can. A person sitting with that agent always can. Solver farms still clear the puzzles that remain, which is why a challenge wall is a poor place to stop determined signup abuse. The longer version is CAPTCHA alternatives.
A WAF and a bot management product ask whether this request looks automated or hostile. Floods, scrapers, and clients that fail a challenge belong there. Cloudflare Bot Management and Vercel BotID are built for that moment, and a wider map of the layers is in bot detection tools for SaaS. A normal-looking request that creates another account is outside that job. A pass is the correct result for that check. The account is a separate problem.
None of those checks keeps the identity. The fifth trial doesn't arrive holding the first four. Per-account scoring does, because the score sits on the identity rather than on the request that just finished.
Wanted Automation and Abusive Automation
Blocking every agent will block customers. Coding agents are how a lot of legitimate users now work. Claude Code, Codex, and Cursor agent mode can open your docs, hit your signup, and drive a trial, sometimes with a person watching and sometimes not. An MCP bot your own team connected is in the same family. The Dregs MCP server is that kind of invited agent: it works in your account, on purpose.
Crawlers are a different visit. Most of them fetch a page and leave, and never become an account at all. What to allow there is covered in how to manage AI crawlers, and the wider split between useful automation and abuse is in good bots vs bad bots.
The abusive case is the one that takes the benefit: another free trial, another promo, another referral, a stack of accounts that never behave like a customer. Automation alone isn't the verdict. A customer's agent is automated too. Reading one request can't tell those apart, and a hard block on "looks like an agent" is how false positives land on people who were using the product.
Score the Identity Over Time
This is what AI agent detection looks like once a product is installed. Dregs is an abuse prevention platform for the account. It scores each identity on four dimensions, and recomputes those scores as new activity arrives.
- Humanity asks whether a real person is behind the client. An agent scores toward automation. That's a description, not a decision.
- Authenticity asks whether the profile data looks genuine. A generated name and a throwaway inbox are a different picture from a customer.
- Uniqueness asks whether this is the only account. A route of AI agent signups is several identities with one habit. Related accounts and devices stay linked on the identity graph after the email address changes.
- Behavior asks whether later activity looks like ordinary use. Claiming the trial and vanishing, or farming a credit on a loop, isn't ordinary use.
Each score opens into its observations, so you can see exactly why a suspicious account was flagged and catch a false positive before a legitimate signup is punished.
Custom rules and lists decide what the scores mean on your product, and badges label the pattern on the identity. The API and webhooks carry the scores and the badges into your application, so the response needs less manual review. Dregs doesn't block, limit, or remove the account. Your application does, under a policy you set.
Invited agents, QA, and your own staff can be marked disregarded, so their automation stops affecting other accounts. That's the practical half of know your agent: which agent is acting, on whose behalf, and whether it should be trusted. The abuse patterns themselves are the same ones on fake signups, free trial abuse, promo abuse, and referral fraud.
What SaaS Operators Should Do
Keep the edge. Floods and scrapers that never become accounts are a WAF and bot management problem, and moving that job onto an account score doesn't make it better.
Identify the account at signup, in the browser and from your backend, with the same identity id. An agent that never becomes an identity can't be scored, and an agent that does is the record you will want next week. The getting started guide is the short version.
Decide from the account, not from the user agent. That string is whatever the client sends. A wanted agent and an abusive one can wear the same name, and a careful script wears none.
Leave room for a graduated response. Extra verification, or a limit on the feature being used, fits a borderline account. A hard block fits the clear repeat, where several signals agree and the observations are on the score. A shared laptop, or a customer whose coding agent clicked through the trial, isn't that case.
Mark the automation you invited. Then let badges and webhooks carry the rest, so the queue is the suspicious accounts and not the entire user table.
Frequently Asked Questions
Q: What is AI agent detection?
A: AI agent detection is telling an automated agent apart from a person, and then telling a wanted agent apart from one abusing the product. On a SaaS product the second half is the one that matters. A customer's agent can sign up, integrate, or use the app on purpose. An agent farming free trials, promo credits, or referral rewards should not get the same treatment. A CAPTCHA, a WAF, or bot management answers whether one request looks automated. Account scoring answers whether the identity behind a series of requests is one you want.
Q: What is AI agent fraud?
A: AI agent fraud is an autonomous agent signing up for accounts, claiming free trials, collecting promo or referral credits, or building a network of accounts, without a genuine customer behind the benefit. The request often looks ordinary, because the agent drives a real browser or a supervised session. The abuse shows up on the account over time: another trial, another credit, another identity that behaves like the last one.
Q: What is agentic fraud?
A: Agentic fraud is the same problem named from the agent's side: an agent, rather than a person clicking through a form, carrying out the abuse. On a SaaS product that usually means account creation, trial cycling, and reward farming. It isn't a separate category from signup abuse. It's signup abuse with a more capable client.
Q: How is AI agent detection different from bot management?
A: Bot management, a WAF, and a CAPTCHA judge the request in front of them. They are the right place for floods, scrapers, and clients that fail a challenge. AI agent detection judges the identity those requests belong to, and updates that judgment when the account does something new. A wanted coding agent and an agent farming trials can both pass the same request check. The account is where they come apart.
Q: Should a SaaS product block every AI agent?
A: No. Many legitimate users now run agents, including Claude Code, Codex, Cursor agent mode, and MCP bots a team invited. Blocking every agent blocks customers. The goal is to allow wanted automation and stop the agents that create fake accounts, burn trials, or farm credits. Treat automation as a signal, not a ban, and read the observations behind a score before acting, so a real customer is not a false positive.
Further Reading
Detect AI agent fraud without blocking wanted agents.
Dregs helps you score each identity on Humanity, Authenticity, Uniqueness, and Behavior, updated moments after new activity. Badges, the API, and webhooks carry the result into your product, and each score opens into its observations so you can see exactly why before you act.
Start Free Trial