---
title: "Cleave Protocol (@cleaveprotocol) | Hashnode"
description: "DEX aggregator on Ethereum, Arbitrum, Base, BNB Chain, Polygon and Optimism. Read the latest articles by Cleave Protocol on Hashnode."
url: "https://hashnode.com/@cleaveprotocol"
---

@cleaveprotocol

# Cleave Protocol

@cleaveprotocol · Joined November 2026

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

[Website](https://cleave.fi/)

### [ERC-8004: an on-chain identity for an AI agent](https://cleaveprotocol.hashnode.dev/erc-8004-an-on-chain-identity-for-an-ai-agent?utm_source=hashnode&utm_medium=feed)

ERC-8004 gives an agent a token id that points to a file saying what it is and how to reach it, plus a registry for feedback. How the pieces fit.

4 min read · [cleaveprotocol.hashnode.dev](https://cleaveprotocol.hashnode.dev/erc-8004-an-on-chain-identity-for-an-ai-agent?utm_source=hashnode&utm_medium=feed)

[7h ago](https://hashnode.com/posts/erc-8004-an-on-chain-identity-for-an-ai-agent/6b0c3ef3d4198855568793c2)

### [Your agent's payment timed out. Retry without paying twice](https://cleaveprotocol.hashnode.dev/your-agent-s-payment-timed-out-retry-without-paying-twice?utm_source=hashnode&utm_medium=feed)

Why a blind retry of a payment can charge twice, what HTTP idempotency says, and how a one-time nonce and a status check help after a timeout.

5 min read · [cleaveprotocol.hashnode.dev](https://cleaveprotocol.hashnode.dev/your-agent-s-payment-timed-out-retry-without-paying-twice?utm_source=hashnode&utm_medium=feed)

[1d ago](https://hashnode.com/posts/your-agent-s-payment-timed-out-retry-without-paying-twice/6b0aed74221d3c544bb6051e)

### [An API reply is only text. Check it before a wallet signs it](https://cleaveprotocol.hashnode.dev/an-api-reply-is-only-text-check-it-before-a-wallet-signs-it?utm_source=hashnode&utm_medium=feed)

A call is a target, call data and a value. How a pinned allowlist turns a tampered plan into a refusal, and what such checks still leave to a person.

5 min read · [cleaveprotocol.hashnode.dev](https://cleaveprotocol.hashnode.dev/an-api-reply-is-only-text-check-it-before-a-wallet-signs-it?utm_source=hashnode&utm_medium=feed)

[2d ago](https://hashnode.com/posts/an-api-reply-is-only-text-check-it-before-a-wallet-signs-it/6b099be23d6d4e8d26c46fd1)

### [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.

10 min read · [cleaveprotocol.hashnode.dev](https://cleaveprotocol.hashnode.dev/build-an-ai-agent-that-swaps-on-six-chains-with-cleave-and-chainstack?utm_source=hashnode&utm_medium=feed)

[3d ago](https://hashnode.com/posts/build-an-ai-agent-that-swaps-on-six-chains-with-cleave-and-chainstack/6b0869686b2b6bc5d591140e)

### [Give a language model a swap tool, not your private key](https://cleaveprotocol.hashnode.dev/give-a-language-model-a-swap-tool-not-your-private-key?utm_source=hashnode&utm_medium=feed)

MCP hands a model tools as data: a name, a description and a JSON Schema. How tools/list and tools/call work, and why a swap plan stays unsigned.

4 min read · [cleaveprotocol.hashnode.dev](https://cleaveprotocol.hashnode.dev/give-a-language-model-a-swap-tool-not-your-private-key?utm_source=hashnode&utm_medium=feed)

[3d ago](https://hashnode.com/posts/give-a-language-model-a-swap-tool-not-your-private-key/6b084aaec98cabd12b5c8cd8)
