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.
If your agent talks to the Trading API directly, send the optional X-Agent-Info attribution header so agent-driven traffic is measured separately from human-driven traffic.
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. |
| uniswap-trading-tools | Automated trading strategies (DCA, index/basket, and copy-trade) for crypto-native tokens and tokenized real-world assets. |
Official skills
These are the official skills currently published in Uniswap AI:
configuratorcopy-tradedca-botdeployerindex-botliquidity-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 configuration
/plugin install uniswap-trading-tools # DCA, index, and copy-trade botsOnce 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).
- llms-full.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/llms.txthttps://developers.uniswap.org/llms-full.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.
FAQ
Is Uniswap AI free and open source?
Yes. Uniswap AI is an open-source collection of plugins and skills published under the MIT license in the Uniswap/uniswap-ai repository on GitHub. There is no cost to install or use the skills, and you can read, fork, and contribute to the source.
Do I need Claude Code to use Uniswap AI skills?
No. The skills are designed for any coding agent and install with the Skills CLI:
npx skills add Uniswap/uniswap-aiClaude Code is one supported option: it adds a plugin marketplace that bundles the skills with expert agents and protocol-specific tools, but it is not required.
Do Uniswap AI skills run in production?
No. Skills are build-time workflows that guide your coding agent while you write integration code. They are instructions and references loaded into the agent, not a runtime service that ships inside your deployed application. The code your agent produces with a skill is what runs in production. See Uniswap Skills for how skills activate.
How are skills different from the llms.txt context files?
Both give an AI model Uniswap knowledge, but at different levels of structure:
llms.txtandllms-full.txtare raw documentation context you add to a model's context window. See LLM Context Files.- Skills are structured, task-scoped workflows with step-by-step instructions and references that a coding agent activates directly or by matching your prompt.
Use the context files when you want plain documentation grounding, and use skills when you want guided, protocol-specific workflows.
Which skills are available and how do I install them?
Uniswap AI publishes skills such as swap-integration, v4-security-foundations, and liquidity-planner. See the Uniswap/uniswap-ai repository for the full, current list. Install them with the Skills CLI:
npx skills add Uniswap/uniswap-aiAlternatively, add the Claude Code marketplace to install plugins individually.
Where to Go Next
Legal Disclaimer
See the Usage Guidelines for important information about intended use and financial information disclaimers.