Integrations
Packages that turn the catalog into native tool objects for your stack, with payment handled underneath: proof-of-work for free tools, x402 or MPP for paid ones, or a credits key bought earlier. Each package has its own page with the install line, a working example and how it pays. New to the protocols? Start with the explainers.
agent402-openai-toolsagent402-anthropic-toolsagent402-ai-sdkagent402-langchainagent402-langchainagent402-llamaindexagent402-google-adkagent402-openai-agentsagent402-strandselizaos-plugin-agent402agent402-mcpagent402-clientagent402-tollboothagent402-openclawInstall, get tools, pass them in.
# pick your stack npm install agent402-openai-tools @x402/fetch @x402/core @x402/evm viem import { agent402Tools } from "agent402-openai-tools"; // web search, then a cited answer, paid per call from a wallet (payFetch: an @x402/fetch fetch) const { tools, execute } = await agent402Tools({ slugs: ["search","answer"], freeOnly: false, fetch: payFetch }); // pass tools to openai.chat.completions.create({ tools }) // call execute(name, args) on each tool_call; the wallet pays underneath.
No wallet yet? The pure-CPU tools (hash, uuid, base64, markdown, JSON and more) run free with proof-of-work and no wallet:
const { tools, execute } = await agent402Tools({ slugs: ["hash","markdown-to-html","text-stats"] });
// no fetch: proof-of-work pays these underneathThe per-slug adapters (OpenAI, Anthropic, LlamaIndex and Strands) share this shape. Vercel AI SDK, LangChain.js, LangChain (Python), Google ADK and OpenAI Agents SDK expose four meta tools: find, route, call and about. AgentKit, elizaOS, MCP, agent402-client, Tollbooth and OpenClaw have their own shapes. See each package's page.