Agent Tools
Back to directory
● degraded javascript-typescript

Non-custodial buyer SDK for x402 + MCP. Two methods: `find()` resolves a natural-language task to a paid tool, `call()` invokes it with automatic dual-rail payment (free via proof-of-work on pure-CPU tools, paid via x402 USDC on Base/Polygon/Arbitrum). Built-in caching, idempotent retries (`Idempotency-Key`), and Bazaar-shape 402 challenge handling. Works against any Agent402-compatible server. ([GitHub](https://github.com/MikeyPetrillo/Agent402/tree/main/client))

Category
javascript-typescript
Chains
Price

How to call

cURL · x402-fetch / x402-axios will auto-handle 402
curl -X POST https://www.npmjs.com/package/agent402-client