AI Agents and Coding Assistants
Shopping Agents and Who Is Liable When They Buy the Wrong Thing
How responsibility is likely to be sorted out when an AI shopping agent orders the wrong item, and what you can do to protect yourself.
Key takeaways
- A purchase made by an agent you authorized will often be treated as your purchase, even if you never saw the final screen.
- Who bears a loss depends on where the mistake arose: your instructions, the agent, the seller's listing or an outsider's attack.
- Card disputes and return policies are usually faster remedies than any claim against the agent's developer.
- Provider terms often limit what the company will pay, so read them before you give an agent a payment method.
- Spending caps, approval steps and saved records protect you better than arguments after the fact.
If you let a shopping agent buy something and it buys the wrong thing, you should assume at first that the purchase counts as yours. You set the agent loose, gave it your payment details and told it to act. Getting your money back then usually depends on ordinary tools: the seller's return policy, your card's dispute process, consumer protection law and the terms you accepted with the company that runs the agent.
That does not mean you always eat the loss. A seller who listed the item wrongly, a provider whose agent ignored a clear limit, or a thief who hijacked your account can each change the answer. The rules for AI agents are still being worked out, so treat this article as general information and not legal advice.
What a shopping agent actually does
A shopping agent is software that pursues a buying goal through several steps on its own. It searches, compares, adds items to a cart, fills in your address and, if you allow it, pays. Some agents work through a web browser the way you would. Others connect to a store through a structured link, such as the one described in the Model Context Protocol, which lets software call a store's functions directly.
The difference from a chatbot matters for liability. A chatbot that recommends the wrong blender leaves the final decision to you. An agent that orders the wrong blender has taken an action with money attached.
Agents go wrong in recognizable ways. They pick the wrong size or variant, confuse a subscription with a one-time order, accept a marketplace seller you would have avoided, or treat "cheapest" as the only thing you cared about. Our guide to where agents still go wrong with orders and forms covers these failures in more detail.
Why the purchase is probably yours
The law has handled automatic ordering for years. In the United States, most states have adopted the Uniform Electronic Transactions Act, and a federal statute known as E-SIGN covers related ground. Both recognize that a contract can be formed by an "electronic agent," meaning a program that acts without a person reviewing each step.
Those statutes were written with simpler automation in mind, such as a system that reorders stock when a shelf runs low. Applying them to a model that interprets loose instructions raises fresh questions. Still, the starting point is that using automation does not by itself let you walk away from a deal. The broader contract question gets its own treatment in whether a software agent's agreement is binding.
The older law also contains a narrow safety valve. Under the Uniform Electronic Transactions Act, a person who makes a mistake while dealing with a seller's automated system may be able to undo it if that system gave no chance to prevent or correct the error, provided further conditions are met, such as acting promptly and not keeping the benefit. How this would apply when your own software makes the mistake is far less clear.
Who might share the blame
Think about where the error entered. Each source points to a different party and a different remedy.
| Where it went wrong | Example | Who you would likely turn to |
|---|---|---|
| Your instructions | You asked for "a charger" and never named the device | Yourself, then the return policy |
| The agent's judgment or software | You set a $50 ceiling and it spent $140 | The agent provider, plus your card issuer or the seller |
| The seller's listing | The page said "pack of 6" and one arrived | The seller or marketplace |
| An outsider | Hidden text on a page redirected the order | Card issuer, provider and possibly police |
| Delivery | The correct item never arrived | Seller, carrier or card issuer |
Real cases may mix several of these. A vague instruction and a confusing listing can combine, and an honest dispute may end with a partial refund or a goodwill credit.
The outsider row deserves attention. A web page can contain text written to steer an agent, a problem known as prompt injection. If an agent follows such text, you may have a strong complaint, but proving what happened requires records.
What the agent provider's terms usually say
The company that offers the agent will have terms of service, and they are likely to matter. Software terms commonly state that the product may make errors, that you are responsible for reviewing actions, and that the company's financial responsibility is capped at a small amount. They may require arbitration instead of a court case.
Terms do not settle everything. Many places restrict unfair clauses in consumer contracts, and a company generally cannot disclaim its way out of deceiving people. If an agent was advertised as never exceeding your budget and it did, that claim may interest a regulator, as discussed in how agencies approach deceptive AI claims. Whether faulty AI software can be treated like a defective product is a separate and unsettled question.
Before you connect a payment method, look for answers to these points:
- Does the agent ask for approval before paying, and can you turn that on?
- Who is the seller of record: the store, the agent company or a go-between?
- What records of the agent's actions can you see and export?
- Does the provider promise any refund for its own errors?
- How do you disconnect the agent and remove your card?
Your payment method is a second line of defense
In the United States, credit cards come with legal rights to dispute billing errors, including charges for goods that were not delivered or not accepted as agreed. Written notice is generally due within 60 days of the statement that shows the charge. Debit cards and bank transfers fall under different rules with their own deadlines, and the protection is often weaker.
One catch is the word "unauthorized." Protection against unauthorized use is aimed at people who had no permission to use your card. If you handed the card to an agent, the issuer may decide the charge was authorized even though the choice was bad. A billing dispute over the goods may still be open, but do not count on calling it fraud.
Other countries differ. In the European Union, for instance, consumers buying online generally get a 14-day right to withdraw, with exceptions such as perishable or custom-made goods. Check your national consumer authority for the rules that apply to you.
When a business uses a buying agent
Companies face the same questions with larger sums. A business that lets an agent place purchase orders may find suppliers treating those orders as binding, especially if earlier orders from the same system were honored. Under general agency ideas, giving something the appearance of authority can carry weight.
Business-to-business deals also get fewer consumer protections. Contracts with suppliers and with the agent vendor should say who covers mistaken orders, what the order limits are and how quickly an order can be canceled. Internal controls help too: purchase thresholds, a named owner for the agent and a review of its activity.
Habits that keep you out of trouble
You can prevent most disputes with a few settings and routines.
- Write specific instructions: model number, size, quantity, maximum total including shipping, and acceptable sellers.
- Require your confirmation before any payment, at least until the agent has earned trust on small orders.
- Use a card with a low limit or a virtual card number, if your issuer offers one.
- Turn on purchase alerts so you see charges within minutes.
- Keep the confirmation email, the instruction you gave and the activity log together.
- Check the return window before the package arrives.
Good limits are worth more than good arguments. The case for them is laid out in why spending limits and stop buttons matter.
Common questions
Can I refuse to pay because the AI made the mistake?
Refusing to pay is risky. It can lead to late fees or collections while the question is unresolved. Return the item or file a formal dispute through the proper channel instead, and keep paying anything that is not in dispute.
Is the AI model's developer responsible?
Possibly in some circumstances, but this is largely untested. The model developer may be several steps removed from your purchase, and contracts between companies may shift responsibility among them. Start with the business you actually dealt with.
Will these rules change?
Likely. Lawmakers, courts, card networks and stores are all adapting to agent-driven buying. As of the mid-2020s, check current terms and your regulator's guidance instead of relying on what was true a year earlier.