SuperAPIAI Directory

ophis

github.com · AI developer platforms

🎖️ 📇 ☁️ - Intent-based DEX aggregator (self-hosted CoW Protocol): parse swap intents, get quotes, build and submit EIP-712 orders and check balances on EVM chains.

Open website Alternatives
PricingOpen source开源项目(可免费自部署)
PlatformsAPI

About this tool

Ophis is an intent-based DEX aggregator built as a fork of CoW Protocol, comprising an order book, autopilot, driver, and baseline solver, with a natural language intent layer added on top of a renamed CoW Swap UI. It is designed for human users and autonomous AI agents, supporting token swaps on EVM chains.

Key capabilities

  • Intent parsing: an optional Intent API can parse natural language requests such as "swap 100 USDC for ETH on Base" and convert them into structured orders, but does not execute transactions.
  • Quotes and order construction: users can select tokens and networks, view quotes, and authorize the displayed flow. The system supports constructing bounded, signable EIP-712 orders, with the receiver fixed to the owner.
  • Batch auction settlement: orders are settled on-chain through configured solver routes, using batch auctions with a uniform price per token pair.
  • Non-custodial, no account, no authentication: each order is signed in the user's own wallet (EIP-712 or ERC-1271), or explicitly pre-signed on-chain. For standard ERC-20 orders, funds remain in the wallet until settlement.
  • Multi-chain support: runs on 14 EVM chains, of which Optimism, Unichain, Robinhood Chain, and Arc have settlement operated by Ophis itself, while the remaining ten chains are routed through the CoW Protocol hosted network.
  • Agent integration: provides an MCP server (recommended), exposing 14 tools, including intent parsing, token resolution, chain discovery, quotes, order construction/validation/submission, rebate queries, balances, portfolio, Gas, charts, and expected surplus comparison. The server holds no keys and never signs.
  • SDK: @ophis/sdk encodes four fork details, including order book URL, EIP-712 domain, CIP-75 fee fragment, and receiver fixing, to avoid silent failures.
  • Discovery and trust boundaries: publishes machine-readable manifests (mcp.json, ai-plugin.json, agent-skills/, api-catalog, etc.), but emphasizes that these are aids rather than authorization boundaries, and recommends enforcing policy where agents cannot reach.

How to use

  • Through the Swap App, select tokens and networks, view quotes, and authorize.
  • Use the Intent API: no keys or accounts required, direct POST requests, mapping natural languageto chain ID and generating a swap deep link for users to review and sign. The API only normalizes text, does not execute transactions, and is rate-limited to 30 requests/minute/IP.
  • Through the MCP server: point any MCP client to the hosted Model Context Protocol server, using Streamable-HTTP MCP, and agents sign and submit locally.
  • Through the SDK: directly construct and sign CoW orders, while paying attention to fork details.

Use cases

  • Human users performing gas-free, MEV-protected token swaps.
  • AI agents automatically executing swap intents, requiring accompanying security policies (such as Safe smart accounts, policy gating, guardian keys, etc.).
  • Developers integrating DEX aggregation functionality into their own applications.

Limitations

  • The Intent API only parses text and does not execute transactions.
  • Non-browser callers (without an Origin header) are allowed, but agents must ensure security themselves.
  • Settlement contracts and order book hosts differ across chains and must be resolved per chain through the SDK or MCP tools.
  • Swaps from external sources (such as Bitcoin, Solana, etc.) involve a deposit flow, separate from EVM order construction.
  • Fees: the base fee on all supported chains is 1 bp, plus a capped share of the improvement over the reference quote (80% cap at 99 bps for volatile pairs, 50% cap at 20 bps for stable pairs). Some fees are returned through monthly WETH rebates and an 8% referral commission.
  • Security: provides SECURITY.md disclosure policy, contract addresses, and audit history.
  • License: GPL-3.0, inherited from upstream CoW Protocol.
Up/Down to navigate · Enter to open · ESC to closeBrowse all tools