DexL Agents

Registre officiel Recherche et web

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

Installation

Ajoutez ceci à la configuration MCP de votre client (Claude Desktop : claude_desktop_config.json ; Cursor : .cursor/mcp.json ; VS Code et les autres utilisent la même forme « mcpServers »).

Remote (streamable-http)
Claude Code
claude mcp add --transport http dexl-agents 'https://agents.dexl.io/mcp'
Configuration JSON (Claude Desktop, Cursor, VS Code)
{
    "mcpServers": {
        "dexl-agents": {
            "type": "http",
            "url": "https://agents.dexl.io/mcp"
        }
    }
}

Documentation

Tirée du README du projet sur GitHub, actualisée chaque semaine. Les liens ouvrent GitHub.

Sommaire
  1. Pay an API with x402 — in about ten lines
  2. 1. Free: no wallet at all
  3. 2. Paid: one call, one signature
  4. 3. Connect an MCP client
  5. What you can call

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

npm install
npm 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

PRIVATE_KEY=0x... npm run paid

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

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:

{
  "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.

Questions fréquentes

Qu'est-ce que DexL Agents ?

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

Comment installer DexL Agents ?

Il fonctionne comme serveur distant. Dans Claude Code : claude mcp add --transport http dexl-agents 'https://agents.dexl.io/mcp'. Pour les autres clients, collez la configuration JSON de cette page dans leurs réglages MCP.

Faut-il une clé API pour DexL Agents ?

Son entrée au registre n'indique aucune clé ni secret obligatoire. Certaines fonctions peuvent tout de même demander un compte auprès du service auquel il se connecte.

DexL Agents est-il open source ?

Oui. Son code est sur GitHub sous licence MIT.

Qui maintient DexL Agents ?

Il est publié par dexl-io. AI.tn le référence sans le maintenir ni le recommander.

Issu du registre MCP officiel. Être listé n'est pas une recommandation : vérifiez le code et les permissions d'un serveur avant de lui donner accès à vos données.