RFC: add payment.cumulative constraint for autonomous agent budgets#10
Open
swaroopt14 wants to merge 1 commit into
Open
RFC: add payment.cumulative constraint for autonomous agent budgets#10swaroopt14 wants to merge 1 commit into
swaroopt14 wants to merge 1 commit into
Conversation
Signed-off-by: swaroopt14 <swaroopthakare@gmail.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
This RFC proposes
payment.cumulativeas a new constraint type in the Verifiable Intent specification for autonomous mode (L3) execution. It enables users to cap total spending over a time period (e.g., $500/month), providing essential budget controls for delegated agent commerce.Problem
Mastercard’s vision of agentic commerce empowers AI agents to execute payments on behalf of users. However, current constraints (e.g.,
payment.amount) validate each transaction in isolation. This creates a critical vulnerability: an agent can make many individually compliant transactions that collectively exceed the user’s intended budget over time.Consider:
payment.amountcheck.This is not just a theoretical gap. In family accounts, corporate procurement, and BNPL scenarios, users think in budgets (“don’t spend more than $500 this month”), not just per‑transaction caps. Without cumulative controls, agentic commerce cannot deliver the predictability and trust that Mastercard’s brand promises.
As Pablo Fourez noted: “When AI agents act with real money, consumers aren’t just looking for speed or convenience. They expect clarity about what was authorized, confidence that instructions were followed, and protection if something goes wrong.” Cumulative limits are foundational to that protection.
Proposed Constraint:
payment.cumulativeIntroduce a new constraint type that enforces a maximum total amount over a specified period.
Schema:
{ "type": "payment.cumulative", "max_total": 50000, // amount in minor units (e.g., cents) "currency": "USD", "period": "MONTHLY", // DAILY, WEEKLY, MONTHLY, YEARLY, or CUSTOM with period_seconds "reset_mode": "ROLLING" // optional, default ROLLING; CALENDAR also supported }