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 分