AI agents discover and use every protocol. Developers get their contracts in front of every agent. One integration.
You need Python 3.10+ and uv.
git clone https://github.com/avapilot/avapilot.git cd avapilot uv pip install -e . avapilot seed
Pick your client. Copy-paste. Restart the app.
# Claude Desktop → claude_desktop_config.json
{
"mcpServers": {
"avapilot": {
"command": "avapilot",
"args": ["gateway", "--mode", "trade", "--chain", "avalanche"]
}
}
}
# OpenClaw / Cursor / Windsurf
command: avapilot
args: gateway --mode trade --chain avalanche
# Claude Desktop → claude_desktop_config.json
{
"mcpServers": {
"avapilot": {
"command": "avapilot",
"args": ["gateway", "--mode", "trade", "--chain", "fuji"]
}
}
}
# OpenClaw / Cursor / Windsurf
command: avapilot
args: gateway --mode trade --chain fuji
"What DeFi protocols are available?" "Swap 1 AVAX for USDC on Trader Joe" "What's the sAVAX staking APR?" "Transfer 2 AVAX to P-Chain and create a subnet" "What's my wallet balance?"
Trader Joe, Pangolin, Pharaoh — quotes, swaps, liquidity.
Aave V3, Benqi — rates, collateral, borrowing.
sAVAX, ggAVAX — stake AVAX, check yields.
Subnets, validators, staking — one message.
Any function on any verified contract.
C-Chain ↔ P-Chain. Bridge via Stargate.
# Read only — can't spend money avapilot gateway --mode read --chain avalanche # Trading — send, swap, wrap, stake, create L1s avapilot gateway --mode trade --chain avalanche # Full — trade + deploy smart contracts avapilot gateway --mode full --chain avalanche
Your key never leaves your machine. All signing is local. We're open source — verify it.
One PR. Every AI agent connected to AvaPilot discovers your contracts. No SDK. No integration work. No maintenance.
avapilot scan 0xYourContractAddress
Shows every callable function, inputs, outputs, read vs write. Exactly what agents will see.
Use our form — it generates everything for you.
Registration form →Or add to avapilot/registry/seed.py manually:
{
"name": "Your Protocol",
"contracts": [
{"address": "0xRouter...", "label": "router"},
{"address": "0xFactory...", "label": "factory"},
{"address": "0xStaking...", "label": "staking"},
],
"description": "One line description",
"category": "DeFi",
"website": "https://yourprotocol.com",
}
Multi-contract supported. Router, factory, vaults — all under one service. ABI auto-fetched, proxies detected.
We review, merge. Every AvaPilot user gets your protocol on next avapilot seed.
Agent: "What can I do on Avalanche?" → search_services() # 18 protocols Agent: "I want to swap on Trader Joe" → service_functions("Trader Joe") # 60 functions, 3 contracts Agent: "Swap 1 AVAX for USDC" → call_service("Trader Joe", "getAmountsOut", ...) # quote → send_service_tx("Trader Joe", "swapExact...", ...) # execute
Pull from Snowtrace. Detect proxies. You just provide addresses.
Router + factory + vaults — one service name.
Claude, Cursor, OpenClaw, Windsurf — everywhere.
Once merged, works forever. No SDK updates.