Deploying Agentic Wallets: Step-by-Step Integration
Deployment takes under 2 minutes using Coinbase's command-line tools.
Step 1: Install the CLI (30 seconds)
Install the Coinbase Developer Platform CLI via npm, pip, or direct download:
npm install -g @coinbase/cdp-cli
The CLI is a standalone tool requiring no external dependencies beyond Node.js or Python runtime.
Step 2: Authenticate Your Agent (30 seconds)
Create an agent identity secured by email verification:
cdp agent create
Provide an email address for your agent. Coinbase sends a one-time password (OTP) to that email. Enter the OTP to complete authentication. This creates a unique agent identity with a wallet address.
Step 3: Fund the Wallet (30 seconds)
Transfer USDC to your agent's wallet address using any standard crypto wallet. The agent wallet address is displayed after authentication. Minimum funding amounts vary by use case but typically start at $10 equivalent in USDC.
Step 4: Deploy Skills (30 seconds)
Activate the pre-built financial operation skills your agent will use:
cdp skills deploy --skills=trade,earn,send
The agent-wallet-skills repository provides additional custom skills you can deploy.
Total deployment time: Under 2 minutes from installation to operational funded wallet.
Framework Integration Patterns
LangChain Integration:
Import Coinbase skills as tools in your LangChain agent definition. The agent can then call wallet functions (send, trade, earn) as part of its reasoning and action loop.
from langchain.agents import initialize_agent
from coinbase_cdp import wallet_tools
agent = initialize_agent(
tools=wallet_tools,
llm=llm,
agent="zero-shot-react-description"
)
OpenAI Function Calling:
Define wallet operations as functions in your OpenAI API requests. The model can decide when to invoke wallet capabilities based on user prompts.
functions = [
{
"name": "send_payment",
"description": "Send USDC to an address",
"parameters": {
"type": "object",
"properties": {
"amount": {"type": "number"},
"address": {"type": "string"}
}
}
}
]
Model Context Protocol (MCP):
Claude and other models access wallets through standardized MCP interfaces. Enable the Coinbase MCP server in your Claude desktop app settings.
Custom Frameworks:
Use the CDP API directly via REST endpoints:
curl -X POST https://api.coinbase.com/v1/agent/wallet/send \
-H "Authorization: Bearer YOUR_API_KEY" \
-d '{"amount": "10", "currency": "USDC", "to": "0x..."}'
Unified Management
The CDP Portal dashboard provides unified management regardless of underlying AI framework. You set permissions, monitor spending, and review transactions through the same interface whether your agent runs on LangChain, uses OpenAI function calling, or implements a custom framework.