Anthropic open-sources commerce-agents blueprint for AI shopping assistants
A new reference implementation for building shopping and merchant agents with Claude, featuring industry-specific demos and a Claude Code plugin.
Developers can now build specialized AI assistants for retail and B2B operations using the open-source blueprint from Anthropic. This framework provides the architecture, guardrails, and reference implementations needed to deploy shopping agents for consumers and merchant agents for back-office staff across sectors like travel, telecom, and entertainment.
The distinction between shopping and merchant agents
The blueprint defines two primary roles. The shopping agent handles consumer-facing tasks: searching catalogs, comparing products, managing carts, and answering policy questions. It uses a StorefrontBackend to interface with a company's existing catalog and order systems.
The merchant agent is designed for internal staff to manage store operations. It analyzes sales performance, flags inventory shortages, and drafts marketing campaigns. To ensure safety, every write operation performed by the merchant agent is staged and requires human approval before going live.
Modular skills instead of subagents
Anthropic implements a single-agent loop with modular skills rather than a multi-agent orchestrator. This approach avoids the state loss and latency associated with handing off conversations between subagents. Instructions for common tasks, such as product search, reside in the system prompt, while less frequent tasks are loaded as skills.
UI components are treated as tools. Instead of prompting the model to generate custom markup, the agent calls specific tools like present_products or present_itinerary. This ensures the model emits a typed schema that the client renders, maintaining a reliable record of what is visible on the user's screen.
Deployment paths and the Claude Code plugin
The agents can be run via the Messages API, the Agent SDK, or as Managed Agents. The system is compatible with the Claude API, Amazon Bedrock, Google Cloud Vertex AI, and Microsoft Foundry. To accelerate development, a plugin for Claude Code allows users to scaffold an agent based on their own backend stack.
claude plugin marketplace add anthropics/commerce-agents
claude plugin install commerce-builder@claude-commerce-agents
claude
/scaffold-commerce-agent a shopping assistant for our storeRunning the industry vertical demos
The repository includes four runnable examples: retail, travel, telecom, and entertainment. These demos use fictional data from a company called ACME to showcase different capabilities, such as date-bound inventory for travel or plan matrices for telecom.
git clone https://github.com/anthropics/commerce-agents.git && cd commerce-agents
python3 -m venv .venv && source .venv/bin/activate
pip install -r requirements.txt
cp .env.example .env
(cd examples && npm ci)
python scripts/run_demo.py retailSources
A guide to the anatomy of effective commerce agents | Claude by Anthropic
Related news
AI for BusinessAnthropic is introducing Claude Fable 5.1 and Mythos 5.1Claude Fable 5.1 and Mythos 5.1 offer improved coding and research capabilities, reduced cache read costs, and a new data privacy system for enterprise users.·by shared tag
AnthropicAnthropic is introducing Claude Fable 5.2 and Mythos 5.2Anthropic releases Claude Fable 5.2 and Mythos 5.2, featuring 30% faster generation, lower API costs, and improved performance in agentic coding and scientific research.·by shared tag
AnthropicHow to set ambitious AI goals and the be-ambitious skillAnthropic engineer Felix Rieseberg shares a framework for pushing AI beyond simple speed, including a prompt converted into a reusable agent skill.·by shared tag
AnthropicAnthropic is introducing Claude Opus 5.5 with lower costsClaude Opus 5.5 reduces running costs by 40% compared to Opus 5, introduces a Fast Mode for 2.5x speed, and leads in agentic coding and computer use benchmarks.·by shared tag
Comments
Weekly digest
The best of vibe coding, AI agents and open source — once a week, no spam.