What Is Agent Commerce?
Agent commerce is the emerging category of economic activity where AI agents buy, sell, recommend, and transact on behalf of users or organizations. It encompasses every scenario where an autonomous software agent participates in a commercial transaction — from a shopping assistant purchasing a product to an enterprise agent selecting a SaaS vendor.
Agent commerce is not a speculative concept. It is already happening at scale: Perplexity's shopping answers drive purchases, Microsoft Copilot surfaces product cards in chat, customer service agents upsell during support conversations, and developer documentation agents recommend paid tools. The infrastructure to support these transactions — payments, attribution, and settlement — is what is being built now.
The Agent Commerce Stack
Agent commerce requires three infrastructure layers that did not exist in traditional e-commerce:
1. Payments — x402 Protocol
The x402 Foundation — launched by the Linux Foundation with backing from Coinbase, Stripe, Google, Visa, and Mastercard — defines the HTTP 402 payment protocol as the standard payment rail for AI agent transactions. When an agent encounters a resource that requires payment, the server returns an HTTP 402 response with payment terms. The agent completes the payment and retries the request.
x402 handles the money movement. But money movement alone does not answer the question: who drove this transaction?
2. Attribution — Syndicate Links
Attribution is the layer that tracks which agent made the referral that led to a conversion. Syndicate Links provides this through signed attribution tokens (SLAT), agent keys (aff_agent_), and server-side validation. Every recommendation an agent makes that could lead to a purchase is an attribution event.
For x402 flows specifically, the X-SL-Attribution header carries the atxp_reference token through the payment exchange, ensuring attribution survives the request/retry cycle.
3. Settlement — Commission Routing
Once a conversion is attributed, the commission needs to be calculated and paid. Settlement in agent commerce supports multiple rails: Stripe Connect for fiat payouts, USDC on Base for stablecoin settlement, and Bitcoin Lightning for instant crypto payments.
How Agents Participate in Commerce
AI agents participate in commerce through several patterns:
Recommendation agents — agents that recommend products or services during conversations. Shopping assistants, comparison engines, product advisors. The agent does not complete the purchase but influences the decision.
Transaction agents — agents that complete purchases on behalf of users. Autonomous procurement, subscription management, tool acquisition. The agent both recommends and executes the transaction.
Infrastructure agents — agents that provide services to other agents. MCP tool servers, API intermediaries, data providers. These agents earn revenue through x402 micropayments or referral commissions.
Multi-agent chains — workflows where multiple agents collaborate on a transaction. A research agent identifies options, a comparison agent evaluates them, and a transaction agent completes the purchase. Attribution must track the full chain.
The Economic Model
Agent commerce changes the economic model of affiliate marketing in several ways:
Higher volume, lower touch. A single agent deployment can process thousands of recommendation events per day with zero marginal human effort. Commission rates may be lower per transaction, but volume makes the unit economics work.
Longer attribution chains. In multi-agent systems, the agent that made the recommendation may not be the agent that completed the purchase. Attribution must handle chain-of-referral with split commissions.
Programmatic payouts. Agents and their operators expect commissions to be queryable via API and settled automatically — not through manual dashboard withdrawals.
Real-time settlement. Agent operators expect near-real-time visibility into commissions earned, not 30-day review windows followed by monthly payouts.
Why Now
Three converging forces make agent commerce infrastructure viable now:
- Agent capability — LLMs are capable enough to make genuine product recommendations, evaluate options, and complete transactions autonomously.
- Payment infrastructure — x402 provides a standard payment rail that agents can use without human intervention.
- Enterprise adoption — companies are deploying AI agents in customer-facing roles (sales, support, documentation) where commerce happens naturally.
The question is no longer whether agents will participate in commerce. It is whether the infrastructure will be ready to attribute, track, and settle the commissions they generate.
Related Docs
- Agentic Commerce Infrastructure — the full technology stack powering agent commerce
- What Is x402? — the HTTP payment protocol for AI agents
- AI Agent Affiliate Marketing — how agents earn commission through affiliate programs