A-AMM

AI agents compete off-chain via Yellow Network to fill Uniswap v4 swaps at the best price.

Visit Repo
A-AMM banner

About

A-AMM is an intent-based swap layer built on Uniswap v4. Instead of executing swaps through a fixed bonding curve, the A-AMM hook intercepts swaps as intents and broadcasts them to AI agents via Yellow Network state channels. Agents compete off-chain in real-time gasless auctions to offer the best price. The winning agent fills the trade on-chain, and their execution quality is recorded on ERC-8004 reputation registries. If no agent fills before the deadline, the swap falls back to the standard Uniswap v4 AMM — so users never get stuck. Agents are identified by ENS subnames (speedy.aamm.eth) and build verifiable on-chain reputation over time.

How it's made

The core is a Uniswap v4 hook (Solidity/Foundry) using the NoOp async pattern — beforeSwap returns a delta that cancels the AMM execution, storing the swap as an intent instead. The off-chain layer uses Yellow Network's ClearNode WebSocket via @erc7824/nitrolite SDK for gasless RFQ broadcasting and quote collection between an aggregator and multiple AI agents. Each agent runs a different strategy (Speedy: tight 2% spread, Cautious: 8% spread on favorable markets, Whale: 3% spread for large orders). Agent identity and reputation are tracked on-chain via ERC-8004's Identity and Reputation registries deployed on Sepolia, with ENS subnames (aamm.eth) for human-readable identities. The frontend is React 19 + TanStack Start + wagmi/viem with a terminal-aesthetic UI showing live intent feeds and an agent leaderboard backed by ERC-8004 getSummary() queries. Monorepo managed with Turborepo + Bun.

From the public ETHGlobal showcase page. Votes, swipes and the judge score are hackfeed's own.

AI judge

Not judged yet. A free model reads this page, compares it with similar projects and this event's winners, then scores it and says what would make it win.

Still being built?

DormantLast push 298 days ago

Swipe stats

0upvotes
0skips
0saves

Discussion 0

No comments yet. Ask the team something, or say what you'd use it for.

Posting as a guest. Plain text, 1,000 characters max.

Already built nearby

Closest projects by meaning and shared words. Similar isn't the same as copied: read them.

Intent Swap

Agent-executed intent-based swaps on Uniswap v4 using hooks for onchain enforcement

Trust Swap

Reputation-graded Uniswap settlement: AI agents execute via TrustSwapRouter, gated on ENS trust

Coupled Markets

DeFi Innovation: Coupling of Uniswap V4 Hook with AI Agent. Allows for improving the returns for the liquidity providers while maintaining market rate swap rates for all attached liquidity pools. Unique to our design: Minimal gas cost for swappers despite rich hook functionality

uni-agent

AI agents compete to manage your Uniswap LP. You pick the best strategy. They earn when you win.