# Ophis Docs > Developer documentation for Ophis: an intent-based, MEV-protected DEX aggregator (a CoW Protocol fork) built for the agent era. Describe a swap in natural language; a competitive solver auction fills it across the deepest on-chain liquidity, MEV-protected, settled in one batch. Agents integrate via a hosted MCP server or a single REST call. ## Build with Ophis - [AI agent integration](https://docs.ophis.fi/ai-agents): hosted MCP server at https://mcp.ophis.fi/mcp (fourteen tools: parse_intent, resolve_token, get_quote, build_order, submit_order, lookup_tier, get_integrator_earnings, list_chains, get_balances, get_portfolio, get_gas, get_token_chart, expected_surplus, validate_order), plus Intent-API recipes for LangChain / AutoGPT / function-calling agents. The human or agent wallet always signs locally: the signature is the trust boundary. - [Intent API](https://docs.ophis.fi/intent-api): `POST https://ophis.fi/api/intent` with `{"text": "swap 100 USDC for ETH on Base"}` returns `{ok, data: {intent, entities}}`. OpenAPI spec: https://ophis.fi/openapi.json ## Fees Every supported chain pays a 1 bp Ophis base plus 80% of reference-quote improvement on volatile pairs, capped at 99 bps of volume, or 50% on stable pairs, capped at 20 bps. CoW-hosted chains additionally pay CoW Protocol fees upstream. See [Fees and price improvement](https://docs.ophis.fi/fees). Worked examples: - A $10,000 volatile trade with 20 bps of reference-quote improvement pays the $1 base plus $16 of captured improvement on an Ophis-operated chain. - A $10,000 stablecoin trade with 20 bps of improvement pays the $1 base plus $10 of captured improvement on an Ophis-operated chain. - A large share of the fee comes back monthly in WETH rebates. See [Monthly WETH rebates](https://docs.ophis.fi/fees#what-you-get-back-monthly-weth-rebates). ## Reference - [Introduction](https://docs.ophis.fi/) - [Getting started](https://docs.ophis.fi/getting-started): the three-step flow, [Intent](https://docs.ophis.fi/getting-started#1--intent-parse-the-request), [Auction](https://docs.ophis.fi/getting-started#2--auction-solver-competition), [Settle](https://docs.ophis.fi/getting-started#3--settle-on-chain-mev-protected). - [Architecture](https://docs.ophis.fi/architecture) - [Fees & rebates](https://docs.ophis.fi/fees) - [Audits](https://docs.ophis.fi/audits): non-custodial [Custody](https://docs.ophis.fi/audits#custody), [MEV protection by construction](https://docs.ophis.fi/audits#mev-protection-by-construction), and methodology credits for Pashov skills, ETHSKILLS, Trail of Bits tooling, and Verity Lang. Tool use is not an independent audit or endorsement. - [Status](https://docs.ophis.fi/status) - [FAQ](https://docs.ophis.fi/faq) ## More - Full docs as a single file (for LLM context windows): https://docs.ophis.fi/llms-full.txt - App: https://swap.ophis.fi - Source: https://github.com/ophis-fi/ophis