← All posts

Ophis vs CoW Swap: what a CoW Protocol fork changes

Ophis is a CoW Protocol fork with batch auctions, an agent stack, and solver-aligned sovereign pricing on Optimism, Unichain, and Robinhood Chain.

  • cow-protocol
  • comparison
  • defi
  • swaps
  • mev
Ophis emblem ringed by supported chain logos, a CoW Protocol fork

Ophis is a fork of CoW Protocol’s frontend. On most chains an Ophis order settles through CoW Protocol’s canonical audited GPv2 contracts and solver competition; on Optimism, Unichain, Robinhood Chain and Arc, Ophis operates sovereign deployments with its own orderbook and a settlement derived from GPv2 at a non-canonical address. What the fork changes is the layer on top: natural-language intent input, an agent stack, chain-aware pricing, referral attribution, and a live trade-rewards campaign.

That is the whole comparison in three sentences. The rest of this page unpacks it plainly, because Ophis (the intent-based DEX aggregator at ophis.fi) exists because of CoW Protocol, not despite it. A maintained side-by-side also lives in the comparison docs.

The same settlement engine

Ophis did not reimplement settlement. A CoW Protocol fork inherits the three properties that matter, by construction rather than by imitation:

Batch auctions. You do not broadcast a swap transaction. You sign an EIP-712 order with a hard limit price, competing solvers race to fill it, and fills settle in batches at a uniform clearing price.

The MEV mitigation model. Offchain orders and uniform clearing prices per token pair reduce common ordering advantages. Settlement using external pools can still be public; no universal sandwich immunity is promised.

Wallet authorization. Standard signed ERC-20 orders keep funds in the wallet until settlement, with gas paid by the solver. Approvals and other transactions cost gas; native-token and bridge deposits have separate recovery rules.

If you have used CoW Swap, all three behave exactly the way you expect. It is the same mechanism.

Where orders settle

The Ophis app supports fourteen chains: Ethereum, Optimism, BNB, Gnosis, Unichain, Robinhood Chain, Polygon, Base, Plasma, Arbitrum, Avalanche, Ink, Linea, and Arc. They split into two groups:

Chains Orderbook Settlement
Ethereum, BNB, Gnosis, Polygon, Base, Plasma, Arbitrum, Avalanche, Ink, Linea CoW Protocol’s, via api.cow.fi CoW Protocol’s canonical audited GPv2 contracts
Optimism, Unichain, Robinhood Chain, Arc Ophis-operated A settlement deployment derived from GPv2 at a non-canonical address

On the ten hosted chains, an Ophis order is an order in CoW’s orderbook, settled by the same contracts CoW Swap uses there. On Optimism, Unichain, Robinhood Chain and Arc, Ophis runs the stack itself: its own orderbook and its own settlement deployment. On Optimism that contract is 0x310784c7FCE12d578dA6f53460777bAc9718B859.

The practical consequence for anyone integrating: never hardcode api.cow.fi or the canonical settlement domain. Resolve supported orderbooks and signing domains with @ophis/sdk or MCP list_chains. SDK v0.4.3 and the hosted MCP server include Arc (5042). Signing against the wrong domain is the classic fork failure mode, and the tooling exists so you never have to guess.

What Ophis adds

Optional natural-language parsing. The Intent API turns text into structured fields (30 requests per minute per IP). It does not quote, sign or execute the trade; those are separate SDK/MCP or app steps.

An agent stack. A remote, keyless MCP server at https://mcp.ophis.fi/mcp (connection guide) exposes thirteen tools, from parse_intent and get_quote to validate_order, submit_order, and get_integrator_earnings. The server never holds keys and never signs; build_order pins the receiver to the owner and caps slippage, and the agent signs locally with its own key. Around the server: the @ophis/sdk npm package, GOAT and AgentKit plugins, and a Safe app for smart-account trading. The full walkthrough is how to let an AI agent swap tokens.

Published, chain-aware pricing. The standard schedule charges a 1 bp base and retains 80% of reference-quote improvement on volatile pairs (99 bps cap), or 50% on stable pairs (20 bps cap). On the ten chains that settle through CoW Protocol’s canonical contracts, CoW Protocol’s fees apply separately upstream. The current schedule and worked examples are in the fee docs.

Referral attribution and trade rewards. Orders can carry a referral code in appData, including on Arc. MCP clients pass referrerCode to build_order, and submit_order enrolls the owner for indexing and the live trade-rewards campaign. get_integrator_earnings reports routed volume, the Ophis base fee, and the integrator’s own fee on CoW-hosted chains by appCode. See the partner docs.

When CoW Swap is the right pick

A comparison written by the fork owes you the cases where the original wins:

  • You want canonical contracts only. CoW Swap uses CoW Protocol’s canonical audited contracts; Ophis matches that only on its ten hosted chains.
  • You want the longer track record. CoW Protocol built and has operated this settlement design in production; a fork is younger by definition.
  • You want the smallest trust surface. Ophis adds a frontend, an agent stack, and, on four chains, an operator role. The added code is open source, but it is added surface. If minimizing surface is the priority, use the original.

For CoW Swap’s current fee model, check docs.cow.fi; this page makes no claims about it.

FAQ

Is Ophis audited?

Upstream CoW audits cover relevant shared code, not every Ophis modification or deployment. Ophis-specific code has internal/tool-assisted reviews; this is not an organizational audit by the tool authors. See Security & audits for report scopes and source links.

Can I keep my CoW workflow on Ophis?

Mostly, yes. You still build and sign a CoW Protocol order: same order struct, same EIP-712 signing flow. On the ten hosted chains your existing tooling already targets the right orderbook, because it is CoW’s. On Optimism, Unichain, Robinhood Chain and Arc you must use the Ophis orderbook and non-canonical settlement domain. SDK v0.4.3 and the hosted MCP server resolve all four.

Why fork CoW Protocol at all?

Three reasons. First, an agent-first product: a keyless MCP server, an Intent API, receiver pinning, and slippage caps need a different surface than a human-first swap UI. Second, sovereign chains: on Optimism, Unichain, Robinhood Chain and Arc, Ophis operates the orderbook and settlement deployment directly. Third, the economics: standard-policy revenue combines a low fixed base with capped price-improvement capture on eligible orders. Integrators can track routed volume and fees by appCode.

What does a trade on Ophis cost?

Every supported chain pays the 1 bp Ophis base. Under the standard schedule, capped improvement capture can bring the maximum to 100 bps on volatile pairs or 21 bps on stable pairs. CoW-hosted chains pay CoW Protocol’s fees separately upstream. See the canonical fee documentation for the current schedule.

Try it

The fastest comparison is one trade. Open swap.ophis.fi, choose the pair and amount, and review the limit price you are signing before you sign it. Building an agent instead? Start with the AI agent docs.