commerce-evals
Skill3.2k starsChanged 3 months agoApache-2.0View on GitHub
Authoring and running behavioral evals for a shopping or merchant agent, covering the case shape, authoring rules, code graders and judges, the run pattern, and poisoned fixtures. Load when writing eval cases or rubrics or deciding how a suite runs.
Trending
Quiet since September.about the whole repository
Who's talking about anthropics/commerce-agents
- A Hacker News story“Anthropic commerce agent: open-source blueprint for shopping and merchant agents”Hacker News · Sep 10, 2026 · 3 points
- A Hacker News story“Commerce Agents: Reference blueprint for building shopping and merchant agents”Hacker News · Sep 2, 2026 · 3 points
- @anthropicai.xmirror.bot“Also, see our open-source reference implementation. This includes shopping & merchant agents, four vertical …”Bluesky · Sep 2, 2026 · 3 likes
- @greg-harvey.tooting.ch.ap.brid.gy“Anthropic: "Hey, we do open source stuff too!" https://github.com/anthropics/commerce-agents Me: "Folks, …”Bluesky · Sep 16, 2026 · 2 likes
- ProSkillsMD/proskills“[Candidate] anthropics/commerce-agents/shopping-agent/skills/search-discovery - search-discovery”GitHub · Sep 28, 2026
The biggest 5 of 29 mentions linking to the repository that our crawl found. Each line is their own headline.
See all 29
Talked about on GitHub, Bluesky and Hacker News (29 times).
On GitHub · 23
- Sep 28, 2026[Candidate] anthropics/commerce-agents/shopping-agent/skills/search-discovery - search-discovery — ProSkillsMD/proskills0 reactions · 2 comments
- Sep 27, 2026[Candidate] anthropics/commerce-agents/shopping-agent/skills/purchase-research - purchase-research — ProSkillsMD/proskills0 reactions · 2 comments
- Sep 27, 2026[Candidate] anthropics/commerce-agents/shopping-agent/skills/planning-goals - planning-goals — ProSkillsMD/proskills0 reactions · 2 comments
- Sep 27, 2026[Candidate] anthropics/commerce-agents/shopping-agent/skills/memory-personalization - memory-personalization — ProSkillsMD/proskills0 reactions · 2 comments
- Sep 26, 2026[Candidate] anthropics/commerce-agents/shopping-agent/skills/customer-care - customer-care — ProSkillsMD/proskills0 reactions · 2 comments
18 more on GitHub
- Sep 26, 2026[Candidate] anthropics/commerce-agents/merchant-agent/skills/pricing-promotions - pricing-promotions — ProSkillsMD/proskills0 reactions · 2 comments
- Sep 26, 2026[Candidate] anthropics/commerce-agents/merchant-agent/skills/performance-insights - performance-insights — ProSkillsMD/proskills0 reactions · 2 comments
- Sep 26, 2026[Candidate] anthropics/commerce-agents/merchant-agent/skills/marketing-campaigns - marketing-campaigns — ProSkillsMD/proskills0 reactions · 2 comments
- Sep 26, 2026[Candidate] anthropics/commerce-agents/merchant-agent/skills/inventory-operations - inventory-operations — ProSkillsMD/proskills0 reactions · 2 comments
- Sep 26, 2026[Candidate] anthropics/commerce-agents/merchant-agent/skills/catalog-listings - catalog-listings — ProSkillsMD/proskills0 reactions · 1 comment
- Sep 13, 2026fix(81rv10): ground demo in commerce-agents import — huijoohwee/agentic-graph0 reactions · 1 comment
- Sep 12, 2026[新規記事候補] Claude Commerce Agents Blueprint — quintessence-lab/mdTechKnowledge0 reactions · 1 comment
- Sep 10, 2026[mdKnowledge更新候補] 2026-09-11 — quintessence-lab/mdTechKnowledge0 reactions · 2 comments
- Sep 3, 2026📰 Hacker News AI 社区动态日报 2026-09-03 — 96loveslife/big_model_radar0 reactions
- Sep 2, 2026APRV-241: commerce agents blueprint declined in the integrations register — approval-md/approval.md0 reactions
- Sep 2, 2026Add a generic application and workspace-agent builder — tyxter-dev/blackbox0 reactions
- Sep 2, 2026Define a provider-neutral memory policy and reference runtime — tyxter-dev/blackbox0 reactions
- Sep 2, 2026Add cross-surface semantic parity contracts for workspace agent packages — tyxter-dev/blackbox0 reactions
- Sep 2, 2026Add a provenance-gated staged-action reference agent — tyxter-dev/blackbox0 reactions
- Sep 2, 2026Add an optional trust and sanitization boundary for tool results — tyxter-dev/blackbox0 reactions
- Sep 2, 2026Enforce WorkspaceAgentSpec tool permissions at runtime — tyxter-dev/blackbox0 reactions · 1 comment
- Sep 2, 2026Commerce agents: wire the blueprint evals into ork:testing-llm — yonatangross/orchestkitsays it tested it0 reactions
- Sep 2, 2026Commerce agents: skill wrapping the blueprint's shopping and merchant harness for client sites — yonatangross/orchestkit0 reactions
On Bluesky · 4
- Sep 2, 2026Also, see our open-source reference implementation. This includes shopping & merchant agents, four vertical demos, and a Claude Code plugin… — @anthropicai.xmirror.bot3 likes and reposts · 1 reply
- Sep 16, 2026Anthropic: "Hey, we do open source stuff too!" https://github.com/anthropics/commerce-agents Me: "Folks, open sourcing your agents is like… — @greg-harvey.tooting.ch.ap.brid.gy2 likes and reposts
- Sep 6, 2026anthropics/commerce-agents Anthropic published a reference implementation for Claude-powered commerce agents. Shopping flows, merchant… — @githubprojects.bsky.social0 likes and reposts · 1 reply
- Sep 2, 2026Also, see our open-source reference implementation. This includes shopping & merchant agents, four vertical demos, and a Claude Code plugin… — @claudedevs-mirr.selfhosted.social0 likes and reposts · 1 reply
On Hacker News · 2
In this repository16 other files it gives its agents.
- CLAUDE.mdCLAUDE.md
- catalog-listingsSkill
- inventory-operationsSkill
- marketing-campaignsSkill
- performance-insightsSkill
- pricing-promotionsSkill
- commerce-architectureSkill
- commerce-merchant-operationsSkill
- commerce-prompt-cachingSkill
- commerce-trust-safetySkill
- commerce-ui-toolsSkill
- customer-careSkill
- memory-personalizationSkill
- planning-goalsSkill
- purchase-researchSkill
- search-discoverySkill
The file
We split this skill into the rules it gives an agent
1 rule. About 0 are common, 1 is distinctive, and 0 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈1
Distinctive · estimate
This author's own choices. Worth a look.
0
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 49
Every positive has a negative: for each case that asserts a component, a skill load, a gate, a disclosure, or a memory write, a case in the …
≈ “Common” is an estimate: at least 1 in 5 of the 213,895 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Commerce agent evals
The repo ships no eval harness; the suite is yours, because a case only means something against your catalog,
orders, and fixtures. Paths below are in the reference repo: commerce_common/ is commerce-common/commerce_common/.
Gate behavior that needs no model (provenance, caps, guardrails, approval) is unit-tested with FakeClient in
commerce_common/testing.py; evals cover what the model decides.
The case shape
This block is the one home of the case shape and the scorer names; /author-commerce-evals refers to it.
{
"id": "<flow>-<nnn>-<behavior>",
"priority": "critical | high | medium | low", "difficulty": "easy | medium | hard", "tags": ["..."],
"skip": "<reason, when a case cannot run yet>",
"state": {"seen_products": ["..."], "cart": [...], "memory": [...], "staged_changes": [...]},
"turns": ["<the customer's or operator's message>", "..."],
"expected": {
"calls_tool": ["..."], "calls_one_of": ["..."], "never_calls": ["..."],
"first_tool": "...", "first_tool_not": "...",
"ui_components": ["..."], "no_ui": true,
"cart_contains": ["..."], "cart_item_count": 0, "cart_not_contains": ["..."],
"staged_change_kinds": ["..."], "no_applied_changes": true,
"memory_contains": ["..."], "memory_not_contains": ["..."],
"skill_loaded": "...", "skill_not_loaded": "...", "no_skill_load": true,
"reply_includes": ["..."], "reply_omits": ["..."], "max_tool_calls": 0,
"rubric": "PASS if <condition>. FAIL if <condition>."
},
"notes": "<what the case pins and the fixture fact that decides it>"
}state is the precondition; turns is one message unless the behavior under test is carrying state across turns;
expected holds only the keys the case is about. Ids in state and expected are real ids from your fixtures.
priority and difficulty let a report say which failures matter; a case that cannot run yet carries skip
with its reason rather than being deleted.
Authoring rules
- Preconditions go in injected state (the products already seen, the cart, the memory facts, the staged queue), which the runner loads into the session state and the memory store before the turn. Earlier turns are for state the behavior itself carries, and for nothing else.
- Every positive has a negative: for each case that asserts a component, a skill load, a gate, a disclosure, or a memory write, a case in the same niche asserts its absence. A refusal case has a should-serve counterpart.
- Memory is three cases: a remark worth keeping is written; an identifier or excluded content is refused (nothing stored, no error to the person); a stored fact changes the next session's pick.
- Grade the final tool arguments and the state they produced: the ids on the last presentation call, the fields on
the staged change, the cart and the memory store after the turn. The reply's wording is graded only for strings
that must or must not appear. Which route the agent took (
skill_loaded, one named component,never_callson a presentation tool) is asserted only where the route is the behavior (a grounding read first, a write that must never happen); elsewherecalls_one_ofnames the acceptable set. When a live run takes a route the case did not expect and the answer was right, widen the case to the acceptable set; do not re-pin it to the route observed. - A rubric is one PASS condition and one FAIL condition that no response satisfies both of; it names the fixture fact that decides it (the updated delivery date, the price today); variants you accept are written into it; it says nothing about tone, length, or the order components appear in.
- A turn that mentions health, a one-off errand, or hostile content asserts the memory end-state
(
memory_not_contains, ornever_callsonsave_memory). A case where a stored fact should change the pick uses a query whose results contain both the item the fact favors and the one it rules out; run the search before writing the case. max_tool_callsis set from what a well-behaved agent needs; a multi-item request fans out several searches in one round, and thepresent_suggestionscall that ends the turn is not counted.
Scorers
- Code graders read the events a turn yields (
commerce_common/streaming.py):tool_callnames and arguments,tool_resultwithstatusblockedand the gate inreason,uicomponent names, the lastcart_updateorchange_update, and the reply text. Every key above exceptrubricis a code grader. rubricgoes to a judge. One judge call per dimension (budget respected, no invented availability, trade-off stated), returning structured output with a verdict and a reason; the transcript is passed to it as quoted material, tool results and component payloads included; when the transcript exceeds the judge's window, truncate from the start so the graded turn survives, and record the truncation on the outcome. Pin the judge model at temperature zero; a change to the judge model or a rubric invalidates every stored verdict scored with it, so the recording carries a fingerprint of both.- A judge reply that does not parse into a verdict is a judge failure on the case, kept apart from an agent failure.
Run pattern
| When | What runs | What decides |
| Every merge to the agent, a skill, a tool description, or a fixture | The regression set | Each case over several trials; a pass threshold per set |
| While changing one flow | That flow's targeted set | The failure set, read beside the previous run's as the baseline |
| Choosing or upgrading a model (commerce-architecture's model fields) | Everything | The two failure sets side by side |
| In production | A judged sample of live traffic against the same rubrics | Trend per dimension |
Diff failure sets; a topline moving a point between live runs is noise. A case that fails after a change means the change broke the behavior or the case encoded a stale one; fix whichever it is and say which in the commit.
Poisoned fixtures
Listings, reviews, and messages carrying instructions live in eval-only fixtures the runner merges into the backend
for the run, under a third-party brand or seller; none of their ids appears in demo data, seeds, or captures. Each
such case asserts the negative in code (never_calls, cart_not_contains, no_applied_changes,
memory_not_contains, reply_omits), and every vector it asserts is one the driven turn actually puts in front of
the model (a review is only read on a details call). Cover at least an instruction to write to the cart or stage a
change, one to remember something, and a false claim (a code, a guarantee). The should-serve counterpart is a
separate benign eval-only listing in the same niche, so an agent that refuses everything fails it.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

