AGENTSWAP // ONLINE

The swap built forAGENTS

One call routes a swap or bridge across 31 chains. Agents pay per call and trade inside the limits you set.

Chains
31
Bridges
09
Pay / call
x402
The interface

One swap box. Two ways in.

This is the real MangoSwap app. Whatever a person does with the sliders, an agent does with a call.

app.mangoswap.io
The Swap screen of the MangoSwap appThe Cross-chain screen of the MangoSwap app

The swap, one screen.

Pick a pair, set slippage, slide to confirm. That is the whole interface. Agents get the same route through a tool call instead of a slider.

A person
  • Pair and amount on two big cards
  • Slippage 0.1% · 0.5% · 1% or custom
  • Slide to swap, you sign in your wallet
An agent
API key

Get a key. Your agent trades.

Agents with a MangoSwap API key can quote, swap and bridge. Without one, the gate stays shut. Illustration only: no real key is created here.

  1. 01

    Acquire a key

    Request a MangoSwap API key and scope it: quote, swap, bridge, and a cap per trade.

  2. 02

    Hand it to your agent

    The agent sends the key with every call. No key attached, no entry.

  3. 03

    The agent trades

    Through the gate, the router finds the path and settles across 31 chains.

Without a key
Agent
Gate shut
401 · API key required
With a key
Agent + key
Gate open
MangoSwap
BaseEthereumSolanaBitcoin
The AgentSwap stack

Four rails. One callable swap.

  • Your agent · MCP
  • Your script · CLI / SDK
  • Pay per call · x402
MangoSwap router
  • Base
  • Ethereum
  • Solana
  • Bitcoin
  • + 27 more
MCP server

Be a tool, not a tab.

Any MCP-speaking agent can discover MangoSwap and call swap and bridge as native tools. Published as @mangoswapio/mcp-server.

CLI + SDK

Script it in an afternoon.

The mango-agent CLI and an SDK wrap routing, quotes and status, so the multi-chain complexity stays on our side.

x402 payments

Pay per call, no signup.

Agents pay for API calls with machine-native x402 payments instead of accounts and invoices. Enterprise prepaid credits are available too.

Session keys

Autonomy with a leash.

ERC-4337 session keys let an agent trade only inside the limits you pre-approve: size, chains and time. Revoke any time.

@mangoswapio/mcp-servermango-agent
Guardrails

Set the rules. The agent plays inside them.

A key carries a policy: how big, which chains, revocable at any moment. Everything outside it is turned away. Illustration only.

Agent key policymgo_live_••••••••
Active
Max per trade$1,000
$0$2,000
Allowed chains
BaseSolanaBitcoinEthereumArbitrum
  • Swap $250 on BaseWithin policyApproved
  • Bridge $900 from Base to SolanaWithin policyApproved
  • Swap $1,800 on EthereumOver the $1,000 capBlocked
  • Swap $400 on ArbitrumArbitrum not allowedBlocked
  • Send $60 of BTC via bridgeWithin policyApproved
Reach

31 chains. Nine bridge providers.

Full swaps on seven EVM chains, bridge access to the rest, including Bitcoin, Solana, Tron, Sui and XRP.

  • Ethereum
  • Base
  • Arbitrum
  • Optimism
  • BNB Chain
  • Polygon
  • Avalanche
  • Solana
  • Tron
  • Bitcoin
  • Sui
  • XRP Ledger
  • TON
  • Mode
  • Mantle
  • Berachain
  • Celo
  • Fraxtal
  • Taiko
  • Sei
  • World Chain
  • Monad
  • ZetaChain
  • Zircuit
  • Hyperliquid
  • Blast
  • Fuse
  • LightLink
  • Linea
  • Paradex
  • Loopring
  • Rango
  • LayerSwap
  • LiFi
  • Symbiosis
  • Squid
  • Inbridge
  • Bungee
  • Wormhole
  • THORChain
FAQ

Quick answers.

What is AgentSwap?

The agent-facing layer of MangoSwap: an MCP server, a CLI, an SDK, x402 machine payments and ERC-4337 session keys, so autonomous agents can swap and bridge without a human clicking.

Does an agent hold my funds?

Standard swaps and bridges stay non-custodial: the wallet owner signs. For agents, session keys grant limited, revocable authority inside policies you set. Optional MPC custody for agents is still in design.

Which chains can an agent reach?

The same 31 chains as the app: full swap support on seven EVM chains (Ethereum, Base, BNB Chain, Polygon, Arbitrum, Optimism, Avalanche) and bridge access to the rest, including Solana, Bitcoin, Tron, Sui and XRP.

How are routes chosen?

An auto-router compares paths across nine bridge providers and picks the best one. Execution is atomic, so a trade cannot partially fail, and idempotency keys stop retries from double-executing.

Is it audited?

MangoSwap uses audited OpenZeppelin libraries. A CertiK audit of the contracts is in progress and will be published on completion.

Is this financial advice?

No. Crypto is volatile and swaps are final once confirmed on-chain. Agents amplify mistakes as fast as they amplify good trades, so set tight limits and do your own research.

Give your agent a swap.

Start with the demo, then plug in the MCP server or open the app yourself.