AgentToolbox Docs Pack

io.github.agenttoolbox2026v0.1.0更新于 Oct 6, 2026

Query-matched doc excerpts in one JSON response. $0.01 USDC on Base via x402, pay-per-success.

已验证Streamable HTTP可网页运行Web Search & ScrapingFinanceKnowledge & Memory

概览

AI 生成的概览

让助手按查询从最多五个公开文档网址获取有界的精确摘录,并按成功次数付费。

功能
Docs Pack 接受最多五个受支持的公开文档网址和字面查询词,在一个 JSON 响应中返回有界的精确摘录,以及来源哈希、偏移量和匹配标题。它是远程 MCP 端点,提供 HTTP 发现和固定的免费示例端点。付费调用会返回 HTTP 402 的 x402 挑战,需由兼容的钱包或客户端结算后重新提交。
适用场景
当助手需要来自公开文档页面的可验证引用摘录,而不是完整抓取或通用网页搜索时使用。它适合能够处理按次付费、并希望获得来源哈希和偏移量以便引用的代理工作流。
运行要求
远程 streamable HTTP 端点;使用时不需本地包或运行时。付费调用需要持有 Base 上 USDC 的 x402 v2 兼容钱包或客户端,以及 Idempotency-Key 请求头和 max_charge_usdc_atomic 值。本地运行项目需要 Node.js 24+ 和 pnpm 11.19.0。
安装前请注意
付费调用按每个成功的完整包收取 0.01 USDC(Base 网络),因此涉及钱包和支出;当没有来源匹配或来源失败时不结算。README 说明实时支付验证由用户控制,实施代理并未执行。免费示例端点使用固定的公开输入,无需钱包。

安装

在 SourceWeft 中

  1. 打开 控制台中的 AgentToolbox Docs Pack,将其添加到工作区。
  2. 为需要使用其工具的对话启用该服务。

Web executable,通过 Streamable HTTP。 远程服务在工作区中配置后即可从网页运行时运行。

其他 MCP 客户端

把它添加到你客户端的 mcpServers 配置中。

{
  "mcpServers": {
    "docs-pack": {
      "type": "http",
      "url": "https://agnttoolbx.agenttoolbox2026.workers.dev/mcp"
    }
  }
}

README

AgentToolbox

Agent-first home: https://agnttoolbx.agenttoolbox2026.workers.dev

Docs Pack is the first experimental product: up to five supported public documentation URLs and literal query terms return bounded exact excerpts, source hashes, offsets and matched headings. Price: $0.01 USDC on Base per successful whole pack, using HTTP x402 v2. No source match or failed source means no settlement. Live payment verification remains user-controlled and has not been performed by the implementation agent.

Try it now

Free example — no wallet, no payment, fixed public inputs:

sh
curl -s "https://agnttoolbx.agenttoolbox2026.workers.dev/v1/products/docs-pack/example" | python3 -m json.tool | head -60

Paid invoke — returns HTTP 402 with the x402 challenge; settle it with any x402 v2-capable wallet/client and resubmit:

sh
IDEMPOTENCY_KEY="$(python3 -c 'import uuid; print(uuid.uuid4().hex + uuid.uuid4().hex[:32])')"curl -s -X POST "https://agnttoolbx.agenttoolbox2026.workers.dev/v1/products/docs-pack/invoke" \  -H 'Content-Type: application/json' \  -H "Idempotency-Key: $IDEMPOTENCY_KEY" \  -d '{"version":"0.1.0","input":{"urls":["https://docs.python.org/3/library/asyncio.html"],"query":"event loop","max_excerpt_chars":4000},"max_charge_usdc_atomic":10000}'

Runnable scripts: examples/free-call.sh, examples/paid-call.sh.

Endpoints

  • Contract: /v1/products/docs-pack
  • Real, fixed free example: /v1/products/docs-pack/example
  • Paid invocation: POST /v1/products/docs-pack/invoke
  • HTTP discovery: /v1/products; MCP discovery: /mcp
  • MCP Registry: io.github.agenttoolbox2026/docs-pack (v0.1.0)
  • Machine instructions: /llms.txt; schemas: /openapi.json
  • Human observer page: /humans; public paid-purchase total: /v1/stats

The human counter counts completed live paid purchases, including repeats. It excludes synthetic tests, mocks, failed/pending operations, replays and self-purchases from the receiving wallet. It does not identify unique agents. Private operations and reports remain authenticated. The original retry gate is retired; its source, D1 database and history remain preserved.

Run

Node.js 24+ and pnpm 11.19.0:

sh
pnpm install --frozen-lockfilepnpm --dir platform install --frozen-lockfilepnpm devpnpm testpnpm checkpnpm worker:checkpnpm smoke https://agnttoolbx.agenttoolbox2026.workers.devpnpm report:remote

Platform code is in platform/; root src/, test/ and scripts/ preserve the legacy experiment. The original icon is unchanged. No paid Cloudflare resource, facilitator account, top-up, wallet secret or automatic billing was added.

Read the brief, product and benchmark, operations and payment limits.

来源:README.md,提交 f787860

工具

0
工具元数据尚未被收录。

版本历史

1
  1. v0.1.0最新Oct 6, 2026