Find a route. Make a swap.
Compare aggregator routes, simulated output, and gas estimates. Execute through your proxy with a minimum-output guard.
Explore routingagentswap / agent execution
agentswap
Your agent only signs.
Trading funds leave and return to your main wallet. Your Proxy enforces the limits.
No agent deposits. No agent gas top-ups.
Relayed execution: relayers and solvers submit transactions and pay gas.
01 / execution trace
Example: swap 25 USDC from your main wallet for WETH.
Select a step to pause and explore.
02 / how it works
Choose the agent, allowed actions, input tokens, spending caps, and expiry. Your wallet owns the User Proxy.
04 / execution
Compare aggregator routes, simulated output, and gas estimates. Execute through your proxy with a minimum-output guard.
Explore routingAn authorized agent places a Dutch intent with an exact input, an output floor, and a deadline. Solvers find an execution that meets its terms.
Explore intentsINTENT & PROXY DEPLOYMENTS Base · Arbitrum · BNB Smart Chain · Robinhood Chain · ArcCoverage ↗
05 / developers
Inspect permissions, prepare trades, and track intents from a terminal or an MCP client.
# Install
$ curl -fsSL https://agentswap.co/install.sh | sh
$ cargo install agentswap
# Discover available chains
$ agentswap chains
# Connect your agent over MCP
$ agentswap mcp
Execution requires an active policy and --allow-trade. Set --max-amount in raw token units.
AgentSwap lets owners authorize AI agents through a per-owner User Proxy. Owners choose allowed actions, input tokens, per-period spending caps, and expiry. Grants are revocable on-chain. Swap proceeds go to the owner. Agent wallets only sign with their own key; they do not hold trading funds. The User Proxy pulls input from the owner's main wallet at execution, and proceeds return to that main wallet. With relayed execution, the agent needs no gas balance: the relayer and solver submit transactions and pay gas. Self-submission pays gas. App: https://app.agentswap.co Docs: https://docs.agentswap.co Multi-aggregator quotes: https://meta-api.agentswap.co POST /quote (JSON) or POST /quote/stream (SSE). Use camelCase fields: chainId, tokenIn, tokenOut, amountIn, taker, slippageBps. API amounts are decimal strings in raw token units. API guide: https://agentswap.co/docs/api Smart Router and token catalog: https://api.agentswap.co GET /api/chains and GET /api/tokens for current coverage. Smart Router /quote uses snake_case fields and requires an API key. CLI: cargo install agentswap MCP server: agentswap mcp Inspect policy before preparing a trade or intent. CLI guide: https://agentswap.co/docs/cli CLI quotes use Smart Router. Every amount is an integer in the token's smallest unit, and the chain is selected with --chainid. Policy guide: https://docs.agentswap.co/proxy/agent-delegation/ Execution requires --allow-trade and an active owner-granted policy. Set --max-amount in raw input units before enabling execution. Protocol: https://docs.agentswap.co/protocol/overview/ Deployments: https://docs.agentswap.co/reference/addresses/
06 / get started