Uniswap AI

Official Uniswap AI skills and plugins for coding agents. Plan swaps, deploy hooks, manage liquidity, and build on Uniswap v4 with agent assistance.

126 stars Verified

TL;DR: Uniswap AI is the official collection of AI tools from Uniswap Labs — 5 modular plugins that teach coding agents how to build on, trade through, and manage positions on Uniswap. Install all at once or pick individual plugins. Works with any coding agent.

What Uniswap AI Is

Uniswap AI is a set of skills and plugins built by the Uniswap team specifically for AI coding agents. Instead of reading documentation yourself and figuring out smart contract interactions, you load these plugins into your agent and it gains deep Uniswap expertise — how to structure swaps, deploy hooks, plan liquidity positions, and integrate with EVM tooling.

This is one of the first examples of a major DeFi protocol building agent-first developer tools. The plugins don’t just describe what Uniswap can do — they teach your agent how to do it.

Install

Install the entire suite or pick individual plugins:

# Install everything (any agent)
npx skills add Uniswap/uniswap-ai

# Claude Code Marketplace
/plugin marketplace add uniswap/uniswap-ai

Or install individual plugins:

/plugin install uniswap-hooks      # v4 hook development
/plugin install uniswap-trading    # Swap integration
/plugin install uniswap-cca        # Concentrated liquidity auctions
/plugin install uniswap-driver     # Swap & liquidity planning
/plugin install uniswap-viem       # EVM integration (viem/wagmi)

The 5 Plugins

uniswap-hooks — v4 Hook Development

Teaches your agent how to build custom hooks for Uniswap v4. Hooks are the new extension mechanism in v4 that let developers add custom logic to pools — before/after swaps, dynamic fees, custom oracles, and more. This plugin gives your agent the architectural knowledge to design, implement, and test hooks.

Best for: Developers building custom Uniswap v4 pool logic.

uniswap-trading — Swap Integration

The core trading plugin. Gives your agent expertise in swap routing, path optimization, slippage management, and trade execution through Uniswap. Covers both simple swaps and multi-hop routes across pools.

Best for: Traders and developers integrating Uniswap swaps into their workflows.

uniswap-cca — Concentrated Liquidity Auctions

Covers Uniswap’s concentrated liquidity auction mechanism. Your agent learns how CCA works, how to participate, and how to evaluate auction opportunities.

Best for: Advanced DeFi users working with liquidity auctions.

uniswap-driver — Swap & Liquidity Planning

A planning and strategy plugin. Rather than executing immediately, this helps your agent reason through swap and liquidity decisions — analyzing pool depth, fee tiers, position ranges, and timing. Think of it as the analysis layer before execution.

Best for: Traders who want their agent to plan and propose before acting.

uniswap-viem — EVM Integration

Bridges Uniswap operations with the viem and wagmi ecosystems. If your agent is building with these popular EVM libraries, this plugin ensures Uniswap interactions follow viem patterns and best practices.

Best for: Developers working with viem/wagmi who need Uniswap integration.

Why This Matters for CLI Trading

Uniswap AI is a perfect example of the CLI Trading thesis in action. Instead of a trader manually:

  1. Reading Uniswap v4 docs
  2. Understanding pool mechanics
  3. Writing integration code
  4. Testing and deploying

They can command their agent:

"I want to provide concentrated liquidity for the ETH/USDC pool
 on Uniswap v4. Analyze the current pool, suggest a range,
 and build the transaction."

The agent — loaded with Uniswap AI plugins — has the protocol expertise to research the pool state, recommend a position range based on current volatility, and construct the transaction for your approval.

This is the Command → Strategize → Approve → Execute workflow with real DeFi infrastructure.

How to Use With Your Agent

1. Install the plugins

npx skills add Uniswap/uniswap-ai

2. Command your agent naturally

You don’t need to reference specific plugins. Once installed, your agent has the knowledge and will apply the right expertise based on your request:

  • “Find the best swap route for 10 ETH to USDC” → uses uniswap-trading
  • “Build a custom fee hook for my v4 pool” → uses uniswap-hooks
  • “Plan a liquidity position for the WBTC/ETH pool” → uses uniswap-driver

3. Review and approve

The agent proposes actions with full context — expected slippage, fee analysis, risk considerations. You review and approve before anything executes.

Who Should Use Uniswap AI

  • DeFi traders who swap and LP on Uniswap and want agent-assisted analysis
  • Developers building on Uniswap v4 who want faster iteration with hooks and integrations
  • Teams standardizing their DeFi operations with repeatable, agent-driven workflows
  • Beginners who want to interact with Uniswap through natural language instead of learning Solidity