Enabling AI agents to purchase AWS Marketplace products with Amazon Bedrock AgentCore payments
Amazon Bedrock AgentCore payments now supports AWS Billing, allowing software agents to autonomously discover and purchase x402-enabled tools and data from the AWS Marketplace.
2 min read, Friday, 20 November

Autonomous software agents can now discover, license, and pay for software, APIs, and data directly from the AWS Marketplace using Amazon Bedrock AgentCore payments. This update removes the requirement for specialized stablecoin wallets or manual API keys, allowing transactions to settle directly on the developer's standard AWS bill in United States dollars.
Key facts
- Payment Standard
- x402
- Prerequisite Python Version
- Python 3.10 or later
- Required boto3 and botocore version
- botocore 1.44.7 or later
- Model Access
- us.anthropic.claude-sonnet-4-6 in Amazon Bedrock
- Payment Token Validity
- 5 minutes
How autonomous purchasing works
The integration relies on open protocols and standard HTTP status codes. When an agent requests a resource from a participating seller, the server responds with an HTTP 402 Payment Required status containing a signed quote. The agent forwards this quote to AgentCore payments, which verifies the active session budget and issues a payment token. The agent then repeats the request with the attached token to receive the content.

Developers maintain strict operational boundaries using built-in security features:
- Session budgets enforce a strict maximum spending limit for each individual task.
- Approved seller lists restrict transactions to verified providers.
- Audit logs in AWS CloudTrail and AWS Cost Explorer track every purchase.
Discovering tools through the gateway
A new AWS Marketplace connector within AgentCore Gateway enables agents to search for tools and retrieve endpoint URLs dynamically. At launch, the system supports the x402 exact payment scheme, where verified sellers charge a fixed price per request. An accompanying open-source sample repository provides developers with scripts to configure identity roles, establish payment managers, and test an autonomous research agent.
This architecture bridges the gap between autonomous agent capabilities and enterprise compliance requirements. By routing payments through existing cloud billing infrastructure, organizations can experiment with agentic commerce while retaining traditional financial controls and vendor agreements.
Source: Original announcement
Worth a read?



Comments