anthropics

Commerce Agents — Development skill for Claude Code

Development community

Reference blueprint for building shopping and merchant agents with Claude.

How to install Commerce Agents

This entry records only its repository, not the path inside it, so there is no exact command to give. Open anthropics/commerce-agents and copy the folder into ~/.claude/skills/, or the file into ~/.claude/agents/.

What Commerce Agents does

Reference blueprint for building shopping and merchant agents with Claude. Examples in retail, commerce, telecom, and entertainment included.

Alternatives in Development

  • Anthropic Cookbook — Official examples and guides from Anthropic 36.3k ★
  • Generic Extract Skill — You are an Autonomous 3D Technical Artist Agent 14.1k ★
  • Internet Court Skill — The trust layer for agent-to-agent commerce — natural-language mandates, ERC-7710 delegated permissions, x402 4.9k ★

README

Claude Commerce Agents

Two commerce agents built on Claude: a **shopping agent** a business embeds in its app for customers, and a **merchant agent** its staff use to run the back office. Each is defined once (prompt, skills, tool contracts, gates) and runs on the Messages API, the Claude Agent SDK, and Managed Agents; four runnable verticals show both over the same libraries.

[!NOTE] Every company, brand, product, and person here is fictional; the only company is ACME. Nothing places an order, charges a card, or changes a live listing: `checkout` renders the cart for the host to complete, and every merchant write is staged until a person approves it. Business rules, authorization, and compliance are the deployment's.

Quick start: run the demos

Python 3.11+ and Node 22. Clone, install, add a key, run a vertical:

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       # the seven packages and their pinned dependencies
cp .env.example .env                  # add ANTHROPIC_API_KEY
(cd examples && npm ci)               # the eight web apps share one workspace
python scripts/run_demo.py retail     # API :8000 + storefront :3000

`--merchant` starts the portal instead of the storefront and `--all` starts both. The verticals are `retail` (:3000, portal :3100), `travel` (:3001, :3101), `telecom` (:3002, :3102), and `entertainment` (:3003, :3103); each README lists prompts to try on both surfaces.

Quick start: build your own

The Claude Code plugin scaffolds an agent on these packages against your systems, or reviews one you have. With the repo cloned as above (the plugin reads it as the reference):

claude plugin marketplace add anthropics/commerce-agents
claude plugin install commerce-builder@claude-commerce-agents
claude
/scaffold-commerce-agent a shopping assistant for our store

The command asks about your sta