Scaling an AI-Powered Conversational Shopping Assistant to 250 Million Users

rufus · E-commerce · 2025 · source Agentic: yes · promotional bias: high · source-backed · extracted with prompt 0.5.6 (schema v2)

Generated from extraction.json — do not edit by hand. Every claim cites verbatim source evidence; stated means the quote directly asserts the claim, implied means it supports it indirectly.

Problem

Domain: Conversational shopping assistant at Amazon scale

Amazon needed Rufus to answer shopping questions, personalize recommendations, use live retail data, and take shopping actions for hundreds of millions of customers while balancing accuracy, latency, cost, and global operational scale.

Constraints:

Architecture

Rufus started with a custom shopping-domain LLM served on AWS silicon, then shifted to a hybrid Bedrock architecture that combines the custom model with Amazon Nova and Claude Sonnet. Bedrock supplies model hosting, model-agnostic interfaces, global availability, evaluation, prompt caching, parallel tool calling, and tool-use support. Rufus routes query types across models, grounds answers with customer/catalog/web context, and integrates with persistent shopping services such as price alerts and auto-buy.

Diagram confidence: explicit (topology described by the source).

flowchart LR
  A["Rufus conversation interface"] --> B["Model selection layer"]
  B --> C["Amazon Bedrock"]
  B --> D["Custom shopping LLM"]
  C --> E["Amazon Nova and Claude Sonnet"]
  C --> F["Tool integration layer"]
  C --> H["Nova Web Grounding"]
  F --> G["Shopping action services"]
  G --> A
Drag to pan · scroll or use +/− to zoom · reconstructed from the source's described component topology

Components

Component Role Interacts with
Rufus conversation interface Customer-facing shopping assistant surface for questions, recommendations, and actions. Model selection layer, Shopping action services
Model selection layer Chooses among custom LLM, Amazon Nova, Claude Sonnet, and other Bedrock-hosted models by query type. Amazon Bedrock, Custom shopping LLM
Amazon Bedrock Managed foundation-model platform with model-agnostic interfaces, hosting, evaluation, prompt caching, and tool support. Amazon Nova and Claude Sonnet, Tool integration layer, Nova Web Grounding
Custom shopping LLM Domain-specialized model originally built for shopping evals and large-scale events. Model selection layer
Amazon Nova and Claude Sonnet Foundation models used for more complex reasoning, context, and conversational tasks. Amazon Bedrock
Tool integration layer Runtime access to order history, product catalog, price history, account memory, and live databases. Shopping action services, Nova Web Grounding
Shopping action services Traditional services that persist price alerts, auto-buy requests, cart actions, and reordering flows. Tool integration layer, Rufus conversation interface
Nova Web Grounding Web grounding capability for authoritative cited internet context and answer-defect reduction. Amazon Bedrock

Data flow

A shopping question enters Rufus, which selects an appropriate model through Bedrock or the custom stack, injects known context such as order history when available, lets the model call tools when it needs live product/catalog/account information, grounds with Nova Web Grounding when appropriate, and writes persistent shopping intents into services such as price alerts or auto-buy.

3 supporting quotes
“With Amazon Bedrock, we can evaluate and select the optimal model for each query type, balancing answer quality, latency, and engagement.”article, stated
“if we know a customer is asking a question about their previous orders, we can provide their order history to the initial inference request of the model.”article, stated
“when it believes it needs more information it can use a tool to retrieve additional context.”article, stated

Why this architecture

Amazon kept the specialization benefits of its custom shopping model while using Bedrock to reduce infrastructure overhead, accelerate model adoption, and add tool-using agent capabilities across global shopping contexts.

3 supporting quotes
“At first, we considered off-the-shelf models but most of these did not do well in our shopping evaluations (evals).”article, stated
“Amazon Bedrock was the natural solution.”article, stated
“Bedrock handles the heavy lifting, allowing customers to concentrate on building innovative solutions for their unique needs.”article, stated

Models used: custom in-house shopping LLM · Amazon Nova · Anthropic Claude Sonnet · foundation models on Amazon Bedrock

Scale

Alternatives considered (roads not taken)

Use only off-the-shelf general-purpose models

Rejected because: They underperformed shopping evals or were too large, slow, and costly for Rufus's needs.

“At first, we considered off-the-shelf models but most of these did not do well in our shopping evaluations (evals).”article, stated

Continue only with the custom in-house model

Rejected because: Weeks- or months-long model iteration slowed advanced reasoning and feature expansion.

“training an LLM presents a significant challenge: iterations can take weeks or months to complete.”article, stated

Model-only shopping actions

Rejected because: Persistent actions like auto-buy need traditional services to store and execute records safely.

