# Ophis Docs > Documentation for Ophis: intent-based token swaps authorized with your wallet, with a web app, CLI, SDK, MCP server, Intent API and widget. The app and CLI cover 13 EVM mainnets, plus the Sepolia testnet. The standalone app also supports NEAR Intents sources and destinations and Circle bridges to and from Arc. ## Build with Ophis SDK source and hosted MCP cover 13 EVM mainnets, including Arc. - [AI agent integration](https://docs.ophis.fi/ai-agents): connect to the hosted MCP server at https://mcp.ophis.fi/mcp to parse requests, resolve tokens, quote, build orders and submit wallet-signed trades. - [Ophis CLI](https://docs.ophis.fi/cli): quote, swap and bridge from the terminal (`npm install -g @ophis/cli`, Node.js 20+), with wallet approval over WalletConnect. - [SDK integration](https://docs.ophis.fi/partners): use chain-specific orderbooks, signing domains and fee helpers to build and submit orders. - [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 - [Swap widget](https://docs.ophis.fi/widget): embed the swap interface in a React or JavaScript app. - [Vault manager rebalancing](https://docs.ophis.fi/vault-managers): build Safe orders and rebalance through deployed vault policy modules. The standalone app supports externally funded NEAR swaps. Select the source in You sell, review the quote and source-chain refund address, then fund the deposit before its deadline with any required memo. Keep the transfer record until delivery or refund completes. Private mode uses RAILGUN shielded pools on Ethereum, Arbitrum and BNB Chain. Base remains a held pilot and Polygon is deferred. Deposits must synchronize and become Spendable. Private swaps charge 0.1% of output plus pool, broadcaster and applicable deposit/withdrawal costs; they do not use the public batch-auction fee schedule. Public native gas credit is operator-held and custodial; refunds depend on its enabled signing service and processing allowance. Ophis does not require PPOI checks, while other RAILGUN services may. Deposits, withdrawals, pool trades and fee-credit transfers are public; the gateway and Cloudflare can see the client's IP. ## Fees The standard schedule charges 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. Partner-hosted batch auctions additionally pay upstream fees. See [Fees](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 Optimism, Robinhood Chain or Arc. - A $10,000 stablecoin trade with 20 bps of improvement pays the $1 base plus $10 of captured improvement on Optimism, Robinhood Chain or Arc. ## Reference - [Introduction](https://docs.ophis.fi/): choose a trading interface or developer integration. - [Getting started](https://docs.ophis.fi/getting-started): choose tokens, sign a swap or fund an external deposit, and track delivery. - [Networks & assets](https://docs.ophis.fi/networks-assets): EVM coverage; NEAR swaps from or to Bitcoin, Solana, Monad, Hyperliquid (Hypercore), X Layer, Sui, Tron, Starknet and Zcash; Circle bridges, Ethereum OTC and wallet requirements. - [Privacy pools and private swaps](https://docs.ophis.fi/privacy-pools): wallet setup, networks and assets, shielding, swaps, withdrawals, gas credit, refunds, recovery and privacy limits. - [Architecture](https://docs.ophis.fi/architecture): order signing, solver competition, batch settlement and developer intent parsing. - [Fees](https://docs.ophis.fi/fees): base fees, capped improvement capture, upstream settlement fees, private-swap charges and bridge costs. - [Trade rewards](https://docs.ophis.fi/trade-rewards): eligible swaps earn a winning USDG ticket; check https://swap.ophis.fi/#/rewards for current availability and claims. - [Comparison](https://docs.ophis.fi/comparison): compare quotes, settlement, fees and interfaces for the same trade. - [Audits](https://docs.ophis.fi/audits): wallet custody, settlement contracts and published review scope. - [Status](https://docs.ophis.fi/status): services, health endpoints and chain-specific settlement mappings. - [FAQ](https://docs.ophis.fi/faq): answers about wallets, networks, fees and developer access. ## 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