Tools/anthropics/commerce-agents

commerce-agents

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

2.3kemergingPythonApache License 2.0new this week

The Lens

By Erik Loyd, SaaS CEO and former COO/CFO of an AWS Premier Partner.

Updated Sep 2026

commerce-agents is Anthropic's reference blueprint for building two things on Claude: a shopping agent you embed for customers, and a merchant agent your staff use to run the back office. It is not a product you install, it is example code (real runnable agents across retail, travel, telecom, and entertainment) that shows how to wire the pieces together. Apache-2.0.

The value is the pattern, not the demo. Each agent is defined once (prompt, skills, tool contracts, approval gates) and runs on the Messages API, the Agent SDK, and Managed Agents. There is a Claude Code plugin that scaffolds a new agent against your own systems. Nothing here places a real order or charges a card; every write is staged until a person approves it.

If you are building commerce agents on Claude, start here instead of from a blank file. It shows the safety scaffolding (the fencing, the staged writes, the approval surface) that you would otherwise learn the hard way. The catch: the code is free but Claude is not. You bring an API key, and cost scales with usage. This is a starting point wired to Anthropic's own stack, not a vendor-neutral framework.

Free vs Self-Hosted vs Paid

fully free

Free: The blueprint is Apache-2.0 and open source. All the agent code, skills, tool contracts, and the scaffolding plugin are free to use and fork.

Self-hosted: You run the agents on your own infrastructure against your own catalog, cart, and order systems. The repo ships runnable demo verticals.

Paid: The code is free; running it needs a Claude API key. Cost is Anthropic API usage, which scales with traffic. Managed Agents hosting is a separate Anthropic cost if you go that route.

The blueprint is free and open source. Running the agents needs a Claude API key, and cost scales with usage.

What to do by team size

Solo
free to study and fork
Small team
free; you pay for Claude API usage
Medium team
free; budget for API spend at scale
Large team
free codebase; API and engineering time are the real cost
Self-hosting ops:moderate

Get tools like this every Wednesday

One featured tool, three on the radar. No fluff.

Score
78/100 · B+
Adoption17/30
Maintenance25/25
Community11/20
License15/15
Analysis10/10

A low score is not a verdict on quality. Young and niche tools start low by design. How we calculate scores

Trust Signals

Organization account (105 public repos)Notable author: 84,614 followersBacked by: Google, Spark Capital

License: Apache License 2.0

Use freely. Patent grant included.

Commercial use: ✓ Yes

About

Owner
Anthropic (Organization)
Backed by
Google, Spark Capital
Stars
2,284
Forks
393

Explore Further

More tools in the directory