Cloudflare has outlined five steps businesses can take to prepare their online stores for the growing use of AI shopping agents, which are increasingly capable of browsing products, comparing prices, adding items to carts and completing purchases on behalf of consumers.
In its guide published on November 23, Cloudflare explains how retailers can make their storefronts accessible to personal AI agents while maintaining control over website security, product information and customer activity.
As AI-powered shopping experiences develop, agents are beginning to evaluate online stores using information such as product prices, stock availability, delivery dates, shipping costs and return policies. If an agent cannot access a store or find the information it needs, it may recommend another retailer instead.
Cloudflare’s guidance focuses on helping businesses understand which agents are visiting their websites, decide which agents to allow, publish product information in formats agents can read, assess their AI readiness and test the complete purchasing process.
1. Identify Which AI Agents Are Visiting the Store
Cloudflare recommends that retailers first understand which personal AI agents are already accessing their websites before changing security or access settings.
Through Security Analytics, businesses can navigate to Bot Analysis and select a personal agent to review its requests, the pages it accesses and any errors it encounters.
Retailers should pay particular attention to agents that successfully reach product pages but encounter difficulties when accessing the shopping cart. These interactions may represent potential customers who were ready to make a purchase but could not complete the process.
Cloudflare also recommends reviewing the agent crawl-to-referral ratio in Business Insights for pages designed primarily for human visitors, including advertising-supported pages. A ratio of 12:1, for example, indicates twelve agent visits for every human visit.
This information can help businesses understand how AI agents interact with different parts of their storefronts and identify areas that require improvement.
2. Decide Which AI Agents Should Have Access
The second step involves establishing clear policies for AI agent access.
Cloudflare explains that an AI agent can only recommend a store if it can access the relevant website content. Retailers can configure access through the Cloudflare dashboard under Security Settings, within AI Crawler and Agent Access Policies.
The company recommends evaluating agents based on three considerations:
- Agent verification: Businesses should determine whether an agent is genuinely what it claims to be. Personal agents listed in Cloudflare’s policy directory come from its directory of verified bots, for which Cloudflare recommends allowing access. Traffic that merely claims to be an agent remains subject to existing bot protections.
- Customer usage: Analytics can help retailers identify which agents are visiting their websites and understand the volume of requests generated by each.
- Website activity: Businesses should assess whether an agent behaves like a shopper by reading product pages and progressing towards checkout. If an agent mainly visits advertising-dependent pages, retailers can choose to block it on those pages rather than blocking it entirely.
Cloudflare also recommends allowing agents to search product catalogues so AI search indexes can access relevant information. Businesses can create custom rules that allow agents to browse product pages while restricting sensitive areas such as account settings.
For agents whose activity is uncertain, retailers can initially allow access and monitor their behaviour through Security Analytics before changing policies.
Reviewing Existing Security Protections
Cloudflare also highlights that an Allow policy does not automatically override every existing security control.
For example, automated agents may fail Turnstile validation because they are not human visitors. Retailers that want agents to access specific pages should consider conditionally enforcing Turnstile.
Similarly, custom security rules that block or challenge automated traffic may continue to affect permitted agents. Businesses should review their rules under Security Rules and create appropriate exceptions where necessary.
3. Make Product Information Readable for AI Agents
Cloudflare identifies accessible and accurate product information as another important requirement for AI-driven shopping.
An AI agent can only communicate information it can successfully read from a storefront. Cloudflare recommends displaying important purchasing details as visible text on individual product pages.
These details should include:
- Product price
- Stock availability
- Delivery date
- Shipping cost
- Return window
- Whether a promotional code applies
Retailers should avoid placing essential purchasing information exclusively inside banner images or other visual elements that agents may not interpret correctly.
Businesses should also ensure that the product price displayed on the product page matches the price shown in the shopping cart. Differences between the two can prevent an agent from completing a purchase.
Cloudflare recommends publishing the same product information through Schema.org Product structured data using JSON-LD within a script tag.
For example, a product listing can include its name, SKU, price, currency and stock availability through structured data. This information complements the visible product details rather than replacing them.
When prices or stock levels change, businesses should update the structured data at the same time to prevent AI agents from receiving conflicting information. Retailers can also include shipping and return information through the shippingDetails and hasMerchantReturnPolicy properties within the offer data.
4. Check the Store’s AI Agent Readiness
The fourth step involves assessing whether the website is technically prepared for AI agents.
Cloudflare recommends using its Agent Readiness diagnostics through the dashboard. Businesses can run a scan against their store’s hostname to evaluate the website from the perspective of an AI agent and receive a readiness level.
The checks are grouped according to the effort required to address them.
Some of the suggested improvements include providing a sitemap, configuring AI crawler rules in robots.txt and enabling Markdown for Agents.
The Markdown for Agents feature is available as a single setting. When enabled, agents that request Markdown can receive a clean text version of website pages, making it easier for them to access and interpret relevant content.
These improvements can help retailers make product information more accessible to AI-powered shopping tools.
5. Test the Complete Purchase Journey with an AI Agent
Cloudflare’s final recommendation is to test an actual purchase using a personal AI agent.
While analytics can show where agents stop interacting with a website, testing the purchasing journey can help businesses understand why the process fails.
For example, retailers can ask an AI agent to purchase two products, apply a promotional code, add gift wrapping and verify the delivery date and return conditions before payment.
During the test, businesses should check whether the agent:
- Selects the correct product colour and quantity.
- Finds available gift-wrapping options.
- Successfully applies promotional codes.
- Confirms delivery dates and return windows before payment.
- Encounters pop-ups or other website elements that prevent it from completing the purchase.
Cloudflare recommends fixing issues that can be addressed immediately and documenting other improvements for implementation after peak shopping periods.
Identifying the Customer Behind an AI Shopping Agent
Beyond website accessibility and purchase testing, Cloudflare also highlights the importance of understanding which customer an AI agent represents.
Its Account Abuse Protection capability can help businesses identify personal agents acting on behalf of specific users and assess whether their activity is consistent with the normal behaviour of those accounts.
If activity associated with an individual user appears suspicious, businesses can take action against that account while continuing to allow the same AI agent to access the storefront for other customers.
This approach is intended to help retailers balance the adoption of AI-driven shopping experiences with account security and abuse prevention.
Preparing Retail Infrastructure for AI-Driven Commerce
Cloudflare’s recommendations reflect the changing requirements of online retail as personal AI agents become more involved in product discovery and purchasing.
For retailers, preparing for this shift involves more than allowing automated traffic to access their websites. Product information must be accurate and accessible, structured data must remain consistent, security policies must distinguish legitimate agents from unwanted traffic, and the checkout experience must support agent-led interactions.
By addressing these areas, businesses can improve their readiness for an emerging shopping environment in which AI agents increasingly act as intermediaries between consumers and online stores.
