Menu

Explorer & Settings

Tempo Explorer Submit Project
\ud83d\udc5b AI Agent Wallet

Give Your AI Agent
A Wallet That Works

Modern AI agents need to pay for tools, data, and compute \u2014 without asking a human every time. Set spending limits, fund with USDC, and let your agent operate 24/7.

Browse Agent Projects → Monetize MCP Server
Diagram of an AI agent wallet funded with USDC and a spending limit, paying autonomously for tools and MCP servers, paid APIs and data, and compute and inference 24/7 without asking a human for each transaction
\u274c Without Agent Wallet
  • • Human approves every API wayment
  • • Can't run unsupervised overnight
  • • Shared API keys = no usage tracking
  • • $0.30 minimum kills micropayments
  • • Manual top-ups break automation
\u2705 With Agent Wallet + x402
  • • Agent pays autonomously per-call
  • • Runs 24/7 within spending budget
  • • Per-agent wallet = full audit trail
  • • $0.001 micropayments supported
  • • Auto-refill triggers via USDC

Agent Wallet Architecture

Wallet Layer
EVM-compatible wallet (EOA or smart contract) on Base. Funded with USDC. Each agent gets its own address.
Payment Client
x402 client library intercepts HTTP 402 responses and signs+submits USDC transfers automatically.
Spending Policy
Per-call limits, daily caps, allowlists of payable domains. Policy enforced before any transaction.
Audit Log
Every payment recorded on-chain and in your local DB. Full traceability for cost accounting.

Quick Start (Node.js)

import { x402Middleware } from 'x402-express';

app.use('/tools/search', x402Middleware({
  amount: '0.01',        // $0.01 USDC per call
  currency: 'USDC',
  network: 'base',
  payTo: process.env.WALLET_ADDRESS,
}));

app.post('/tools/search', (req, res) => {
  // Your tool logic here — payment already verified
  res.json({ results: search(req.body.query) });
});

Pricing Model Options

🔂
Per-Call
Charge a fixed amount for each tool invocation. Best for compute-heavy tools.
📦
Per-Session
One payment unlocks a session token valid for N calls. Best for REPL tools.
📊
Per-Result
Charge based on output size or quality score. Best for search/data tools.
🔑
Subscription Key
Agent pays monthly; middleware validates a signed JWT. Best for high-volume.

Real AI agent wallet projects

Curated open-source implementations from the 119+ agent-wallet projects we track · stars live from GitHub.

BlockRunAI/Franklin

The AI agent with a wallet — spends USDC autonomously to get real work done. Apache-2.0, TypeScript.

⭐ 624TypeScript
GitHub →
nirholas/agenti

Give any AI agent a crypto wallet. Agents deserve access to money. Pay x402 APIs, receive USDC, check balances — autonomously. Works with Claude, LangChain, AutoGen, CrewAI, and any MCP client. EVM + Solana.

⭐ 72TypeScript
GitHub →
aaronjmars/tweazy

The best way to monetize AI applications & MCP, using x402, CDP Smart Wallets & Paymaster

⭐ 48TypeScript
GitHub →
lopushok9/Agent-Layer

A wallet for agents. Make payments via x402, use stablecoins, swap assets, earn yield with defi and buy tokenized stocks across the most popular chains.

⭐ 22Python
GitHub →
0-Vault/Vault-0

Vault-0: Agent Security, Monitor & x402 Wallet for OpenClaw. Encrypted secret vault, real-time agent monitor, policy enforcement, and native x402 payments — built with Rust + Tauri.

⭐ 15Svelte
GitHub →
botwallet-co/botwallet

Open-source wallet infrastructure for AI agents. Earn, spend, and trade USDC on Solana with human oversight and FROST threshold signing.

⭐ 11
GitHub →

Frequently asked questions

What is an AI agent wallet?

An AI agent wallet is a crypto wallet (usually an EVM smart-contract or EOA wallet on Base) that an autonomous agent controls directly. It holds USDC and signs payments so the agent can pay for APIs, tools and data on its own, without a human approving each transaction.

How does an AI agent pay for things with a wallet?

When the agent calls a paid resource it gets back an HTTP 402 Payment Required with terms. Its x402 client signs a USDC transfer from the wallet, a facilitator settles it on-chain, and the request retries successfully — all automatically.

How do I stop an agent from overspending?

Add a spending-policy layer: per-call limits, daily caps and an allowlist of payable domains, enforced before any transaction is signed. Combined with an on-chain + local audit log, you get full cost control and traceability.

Which wallets work for AI agents?

Smart-contract wallets (e.g. Coinbase CDP / ERC-4337 accounts) are popular because they support spend policies and session keys, but a funded EOA works too. The curated projects above show real, open-source agent-wallet implementations.

What currency do agent wallets use?

Almost always USDC, a dollar stablecoin, settled on Base (and increasingly Solana). Stablecoins keep prices predictable for micropayments and avoid volatility.

Build it with the right tools

Pick a client library on the x402 SDKs page, see where wallets fit on the ecosystem map, or learn how to monetize the other side.

Browse x402 SDKs Compare Payment Options