https://github.com/0xProject/0x-ai
Official 0x AI tooling repository
https://github.com/0xProject/0x-ai
Last synced: 15 days ago
JSON representation
Official 0x AI tooling repository
- Host: GitHub
- URL: https://github.com/0xProject/0x-ai
- Owner: 0xProject
- License: mit
- Created: 2026-04-03T21:13:11.000Z (3 months ago)
- Default Branch: main
- Last Pushed: 2026-06-19T05:07:45.000Z (15 days ago)
- Last Synced: 2026-06-19T07:11:18.204Z (15 days ago)
- Size: 54.7 KB
- Stars: 2
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-crypto-skills - 0x Agent Skills: 0x-api - Token swaps using 0x Swap and Gasless APIs on any EVM chain (Trading & DeFi)
README
# 0x AI
Official [0x](https://docs.0x.org/home/home) AI tools for developers building token swaps and DeFi integrations.
## Quick Start
```bash
npx skills add 0xProject/0x-ai
```
Works with Claude Code, Cursor, GitHub Copilot, and other AI coding agents.
## Skills
### 0x-api
Step-by-step guide for executing token swaps using the 0x API (Swap API v2 and Gasless API v2).
**Use this skill when you want to:**
- Swap tokens on all [supported EVM chains](https://docs.0x.org/docs/introduction/supported-chains)
- Do a gasless swap without holding ETH for gas
- Integrate 0x into a dApp in TypeScript or Python
- Use 0x with a Gnosis Safe or multisig wallet
- Migrate from 0x Swap v1 to v2
- Debug 0x API errors
**Supported flows:**
- AllowanceHolder: recommended — simple approve + send tx, works with multisigs
- Permit2: advanced — time-limited approvals, EIP-712 signing
- Gasless API: no native token (e.g., ETH) needed, fee deducted from sell tokens
## MCP Server
The 0x MCP server gives your AI agent live access to 0x documentation and API references — so it can look up the latest endpoints, parameters, and code examples without relying on training data.
**Endpoint:** `https://docs.0x.org/_mcp/server`
Automatically configured when you install via `npx skills add 0xProject/0x-ai`. To add it manually:
```json
{
"mcpServers": {
"0x-mcp": {
"type": "url",
"url": "https://docs.0x.org/_mcp/server"
}
}
}
```
## Usage (after install)
Once installed, invoke in any session:
```
/0x-api
```
## Getting a 0x API Key
Sign up at https://dashboard.0x.org/create-account