Uniswap AI Overview
Get started with Uniswap AI plugins, skills, and LLM context.
Use Uniswap AI to speed up swap integration, hook development, and EVM workflows with tools designed for builders on Uniswap.
Uniswap AI
The Uniswap AI repository is an open-source collection of plugins and skills for coding agents. It provides protocol-specific guidance for Uniswap APIs and smart contracts.
Available plugins
| Plugin | Description |
|---|---|
| uniswap-trading | Integrate swaps via the Uniswap API, Universal Router SDK, or direct contract calls. |
| uniswap-hooks | Security-first guidance for building Uniswap v4Â hooks. |
| uniswap-viem | EVM integration with viem and wagmi. |
| uniswap-driver | Token discovery and swap/liquidity planning with deep links. |
| uniswap-cca | Configure and deploy CCA contracts for token distribution. |
Official skills
These are the official skills currently published in Uniswap AI:
configuratordeployerliquidity-plannerpay-with-any-tokenswap-integrationswap-plannerv4-security-foundationsviem-integration
Install Uniswap AI
Skills CLI (any agent)
npx skills add Uniswap/uniswap-aiClaude Code marketplace
If you use Claude Code, add the marketplace and install plugins:
# Add the Uniswap marketplace
/plugin marketplace add uniswap/uniswap-ai
# Install individual plugins
/plugin install uniswap-hooks # v4 hook development
/plugin install uniswap-trading # Swap integration (+ pay-with-any-token skill)
/plugin install uniswap-viem # EVM / viem / wagmi
/plugin install uniswap-driver # Token discovery & deep links
/plugin install uniswap-cca # CCA auction configurationOnce installed, the plugins activate automatically when relevant to your task. You can also invoke specific skills directly, for example, /uniswap-hooks:v4-security-foundations for a security-first walkthrough of hook development.
LLM Context Files
If you prefer to give your AI agent raw documentation context rather than structured skills, Uniswap publishes LLM-optimized text files that summarize the protocol documentation.
llms.txt and llms-full.txt
AI models have a context window, which is the amount of text they can process at once. Providing relevant documentation upfront helps the model give better answers without hallucinating.
Uniswap offers two context files:
- llms.txt: A compact summary with links to documentation sections. Works well with most models (100K+ token context windows).
- v4-llms.txt: A verbose version with more inline content. Use this if your model has a larger context window or you want more detail without following links.
Code Editor Setup
Cursor
- Navigate to Cursor Settings > Features >Â Docs
- Select Add new doc and paste one of the following URLs:
https://developers.uniswap.org/docs/uniswap-ai/llms.txthttps://developers.uniswap.org/docs/uniswap-ai/v4-llms.txt- Use
@docs→ Uniswap to reference the documentation in your chat.
Claude Code
Install the Uniswap AI plugins (see above) for the richest integration. The plugins provide structured skills, expert agents, and protocol-specific tools that go beyond static documentation context.
Where to Go Next
Legal Disclaimer
See the Usage Guidelines for important information about intended use and financial information disclaimers.