Agent Tools (x402 Discovery)
/install agent-tools-cloud
agent-tools
Discovery + payment shim for the x402 paid-API ecosystem. Lets an agent find a paid service by intent, read its full call template, and call it (pay-per-call USDC on Base).
Backed by agent-tools.cloud, an open directory of
2 000+ paid x402 endpoints aggregated from awesome-x402, x402scan,
x402.org/ecosystem, and a handful of self-hosted services on the same host
(LLM chat, token signal, on-chain Q&A, DeFi planner …).
When to use
Use this skill when the user asks for any of:
- "find an API that does X" / "is there a paid service for Y"
- "call a token signal / on-chain query / DeFi planner / chat completion"
- "what's available on x402" / "what x402 services exist"
- Any task that needs a paid third-party API and the user has not pinned a specific provider — search first, then decide.
Do not use this skill for:
- Free, well-known APIs (CoinGecko, Defillama public). Call those directly.
- The user explicitly named a non-x402 provider (OpenAI, Anthropic, etc.).
How to use
1. Find a service
The MCP server (installed via the installer specs above) exposes four tools:
| Tool | Purpose |
|---|---|
search(intent, top_k?, max_price_usd?, category?) |
Natural-language search across the directory |
get(slug) |
Full record for one service (URL, schema, price, x402 bazaar info) |
list_categories() |
Browse available categories |
stats() |
Live directory size + health |
Most workflows start with search, pick the highest-ranked result whose price_usd
fits the user's budget, then get(slug) to read the full call template.
2. Read the call template
For services hosted on agent-tools.cloud the get() payload includes the full
x402 v2 extensions.bazaar block — request body example, JSON Schema, output
example — so the agent can construct a request without trial-and-error.
Third-party entries are passed through as scraped; some include bazaar metadata, some don't. When in doubt, call the endpoint with an empty body and read the 402 challenge for guidance.
3. Call + pay
- POST to the endpoint with no payment header → receive HTTP 402 +
payment-requiredheader (base64-encoded x402 v2 challenge). - Decode, sign with a Base-mainnet USDC wallet, attach as
X-Paymentheader. - Re-POST → receive 200 + the actual response.
Use any x402-compatible payment lib (x402-axios, x402-fetch, the Python
x402.payment helpers, …) to handle steps 1–3.
Configuration
Set in ~/.openclaw/openclaw.json (optional):
{
"skills": {
"entries": {
"agent-tools": {
"enabled": true,
"env": {
"AGENT_TOOLS_API_BASE": "https://agent-tools.cloud"
}
}
}
}
}
AGENT_TOOLS_API_BASE lets you point at a self-hosted directory if you ever
deploy your own.
Cost
The directory itself is free (search, get, list_categories, stats all
unauthenticated, no rate limit announced). Only the underlying paid services
charge — typically $0.001–$0.50 per call.
Safety
- The skill never auto-pays. It only discovers and returns call templates. The agent / user is in full control of which 402 challenge to actually settle.
- Always show
price_usdto the user before paying. - Cap
max_price_usdinsearch()if the user mentioned a budget.
Related
- Project home: \x3Chttps://agent-tools.cloud>
- Source: \x3Chttps://github.com/JoursBleu/agent-tools-mcp>
- PyPI: \x3Chttps://pypi.org/project/agent-tools-mcp/>
- x402 spec: \x3Chttps://x402.org>
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install agent-tools-cloud - 安装完成后,直接呼叫该 Skill 的名称或使用
/agent-tools-cloud触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
Agent Tools (x402 Discovery) 是什么?
Discover and call x402 paid services (token signals, on-chain Q&A, DeFi plans, LLM chat, etc.) via the agent-tools.cloud directory. Use when the user wants o... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 42 次。
如何安装 Agent Tools (x402 Discovery)?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install agent-tools-cloud」即可一键安装,无需额外配置。
Agent Tools (x402 Discovery) 是免费的吗?
是的,Agent Tools (x402 Discovery) 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。
Agent Tools (x402 Discovery) 支持哪些平台?
Agent Tools (x402 Discovery) 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 Agent Tools (x402 Discovery)?
由 PikaPikachu(@joursbleu)开发并维护,当前版本 v0.1.0。