Skip to content

examples: x402 buy loop with an opt-in merona pre-payment seller check - #1464

Open
jywy78kgrf-create wants to merge 1 commit into
coinbase:mainfrom
jywy78kgrf-create:feat/x402-merona-guard-example
Open

examples: x402 buy loop with an opt-in merona pre-payment seller check#1464
jywy78kgrf-create wants to merge 1 commit into
coinbase:mainfrom
jywy78kgrf-create:feat/x402-merona-guard-example

Conversation

@jywy78kgrf-create

Copy link
Copy Markdown

Self-contained example (no changes to agentkit core). Composes the existing x402ActionProvider actions with a small example-local action provider: make_http_request -> check_x402_seller -> retry_http_request_with_x402.

check_x402_seller calls merona's free, keyless trust API via the published merona-guard npm package and returns a recorded-fact PASS/FAIL/UNCERTAIN verdict; the agent does not pay on FAIL. Fail-soft (unreachable => UNCERTAIN, never blocks). No dependency added to agentkit core.

Description

Tests

Checklist

A couple of things to include in your PR for completeness:

  • Added documentation to all relevant README.md files
  • Added a changelog entry

Self-contained example (no changes to agentkit core). Composes the existing
x402ActionProvider actions with a small example-local action provider:
make_http_request -> check_x402_seller -> retry_http_request_with_x402.

check_x402_seller calls merona's free, keyless trust API via the published
merona-guard npm package and returns a recorded-fact PASS/FAIL/UNCERTAIN verdict;
the agent does not pay on FAIL. Fail-soft (unreachable => UNCERTAIN, never blocks).
No dependency added to agentkit core.
@cb-heimdall

Copy link
Copy Markdown

🟡 Heimdall Review Status

Requirement Status More Info
Reviews 🟡 0/1
Emergency override progress: 0/5
These approvals do not satisfy normal or CODEOWNER requirements because the commit identity is unverified.
Denominator calculation
Show calculation
1 if user is bot 0
1 if user is external 0
2 if repo is sensitive 0
From .codeflow.yml 1
Additional review requirements
Show calculation
Max 0
0
From CODEOWNERS 0
Global minimum 0
Max 1
1
1 if commit is unverified 0
Sum 1

@github-actions github-actions Bot added documentation Improvements or additions to documentation example New example agent typescript labels Aug 25, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation example New example agent typescript

Development

Successfully merging this pull request may close these issues.

2 participants