“The agent itself can create a persistent record in the price alert and auto-buy service, but the system then uses traditional software to manage the record and act on it accordingly.”article, stated

Patterns

tool-use-orchestration (agent-architecture)

Rufus uses model tool calls to query live databases, order history, catalog data, price history, and shopping action services.

“Rufus can dynamically call services as tools to provide personalized, real-time, accurate information or take actions on behalf of the user.”article, stated

model-routing (model-ops)

Rufus selects among custom, Nova, Claude Sonnet, and other Bedrock models based on query complexity, latency, cost, and accuracy.

“we can evaluate and select the optimal model for each query type, balancing answer quality, latency, and engagement.”article, stated

agent-memory (context)

Rufus uses account memory and shopping history to personalize future answers and actions.

“To be more personal Rufus now has account memory, understanding customers based on their individual shopping activity. Rufus can use information you may have shared previously such as hobbies you enjoy, or a previous mention of a pet, to provide a much more personalized and effective experience.”article, stated

rag-retrieval (retrieval)

Rufus grounds answers by retrieving live product, order, catalog, web, and account context when the model needs more information.

“It retrieves relevant information such as your order history and uses integrated tools at inference time to query live databases”article, stated

latency-optimization (optimization)

The team uses model choice, prompt caching, parallel tool calling, and Bedrock-managed serving to reduce response latency.

“By using prompt caching and parallel tool calling we decreased latency even more. These optimizations, from model response to service latency, means customers that use Rufus are 60% more likely to complete a purchase.”article, stated

Tradeoffs

Model platform strategy

Chose hybrid custom LLM plus Bedrock-hosted foundation models over custom model only.

Rationale: The hybrid approach preserves shopping specialization while accelerating access to advanced reasoning, larger context windows, and managed global serving.

“Our strategy combines multiple models to power Rufus including Amazon Nova, and Anthropic’s Claude Sonnet, and our custom model”article, stated

Context acquisition

Chose hybrid pre-supplied context plus tool retrieval over always asking the model to fetch more context.

Rationale: Supplying known context reduces inference calls and increases determinism, while tool calls remain available when more context is needed.

“This optimizes the number of inference calls we need to make and also provides more determinism to help avoid downstream errors.”article, stated

Shopping automation implementation

Chose agent creates persistent records, services execute them over model-only execution of purchase actions.

Rationale: Persistent service records give durable, auditable execution for price alerts and auto-buy.

“the system then uses traditional software to manage the record and act on it accordingly.”article, stated

Gotchas (what bit them)

Custom LLM iteration slowed feature expansion.

Root cause: Training cycles can take weeks or months while frontier models advance quickly.

Resolution: Adopt Bedrock for rapid model evaluation and integration while retaining the custom model where useful.

“However, training an LLM presents a significant challenge: iterations can take weeks or months to complete. With newer more capable models being released at an accelerated pace, we aimed to improve Rufus as quickly as possible and began to evaluate and adopt state-of-the-art models rapidly.”article, stated

General-purpose models were not automatically good shopping assistants.

Root cause: They underperformed on shopping evals or imposed larger latency/cost footprints than needed.

Resolution: Use a custom shopping-domain LLM and route query types across specialized or managed models.

“most of these did not do well in our shopping evaluations (evals). Other models came with the cost of being larger and therefore were slower and more costly.”article, stated

Agentic shopping actions need more than model output.

Root cause: Actions such as price alerts and auto-buy require persistent records, payment/shipping context, and traditional service execution.

Resolution: Let the agent create records while conventional services manage and execute them.

“The agent itself can create a persistent record in the price alert and auto-buy service, but the system then uses traditional software to manage the record and act on it accordingly.”article, stated

Evaluation

Rufus evaluates shopping assistants through domain-specific evals, LLM-as-a-judge answer accuracy, latency, engagement, conversation turns, and business outcomes.

Metrics: shopping eval performance · LLM-as-a-judge answer accuracy · latency · repeat customer engagement · conversation turns per interaction · purchase completion

“measuring how accurately questions are answered using tools like LLM-as-a-judge, but also analyzing factors such as latency, repeat customer engagement”article, stated

Outcomes

The system operates across Amazon shopping journeys, new marketplaces, global model hosting, and Prime Day-scale AWS silicon deployment.

“The benefits of using Amazon Bedrock increased our development velocity by over 6x. Using multiple models gives us the ability to break down a conversation into granular pieces.”article, stated
“Monthly users are up 140% YoY and interactions are up 210% YoY. Additionally, customers that use Rufus during a shopping journey are 60% more likely to complete a purchase.”article, stated