How to control AI agent access to your website
More of your website traffic now comes from AI agents. Some collect content to train models or answer search queries. Others act for a single customer, checking an order or booking a room. Controlling access means deciding which agents can do what, and being able to confirm who they are.
Types of AI agents that visit your website
| Type | What it wants | Main way to control it |
|---|---|---|
| Training crawlers | Content to train AI models | robots.txt and bot rules |
| AI search and answer engines | Pages to cite in answers | robots.txt and bot rules |
| Personal agents | To complete a task for one customer, by browsing or calling APIs | Verified identity, customer sign-in, and scoped permissions |
The first two are well understood. The third is new: a personal agent works for one person and acts for them across many companies, so the questions change from "should this bot read my pages?" to "who is this agent acting for, and what did they approve?"
Why AI agent access needs new controls
Companies have faced this kind of choice before. When search engines arrived, most websites chose to be crawled because being found by new customers mattered, and robots.txt let them say what could be crawled. Publishers added paywalls to keep a direct relationship with readers. App stores brought the same tradeoff between reach and control.
Personal agents bring the same range of responses. Some companies block them: Amazon blocked Meta's Muse in September 2026. Others engage selectively or fully. The difference now is that agents take actions, not just read pages, so access controls have to cover identity, authorization, and approval.
Today, most personal agents arrive looking like a person using a browser, and some sign in with the customer's own password. The risk that carries:
- The company cannot tell a customer's agent from a fraudster using the same techniques.
- The customer has given the agent credentials that let it do anything they could do, with no easy way to limit or withdraw that access.
- When something goes wrong, it is hard to establish which actions the customer actually approved.
Ways to control AI agent access
robots.txt
A robots.txt file tells crawlers which parts of your site to skip, by crawler name. It is a request that crawlers choose to follow, not an access control. It suits crawlers that publish their names, but it was not designed for an agent acting for a customer in real time.
Bot management and firewall rules
Bot rules block or challenge traffic by user agent, IP address, or behavior. They can stop abusive scraping. But many personal agents run a real browser and look like an ordinary visitor, so rules either miss them or catch real customers too.
Signed agent requests
With Web Bot Auth, an agent signs its requests with a cryptographic key so a site can verify which operator sent them. That confirms the agent, but not which customer it is acting for or what that customer approved.
Customer sign-in with scoped permissions
The Personal Agent Protocol (Poppy) adds the missing pieces. The company publishes what agents can do in a file at /.well-known/poppy.json, including the permissions (scopes) it offers, such as viewing orders. When a task needs an account, the customer signs in through OAuth and approves the scopes the agent gets. The company decides which agents to allow and which scopes they can request, and either the customer or the company can revoke access.
What good agent access control looks like
- The company knows which agent is showing up.
- The customer signs in with the company directly, instead of giving their password to the agent.
- The company sets permissions journey by journey. An agent might check a balance freely but need approval for a transfer.
- The customer can change or withdraw access at any time.
- Every consequential action leaves a record of what was asked for and who approved it.
Knowing the agent and the customer also lets a company bring what only it knows. If a coffee shop recognizes a customer's agent, it can use their order history and loyalty status. If the agent tries to place a much larger order than usual, the shop can ask the customer to approve it first.
Should you block AI agents?
Blocking every agent is simple, but it turns away customers who chose to use one, and agents that look like ordinary browsers may get through anyway. Most companies are better served by deciding access task by task. Sierra's white paper, Personal agents and the enterprise, covers how companies are weighing that choice.
| Task | Example access level |
|---|---|
| Browse products, prices, and policies | Open to agents |
| Check order status | After the customer signs in, with read-only access |
| Return an item or rebook a flight | After sign-in, with the customer confirming the change |
| Change stored payment details | Off limits to agents |
| High-value or regulated actions | Approval of the exact terms before the action |
Poppy describes this range as access levels, from no agents allowed to full access where the agent acts as the customer.
How to set an AI agent access policy
- List the tasks customers ask for most. Start from your top contact reasons and website journeys.
- Set an access level for each task. Decide what is open, what needs sign-in, what needs confirmation, and what is off limits.
- Publish what you allow. Use robots.txt for crawlers and a poppy.json discovery file for personal agents.
- Require sign-in and scopes for account actions. Ask only for the access each task needs.
- Offer better ways in than scraping. APIs (for example, OpenAPI or MCP) or your own AI agent give agents a reliable path and keep your policies in charge.
- Review and adjust. Check which agents arrive and where they fail, then widen or narrow access. See how to track personal agents on your website.
How companies are setting agent access
More than 100 companies are design partners on Poppy, and Shopify has enabled it for every merchant on its platform. Early implementations follow the journey-by-journey approach.
With Mercury, personal agents can check balances and review transactions freely, but a payment or transfer goes through the account's approval policy before anything is sent.
Sierra helps companies serve customers through personal agents, on their own terms.


