Carbon DeFi

Các chiến lược giao dịch tự động trên chuỗi (DEX) dành cho tác nhân AI. Tạo lệnh giới hạn, lệnh phạm vi, chiến lược mua thấp bán cao định kỳ và các vị thế thanh khoản tập trung trên Ethereum, Sei, Celo, TAC và COTI. Không giống như các AMM và pool thanh khoản truyền thống, Carbon cho phép bạn thiết lập các phạm vi giá bất đối xứng - lệnh mua và bán của bạn độc lập, không phản chiếu lẫn nhau. Kiểm tra ngược bất kỳ chiến lược nào với dữ liệu giá lịch sử trước khi lên chuỗi, khám phá thanh khoản thị trường, tìm điểm vào lệnh chiết khấu và hoán

Tài liệu

For the complete documentation index, see llms.txt. Markdown versions of documentation pages are available by appending .md to page URLs; this page is available as Markdown.

AI Agents & MCP Server

Carbon DeFi has an MCP (Model Context Protocol) server that allows AI agents to create and manage on-chain trading strategies programmatically.

{% hint style="info" %} Experimental — still being worked on. Use at your own risk. {% endhint %}

Claude Desktop setup

Add this to your Claude Desktop config to connect:

json

{
  "mcpServers": {
    "carbon-defi": {
      "command": "npx",
      "args": ["mcp-remote", "https://mcp.carbondefi.xyz"]
    }
  }
}

Key conventions for agents

  • All write operations return unsigned transactions — the user always signs and broadcasts
  • Always call get_strategies first to check existing positions
  • Market price is auto-fetched from the Carbon API — no need to provide it manually
  • Prices are always in quote token per 1 base token
  • buy_budget is always in quote token; sell_budget is always in base token
  • Check the warnings array in every response before presenting a transaction