---
title: "Discussion on \"Build an AI agent that swaps on six chains with Cleave and Chainstack\" | Hashnode"
description: "Discussion on \"Build an AI agent that swaps on six chains with Cleave and Chainstack\". An AI agent can find a swap route, but the route still needs to become a transaction: the wallet must approve the right spender, sign the calls, submit them to the right chain, and check what arrived."
url: "https://hashnode.com/posts/build-an-ai-agent-that-swaps-on-six-chains-with-cleave-and-chainstack/6b0869686b2b6bc5d591140e"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Build an AI agent that swaps on six chains with Cleave and Chainstack](https://cleaveprotocol.hashnode.dev/build-an-ai-agent-that-swaps-on-six-chains-with-cleave-and-chainstack?utm_source=hashnode&utm_medium=feed)

An AI agent can find a swap route, but the route still needs to become a transaction: the wallet must approve the right spender, sign the calls, submit them to the right chain, and check what arrived.

3d ago · 10 min read · cleaveprotocol.hashnode.dev  
Read the article

-   [#ai-agents](https://hashnode.com/tag/ai-agents)
-   [#web3](https://hashnode.com/tag/web3)
-   [#tutorial](https://hashnode.com/tag/tutorial)

## Written by

[Cleave Protocol](https://hashnode.com/@cleaveprotocol)

@cleaveprotocol

  
[View profile](https://hashnode.com/@cleaveprotocol)

DEX aggregator on Ethereum, Arbitrum, Base, BNB Chain, Polygon and Optimism.

Cleave Protocol splits each swap across many pools and paths on six chains, and a cross-chain swap takes one signature. Cleave's fees are included in the price. Apps and AI agents use the same quotes through our API, MCP server and SDKs. https://cleave.fi

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
