AgentCash
by Merit Systems
One USDC wallet that lets AI agents discover and pay for thousands of APIs, with no API keys
AgentCash, from Merit Systems, is a CLI and MCP server that gives AI coding and research agents a single USDC wallet to discover and pay for thousands of third-party APIs per call over the x402 and MPP payment standards. It targets developers and platform teams who want agents to use premium data without managing API keys, signups or subscriptions.
AgentCash is a command-line tool, agent skill and Model Context Protocol (MCP) server from Merit Systems that lets an AI agent pay for web APIs out of one prefunded stablecoin balance instead of holding a separate API key and subscription for each vendor. When an agent calls a paid endpoint, the provider answers HTTP 402 Payment Required with a price; AgentCash signs a USDC payment from a local wallet and retries the request with proof of payment, all inside one call. It supports two open payment standards, x402 (developed by Coinbase, now managed by the Linux Foundation) and MPP (created by Stripe and Tempo Labs), and picks whichever the provider accepts. Payments default to USDC on Base, with Solana supported and Tempo listed as testnet; keys are generated into ~/.agentcash/ and, per the documentation, stored in plaintext on disk. Discovery reads providers' OpenAPI files annotated with x-payment-info, and the MCP server exposes tools such as fetch, search, discover_api_endpoints and get_balance, with an optional per-call maxAmount cap. Installation is one command (npx agentcash install), and documented clients include Claude Code, Claude Desktop, Cursor and Codex. Merit Systems showed it on Hacker News in March 2026 with 280+ APIs and published a formal launch post on 7 July 2026; the docs now cite 3,200+ APIs and the homepage 1.3M+ paid tool calls. Integrations include Zerion on-chain data at roughly $0.01 per call and Rye checkout across 15,000+ retailers, and sellers can price their own routes with the MIT-licensed agentcash-router framework. Merit Systems raised a $10M seed co-led by a16z crypto and Blockchain Capital in January 2025, originally to build open-source contributor attribution, before pivoting its product line toward agentic commerce.
An AI platform or developer-experience lead piloting agents in Claude Code, Cursor or Codex that need pay-as-you-go access to many third-party data APIs without running a procurement cycle for each vendor.
Agents call thousands of paid APIs from one prefunded USDC balance, paying fractions of a cent to a few cents per request instead of managing a key and subscription per provider.
At a Glance
- Category
- Agent Development
- Pricing
- Usage-based
- Target Market
- CTOs, Enterprise Developers, Platform Engineering Teams, API Product Managers
- Deployment
- API-based, Self-hosted
Key Features
- ✓Single USDC wallet
One local balance (Base by default, Solana supported) pays any x402 or MPP endpoint, removing per-vendor API keys, signups and subscriptions.
- ✓Automatic 402 payment handling
Detects a 402 Payment Required response, signs the payment from the local wallet and retries with proof, so the agent receives a clean response in one call.
- ✓Dual protocol support (x402 and MPP)
Automatically selects Coinbase's x402 or Stripe and Tempo's MPP based on what each provider accepts, with a paymentProtocol parameter to force one.
- ✓MCP server and CLI
npx agentcash install auto-detects clients such as Claude Code and Cursor and exposes fetch, search, discover_api_endpoints and get_balance tools to the agent.
- ✓Endpoint discovery
Reads provider OpenAPI files annotated with x-payment-info, falling back to /.well-known/x402, so agents can find and price APIs before paying.
- ✓Per-call spend cap
The fetch tool's optional maxAmount parameter sets the maximum USD a single request may pay, limiting the damage from an unexpectedly expensive route.
- ✓Wallet-authenticated requests (SIWX)
Sign-In With X lets an agent authenticate to services with its wallet signature rather than a separately provisioned user account or API key.
- ✓AgentCash Router for sellers
An MIT-licensed TypeScript framework, with Hono and Next.js support, for building x402 and MPP-compatible priced APIs that agents can discover and pay.
Capabilities
Use Cases
- •Lead enrichment for GTM agents
A sales-prospecting agent pays per call for people and company enrichment and social-media data routes, avoiding annual data-vendor contracts for a pilot.
- •Research agents buying premium data
An analyst agent pulls Zerion on-chain portfolio data across 38+ chains at roughly $0.01 per call, without signing up for a Zerion API key.
- •Agent-initiated physical purchases
Through Rye's x402 integration an agent creates a checkout intent for $0.02 and places an order for the purchase total plus $0.03 across 15,000+ retailers.
- •Monetising an API to agents
A data provider adds pay-per-call pricing with the open-source router and publishes a discovery spec so agents in Claude, Cursor and Codex can find and pay for it.
- •Travel and email tasks for assistants
A personal or ops agent uses bundled travel-search and agent-email routes, paying per request from the shared balance instead of provisioning separate accounts.
Ideal For
Best For
- ✓Developers giving Claude Code, Cursor or Codex agents access to paid enrichment, search and social-data APIs without per-vendor key management
- ✓Prototyping go-to-market agents that pay per call for people and company enrichment instead of buying annual data subscriptions
- ✓API providers that want to monetise endpoints to AI agents through x402 or MPP pay-per-call pricing
- ✓Teams experimenting with agentic commerce, such as agents placing real retail orders through Rye's x402 checkout
Not Ideal For
- ✗Enterprises that cannot hold USDC or other crypto assets, or that require invoiced, PO-based procurement with a named vendor contract; AgentCash is funded by depositing stablecoins to a wallet
- ✗Security-sensitive environments where plaintext private keys on developer laptops or CI runners would violate key-management policy; the docs state wallet keys are stored unencrypted in ~/.agentcash/
- ✗Organisations that need centrally governed multi-user spend with SSO, team budgets and audit logs; the documentation reviewed covers only a per-call maxAmount cap, not account-level controls
Integrations
Deployment
Market Analysis
Pros
- ✓One prefunded balance replaces separate API keys, signups and subscriptions for thousands of paid endpoints
- ✓Protocol-agnostic across x402 and MPP, with automatic selection per provider
- ✓Very low-friction start: one npx command, documented support for major coding agents, and up to $25 in free credit
- ✓Granular per-call pricing (typically $0.001 to $0.10) suits bursty, exploratory agent workloads better than flat subscriptions
- ✓Open-source MIT router lowers the barrier for providers to list priced endpoints
Cons
- ✗Wallet private keys are stored in plaintext on disk in ~/.agentcash/, and the docs warn that anyone with access to those files can spend the USDC
- ✗Crypto-native funding only: spend requires USDC on Base or Solana, and no invoicing, published take rate or enterprise plan appears in the documentation
- ✗Early reliability issues are on record: a Hacker News user reported credit redemption routing to an empty Solana pool (March 2026), and open GitHub issues report valid EIP-3009 signatures rejected by the StableEnrich provider (#32) and search failing to match exact domain names (#24)
- ✗Governance is thin for enterprise use: the reviewed docs offer a per-call maxAmount cap but no documented team budgets, SSO, approval workflows or audit trail
Pricing
Onboarding credits
$0
- ✓Up to $25 in USDC credit, sized by the onboarding agent
- ✓Invite codes deposit USDC directly to the wallet on Base
- ✓No minimum balance requirement
Pay-per-call
From $0.001 per request
- ✓Provider-set prices, typically $0.001 to $0.10 per request
- ✓Paid in USDC on Base or Solana
- ✓No subscription or seat fee
- ✓Optional per-call maxAmount cap
There is no subscription or seat fee: you prefund a USDC wallet (Base by default, Solana supported) and each call is priced by the provider, typically $0.001 to $0.10 per request per the docs; examples include Zerion at about $0.01 per call and Rye at $0.02 per checkout intent plus $0.03 to place an order, with network fees separate. New users can receive up to $25 in credits. The documentation reviewed does not publish an AgentCash take rate, invoicing option or enterprise plan.
Security & Compliance
Connect
Sources
This page was written from 16 sources, 8 on domains other than agentcash.dev.
- 1.agentcash.dev — agentcash.devvendor
- 2.agentcash.dev — how it works.mdvendor
- 3.agentcash.dev — overview.mdvendor
- 4.agentcash.dev — networks.mdvendor
- 5.agentcash.dev — funding.mdvendor
- 6.agentcash.dev — mcp mode.mdvendor
- 7.agentcash.dev — fetch.mdvendor
- 8.agentcash.dev — introducing agent cashvendor
- 9.hn.algolia.com — 47325628
- 10.cryptobriefing.com — zerion api agentcash stablecoin payments
- 11.rye.com — agentcash x402 agentic commerce
- 12.api.github.com — agentcash router
- 13.api.github.com — issues
- 14.registry.npmjs.org — agentcash
- 15.theblock.co — merit systems raises 10 million in round co led by a16z cryp
- 16.merit.systems — merit.systems
Stay Ahead of the Curve
Weekly enterprise AI insights for technology leaders. No spam, no vendor pitches—unsubscribe anytime.
SubscribeRelated Products
Mastra
Open-source TypeScript framework and platform for building, deploying and observing production AI agents and workflows
Agentrys
Agentic design automation that lets chip teams build and own a self-improving engineering workforce
OpenAI Agents API
The Codex agent harness behind one API call — managed sessions, sandboxes and subagents
Letta
Open-source platform for stateful AI agents with persistent memory, now with a TypeScript Agents SDK for embedding them in your own apps