A bank account for AI agents. Give your AI agent its own wallet with spending controls — no credit card required. Built with Claude Code for the Cerebral Valley 'Built with Opus 4.6' hackathon.
scuttlepay is an early-stage TypeScript project in the AI payments / x402 ecosystem, focused on ai-agents, anthropic, cerebral-valley, claude-code. It currently has 5 GitHub stars and 2 forks, and sits alongside related tools like agentstore, ag402, ag402, x402-sdk, ClawRouter, solcex-autonomous-vanguard.

ScuttlePay lets AI agents buy things online - no humans (or credit cards) required.
For merchants: Allow AI agents to discover and purchase products from your store.
For agents: Browse items and buy products - without a human in the loop!

┌─────────────┐ REST API ┌──────────────────────────────────────────────┐
│ AI Agent │◄────(sk_* key)───►│ ScuttlePay │
│ (Claude) │ │ │
└─────────────┘ │ ┌──────────┐ ┌──────────┐ ┌───────────┐ │
│ │ Spending │ │ Wallet │ │ Payment │ │
│ │ Policies │ │ Service │ │ Service │ │
│ └────┬─────┘ └────┬──────┘ └─────┬─────┘ │
│ │ │ │ │
│ ▼ ▼ ▼ │
│ ┌─────────┐ ┌──────────┐ ┌───────────┐ │
│ │ Postgres │ │ thirdweb │ │ Stripe │ │
│ │ │ │ Engine │ │ x402 │ │
│ └──────────┘ └────┬─────┘ └─────┬─────┘ │
└─────────────────────┼──────────────┼────────┘
│ │
▼ ▼
┌─────────┐ ┌───────────┐
│ Base │ │ Shopify │
│ (USDC) │ │ Admin │
└─────────┘ └───────────┘
ScuttlePay is a Next.js 15 app backed by PostgreSQL, thirdweb Engine for wallet management, and Stripe x402 for settlement. Agents authenticate with API keys (sk_*) and interact through a REST API — no MCP server or separate process needed.
When a user signs up, ScuttlePay creates a server-side wallet on Base via thirdweb Engine. The user funds it with USDC, then creates API keys from the dashboard — each key is bound to a spending policy with per-transaction and daily limits (in USDC). The raw key is shown once; only a SHA-256 hash is stored.
When an agent calls POST /api/mcp/purchase:
SERIALIZABLE transaction:PENDING transaction rowPAID with the blockchain tx hash as payment proof. This step is non-fatal — if Shopify is down, the agent's payment still settles.All USDC math uses bigint arithmetic (never floating point) to preserve 6-decimal precision.
Merchants install the Shopify app, which stores their Storefront API token (for product browsing) and Admin API token (for order creation). They connect a Stripe account to receive settlement payouts. The merchant dashboard shows orders placed by agents and sales stats.
| Method | Endpoint | Purpose |
|---|---|---|
GET |
/api/mcp/wallet |
Balance and wallet info |
GET |
/api/mcp/merchants |
List available stores |
GET |
/api/mcp/products |
Search or get product details |
POST |
/api/mcp/purchase |
Execute a purchase |
GET |
/api/mcp/transactions |
Transaction history |
| Layer | Tech |
|---|---|
| Frontend | Next.js 15 (App Router), React 19, Tailwind 4, shadcn/ui |
| API | tRPC 11 + TanStack Query 5, Next.js route handlers |
| Database | PostgreSQL (Drizzle ORM) |
| Wallets | thirdweb Engine (server-side wallets on Base) |
| Payments | Stripe x402 crypto mode (USDC on Base) |
| Validation | Zod (shared schemas in packages/shared) |
| Auth | thirdweb wallet signatures (JWT) + API keys |
Two environment variables are required:
| Variable | Description |
|---|---|
SCUTTLEPAY_API_KEY |
Your API key (starts with sk_) — get it from the dashboard |
SCUTTLEPAY_API_URL |
ScuttlePay instance URL (e.g. https://scuttlepay.com) |
The plugin instructs Claude to always confirm purchases with you before executing. Your agent will show the product, price, and merchant before spending any USDC.
Spending limits (per-transaction and daily) are configured when you create your API key in the dashboard. Limits are enforced server-side inside a serializable database transaction — agents cannot circumvent them.
MIT — see LICENSE
Open-source marketplace for Claude Code plugins. Publish in 2 HTTP requests, earn 80% in USDC. Install: /plugin marketplace add techgangboss/agentstore
Zero latency! Zero code change! Empower your AI agent with payment ability via x402 protocol! (Openclaw, Claude code, Cursor, Langchain, CrewAI, AutoGen...)
Provide a secure payment layer that enables AI agents to handle transactions autonomously with no setup or coding required.
x402 SDK for AI agent payments - Base & Solana USDC micropayments
The agent-native LLM router for autonomous agents. 55+ models (8 free), <1ms local routing, USDC payments on Base & Solana via x402.
Autonomous AI BD Agent for SolCex Exchange: 24/7 Cross-Chain Token Scoring & Payments 2026
The living ecosystem where AI agents complete tasks through workflow loops, improve through iterative execution, are evaluated by mentor agents or humans in the loop, and turn completed work into reusable work experience and data to improve future agents.
The living ecosystem where AI agents complete tasks through workflow loops, improve through iterative execution, are evaluated by mentor agents or humans in the loop, and turn completed work into reusable work experience and data to improve future agents.
The trust layer for agent-to-agent commerce — natural-language mandates, ERC-7710 delegated permissions, x402 payments, escrow, and dispute resolution as one open, catch-all Agent Skill / Claude Code plugin.
Open Source AI trading agent that operates autonomously across 1000+ markets - Polymarket, Kalshi, Binance, Hyperliquid, Solana DEXs, 5 EVM chains. Scans for edge, executes instantly, manages risk while you sleep. Agent commerce protocol for machine-to-machine payments. Self-hosted. Built on Claude.
Live data for AI agents — search, research, markets, crypto, X/Twitter. Pay-per-call via x402 micropayments.
Open-source MCP servers for Latin American commerce — Pix, NF-e, banking, fiscal, logistics, and messaging across Brazil, Mexico, Argentina, Colombia, Chile, and Peru. MIT, on npm.