---
title: "Beyond classification: How AI agents are evolving Shopify's product taxonomy at scale"
description: "Shopify maintains its 10,000+ category, 2,000+ attribute product taxonomy with a multi-agent LLM system."
url: "https://swe.quest/articles/beyond-classification-how-ai-agents-are-evolving-shopify-s-product-taxonomy-at-4a4993e179b43e33"
canonical: "https://shopify.engineering/product-taxonomy-at-scale"
source: "Shopify Engineering"
published: "2025-10-09"
difficulty: "easy"
kind: "Case study"
reading_minutes: 10
tags: ["ai-agents","llms","ecommerce","evals"]
---

# Beyond classification: How AI agents are evolving Shopify's product taxonomy at scale

A post on [Shopify Engineering](https://swe.quest/sources/shopify.md), published 2025-10-09, 10 min read, Case study. Original: [https://shopify.engineering/product-taxonomy-at-scale](https://shopify.engineering/product-taxonomy-at-scale)

## Summary

Shopify maintains its 10,000+ category, 2,000+ attribute product taxonomy with a multi-agent LLM system. One agent analyzes the taxonomy's structure and another analyzes real merchant product data. A synthesis step merges their proposals, and an equivalence-detection agent finds cases where a specific category equals a broader category plus attribute filters (e.g., Women's Golf Shoes = Athletic Shoes + Activity Type=Golf + Gender=Women). Change-type and domain-specific LLM judges filter proposals before human review, as in a MagSafe-compatible attribute approved at 93% confidence. A Telephony pilot compressed what would have been years of manual expansion into weeks.

Written by swe.quest, not by the author.

**Difficulty:** Easy: no special background needed; explains what something is and why it matters

## Topics

- [AI agents](https://swe.quest/tags/ai-agents.md) (AI & ML)
- [LLMs](https://swe.quest/tags/llms.md) (AI & ML)
- [E-commerce](https://swe.quest/tags/ecommerce.md) (Domains)
- [Evaluation](https://swe.quest/tags/evals.md) (AI & ML)

## Prerequisites

- LLM agents ([easy posts on LLMs](https://swe.quest/tags/llms.md?difficulty=easy))
- product taxonomies

## Keywords

Shopify, Shopify Product Taxonomy, LLM-as-judge, MagSafe

## Related posts

- [Evolution of Product Classification at Shopify: From Categories to Comprehensive Product Understanding](https://swe.quest/articles/evolution-of-product-classification-at-shopify-from-categories-to-comprehensive-f7af0d3e764e6a0d.md): Shopify Engineering · 2025-05-08 · Medium · 8 min read · Inference & serving, Machine learning, E-commerce, LLMs, ML platforms
  Shopify's product classification evolved from a 2018 TF-IDF logistic regression model through a 2020 multi-modal classifier to a Vision Language Model system built on the Shopify Product Taxonomy, which covers over 10,000 categories and 1,000+ attributes.
- [Clustering billions of products for agentic commerce with Catalog API](https://swe.quest/articles/clustering-billions-of-products-for-agentic-commerce-with-catalog-api-20619778c8b2f613.md): Shopify Engineering · 2026-06-17 · Medium · 13 min read · LLMs, E-commerce, Vector search, Algorithms, Evaluation
  Shopify's Catalog groups billions of merchant product listings under Universal Product Identifiers (UPIs) using a precision-first pipeline.
- [Leveraging multimodal LLMs for Shopify’s global catalogue: Recap of expo talk at ICLR 2025](https://swe.quest/articles/leveraging-multimodal-llms-for-shopify-s-global-catalogue-recap-of-expo-talk-at-5a595806db6311fb.md): Shopify Engineering · 2025-07-16 · Medium · 11 min read · LLMs, E-commerce, Model training, Inference & serving, Evaluation
  Shopify's Global Catalogue uses fine-tuned open-source vision LLMs (LLaVA 1.5 7B, then LLaMA 3.2 11B, now Qwen2VL 7B) to classify, extract attributes from, standardize and match billions of merchant product listings.
- [Cross-store product clustering across millions of stores](https://swe.quest/articles/cross-store-product-clustering-across-millions-of-stores-c9b1fdcfbed466c6.md): Shopify Engineering · 2026-10-20 · Hard · 13 min read · Machine learning, E-commerce, Vector search, Algorithms, LLMs
  Shopify groups listings of the same product across millions of stores under a global Universal Product Identifier using a three-stage pipeline: embedding-based approximate nearest-neighbor retrieval to find candidate pairs, tiered pair scorers, and graph clustering.
- [Understanding Etsy’s Vast Inventory with LLMs](https://swe.quest/articles/understanding-etsy-s-vast-inventory-with-llms-1fa28367e98029f1.md): Etsy Code as Craft · 2025-10-13 · Medium · 7 min read · LLMs, Evaluation, E-commerce, Search, Data pipelines
  Etsy extracts structured product attributes such as color, material and dimensions from unstructured listing titles, descriptions and photos using LLMs.

Browse: [Latest posts](https://swe.quest/index.md) · [Topics](https://swe.quest/tags.md) · [Sources](https://swe.quest/sources.md) · [Topic map](https://swe.quest/map.md) · [Site guide (llms.txt)](https://swe.quest/llms.txt)
