Use case · Updated 2026-11-24

AI agent signups: give agents an API key, not a CAPTCHA

Software has email addresses now. Some of the signups on your form are agents acting for a developer, and a CAPTCHA or a confirm-your-email loop is the one door they cannot walk through.

The practical way to handle an AI agent signup is to recognise it at the form and send it to an API-key flow instead of a CAPTCHA. Sortance’s POST /v1/verify returns actor_class: "agent_mailbox" for addresses on known agent-mailbox infrastructure, and a policy rule with allow_with_flow routes those signups to your key onboarding.

What is an AI agent signup?

It is an account created by software rather than a person typing. The agent has been told to try your product, or to register for an API on someone’s behalf, and it fills in your form with an address it controls. Services like agentmail.to exist so that an agent can have an agent email address: a real, deliverable inbox provisioned through an API, read by code.

That inbox passes every deliverability check. It has MX records, it accepts mail, and it is not on any disposable list, because it is not disposable. A verifier that only asks “will this bounce?” will say it is fine, and it is. The question it does not answer is who reads it.

Why is a CAPTCHA the wrong answer for agents?

Because the agent may be the customer. A developer who points an agent at your signup page is telling you they want to use your product programmatically. A CAPTCHA turns that intent into a support ticket, or into a second attempt with a Gmail address you can no longer tell apart from anyone else.

The email confirmation loop fails the same way, more quietly. The agent can often read the confirmation mail, but then it lands in an onboarding tour built for a human with a mouse. What it actually needed was a key and a link to your API docs.

Response to an agent signupWhat happensWhat you learn
Block the domainThe agent retries on a consumer address.Nothing. The next signup looks human.
CAPTCHAStalls or fails, depending on the agent.That something gave up, not why.
allow_with_flow: agentThe agent gets an API key and docs.Which accounts are agents, tagged from the first request.

How does Sortance spot an agent mailbox?

By the domain, and only by the domain. Every /v1/verify response carries an actor_class next to the recommendation, because who is behind a mailbox and whether mail lands there are different questions.

actor_classMeans
human_mailboxNothing points at software. Never reported with high confidence, because absence of evidence is all it is.
agent_mailboxThe domain is known agent-mailbox infrastructure, such as agentmail.to. Software reads this inbox.
relay_aliasA forwarding alias from a relay service such as Apple Hide My Email or Firefox Relay. A person is behind it; you just cannot see the real address.
role_accountinfo@, sales@, support@. A function, not a person.
sharedA mailbox several people work out of.
unknownNot enough signal. Said plainly rather than guessed.

agent_mailbox comes from a deliberately short list of domains whose whole purpose is inboxes for agents. It ships with two, agentmail.to and agentmailr.com, and we add to it as a config change when a domain clearly qualifies. Testing inboxes like Mailtrap are kept off it on purpose: the actor behind those is a CI pipeline, and some customers verify against them deliberately.

On an agent or relay address the recommendation is challenge: the address is not the problem, but ask for one more step. The AI address check is skipped for agent mailboxes, since a machine-generated local part tells it nothing useful.

Classify, never block

There is no bot and no blocked value in that list. Sortance reports what an address looks like. What you do about it is your policy, written with your context.

How do I send agents to an API-key flow?

Write one rule and branch on the decision. In the dashboard you can type “agents go to the API-key flow” and the policy assistant compiles it into a rule you can read:

{
  "id": "r_agents",
  "label": "Agents go to the API-key flow",
  "when": { "field": "verification.actor_class", "op": "eq", "value": "agent_mailbox" },
  "then": { "action": "allow_with_flow", "flow": "agent" },
  "on_unknown": "skip"
}

Then call /v1/decide from your signup handler. It runs verification, applies your active policy and returns a decision plus the flow name when the action is allow_with_flow.

const d = await fetch("https://api.sortance.com/v1/decide", {
  method: "POST",
  headers: {
    Authorization: `Bearer ${process.env.SORTANCE_KEY}`,
    "Content-Type": "application/json",
  },
  body: JSON.stringify({ email, context: { purpose: "signup" } }),
}).then((r) => r.json())

if (d.decision === "allow_with_flow" && d.flow === "agent") {
  return redirect("/onboarding/api-key")   // your key flow, no inbox loop
}

First matching rule wins, and the default action is allow, so a policy with only this rule changes nothing for anyone else. If you would rather not run a policy, branch on actor_class in the /v1/verify response directly. Policy syntax is in the policies reference, and Decide explains the rest of the call.

Are agent signups a free trial abuse problem?

Sometimes. Multi-account abuse gets cheaper when accounts are made by software, and Stripe reported in March 2026 that 7.4% of customer signups at AI companies are implicated in suspected multi-account abuse. That figure is about multi-accounting in general, not agent mailboxes in particular.

The useful move is to keep the two apart. An agent on a known agent-mail domain, arriving once, is a developer. The same person cycling through throwaway inboxes to restart a trial is a different problem with different signals. See free trial abuse and fake signups for that side.

What this does not catch

  • Agents on ordinary addresses. An agent signing up with a Gmail or company address reads as a person. Detection is a domain lookup, nothing more.
  • Behaviour. A tier that would spot bursts of new local parts on one domain is designed but not wired, because the counters it needs do not exist yet. We would rather return unknown than guess.
  • Which agent, or whose. Sortance does not name the agent or its operator.

The general version of these caveats is on limitations.

Agents can verify addresses too

The other direction works as well. Sortance runs an MCP server at https://api.sortance.com/mcp with ten tools, so an agent that needs to check an address before it signs up, sends or saves a contact can call verify_email itself. It connects with OAuth or a Bearer key. Setup for Claude Code, Cursor and other MCP clients is in the MCP docs.

Questions people ask

How do I know if a signup came from an AI agent?

You usually can't tell from the address alone. What you can tell is whether the address sits on infrastructure built for agents. Sortance's POST /v1/verify returns actor_class agent_mailbox when the domain is on its agent-mailbox list, which today means agentmail.to, agentmailr.com and any domain added to the list since. An agent using a Gmail address looks like a person.

Should I block AI agent signups?

Usually not. An agent signing up is often a developer automating something they would otherwise do by hand, and that developer may be a paying customer. Blocking teaches them to use a Gmail address instead. Routing them to an API-key flow keeps them visible, gives them the interface they need, and lets you meter what they do.

What does Sortance return for an agent mailbox?

The verify response carries actor_class agent_mailbox and, unless something else rules the address out, recommendation challenge. Challenge means the address itself is not the problem, but you should ask for one more step or send the signup down a different path. If you run a signup policy, a rule on verification.actor_class can return allow_with_flow with a flow name such as agent, which your code maps to key onboarding.

Does Sortance detect bots?

No. Sortance only looks at the email address. It flags addresses on known agent-mailbox infrastructure, throwaway domains and made-up addresses, but a script typing a real Gmail address into your form is invisible to it. Pair it with Cloudflare Turnstile or hCaptcha if you need to stop automated form submissions.

Can an AI agent use Sortance itself?

Yes. Sortance runs an MCP server at api.sortance.com/mcp with ten tools, including verify_email, check_email and screen_contact. An agent can connect with OAuth or a Bearer API key and check an address before it signs up, sends or saves a contact. The REST API works the same way for agents that call HTTP directly.