From agentkit
Integrates @worldcoin/agentkit into x402 servers or facilitator flows: selects free/free-trial/discount modes, wires EVM chain payments, handles ExactEvmScheme parsing, completes end-to-end setups.
npx claudepluginhub worldcoin/agentkitThis skill uses the workspace's default tool permissions.
Use this skill for end-to-end server-side integration work with `@worldcoin/agentkit`.
Handles 402 Payment Required responses with AgentKit extension: checks for extension, constructs/signs CAIP-122 challenges (SIWE for EVM) with EOA (EIP-191) or SCW (ERC-1271) wallets, sends auth header for free/discounted access.
Builds x402 protocol for HTTP 402 on-chain micropayments in paid APIs, paywalls, AI agents. Supports TypeScript, Python, Go SDKs on EVM, Solana, Stellar, Aptos.
Integrates Alchemy into app code without API keys via x402/MPP gateways using SIWE/SIWS wallet auth and per-request USDC/credit-card payments. For keyless app integration or self-paying agents.
Share bugs, ideas, or general feedback.
Use this skill for end-to-end server-side integration work with @worldcoin/agentkit.
If the developer has not already answered these, ask before choosing an implementation:
free, free-trial, or discount?For most production integrations:
eip155:480 or Base eip155:8453).createAgentBookVerifier() always resolves against the canonical World Chain deployment. The developer does not need to think about which chain the registry lives on.free-trial unless the developer explicitly wants free or discount.discount when you can wire hooks.verifyFailureHook into the facilitator flow you control.discountagentkit headerfree-trial and discountnpx @worldcoin/agentkit-cli --llms if the developer also needs registration help../../x402/DOCS.md first. It should be the primary integration playbook.../../core/src/index.ts and ../../x402/src/index.ts before adding imports.declareAgentkitExtensionagentkitResourceServerExtensioncreateAgentkitHookscreateAgentBookVerifiereip155:480), add a custom ExactEvmScheme().registerMoneyParser(...) for World Chain USDC. Do not assume the server scheme has a working default stablecoin for World Chain.createAgentBookVerifier() with no arguments in the common case. Pass rpcUrl or contractAddress only for custom World Chain endpoints or non-canonical deployments.free-trial or discount, add persistent AgentKitStorage. InMemoryAgentKitStorage is only for demos.discount, wire hooks.verifyFailureHook into the facilitator. Without it, discounted underpayments will fail verification.agentkit extension../../x402/DOCS.md as the primary reference for examples and mode behavior.new ExactEvmScheme() only. Include the World Chain money parser.discount unless the facilitator hook can actually be registered.../../core/src/index.ts and ../../x402/src/index.ts before adding or documenting imports.eip155:4800xA23aB2712eA7BBa896930544C7d6636a96b944dA0x79A02482A880bCE3F13e09Da970dC34db4CD24d1../../x402/DOCS.md../../core/src/index.ts../../x402/src/index.ts../../x402/src/hooks.ts../../core/src/agent-book.ts../../core/src/parse.ts, ../../core/src/validate.ts, ../../core/src/verify.ts