UniAgent

AI agent that lets you swap tokens & analyze Uniswap pools through natural language chat.

Open AgentsShipped April 24, 2026 Dormant#ai-agents#ai#defi#payments
Repo
UniAgent banner

About

UniAgent is a conversational DeFi assistant built on the Uniswap API and Claude AI. Instead of navigating complex DeFi interfaces, users simply type what they want "swap 1 ETH for USDC" or "what's the best yield pool for stablecoins?" and the agent handles everything.

Under the hood, Claude acts as the reasoning layer, deciding which Uniswap API calls to make, fetching real-time quotes, pool TVL, fee tiers, APY, and price ranges, then presenting the data as actionable swap cards the user can execute onchain with one click. The agent can chain multiple tool calls autonomously : checking price, then gas, then recommending optimal timing before responding.

How it's made

Built with Next.js 14 and Tailwind CSS on the frontend. The AI layer uses Claude claude-sonnet-4-20250514 with tool use enabled , we defined three tools (get_swap_quote, get_top_pools, get_pool_stats) that Claude autonomously calls based on user intent.

The Uniswap Quote API v1 powers all swap routing, proxied through a Next.js API route to handle CORS. Pool analytics come from the Uniswap v3 subgraph on The Graph. The agentic loop in lib/agent.ts keeps running until Claude stops calling tools, enabling multi-step reasoning like: fetch quote → check gas → suggest timing.

The trickiest part was parsing Claude's structured JSON tool responses and mapping them to typed swap/pool card components in real time, while keeping the chat UX feel instant and fluid.

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?

DormantRepo not reachable

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.

WhisperFi

AI-powered DeFi assistant: chat naturally to swap, bridge, and manage crypto with built-in privacy.

HackMoney 2026Prize winner Dormant#ai#defi

Prompt Fusion Swap

An AI-powered DeFi terminal to execute swaps via natural language, using multiple 1inch APIs