Announcing the Ophis SDK →

DEX aggregator
for the agent era.

Intent-based, MEV-protected, batch-settled swaps. Describe a trade in plain English; settle in one batch. Built for autonomous agents and the developers who deploy them.

Live on
Ethereum
BNB
Base
Arbitrum
Polygon
Avalanche
Linea
Plasma
Ink
Gnosis
Optimism
Solana via NEAR
Bitcoin via NEAR

Trade tonight.

An intent, a sell token, a buy token. The Ophis API does the rest — quote, route, MEV protection, settlement. Hit it from JavaScript, Rust, or just curl.

# Parse a natural-language swap intent
curl -X POST https://swap.ophis.fi/api/intent \
  -H "Content-Type: application/json" \
  -d '{
    "text": "swap 100 USDC for ETH on Optimism"
  }'

# Successful response is wrapped in { ok, data }:
# {
#   "ok": true,
#   "data": {
#     "intent": "swap",
#     "entities": [
#       { "type": "amount",    "value": "100",     "raw": "100",     "start": 5,  "end": 8 },
#       { "type": "sellToken", "value": "USDC",    "raw": "USDC",    "start": 9,  "end": 13 },
#       { "type": "buyToken",  "value": "ETH",     "raw": "ETH",     "start": 18, "end": 21 },
#       { "type": "chain",     "value": "optimism","raw": "Optimism","start": 25, "end": 33 }
#     ]
#   }
# }

Built for real flow.

MEV protection

Batch auctions, off-chain solver competition. Users never lose surplus to frontrunners.

Volume-tier rebates

High-volume agents and DAOs earn fee rebates automatically via the rebate-indexer.

Agent-safety SDK

Receiver-pin checks, chain-id validation, partner-fee config — guardrails out of the box.

@ophis/sdk

Ship integrations in an afternoon.

Partner-fee defaults, chain registry, settlement-address resolution, and agent-safety guards — everything an integrator needs to ship without footguns.

JavaScript
import {
  ophisDefaultPartnerFee,
  OPHIS_PARTNER_FEE_RECIPIENT,
} from '@ophis/sdk'

// Resolve Ophis's default partner-fee config for the chain
// (price-improvement-bps capped by max-volume-bps).
const partnerFee = ophisDefaultPartnerFee(/* chainId */ 10)

// partnerFee = {
//   recipient: OPHIS_PARTNER_FEE_RECIPIENT,
//   bps: 2500,           // 25% of price-improvement
//   maxVolumeBps: 50,    // capped at 0.5% of volume
// }

// Plug into your CoW order's appData — receiver-pin and chain-id
// checks happen in buildOphisAppDataPartnerFee() under the hood.

Built with the tools and partners that earned our trust.

Forked from CoW Protocol's settlement stack. Audited by Trail of Bits. Powered by Aleph Cloud compute. LLM intent parsing via LibertAI. Cross-chain routing via NEAR Intents and Bungee.

CoW Protocol Settlement stack we forked.
Aleph Cloud Decentralized compute infra.
LibertAI LLM for natural-language intent parsing.
Trail of Bits Security audits.
NEAR Intents Cross-chain bridging to Solana + Bitcoin.
Bungee Bridge aggregation.

Trade anywhere. Settle in one batch.

Live on 11 chains. Cross-chain to Solana and Bitcoin via NEAR Intents.