Rightshold™ Sign up
Open betalive and open to everyoneEvidence Delivery$99 / 30 days · Offers are open — review the exact terms and the payment options shown on the service page before accepting.No token, everany ‘Rightshold token’ is not ours

Answers · agent payments

AWS Marketplace now lets AI agents buy x402 products per request and put the charge on my AWS bill through Amazon Bedrock AgentCore payments. What actually stops my agent from overspending there, can it raise its own budget, and what should I set up before I switch it on?

Last updated

TL;DR: The cap is the AgentCore payment session, not the agent's judgement. Since November 19, 2026, an agent using AgentCore payments with the new AWS Billing connector can pay x402-enabled AWS Marketplace sellers per request in US dollars, with the charge settling on your AWS bill and no crypto wallet. Each purchase goes through a payment session you create for the task: AWS says a session has a maximum spend in a set currency and an expiry time, and AgentCore payments checks every request against the remaining session budget before it issues a payment token, refusing any request that would take the session past its cap (and you aren't charged for a refused one). The seller's 402 quote is signed, and AWS Marketplace checks that signature against the seller's registered key, so a quote with an altered price is rejected. Whether the agent can raise its own budget comes down to IAM: in AWS's sample, the role that creates sessions and sets budgets can't pay, and the agent's role can pay but can't create sessions. Approved-seller lists through AgentCore policy and your Private Marketplace rules narrow what it can buy, and purchases show up in AWS CloudTrail and Cost Explorer, though settlement onto your bill runs later and monthly.

What should I check, step by step?

1. Create one AgentCore payment session per task, with a spending limit and an expiry sized to that task, and give the agent only the session ID.

  1. Keep session creation out of the agent's IAM role. In AWS's sample, the session role sets budgets but can't pay, and the agent role pays but can't create sessions.
  2. Set a per-request cap as well as the session budget. AWS's sample presets $0.05 per session and $0.02 per request; size yours to the task.
  3. Limit sellers with an approved-seller list in AgentCore policy, and, if your organization uses Private Marketplace, rely on it too: agents can only buy products it allows.
  4. Know the launch scope: AWS Billing supports only the x402 exact scheme, where the seller quotes a fixed price per request.
  5. Remember the first purchase from a seller creates an AWS Marketplace agreement for your account, and later purchases are tracked against it.
  6. Watch spend in CloudTrail and Cost Explorer, but treat the session cap as the real-time limit: AWS Marketplace meters charges asynchronously and they settle on your monthly bill.
  7. Keep your own record of which task asked for which purchase, so you can tie each AWS Marketplace line item back to a decision.

What did AWS launch for AI agents buying x402 products on AWS Marketplace?

On November 19, 2026, AWS added AWS Billing as a payment option in Amazon Bedrock AgentCore payments. An agent can now pay x402-enabled AWS Marketplace sellers per request, in US dollars, with charges settling on the AWS account where the Payment Manager is set up. AWS's examples are a research agent buying a single web search and a coding agent calling a paid guardrail service.

How does an AgentCore payment session cap each AWS Marketplace purchase an AI agent makes?

The purchase runs in four steps in AWS's description. The agent calls the seller's endpoint with no payment and gets HTTP 402 with a signed 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. The agent sends the quote to the ProcessPayment API with payment type AWS_BILLING_X402. If budget remains in the session, AgentCore payments issues a payment token; if not, the call is refused and you aren't charged. The agent then retries the request with the token in the PAYMENT-SIGNATURE header. Tokens are valid for about five minutes.

Can an AI agent raise its own AgentCore payments budget?

Not if you split the roles the way AWS's sample does. Its setup script creates three separate IAM roles: the session role can set budgets but can't pay, and the agent role can pay but can't create sessions, so, in AWS's words, the agent has no way to raise its own budget. The sample then creates a payment session as the session role and runs the agent as the agent role, with a $0.05 session budget and a $0.02 per-request cap; in AWS's test run against a $0.01 seller, the agent compared two listings and paid once, for $0.01 in total.

What else limits AI agent purchases on AWS Marketplace, and what should you log?

AWS says you can set spending limits and approved sellers using AgentCore policy, that Private Marketplace policies still apply (agents can only buy products your Private Marketplace allows), and that transactions appear in AWS CloudTrail and AWS Cost Explorer. The first purchase from a seller creates an agreement between your AWS account and that seller, and each product then shows up as an AWS Marketplace line item.

How do I ask Rightshold about this (free, no key)?

Add the MCP server https://www.rightshold.com/mcp to Claude, Cursor, ChatGPT, Grok or VS Code, then ask: “Set a spending policy on my research agent's credential that matches the AgentCore session I give it: at most 0.02 USD per request and 5.00 USD per day, only at the AWS Marketplace seller endpoint I approved, expiring when this task ends.”

One-click setup

{
  "tool": "set_spend_policy",
  "arguments": {
    "credential_id": "<this research agent's credential id>",
    "currency": "USD",
    "per_tx_max_minor": 2,
    "daily_max_minor": 500,
    "allowed_domains": [
      "<approved seller endpoint host>"
    ],
    "expires_at": "<task end, ISO 8601>"
  }
}

Rightshold isn't affiliated with AWS or any AWS Marketplace seller, never holds or moves money, and isn't a payment processor or wallet. AgentCore payments and AWS Marketplace behavior is as described in AWS's November 19, 2026 announcement and walkthrough and its August 18, 2026 general-availability post, all read November 20, 2026; features, regions and limits may change, so check the AgentCore documentation and your AWS account before relying on them. Not financial or legal advice.

What are the sources?

Related

Not legal advice. JSON · Markdown · All answers

Get a free API key in one call

No card and no email needed. 100 free credits; the license and policy checks stay free without a key.

curl -s -X POST https://www.rightshold.com/v1/accounts/signup -H "Content-Type: application/json" -d '{"accept_terms":true}'
export RIGHTSHOLD_API_KEY=rs_...   # the api_key from the reply (shown once)
curl -s https://www.rightshold.com/v1/licenses/check -H "Authorization: Bearer $RIGHTSHOLD_API_KEY" \
  -H "Content-Type: application/json" -d '{"license":"MIT","intended_use":{"commercial_use":true}}'