x402 Dev Tools
SDK, seller checks & agent skills
## Radius tools (Node 22+)
Source: https://github.com/radiustechsystems/tools
Pinned releases: radius-sdk 0.7.0, radius-cli 0.6.0; Radius plugin 0.2.2.
Install the CLI: npm install -g radius-cli@0.6.0
Buyer SDK: pnpm add radius-sdk@0.7.0 @x402/core@2.27.0 @x402/evm@2.27.0 viem
Seller SDK: pnpm add radius-sdk@0.7.0 @x402/core@2.27.0
Use wallet pay. The published CLI 0.6.0 no longer registers wallet x402 or an alias for it. Explicit --networks radius or base avoids ambient wallet network preferences.
Radius testnet SBC and Base Sepolia USDC are supported here. This site's Radius mainnet uses Fake USDC, not the CLI's SBC: use scripts/pay.ts there.
SDK support, CLI assets, facilitator capabilities and funded settlement are separate facts. Intentional malformed scenarios may be rejected by either client.
SDK buyer example (from artifacts/api-server): node scripts/radius-buyer.mjs --network testnet --url 'https://grug402.dev/api/x402/compliant-get'
This example only inspects by default. Paying requires --pay, --max '$0.01', --pay-to a trusted address, and PAY_SCRIPT_PRIVATE_KEY supplied through secrets. It never approves tokens automatically. Only testnet and base-sepolia are enabled in this example.
## Check a seller without paying
radius-cli --network testnet sell check 'https://grug402.dev/api/x402/compliant-get'
For POST add -X post -d '{"example":"value"}'.
For this catalog's Radius mainnet use unpaid inspection instead:
curl -i 'https://grug402.dev/api/x402-mainnet/compliant-get'
This only displays the challenge; it does not validate asset, domain, facilitator or settlement. CLI sell check assumes SBC and the default Radius facilitator, so it can falsely fail this catalog's compliant Fake USDC/custom-facilitator endpoints. Do not use it to grade mainnet here.
Do not add --pay for ordinary diagnostics. Exit 0 means no failed checks (warnings may remain), 1 means failed checks, 2 means invalid flags. A deliberately malformed catalog scenario is expected to fail checks; this is not certification, delivery assurance, or proof of settlement.
## Agent skills
Claude Code:
/plugin marketplace add radiustechsystems/tools
/plugin install radius@tools
Update: claude plugin update radius@tools
Legacy user-scoped migration:
claude plugin uninstall radius-dev@radius-cli --scope user
claude plugin marketplace remove radius-cli --scope user
claude plugin marketplace add radiustechsystems/tools --scope user
claude plugin install radius@tools --scope user
Use the corresponding scope for project/local installs. The old standalone skills repository is retired.
Codex (run in your app directory):
npx skills add radiustechsystems/tools --agent codex --skill radius-dev dripping-faucet x402 sell-api --copy
npx skills list --agent codex
Start a new conversation after installation. These four upstream skills complement, not replace, grug402's scenario-specific payment skill.
Installing tools or skills does not authorize payments, token approvals, faucet requests, or wallet migration. Never use -y as a default. Review the amount, recipient, network and asset before paying.Every x402 tool you need to build and test a client: radius-cli and the chain-agnostic pay script, Postman/Insomnia/OpenAPI collections, an MCP server, and a live catalog of 93 testnet endpoints.
Command-line clients
- radius-cli 0.6.0 — Radius SBC and optional Base USDC; this site's mainnet Fake USDC needs the viem helper
- node scripts/pay.ts — a chain-agnostic viem-based pay script for any registered chain
Importable API collections
MCP server for agents
Add grug402 as a remote MCP tool server so your agent can browse and call x402 scenarios directly. See Agent Readiness.