agentkit
БесплатноБез исполняемых скриптовНе проверенCoinbase AgentKit - Toolkit for enabling AI agents with crypto wallets and onchain capabilities. Use for building autonomous agents that can execute…
от diegosouzapw★ 68 звёзд на GitHubОб этом скилле
Coinbase AgentKit Skill
AgentKit is Coinbase Developer Platform's toolkit that enables AI agents to interact with blockchain networks through secure wallet management and comprehensive onchain capabilities. Built on the Coinbase Developer Platform (CDP) SDK, it provides everything needed to create autonomous agents that can perform sophisticated blockchain operations.
Core Mission: "Every AI agent deserves a wallet."
Repository Stats: 1,000+ GitHub stars | 590 forks | 90+ contributors | 578 dependent projects
When to Use This Skill
This skill should be triggered when:
- Building AI agents with crypto wallet capabilities
- Creating autonomous agents that need to execute blockchain transactions
- Implementing token transfers, swaps, or DeFi operations in AI agents
- Deploying smart contracts or NFTs through AI agents
- Integrating LangChain, Vercel AI SDK, MCP, or OpenAI Agents SDK with blockchain functionality
- Building chatbots that can perform onchain actions
- Setting up agents with Coinbase CDP wallet infrastructure
- Creating multi-chain agents (EVM + Solana)
- Implementing gasless transactions with Smart Wallets
- Integrating x402 payment capabilities with AI agents
- Using Pydantic AI or Strands Agents with blockchain features
Quick Reference
Installation
TypeScript (Node.js 22+):
# Quick start with CLI
npm create onchain-agent@latest
cd onchain-agent
mv .env.local .env
npm install
npm run dev
Python (3.10+):
# Quick start with CLI
pipx run create-onchain-agent
cd onchain-agent
mv .env.local .env
poetry install
poetry run python chatbot.py
Framework-Specific Packages:
# Core package
npm install @coinbase/agentkit
# LangChain integration
npm install @coinbase/agentkit @coinbase/agentkit-langchain
# Vercel AI SDK integration
npm install @coinbase/agentkit-vercel-ai-sdk @coinbase/agentkit ai @ai-sdk/openai
# MCP integration
npm install @coinbase/agentkit @coinbase/agentkit-model-context-protocol
# Nightly builds (bleeding edge)
npm install @coinbase/agentkit@nightly
Python Packages:
# Core package (v0.7.4+)
pip install coinbase-agentkit
# LangChain integration
pip install coinbase-agentkit-langchain
# OpenAI Agents SDK integration
pip install coinbase-agentkit-openai-agents-sdk
# Pydantic AI integration
pip install coinbase-agentkit-pydantic-ai
# Strands Agents integration
pip install coinbase-agentkit-strands
# Nightly builds
pip install --pre coinbase-agentkit
Environment Setup
# Required
CDP_API_KEY_NAME=your_api_key_name
CDP_API_KEY_PRIVATE_KEY=your_private_key
OPENAI_API_KEY=your_openai_key
# Optional
NETWORK_ID=base-sepolia # or base-mainnet, ethereum-mainnet, solana-devnet
Basic Agent Setup (TypeScript)
import { AgentKit, CdpWalletProvider } from "@coinbase/agentkit";
import { getLangChainTools } from "@coinbase/agentkit-langchain";
import { ChatOpenAI } from "@langchain/openai";
import { createReactAgent } from "@langchain/langgraph/prebuilt";
// Initialize wallet provider
const walletProvider = await CdpWalletProvider.configureWithWallet({
networkId: "base-sepolia",
});
// Create AgentKit instance
const agentKit = await AgentKit.from({
walletProvider,
actionProviders: [
cdpApiActionProvider,
erc20ActionProvider,
walletActionProvider,
],
});
// Get tools for LangChain
const tools = await getLangChainTools(agentKit);
// Create agent
const llm = new ChatOpenAI({ model: "gpt-4o" });
const agent = createReactAgent({ llm, tools });
// Execute
const result = await agent.invoke({
messages: [{ role: "user", content: "What's my wallet address?" }],
});
Basic Agent Setup (Python)
from coinbase_agentkit import AgentKit, CdpWalletProvider
from coinbase_agentkit_langchain import get_langchain_tools
from langchain_openai import ChatOpenAI
from langgraph.prebuilt import create_react_agent
# Initialize wallet provider
wallet_provider = CdpWalletProvider.configure_with_wallet(
network_id="base-sepolia"
)
# Create AgentKit instance
agent_kit = AgentKit.from_config(wallet_provider=wallet_provider)
# Get tools for LangChain
tools = get_langchain_tools(agent_kit)
# Create agent
llm = ChatOpenAI(model="gpt-4o")
agent = create_react_agent(llm, tools)
# Execute
result = agent.invoke({
"messages": [{"role": "user", "content": "What's my wallet balance?"}]
})
Package Reference
| Package | Purpose |
|---|---|
@coinbase/agentkit |
Core SDK with wallet providers and action providers (50+ actions) |
@coinbase/agentkit-langchain |
LangChain framework integration |
@coinbase/agentkit-vercel-ai-sdk |
Vercel AI SDK integration |
@coinbase/agentkit-model-context-protocol |
MCP server integration |
coinbase-agentkit |
Python core SDK (v0.7.4, 30+ actions) |
coinbase-agentkit-langchain |
Python LangChain integration |
coinbase-agentkit-openai-agents-sdk |
OpenAI Agents SDK integratio |
Установить agentkit в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл agentkit?
Coinbase AgentKit - Toolkit for enabling AI agents with crypto wallets and onchain capabilities. Use for building autonomous agents that can execute transfers, swaps, DeFi operations, NFT minting, smart contract deployment, and gasless transactions via Smart Wallets.
Как установить скилл agentkit?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл agentkit запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
theme-factory
Toolkit for styling artifacts with a theme. These artifacts can be slides, docs, reportings, HTML landing pages, etc. There are 10 pre-set themes with…
от Anthropicaccess
Manage Discord channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropicconfigure
Set up the Discord channel — save the bot token and review access policy. Use when the user pastes a Discord bot token, asks to configure Discord, asks "how…
от Anthropicaccess
Manage iMessage channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropic