Product by Try it live(opens in a new tab)
OpenRouter for commerce
One endpoint, every online store.
npx agent-cards@latest initimport { AgentcardClient, buyTool } from "@agent-cards/commerce-sdk";import { anthropic } from "@ai-sdk/anthropic"; const agentcard = new AgentcardClient({ clientId, clientSecret });const buy = buyTool({ agentcard, externalUserId: shopper.id, sendLink: (link) => sendToShopper(shopper.id, link),}); const { text } = await generateText({ model: anthropic("claude-opus-5-5"), tools: { buy }, stopWhen: isStepCount(10), prompt: "two packs of AA batteries from Amazon",});Built for agents that buy
Solve the hard part about buying online with an agent.
5,026 online stores
One integration to buy from most online stores.
Monitored merchants
We test the purchase flow at each monitored store, from search to checkout.
Speed optimized
Search catalogues and make purchases in under 20s.
Watch it in action
Explore our most popular use cases.
// npm install @agent-cards/commerce-sdkimport { AgentcardClient, buyTool } from "@agent-cards/commerce-sdk"; const agentcard = new AgentcardClient({ clientId: process.env.AGENTCARD_CLIENT_ID ?? "", clientSecret: process.env.AGENTCARD_CLIENT_SECRET ?? "",}); const buy = buyTool({ agentcard, externalUserId: shopper.id, sendLink: (link) => postLink(shopper.id, link),}); // Pass to your agent's tool runner.const tools = [buy];Shopping assistant
ExampleCan you complete purchases for me?
Yes. I can complete purchases with your approval.
Loading results…
- Loading merchants…
| Merchant | Success rate | Last run | First response | Test history · 45 days |
|---|---|---|---|---|
| Loading merchants… | ||||
All passedSome not passedNone passedNo data
Pricing
Standard charges 1% of each completed order, and Enterprise adds API access with custom fees.
Standard
Every merchant1%of each completed order
For agents buying for real, across every store and payment provider.
- Platform fees
- 1%
- Merchants
- Every merchant
- PSPs
- Every PSP
- API access
- No
Enterprise
Contact us
API access in addition to the tool.
- Platform fees
- Custom
- Merchants
- Every merchant
- PSPs
- Every PSP
- API access
- Yes
Give your agent a buy tool
One endpoint, every online store.
npx agent-cards@latest init