AI Agents

AWS lets AI agents buy x402 Marketplace products through AgentCore and AWS Billing

AWS announced on 19 November 2026 that Amazon Bedrock AgentCore payments now offers AWS Billing as a payment option. With it, AI agents can find and purchase software, APIs, data and content from AWS Marketplace sellers that support x402. They pay per request in USD, and the charge appears on the developer’s AWS bill. Stablecoin wallets and API keys are not needed. According to AWS, AgentCore payments became generally available in August 2026 and already let agents pay for APIs, MCP servers and web content over protocols such as x402 and MPP.

How the purchase flow works

The design builds on the HTTP 402 Payment Required response. AWS describes five steps:

  • Discover: Three read-only gateway tools, used in order, let the agent search listings, open one and see its fulfillment options. Only endpoints that accept x402 appear in results.
  • Get a quote: The agent contacts the seller’s endpoint without paying and receives HTTP 402 with a signed price quote in the PAYMENT-REQUIRED header. AWS Marketplace checks the signature against the seller’s registered key, so a quote with an altered price is rejected.
  • Pay: The agent sends the quote to the ProcessPayment API with the payment type AWS_BILLING_X402. If the session still has budget, a payment token is issued; if not, the request fails and the developer owes nothing.
  • Redeem: The agent resends its request with the token in the PAYMENT-SIGNATURE header and gets the content back. Tokens last about five minutes, so quote, payment and redemption happen in a single pass.
  • Settle: The first purchase from a seller creates an agreement between the AWS account and that seller. Later charges are metered against it asynchronously and appear on the AWS bill monthly.

At launch, AWS Billing supports only the x402 “exact” scheme, in which the seller quotes a fixed price for each request.

Setup and controls

To begin, a developer sets up a Payment Manager that includes an AWS Billing connector. This needs the service-linked role AWSServiceRoleForMarketplaceAgenticCommerce. For each task, the developer opens a payment session with a spending limit and gives the agent the session ID. AWS says AgentCore payments enforces the session cap, so an agent cannot overspend. Developers can also define approved sellers through AgentCore policy. Organizations using Private Marketplace limit agents to the products it permits. Transactions can be audited in AWS CloudTrail and AWS Cost Explorer.

A new, optional AWS Marketplace connector in AgentCore Gateway helps agents locate products and their endpoints. A sample in the agentcore-samples GitHub repository uses a Strands agent and a Tavily listing. Its setup scripts create three separate IAM roles. The session role may set budgets but not pay. The agent role may pay but not create sessions, which keeps the agent from raising its own budget. The sample’s default session budget is $0.05, with a $0.02 per-request cap. In AWS’s test run against a $0.01 seller, the agent compared two listings before buying once.

AWS says the x402 catalog is growing with verified sellers. Tavily, a live search provider, is one of them. The post includes a statement from Tavily saying it collaborated with AWS on the design.

Why it matters for agents

The main change is where payment authority sits. The agent no longer holds wallets or keys. It holds a session ID and spends within a budget set by someone else. The role split in the sample shows one way to stop an agent from widening its own limits. Billing through existing AWS accounts may also make agent purchases easier for enterprises to approve, since they appear as Marketplace line items next to other spend.

Some limits are visible in the source. Only fixed-price per-request quotes are supported for now. Settlement is asynchronous and appears monthly, so the bill lags behind the spending. The source does not say how large the catalog is or which regions or sellers are available beyond the example. It also gives no independent evidence about the controls beyond AWS’s own description. Teams considering this should test the budget and seller-approval settings in their own accounts, as the sample allows.

Sources

This article was prepared with AI assistance and reviewed by an Emerge Times editor before publication. Licensed CC BY 4.0: credit “Emerge Times (emergetimes.com)”. Usage & License. Featured images are AI-generated illustrations; any logos shown are trademarks of their owners, and Emerge Times is not affiliated with them.