MEV protection
Batch auctions, off-chain solver competition. Users never lose surplus to frontrunners.
Intent-based, MEV-protected, batch-settled swaps. Describe a trade in natural language; settle in one batch. Built for autonomous agents and the developers who deploy them.
Keep your fee. We settle it on-chain. Operated chains use a 1 bp base plus capped price-improvement capture; hosted partner flow uses a 5 bps base, reduced to 1 bp for stable pairs.
Ophis is solver-driven. A competitive network of solvers races to fill your intent, routing across the deepest on-chain AMMs and professional DEX aggregators on every network we settle. You sign once; they find the best executable price, MEV-protected.
The marks above are liquidity venues, not solvers: a competitive solver layer routes each order across the venues available on its chain, and more solvers can be authorized over time.
Liquidity sourced across 13 EVM chains, with Solana & Bitcoin destinations via NEAR Intents.
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 }
# ]
# }
# }Batch auctions, off-chain solver competition. Users never lose surplus to frontrunners.
High-volume agents and DAOs earn fee rebates automatically via the rebate-indexer.
Receiver-pin checks, chain-id validation, partner-fee config: guardrails out of the box.
Correct orderbook hosts, per-chain signing domains, and agent-safety guards: everything an integrator needs to ship without footguns.
claude mcp add --transport http ophis https://mcp.ophis.fi/mcp Config for Cursor, Claude Desktop, VS Code, and OpenAI import {
getOphisOrderbookUrl,
getOphisOrderDomain,
assertReceiverIsOwner,
} from '@ophis/sdk'
// The correct orderbook host per chain: Optimism is self-hosted,
// not api.cow.fi; the wrong host silently bypasses Ophis.
const orderbook = getOphisOrderbookUrl(/* chainId */ 10)
// The EIP-712 signing domain with the right per-chain verifying
// contract (cow-sdk's default is wrong on the Ophis-operated chains).
const domain = getOphisOrderDomain(10)
// Pin the receiver to the owner before signing; an unpinned
// receiver is the #1 drain vector for an automated signer.
assertReceiverIsOwner(owner, order.receiver) Forked from CoW Protocol's settlement stack. Reviewed with Trail of Bits' open-source security tooling. Powered by Aleph Cloud compute. LLM intent parsing via LibertAI. Cross-chain routing via NEAR Intents and Bungee.
Ophis is an intent-based, MEV-protected DEX aggregator built for the agent era. You describe a trade in natural language; Ophis parses the intent, fetches a best-execution quote, and batch-settles it on supported EVM chains, with Solana and Bitcoin destinations via NEAR Intents. It is non-custodial and a CoW Protocol fork.
On Ophis-operated chains every trade pays a 1 bp base fee. Ophis retains 80% of reference-quote improvement on volatile pairs, capped at 50 bps of volume, or 50% on stablecoin pairs, capped at 20 bps. CoW-hosted chains retain the existing flat Ophis rates and CoW Protocol adds its own upstream fees. The public Intent API and MCP server are free.
Ophis covers 13 EVM chains, with Optimism, Unichain, and Robinhood Chain as its operated sovereign networks, and supports Solana and Bitcoin as destinations via NEAR Intents.
Ophis is a CoW Protocol fork focused on autonomous agents. It runs its own GPv2Settlement contract at a non-canonical address on its operated chains, exposes a public MCP server and Intent API, ships the @ophis/sdk agent-safety helpers, and uses solver-aligned price-improvement pricing there. Agents must resolve the per-chain settlement domain via the SDK or MCP before signing.
Orders settle through CoW Protocol batch auctions, which are designed to protect trades from MEV such as front-running and sandwiching by settling at a uniform clearing price. An order can never be settled below its signed limit price. Batch-auction settlement mitigates MEV by design; it is not an absolute guarantee against all adversarial conditions.
Ophis is non-custodial. Orders are gasless, off-chain, EIP-712-signed intents; the trader or agent signs with its own key and the keys never leave the signer. An agent signs a bounded capability with a hard limit price, not an arbitrary transaction.
The Ophis MCP server at mcp.ophis.fi is a Streamable-HTTP Model Context Protocol server that lets AI agents trade. It exposes tools including parse_intent, get_quote, build_order, submit_order, lookup_tier, and list_chains. It is public, unauthenticated, and keyless: it never holds keys or signs, so the agent signs with its own key.
An agent parses a natural-language intent, gets a best-execution quote, and builds a bounded EIP-712 order with the receiver pinned to the owner using the @ophis/sdk or the MCP build_order tool. It signs the order locally with its own key, then submits the pre-signed order to the Ophis orderbook or via the MCP submit_order tool. The agent can also call the public Intent API at POST /api/intent, rate-limited to 30 requests per minute per IP.