DexL Agents

io.github.dexl-io由 GitHub 账号 dexl-io 发布v1.0.0更新于 Nov 2, 2026

Pay-per-call AI gateway: models, speech, web search, on-chain reads and NLP tools, via x402.

已验证Streamable HTTP可网页运行金融AI 与机器学习

概览

AI 生成的概览

DexL Agents 是一个远程按次付费的 AI 网关,让助手查看其工具目录与价格、运行免费对话或付费的 x402 工具。

可以做什么
  • 浏览所有付费工具、模型和打包产品及其价格
  • 列出网关可调用的对话模型,包括免费的 dexl-free
  • 通过不付款发送请求并读取 402 响应,获取某个付费工具的准确报价
  • 在免费额度上运行对话补全,无需钱包、账户或支付头
  • 了解付款方式:x402 流程、支持的链以及本地签名客户端
适用场景
适合希望让助手通过一个网关访问对话模型、语音、网页搜索与抓取、链上读取、汇率和 NLP 工具,并先试用免费额度或先查询付费调用价格的场景。
运行要求
通过 streamable HTTP 连接 agents.dexl.io 远程端点;免费工具无需账户或 API 密钥。付费调用需要已充值的稳定币钱包和本地签名客户端,因为远程服务器不持有用户钱包;README 给出本地 npx 包,使用 DEXL_BASE_URL 和可选的 DEXL_PRIVATE_KEY。
安装前请注意
付费工具会实际花费 Base、Polygon、Arbitrum 或 Solana 上的 USDC,钱包资金存在风险;README 的本地配置通过 DEXL_PRIVATE_KEY 传入钱包私钥,应仅保留在本机并只放少量余额。远程端点仅限免费工具。请求及其请求体会发送给第三方网关。

安装

在 SourceWeft 中

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

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

交给智能体安装

把这段提示词粘贴到 Claude Code、Codex、Cursor 等智能体,或 SourceWeft 对话中。智能体会读取该服务器的安装指南,先向你展示发布者、端点和登录方式,经你同意后再把它添加到你的客户端。密钥不会写进任何命令。

阅读 https://sourceweft.com/mcp/io.github.dexl-io%2Fagents/install.md,并按其中说明把这个 MCP 服务器接入我的客户端。修改任何配置之前,先告诉我它的发布者、端点和登录方式,等我确认。不要把 API 密钥写进命令或我会提交的文件;问我密钥应从哪里获取。

查看智能体所依据的安装指南

其他 MCP 客户端

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

{
  "mcpServers": {
    "dexl-agents": {
      "type": "http",
      "url": "https://agents.dexl.io/mcp"
    }
  }
}

README

Pay an API with x402 — in about ten lines

x402 is HTTP 402 put to work: a server answers 402 Payment Required with the exact price, the client signs a stablecoin payment and repeats the same request. No account, no API key, no invoice.

These examples call DexL Agents, an x402 gateway (chat models, speech, web search and crawl, on-chain reads, FX rates, NLP tools). Everything here works against any x402 server — only the URL changes.

1. Free: no wallet at all

bash
npm installnpm run free

free.mjs does two things:

  • calls the free tier (model: "dexl-free") — no payment header, no wallet, no account;
  • asks what a paid call would cost by sending it without payment and reading the 402.

Real output:

free answer: HTTP 402 (Payment Required) is a non-standardized status code reserved for future use...web-search costs 0.01 USDC on eip155:8453 (HTTP 402)

2. Paid: one call, one signature

bash
PRIVATE_KEY=0x... npm run paid

The payment is these three lines; after them it is ordinary fetch:

js
const signer = toClientEvmSigner(wallet);const client = new x402Client().register('eip155:8453', new ExactEvmScheme(signer));const fetchWithPay = wrapFetchWithPayment(fetch, client);

Your key stays on your machine — the server only ever sees a signed payment. Settles in USDC on Base, Polygon, Arbitrum or Solana. Error responses are not charged.

The free example above was run as-is. The paid one needs your own funded wallet, so run it yourself with a small balance; it uses the same client our own service uses.

3. Connect an MCP client

Remote (free tools only — a remote server holds no wallet of yours):

https://agents.dexl.io/mcp

Local, with paid tools, because the wallet stays on your machine:

json
{  "mcpServers": {    "dexl": {      "command": "npx",      "args": ["-y", "dexl-agents", "mcp"],      "env": { "DEXL_BASE_URL": "https://agents.dexl.io", "DEXL_PRIVATE_KEY": "<optional>" }    }  }}

What you can call

GET /v1/tools lists every tool with its price and schema. Machine-readable: /llms.txt · /openapi.json · /.well-known/x402 · /.well-known/mcp

MIT licensed. Issues and pull requests welcome.

来源:README.md,提交 058db20

工具

5

dexl_catalogue

Everything DexL sells with its price: per-call tools, models and packaged products. Free, no payment.

无需输入参数。

dexl_models

Chat models callable through the gateway, including the free one (id: dexl-free). Free, no payment.

无需输入参数。

dexl_price

Exact price of one paid tool for a given request body. Sends the request WITHOUT payment and returns the 402 quote - it does not run the tool and costs nothing.

输入参数bodyslug必填

dexl_free_chat

Chat completion on the free tier (model dexl-free). No wallet, no account, no payment header. Use it to try the gateway before paying for a stronger model.

输入参数prompt必填system

dexl_how_to_pay

How to pay for a DexL call: the x402 flow, supported chains, and the local client that signs payments for you.

无需输入参数。

版本历史

1
  1. v1.0.0最新Sep 18, 2026

评分

已满足适用检查项的 100%

该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。

  • 近 30 天内可连通必需25 分
  • 已声明认证方式必需10 分
  • 已列出工具必需15 分
  • 描述必需15 分
  • 图标10 分
  • 文档15 分
  • 许可证10 分