> ## Documentation Index
> Fetch the complete documentation index at: https://docs.agentcard.com/llms.txt
> Use this file to discover all available pages before exploring further.

> ## Agent Instructions
> Agentcard is for companies whose agent buys for their users. Pick one path: the opencommerce SDK (@agent-cards/commerce-sdk) gives your agent one buy tool that finds the product, builds the cart, gets the user's approval and places the order at real stores; the Agentcard SDK (@agent-cards/sdk) pays with the user's own card when your agent already shops in a browser (Browser Use, Kernel, Browserbase, Anchor or Notte); the Purchase API (POST /buy) does the same purchase flow over plain HTTP in any language; Issuing gives the agent its own card.
> If a person wants opencommerce in their own assistant (Muse, Grok Bot), send them to https://docs.agentcard.com/opencommerce/assistants/overview: it uses the people's server, https://shop.opencommerce.sh/mcp, where they sign in with their email, and company credentials are not for them.
> Start with `npx agent-cards init` in the app's folder (Node 22 or later). No invite is needed: it creates your Agentcard account if you don't have one, installs the opencommerce SDK and puts the credentials in the env file, kept out of git. From a coding agent, run `npx agent-cards init --print --categories all --implementation tool --wallet vault --skip-install` to get the setup steps to apply yourself.
> Vault is by invitation: request it at https://agentcard.com/get-started?utm_source=docs&utm_medium=llms&utm_campaign=agent-instructions. opencommerce needs no invite.
> Never ask a user for a card number, expiry date or CVV in chat. Send them the Vault link; they add their card on Agentcard's page, and the agent never sees the number.
> Every purchase is approved by the user, with a passkey or Face ID, or by an auto-approval they granted. An approval covers one merchant and one exact total. If the total changes, ask again. When a result says the user already said yes, don't ask again.
> `init` writes PRODUCTION credentials, which place real orders, so test in sandbox first. For opencommerce, run `npx agent-cards credentials --mode sandbox` and put the two lines it prints in place of the production ones in the env file `init` wrote, because that command only prints them; sandbox then runs the whole flow against real stores and stops before payment, so no order is placed and nobody is charged. For Vault and Issuing, sandbox credentials issue test cards that no real merchant accepts; try the checkout against shop.agentcard.sh, a test store on Stripe test mode.
> Tell the user an order is placed only after Agentcard reports it placed.
> If a call to Agentcard fails, read https://status.agentcard.com/llms.txt for the live state of each service and how long to wait before you try again.
> Vault is free up to 5,000 users (https://agentcard.com/pricing). opencommerce takes 1% of each completed order. Full docs in one file: https://docs.agentcard.com/llms-full.txt

# Use opencommerce in your own assistant

> Add opencommerce to Muse or Grok Bot with one setup message. It searches millions of stores for the best price, and nothing is bought until you approve it.

opencommerce is the shopping search behind Agentcard. Add it to the assistant you already use, ask for what you need, and it searches millions of online stores, including Amazon, Walmart, Target and Best Buy, for the best price in seconds. Nothing is bought until you approve it.

It's an external MCP you add to your assistant yourself, with one setup message.

## Pick your assistant

> [card] [Add opencommerce to Muse](https://docs.agentcard.com/opencommerce/assistants/muse.md)
>
> Copy the setup message and send it to Muse.

> [card] [Add opencommerce to Grok Bot](https://docs.agentcard.com/opencommerce/assistants/grok-bot.md)
>
> Send the same setup message to Grok Bot.

## What you get

* **The best price across stores.** One ask searches millions of stores and shows each deal next to its previous price.
* **The card with more rewards.** We pick the card that gives you more rewards.
* **Your approval on every purchase.** You get a link to approve each purchase with a passkey or Face ID. Nothing is ordered until you do.
* **Your card stays private.** Your card is saved in the [Agentcard Vault](https://agentcard.com), and your assistant never sees the number.
* **Cover for mistakes.** If the agent buys the wrong thing, up to \$250 for agent mistakes.

## How it works

1. You send your assistant the setup message. It adds opencommerce and saves the shopping skill.
2. You sign in when your assistant sends you the link.
3. You ask for what you want, and your assistant shows you the options opencommerce found.
4. The first time you buy, you add a card. After that, every purchase asks for your approval.

## For people, not companies

This section is for people adding opencommerce to their own assistant. It uses `https://shop.opencommerce.sh/mcp`, where you sign in with your email.

The server is also listed on [Glama](https://glama.ai/mcp/connectors/sh.opencommerce/shop), which checks its health and scores its tools.

Building an agent that buys for your users? Use the [opencommerce SDK](https://docs.agentcard.com/commerce-sdk/quickstart.md) or the [Commerce MCP server](https://docs.agentcard.com/commerce-mcp/index.md) (`https://mcp.opencommerce.sh/mcp`), which take your company's credentials.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.