← Back to Social Reports

Deep Dive: Coinbase AgentKit & Crossmint Agentic Checkout

2026-02-15

Deep Dive: Coinbase AgentKit & Crossmint Agentic Checkout

Research Date: 2026-02-15
Purpose: Product testing report for agent commerce infrastructure


Table of Contents

  1. Coinbase AgentKit (CDP AgentKit)
  2. Crossmint Agentic Checkout
  3. Head-to-Head Comparison
  4. 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:

  1. 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
  2. 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
  3. 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
  4. 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:

  1. AI Framework choice (LangChain, Vercel AI SDK, MCP, OpenAI Agents SDK)
  2. Project template (NextJS fullstack app or MCP server)
  3. Blockchain network (Base, EVM, Solana, custom chain ID)
  4. 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 gasLimitMultiplier and feePerGasMultiplier on 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/agentkit published and actively maintained
  • PyPI: coinbase-agentkit published
  • Community: Active Discord, welcomes contributions (see WISHLIST.md)

1.9 SDK/API Availability

PlatformPackageStatus
TypeScript@coinbase/agentkit✅ Published
TypeScript@coinbase/agentkit-langchain✅ Published
TypeScript@coinbase/agentkit-vercel-ai-sdk✅ Published
TypeScript@coinbase/agentkit-model-context-protocol✅ Published
Pythoncoinbase-agentkit✅ Published
Pythoncoinbase-agentkit-langchain✅ Published
Pythoncoinbase-agentkit-openai-agents-sdk✅ Published
Pythoncoinbase-agentkit-strands-agents✅ Published
CLIcreate-onchain-agent✅ Both npm + pipx

1.10 Advantages and Disadvantages

✅ Advantages:

  1. Truly open-source (Apache-2.0) — full source on GitHub
  2. Multi-framework support — LangChain, Vercel AI, MCP, OpenAI Agents, etc.
  3. Viem wallet provider allows using EXISTING wallets (private key import)
  4. Multi-chain — EVM + Solana in one toolkit
  5. 50+ built-in actions — DeFi, NFTs, social, streaming, oracles
  6. x402 protocol — zero-fee HTTP-native payments
  7. Active community — large contributor base, nightly builds
  8. Account abstraction — CDP Smart Wallets with paymaster support
  9. Great developer experience — CLI scaffolding, code generators
  10. Coinbase backing — institutional credibility

❌ Disadvantages:

  1. No built-in financial controls — no spending limits, no approval workflows
  2. Requires CDP API key even for basic operations (vendor dependency)
  3. Experimental/AS-IS — explicit legal disclaimer about risk
  4. No fiat on/off-ramp — purely onchain (need separate Coinbase account for fiat)
  5. Limited documentation — many doc URLs return 404, docs restructured frequently
  6. Smart wallet networks limited — CDP Smart Wallets only on Base, Ethereum, Polygon, Arbitrum, Optimism
  7. No identity standard — just API keys, no DID/VC/ERC-8004
  8. 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:

  1. User saves payment info once with their AI agent (credit card or crypto wallet)
  2. Agent receives purchase request ("buy me an electric shaver under $100")
  3. Agent calls Crossmint Checkout API with product details + payment method
  4. Crossmint executes the purchase as Merchant of Record — handles CAPTCHAs, anti-fraud, checkout flows
  5. 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:

  1. MCP Servermcp-crossmint-checkout for Claude Desktop, Windsurf, etc.
  2. GOAT SDK Integration — works with GOAT's agent framework
  3. Direct REST API — headless checkout for full control
  4. Hosted Checkout — pop-up UI (less relevant for agents)
  5. Embedded Checkout — embeddable UI components

2.2 Onboarding Process

For AI Agent Integration:

  1. Sign up at Crossmint Console (free tier)
  2. Get API key (server-side key for checkout)
  3. Choose integration method:

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):

  1. Telegram shopping bot — conversational commerce
  2. Flight deal snipers — automated fare monitoring + purchase
  3. Claude as travel agent — natural language booking
  4. Voice commerce — ElevenLabs voice + purchasing
  5. 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:

MethodNFTsPhysical GoodsOnrampMemecoins
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

PackagePlatformPurpose
@crossmint/wallets-sdkTypeScriptUniversal wallet SDK
@crossmint/server-sdkTypeScriptServer-side operations
@crossmint/client-sdk-react-uiReactUI components
@crossmint/client-sdk-react-native-uiReact NativeMobile UI
@crossmint/client-sdk-authTypeScriptHeadless auth
@crossmint/client-sdk-verifiable-credentialsTypeScriptVCs
mcp-crossmint-checkoutMCP ServerClaude/AI integration
REST APIAnyHeadless checkout

Open Source Repos:

2.10 Advantages and Disadvantages

✅ Advantages:

  1. 1 billion+ item inventory — Amazon, Shopify, any guest checkout
  2. Merchant of Record — Crossmint handles chargebacks, returns, compliance
  3. No anti-bot barriers — direct merchant relationships bypass CAPTCHAs
  4. ~95% payment approval rate (vs ~55% industry average)
  5. No KYC for most checkout transactions — frictionless for users
  6. Smart wallet controls — policy engine, spending limits, delegated signers
  7. Multi-payment method — cards, crypto, Apple Pay, Google Pay, ACH
  8. Instant settlement — assets and payments settle instantly
  9. x402 support — zero-fee HTTP-native agent payments
  10. Enterprise-grade — SOC2 Type II, VASP, used by Fortune 500
  11. MCP integration — works with Claude Desktop and AI IDEs out of box
  12. Proven at scale — millions of transactions processed

❌ Disadvantages:

  1. Not fully open-source — SDK is open but checkout infrastructure is proprietary
  2. Pricing opaque — "contact us" for checkout fees; per-transaction costs unclear
  3. Vendor dependency — heavy reliance on Crossmint as intermediary
  4. Limited to Crossmint's merchant catalog — can't buy from arbitrary sites (yet)
  5. No direct smart contract interaction — focused on commerce, not DeFi
  6. Documentation gaps — many doc URLs return 404, restructured frequently
  7. Stablecoin/crypto checkout limited — only NFTs and physical goods (no memecoins via stablecoins)
  8. Amazon US only (based on quickstart descriptions)
  9. Requires trust in Crossmint — they see all transactions, handle all payments

3. Head-to-Head Comparison

FeatureCoinbase AgentKitCrossmint Agentic Checkout
Primary FocusOnchain 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 ProtectionN/A (crypto only)✅ Crossmint absorbs risk
KYC RequiredNoNo (for most checkouts)
Merchant of RecordN/A✅ Crossmint
x402 Support✅ Native✅ Via integration
MCP Integration
ChainsAll EVM + Solana15+ chains
Node.js Support
Python Support⚠️ REST API only
Enterprise Compliance✅ SOC2 Type II, VASP
PricingFree (+ 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:

  1. Start with AgentKit — lower barrier, more flexibility, open source
  2. Add Crossmint for physical goods purchasing when needed
  3. Both support MCP — could expose both as MCP tools

Source Links

Coinbase AgentKit

Crossmint Agentic Checkout