
Self-custodial crypto wallet CLI that lets AI agents trade and pay onchain within user-set limits.
MetaMask Agent Wallet is a self-custodial wallet built for AI agents. Developers install the mm CLI (npm @metamask/agent-wallet) and add MetaMask's agent skills or plugins to their agent framework, including Claude Code, Codex, Cursor, Grok Build, and OpenClaw. The agent then operates the wallet from plain-language prompts and receives structured JSON output that any LLM can parse.
Agents can check balances and transaction history, send native tokens and ERC-20s, sign messages and typed data, and decode unfamiliar calldata before signing. They can also swap and bridge across supported EVM chains, trade perpetuals on Hyperliquid, trade prediction markets on Polymarket, supply to and withdraw from yield vaults including Aave, and pay HTTP 402 paywalled APIs using x402.
Users stay in control. In Guard Mode they set daily spend limits and allowlisted protocols, and any action outside that policy requires approval by email or MetaMask mobile push notification. Beast Mode allows any protocol while still blocking transactions flagged as malicious. Supported transactions go through transaction simulation, Blockaid threat scanning on supported networks, and Smart Transactions with MEV protection before they land onchain. Users keep their keys and can export them at any time, and developers can bring their own keys.
Beyond the chains shown here, MetaMask Agent Wallet also supports Linea, Unichain, Blast, Mantle, Celo, Monad, Sei, MegaETH, Hemi, Robinhood Chain, and Arc.
Install the mm CLI and add MetaMask agent skills to frameworks like Claude Code, Codex, Cursor, Grok Build, and OpenClaw; users keep and can export their keys.
Agents operate the wallet from plain-language prompts and receive structured JSON that any LLM can parse.
Check balances and history, send native tokens and ERC-20s, sign messages and typed data, and decode calldata before signing.
Swap and bridge across EVM chains, trade Hyperliquid perps and Polymarket prediction markets, and supply to yield vaults including Aave.
Pay HTTP 402 paywalled APIs directly using x402.
Set daily spend limits and allowlisted protocols with email or mobile push approvals, or allow any protocol while still blocking malicious transactions.
Transactions pass through simulation, Blockaid threat scanning, and Smart Transactions with MEV protection before landing onchain.

Free RPC across 77+ chains. Spin up an endpoint in under 30 seconds.
| Composability | |||
| Cross-Chain | |||
| Customizability | |||
| Developer Support | |||
| Ease of Integration | |||
| Performance |
Explore web3 competitors and apps like MetaMask Agent Wallet.








Reliable RPC, powerful APIs, and zero hassle.
📚 NEW: Building Financial Software on SolanaFree book with 10 complete programs, from options to perps.
Get a copy