Skip to content
New

Shopify launched Agentic Storefronts. We make AI agents recommend you - not just list you.

See the Shopify integration
Tru Commerce

← Insights

How Claude picks products: web research versus a merchant-built agent

Understand Claude product recommendations using web sources, catalog retrieval and tool configuration. Diagnose wrong variants without inventing ranking rules.

Viren Inaniyan · October 12, 2026 · AI Agent Storefronts

How a Claude shopping agent picks products - Tru Commerce guide

There is no single documented Claude product-ranking formula that applies to every shopping conversation. A consumer asking Claude to research the web is using a different information path from a retailer's custom Claude agent connected to a controlled catalog. A browser-assisted task is different again.

To understand a recommendation, first identify the experience, the available information and the tools used. Then inspect whether the selected product satisfies the customer's constraints. This guide uses Anthropic's official documentation checked on 26 November 2026 and separates documented behavior from proposed evaluation methods.

Three questions to ask about a recommendation

QuestionWhy it changes the interpretationEvidence to inspect
Where did the interaction happen?Consumer research and a merchant application have different configurationsApp, model or runtime, account conditions
What information could it use?Web sources, a catalog and a supplied page are different candidate setsSearch results, retrieved records or page content
What did it actually do?Mentioning, recommending, adding to cart and buying are separate actionsAnswer text, tool results and authoritative state

A brand should not claim “Claude ranks us first” without this context. A custom assistant restricted to one merchant's products cannot establish that brand's position across an open-web market.

Consumer web research: inspect the sources and the question

Claude's web-search help describes using current web information to ground answers and providing citations. It also describes direct page retrieval when a user supplies a URL, and notes that location may affect localized results.

For product research, record the actual question and any relevant conversation context. “Recommend a lightweight travel bag” and “compare these three bags for cabin use on this airline” create different tasks. A brand's absence from the first does not establish that it cannot be considered in the second.

Open the cited pages. Check whether they support the exact model, specification and limitation stated in the answer. A citation to a broad category article is not automatically evidence for every product claim beside it.

If the answer contains an error, classify the failure before choosing a remedy. The source may be wrong, the page may be ambiguous, or the answer may misinterpret accurate information. Those cases call for different work.

Merchant-built agents: retrieval defines the candidates

Anthropic's commerce-agent repository defines a shopping agent connected through a storefront backend to catalog, cart, order and policy systems. The reference demos are fictional and do not place orders or charge cards. A deployment supplies the real systems and controls.

In that setting, the merchant's retrieval layer determines which products the assistant can evaluate. If a search tool returns only parent products without variant stock, the model cannot reliably choose an available size from that response alone. If compatibility data is absent, fluent explanation does not fill the gap.

Consider a hypothetical request for a replacement filter compatible with a specific appliance. The application should retrieve compatibility evidence, identify a purchasable variant and verify the current offer. A text similarity match on the word “filter” is not enough.

The appropriate remedy may be a better attribute, a narrower retrieval query or a validation step. It is not necessarily a longer prompt telling the model to be more accurate.

API search configuration is another variable

Anthropic's web-search tool documentation describes an API tool with explicit configuration and structured search results. A research application can therefore differ from the consumer experience in the tools and context it supplies.

When a monitoring vendor reports Claude visibility, ask which interface it observes. Record the configured search behavior and whether the answer came from the consumer app or a separate API workflow. Do not silently combine the results into one trend.

The same principle applies to a custom commerce assistant. Keep its retrieval and tool configuration versioned so an apparent improvement can be traced to the change that produced it.

Make product facts usable for a constraint-based decision

A useful product record states what the item is, who it is suitable for and what limits its use. For many catalogs, the most valuable work is clarifying variant identity and compatibility rather than adding more promotional language.

Customer constraintInformation neededFailure to avoid
Fits a specific deviceSupported models and exclusionsTreating category similarity as compatibility
Available in a sizeVariant-level identity and stockRecommending an unavailable size from parent stock
Arrives before a dateDestination-specific delivery informationConverting a generic estimate into a promise
Within a total budgetCurrent offer and applicable additional costsComparing base prices while ignoring the final total
Meets a material requirementVerified composition or specificationInferring a property from a product name or image

These are recommended data requirements for the task, not claimed ranking factors in an undisclosed algorithm. Accurate information helps a system evaluate suitability; it does not guarantee recommendation frequency.

Use the catalog preparation guide to turn missing fields into a data backlog. Keep approved facts consistent across feeds and visible pages so the customer does not encounter conflicting answers.

Evaluate selection with cases that can be checked

Create a set of customer requests and label acceptable products or acceptable refusals before running the assistant. Include a case where no product fits. A system that always recommends something can appear helpful while failing the actual decision.

For each response, record the retrieved candidates, chosen item, explanation and unresolved constraints. Review factual correctness separately from presentation quality. A well-written answer can still choose the wrong variant.

When changing retrieval or prompts, run the same cases again. Report how many decisions improved, stayed unchanged or regressed. Keep the failed examples rather than reporting only the average score. A severe compatibility error may matter more than several stylistic improvements.

Do not infer an open-web visibility gain from a better result in a merchant-controlled test. The custom application and consumer research surface need separate evidence.

What a brand can responsibly improve

For web research, make important specifications and policies accessible and clear, and correct inaccurate pages you control. For a custom agent, improve retrieval, tool responses, validation and the handoff into the commerce system. For both, preserve evidence of the observed failure.

The Claude commerce implementation guide covers the broader application architecture. Our AI shopping assistant is a place to discuss a merchant-owned experience; Citation Rank concerns observed external visibility. Book a review with the exact question and answer so the work starts with the correct mechanism.

FAQ

Sources

  1. 1.Claude's web-search help (checked 26 November 2026) - Anthropic
  2. 2.commerce-agent repository (checked 26 November 2026) - Anthropic
  3. 3.web-search tool documentation (checked 26 November 2026) - Anthropic

Put this into practice

Walk through your shopper journey, integration requirements and the results you want to measure with Tru Commerce.

Choose a time after the form · 30 minutes · no card

Continue reading