Deep Dive: Coinbase AgentKit & Crossmint Agentic Checkout
Deep Dive: Coinbase AgentKit & Crossmint Agentic Checkout
Research Date: 2026-02-15
Purpose: Product testing report for agent commerce infrastructure
Table of Contents
- Coinbase AgentKit (CDP AgentKit)
- Crossmint Agentic Checkout
- Head-to-Head Comparison
- Recommendations for Our Setup
1. Coinbase AgentKit (CDP AgentKit)
1.1 Architecture — How It Works
AgentKit is a modular, open-source toolkit from Coinbase Developer Platform (CDP) that gives AI agents crypto wallets and onchain interaction capabilities. It follows a three-layer architecture:
Core Components:
-
AgentKit Core (
@coinbase/agentkit/coinbase-agentkit)- Common interfaces for Action Providers and Wallet Providers
- Configuration layer for API keys and env vars
- Shared logic for wallet interactions
-
Wallet Providers (pluggable — choose one):
- CDP Smart Wallets — Account abstraction via Coinbase SDK (ERC-4337 smart accounts)
- CDP Server Wallets — Secure server-side wallet management via Coinbase
- Viem — Local private key management (use YOUR OWN existing wallet)
- Privy Server Wallets — Managed custody via Privy
- Privy Delegated Embedded Wallets — Client-side with delegation
-
Action Providers (50+ in TypeScript, 30+ in Python):
- Grouped into logical namespaces (DeFi, social, etc.)
- Each action has: Name, Input Schema, and Execution Method
- Protocols supported: Alchemy, Compound, DeFi Llama, Farcaster, Jupiter (Solana), Hyperbolic, Moonwell, Morpho, Pyth, OpenSea, Superfluid, Zora, Allora
-
Framework Extensions (adapt core to AI frameworks):
- LangChain (Python + TypeScript)
- Vercel AI SDK (TypeScript)
- Model Context Protocol / MCP (TypeScript)
- OpenAI Agents SDK (Python)
- Pydantic AI (Python)
- Strands Agents (Python)
- Also works with Eliza OS
Design Philosophy:
- Wallet-agnostic — swap wallet providers without changing action code
- Framework-agnostic — works with any AI framework
- Model-agnostic — works with any LLM (OpenAI, Anthropic, etc.)
1.2 Onboarding Process
Quick Start (Node.js):
npm create onchain-agent@latest # Interactive CLI setup
cd onchain-agent
mv .env.local .env # Fill in API keys
npm install
npm run dev # Visit localhost:3000
Quick Start (Python):
pipx run create-onchain-agent # Interactive CLI setup
cd onchain-agent
mv .env.local .env # Fill in API keys
poetry install
poetry run python chatbot.py # Interactive chatbot
Prerequisites:
- CDP Secret API Key — from Coinbase Developer Platform console
- OpenAI API Key (or other LLM provider)
- Node.js 18+ or Python 3.10+
CLI Setup Wizard asks for:
- AI Framework choice (LangChain, Vercel AI SDK, MCP, OpenAI Agents SDK)
- Project template (NextJS fullstack app or MCP server)
- Blockchain network (Base, EVM, Solana, custom chain ID)
- Wallet provider (CDP Smart, CDP Server, Viem, Privy)
1.3 Identity Model
- API Key authentication — CDP uses Ed25519 JWT tokens signed with your CDP Secret API Key
- No ERC-8004 or DID — identity is tied to CDP API keys
- Wallet identity = onchain address generated by chosen wallet provider
- CDP Smart Wallets use ERC-4337 account abstraction (smart contract wallets with owner accounts)
- Viem provider — uses standard EOA (Externally Owned Account) with private key
Authentication Flow:
- JWT with EdDSA algorithm,
kid= key ID,iss= "cdp" - Audience:
cdp_service - Token lifetime: 120 seconds
- URI scoping: bound to specific HTTP method + host + path
1.4 Agent Capabilities
Onchain Actions (50+ TypeScript, 30+ Python):
- Transfers: Native token transfers, ERC-20 token transfers
- DeFi: Token swaps (via Jupiter on Solana, DEXes on EVM), liquidity provision
- NFTs: Mint, deploy, trade via OpenSea, Zora
- Smart Contracts: Deploy, interact with arbitrary contracts
- Social: Post to Farcaster, Twitter/X integration
- Data: Pyth price feeds, DeFi Llama data, Allora predictions
- Tokens: Deploy ERC-20/ERC-721 tokens
- Staking: Via Compound, Moonwell, Morpho
- Streaming: Superfluid payment streams
- Faucet: Testnet ETH funding (Sepolia)
Custom Actions:
agentkit generate action-provider # Generate custom action provider
agentkit generate wallet-provider # Generate custom wallet provider
1.5 Financial Controls
- CDP Smart Wallets: Support paymaster URLs for gasless transactions (sponsored gas)
- Gas multipliers: Configurable
gasLimitMultiplierandfeePerGasMultiplieron Viem provider - No built-in spending limits — the agent can spend whatever is in the wallet
- No built-in approval workflows — transactions are executed directly
- Smart wallet paymasters can be configured to limit gas sponsorship
⚠️ Risk Note:
AgentKit provides NO built-in financial guardrails. The legal disclaimer states: "The risk of loss through use of the software can be substantial, and you assume any and all risks of loss and liability." You must implement your own spending controls.
1.6 Supported Payment Rails and Chains
Networks:
- EVM: Base, Base Sepolia, Ethereum, Ethereum Sepolia, Polygon, Arbitrum, Optimism
- Solana: Full SVM support
- Any EVM-compatible network via custom chain ID (Viem provider)
Payment Rails:
- Fee-free stablecoin payments (highlighted as key feature)
- Native token transfers
- ERC-20 token transfers
- No fiat on/off-ramp built in (use Coinbase exchange separately)
- x402 protocol support (HTTP-native payments using USDC on Base)
1.7 Pricing/Fees
- AgentKit SDK: Free, open-source (Apache-2.0 license)
- CDP API Keys: Free tier available (specific limits not published)
- CDP Smart Wallets: Pricing likely follows CDP platform tiers
- Network gas fees: Standard blockchain gas (paid by agent wallet or paymaster)
- No protocol fees for x402 payments (just nominal gas)
- x402 stats: 75.4M transactions, $24.2M volume, 94K buyers, 22K sellers
1.8 Current Status
- Production-ready with caveats (experimental disclaimer in legal)
- Active development — nightly builds available
- GitHub: 1.1K stars, 627 forks, 51 open issues, 72 PRs
- npm:
@coinbase/agentkitpublished and actively maintained - PyPI:
coinbase-agentkitpublished - Community: Active Discord, welcomes contributions (see WISHLIST.md)
1.9 SDK/API Availability
| Platform | Package | Status |
|---|---|---|
| TypeScript | @coinbase/agentkit | ✅ Published |
| TypeScript | @coinbase/agentkit-langchain | ✅ Published |
| TypeScript | @coinbase/agentkit-vercel-ai-sdk | ✅ Published |
| TypeScript | @coinbase/agentkit-model-context-protocol | ✅ Published |
| Python | coinbase-agentkit | ✅ Published |
| Python | coinbase-agentkit-langchain | ✅ Published |
| Python | coinbase-agentkit-openai-agents-sdk | ✅ Published |
| Python | coinbase-agentkit-strands-agents | ✅ Published |
| CLI | create-onchain-agent | ✅ Both npm + pipx |
1.10 Advantages and Disadvantages
✅ Advantages:
- Truly open-source (Apache-2.0) — full source on GitHub
- Multi-framework support — LangChain, Vercel AI, MCP, OpenAI Agents, etc.
- Viem wallet provider allows using EXISTING wallets (private key import)
- Multi-chain — EVM + Solana in one toolkit
- 50+ built-in actions — DeFi, NFTs, social, streaming, oracles
- x402 protocol — zero-fee HTTP-native payments
- Active community — large contributor base, nightly builds
- Account abstraction — CDP Smart Wallets with paymaster support
- Great developer experience — CLI scaffolding, code generators
- Coinbase backing — institutional credibility
❌ Disadvantages:
- No built-in financial controls — no spending limits, no approval workflows
- Requires CDP API key even for basic operations (vendor dependency)
- Experimental/AS-IS — explicit legal disclaimer about risk
- No fiat on/off-ramp — purely onchain (need separate Coinbase account for fiat)
- Limited documentation — many doc URLs return 404, docs restructured frequently
- Smart wallet networks limited — CDP Smart Wallets only on Base, Ethereum, Polygon, Arbitrum, Optimism
- No identity standard — just API keys, no DID/VC/ERC-8004
- Agent has full wallet access — security risk if agent is compromised
1.11 ⭐ Can We Connect Our Existing Wallet?
YES — via the Viem Wallet Provider.
The ViemWalletProvider accepts any Viem WalletClient, which can be created from a private key. This means we CAN use our existing wallet at 0x79C2F37AA02C6E786F3bf123B40E397046Bd30F7 on Base.
How it works:
import { createWalletClient, http } from "viem";
import { privateKeyToAccount } from "viem/accounts";
import { base } from "viem/chains";
import { ViemWalletProvider } from "@coinbase/agentkit";
const account = privateKeyToAccount("0xYOUR_PRIVATE_KEY");
const walletClient = createWalletClient({
account,
chain: base,
transport: http(),
});
const walletProvider = new ViemWalletProvider(walletClient);
// walletProvider.getAddress() === "0x79C2F37AA02C6E786F3bf123B40E397046Bd30F7"
Key Details from Source Code:
- Constructor takes a
ViemWalletClient+ optional gas config (rpcUrl,gasLimitMultiplier,feePerGasMultiplier) - Default gas limit multiplier: 1.2x
- Supports:
sign,signMessage,signTypedData,signTransaction,sendTransaction,getBalance,readContract,nativeTransfer - Network auto-detected from the Viem chain config
⚠️ Important:
- Using Viem provider means the private key must be accessible to the agent runtime
- No account abstraction (no paymaster, no gasless txs) — it's a standard EOA
- The agent will have full spending authority over the wallet
- Recommend: Use a dedicated agent wallet with limited funds, not a primary wallet
2. Crossmint Agentic Checkout
2.1 Architecture — How It Works
Crossmint Agentic Checkout is a REST API-based purchasing system that enables AI agents to buy physical and digital goods programmatically, bypassing the anti-bot barriers that block traditional AI purchasing.
Core Architecture:
User → AI Agent → Crossmint Headless Checkout API → Merchant (Amazon/Shopify/etc.)
↓
Crossmint as Merchant of Record
↓
Settlement via smart contract / fiat
How it works:
- User saves payment info once with their AI agent (credit card or crypto wallet)
- Agent receives purchase request ("buy me an electric shaver under $100")
- Agent calls Crossmint Checkout API with product details + payment method
- Crossmint executes the purchase as Merchant of Record — handles CAPTCHAs, anti-fraud, checkout flows
- Product delivered to user; assets/receipts delivered to wallet
Key Innovation:
- Crossmint acts as Merchant of Record — they handle chargebacks, returns, disputes
- Bypasses anti-bot protections because Crossmint has direct merchant relationships
- Agent never touches payment credentials directly
Integration Methods:
- MCP Server —
mcp-crossmint-checkoutfor Claude Desktop, Windsurf, etc. - GOAT SDK Integration — works with GOAT's agent framework
- Direct REST API — headless checkout for full control
- Hosted Checkout — pop-up UI (less relevant for agents)
- Embedded Checkout — embeddable UI components
2.2 Onboarding Process
For AI Agent Integration:
- Sign up at Crossmint Console (free tier)
- Get API key (server-side key for checkout)
- Choose integration method:
- Fastest: Clone the Checkout Telegram Agent repo
- MCP: Use mcp-crossmint-checkout server
- Custom: Integrate REST API directly
Available Quickstarts:
- Fintech Starter App (wallets + onramp)
- Purchase on Amazon using crypto (MCP Server)
- E-Commerce Telegram Bot (AI shopping assistant)
- Headless Checkout (build your own UX)
- Agentic commerce Base mini app
- Paid AI Tools with Autonomous Agent Payments (x402 demo)
2.3 Identity Model
- API Key authentication — server-side Crossmint API keys
- Wallet-based identity — Crossmint smart wallets (non-custodial) linked to email/social
- No ERC-8004 or DID — identity through Crossmint Auth or bring-your-own auth
- Guest checkout — buyers don't need a wallet; Crossmint creates one on-the-fly
- Agent wallets — non-custodial smart wallets with delegated signers
Smart Wallet Features:
- Custodial + non-custodial signers
- Delegated signers for agent autonomy
- Policy engine for programmable controls
- Onchain 2FA
- No vendor lock-in (open source smart wallets)
- AML screening via Elliptic
- Transaction simulation via Blockaid
2.4 Agent Capabilities
What Agents Can Purchase:
- Amazon products — over 1 billion items
- Shopify stores — any Shopify merchant
- Any browser-accessible guest checkout — expanding inventory
- NFTs — digital collectibles, memberships
- Physical goods — via supported merchants
- Memecoins — via checkout flow
- Flights — travel booking use case demonstrated
- Services — via x402 protocol for API payments
Demonstrated Use Cases (Production):
- Telegram shopping bot — conversational commerce
- Flight deal snipers — automated fare monitoring + purchase
- Claude as travel agent — natural language booking
- Voice commerce — ElevenLabs voice + purchasing
- IDE-integrated shopping — buy from Windsurf/Cursor while coding
Wallet Operations:
- Create wallets for agents
- Fund via onramp (fiat → crypto)
- Transfer tokens
- Check balances
- Staking
- Offramp (crypto → fiat)
2.5 Financial Controls
Built-in Controls:
- Crossmint as Merchant of Record — handles chargebacks, returns, disputes
- Smart wallet policy engine — programmable spending rules
- Delegated signers — controlled authority for agents
- Approved spending limits on smart wallets
- Chargeback protection — up to $200/order (free tier), custom limits on paid tier
- AML screening (via Elliptic) on paid tier
- Transaction simulation (via Blockaid) on paid tier
- Spam filter on paid tier
Fee Structure Options:
- Buyer pays fees — customer pays asset price + fees
- Seller pays fees — customer pays exact price, seller absorbs fees
- Configurable per collection in Crossmint Console
2.6 Supported Payment Rails and Chains
Payment Methods:
| Method | NFTs | Physical Goods | Onramp | Memecoins |
|---|---|---|---|---|
| Credit Cards | ✅ | ✅ | ✅ | ✅ |
| Apple/Google Pay | ✅ | ✅ | ✅ | ✅ |
| Stablecoins | ✅ | ✅ | ❌ | ❌ |
| Cross-Chain Crypto | ✅ | ✅ | ❌ | ❌ |
| ACH | (paid tier) | (paid tier) | — | — |
Chains:
- 15+ blockchain networks supported
- Specifically: Ethereum, Base, Polygon, Arbitrum, Optimism, Solana, and more
- Multi-stablecoin: USDC, USDT, PYUSD
- Cross-chain payments — buy on any chain regardless of where asset lives
Settlement:
- Instant settlement with sellers via smart contract
- Assets delivered directly to buyer's wallet
- No intermediation by Crossmint on asset delivery
2.7 Pricing/Fees
Free Tier:
- 1,000 monthly active wallets
- Up to 2,000 transactions
- Unlimited checkout volume
- Hosted checkout
- Fiat and crypto payments
- Basic chargeback protection (up to $200/order)
- Up to $50 gas sponsorship
Paid Tier (Custom pricing):
- Starts at $0.05 per Monthly Active Wallet (MAW) with volume discounts
- Headless and embedded checkout
- Apple Pay, Google Pay, ACH
- Full chargeback protection (custom limits)
- Custom email receipts
- Advanced analytics
- Premium SLAs and rate limits
Checkout Fees:
- Per-transaction fees based on card type, geography, currency, blockchain
- Specific rates not publicly listed — "contact us" for pricing
- Crossmint is merchant of record (absorbs chargeback risk)
- ~95% approval rates (vs industry average ~55%)
Minting:
- Starts at $0.01/action
- Volume discounts available
2.8 Current Status
- Production-ready — battle-tested with millions of transactions
- Used by: MoneyGram, Santander Bank, Red Bull, and 40K+ companies
- Active development — blog posts from 2025 showing new features regularly
- x402 integration — production with 75.4M transactions, $24.2M volume
- SOC2 Type II compliant
- VASP licensed for compliance
- Strategic partnerships: Google (AP2), Visa, Coinbase, Solana
2.9 SDK/API Availability
| Package | Platform | Purpose |
|---|---|---|
@crossmint/wallets-sdk | TypeScript | Universal wallet SDK |
@crossmint/server-sdk | TypeScript | Server-side operations |
@crossmint/client-sdk-react-ui | React | UI components |
@crossmint/client-sdk-react-native-ui | React Native | Mobile UI |
@crossmint/client-sdk-auth | TypeScript | Headless auth |
@crossmint/client-sdk-verifiable-credentials | TypeScript | VCs |
mcp-crossmint-checkout | MCP Server | Claude/AI integration |
| REST API | Any | Headless checkout |
Open Source Repos:
- crossmint-sdk — Main SDK monorepo
- crossmint-checkout-telegram-agent
- mcp-crossmint-checkout
2.10 Advantages and Disadvantages
✅ Advantages:
- 1 billion+ item inventory — Amazon, Shopify, any guest checkout
- Merchant of Record — Crossmint handles chargebacks, returns, compliance
- No anti-bot barriers — direct merchant relationships bypass CAPTCHAs
- ~95% payment approval rate (vs ~55% industry average)
- No KYC for most checkout transactions — frictionless for users
- Smart wallet controls — policy engine, spending limits, delegated signers
- Multi-payment method — cards, crypto, Apple Pay, Google Pay, ACH
- Instant settlement — assets and payments settle instantly
- x402 support — zero-fee HTTP-native agent payments
- Enterprise-grade — SOC2 Type II, VASP, used by Fortune 500
- MCP integration — works with Claude Desktop and AI IDEs out of box
- Proven at scale — millions of transactions processed
❌ Disadvantages:
- Not fully open-source — SDK is open but checkout infrastructure is proprietary
- Pricing opaque — "contact us" for checkout fees; per-transaction costs unclear
- Vendor dependency — heavy reliance on Crossmint as intermediary
- Limited to Crossmint's merchant catalog — can't buy from arbitrary sites (yet)
- No direct smart contract interaction — focused on commerce, not DeFi
- Documentation gaps — many doc URLs return 404, restructured frequently
- Stablecoin/crypto checkout limited — only NFTs and physical goods (no memecoins via stablecoins)
- Amazon US only (based on quickstart descriptions)
- Requires trust in Crossmint — they see all transactions, handle all payments
3. Head-to-Head Comparison
| Feature | Coinbase AgentKit | Crossmint Agentic Checkout |
|---|---|---|
| Primary Focus | Onchain operations (DeFi, NFTs, transfers) | Commerce (buying physical/digital goods) |
| Open Source | ✅ Fully (Apache-2.0) | Partially (SDK open, infra proprietary) |
| Existing Wallet Support | ✅ Via Viem provider | ⚠️ Uses Crossmint wallets |
| Physical Goods | ❌ | ✅ Amazon, Shopify, 1B+ items |
| DeFi/Swaps | ✅ 50+ actions | ❌ |
| NFT Support | ✅ (OpenSea, Zora) | ✅ (checkout-based) |
| Fiat Payments | ❌ | ✅ Credit cards, Apple Pay, Google Pay |
| Spending Controls | ❌ None built-in | ✅ Policy engine, limits, delegated signers |
| Chargeback Protection | N/A (crypto only) | ✅ Crossmint absorbs risk |
| KYC Required | No | No (for most checkouts) |
| Merchant of Record | N/A | ✅ Crossmint |
| x402 Support | ✅ Native | ✅ Via integration |
| MCP Integration | ✅ | ✅ |
| Chains | All EVM + Solana | 15+ chains |
| Node.js Support | ✅ | ✅ |
| Python Support | ✅ | ⚠️ REST API only |
| Enterprise Compliance | ❌ | ✅ SOC2 Type II, VASP |
| Pricing | Free (+ gas) | Free tier + per-tx fees |
4. Recommendations for Our Setup
For Our Wallet (0x79C2F37AA02C6E786F3bf123B40E397046Bd30F7 on Base)
AgentKit:
- CAN connect our existing wallet via Viem Wallet Provider
- Would give our agent DeFi capabilities: swap, transfer, deploy contracts, interact with protocols
- ⚠️ Agent would need our private key — security risk
- Recommendation: Create a dedicated agent sub-wallet, fund with limited amounts, use for DeFi operations
Crossmint:
- Would need to create a new Crossmint smart wallet for the agent
- Fund via onramp from our existing wallet or credit card
- Used specifically for purchasing physical goods / Amazon / services
- Better financial controls via policy engine
Recommended Architecture:
Our Base Wallet (0x79C2...F7)
├── Fund → AgentKit Viem Wallet (small amounts for DeFi)
│ └── Swaps, transfers, NFTs, onchain actions
│
└── Fund → Crossmint Smart Wallet (for commerce)
└── Amazon purchases, Shopify, physical goods
Integration Priority:
- Start with AgentKit — lower barrier, more flexibility, open source
- Add Crossmint for physical goods purchasing when needed
- Both support MCP — could expose both as MCP tools
Source Links
Coinbase AgentKit
- Docs: https://docs.cdp.coinbase.com/agent-kit/welcome
- GitHub: https://github.com/coinbase/agentkit
- Architecture: https://docs.cdp.coinbase.com/agent-kit/core-concepts/architecture-explained
- Quickstart: https://docs.cdp.coinbase.com/agent-kit/getting-started/quickstart
- npm: https://www.npmjs.com/package/@coinbase/agentkit
- Discord: https://discord.com/invite/cdp
- x402 Protocol: https://www.x402.org/
Crossmint Agentic Checkout
- AI Agents Docs: https://docs.crossmint.com/solutions/ai-agents/introduction
- Payments Intro: https://docs.crossmint.com/payments/introduction
- Headless Checkout: https://docs.crossmint.com/payments/headless/overview
- Wallets Overview: https://docs.crossmint.com/wallets/overview
- SDK GitHub: https://github.com/Crossmint/crossmint-sdk
- Telegram Agent: https://github.com/Crossmint/crossmint-checkout-telegram-agent
- MCP Server: https://github.com/Crossmint/mcp-crossmint-checkout
- GOAT + Amazon Example: https://github.com/goat-sdk/goat/tree/main/typescript/examples/by-use-case/solana-purchase-on-amazon
- Pricing: https://www.crossmint.com/pricing
- Quickstarts: https://www.crossmint.com/quickstarts
- Blog - Use Cases: https://blog.crossmint.com/agentic-commerce-use-cases/
- Blog - AI Payments: https://blog.crossmint.com/ai-agent-payments/
- Blog - x402: https://blog.crossmint.com/what-is-x402/