> For the complete documentation index, see [llms.txt](/llms.txt).

# MetaMask Agent Wallet

A fully self-custodial agent wallet that lets AI agents trade autonomously without forcing users to give up control. Deploying an agent on a self-custody wallet can mean choosing between giving the agent freedom to act and keeping users’ funds safe. MetaMask Agent Wallet ends that trade-off. Your agent operates inside user-defined limits.

Early Access

MetaMask Agent Wallet is available through the [Early Access Program](https://metamask.io/agent-wallet).

## What your agent can do[​](#what-your-agent-can-do "Direct link to What your agent can do")

After setup, prompt your agent in plain language:

| You ask your agent                               | What happens                                                      |
| ------------------------------------------------ | ----------------------------------------------------------------- |
| "Show the wallet address and USDC balance"       | Your agent checks auth, then queries balances.                    |
| "Send 10 USDT to 0x123… on Ethereum"             | Your agent confirms details, then submits a transfer.             |
| "Swap 0.1 ETH to USDC on Base"                   | Your agent fetches a quote, confirms with you, then executes.     |
| "Open a 5x long on BTC with $100 on Hyperliquid" | Your agent deposits if needed, quotes, and opens the position.    |
| "Bet 10 USDT on YES for BTC 5-min price up"      | Your agent searches markets, confirms odds, and places the order. |

## MetaMask safety-checks every transaction before it lands[​](#metamask-safety-checks-every-transaction-before-it-lands "Direct link to MetaMask safety-checks every transaction before it lands")

Security by default, not configuration. Supported EVM transactions pass through a mandatory 3-step security pipeline. Backed by Transaction Protection: transactions through Agent Wallet deemed safe are guaranteed against loss up to $10,000.*

1. **Transaction simulation**: What will this transaction actually do? Balance changes, approvals, and gas are surfaced before signing.
2. **[Transaction Shield](https://support.metamask.io/manage-crypto/transactions/transaction-shield/)**: Automated security checks flag malicious contracts and scams; flagged transactions require your approval before they execute.
3. **[Smart Transactions](https://support.metamask.io/manage-crypto/transactions/smart-transactions/)**: Smart transaction execution with built-in MEV protection, fewer fails, and better gas where supported on the target chain.

note

Learn more in [Architecture](/agent-wallet/reference/architecture/). See [Transaction Shield](https://support.metamask.io/manage-crypto/transactions/transaction-shield/)for eligibility, coverage limits, and terms.

## Capabilities[​](#capabilities "Direct link to Capabilities")

The `mm` CLI exposes a full command surface for wallet operations. Your agent routes natural-language requests to these commands through installed skills.

| Area                                                                            | What your agent can do                                  |
| ------------------------------------------------------------------------------- | ------------------------------------------------------- |
| [Authentication](/agent-wallet/quickstart/)                                     | Sign in, check session, sign out                        |
| [Wallet](/agent-wallet/guides/check-balances-and-prices/)                       | Create wallet, show address, check balances             |
| [Send](/agent-wallet/guides/send-tokens/)                                       | Transfer native tokens and ERC-20s                      |
| [Sign / raw transactions](/agent-wallet/guides/sign-messages-and-transactions/) | Sign messages, typed data, and raw EVM transactions     |
| [Decode calldata](/agent-wallet/guides/sign-messages-and-transactions/)         | Inspect unfamiliar EVM calldata before signing          |
| [Swap / bridge](/agent-wallet/guides/swap-and-bridge/)                          | Quote, execute, and track swaps and cross-chain bridges |
| [Perpetuals](/agent-wallet/guides/trade-perpetuals/)                            | Trade on Hyperliquid (deposit, open, modify, close)     |
| [Prediction markets](/agent-wallet/guides/trade-prediction-markets/)            | Search, quote, and trade on Polymarket                  |
| [Market data](/agent-wallet/guides/check-balances-and-prices/)                  | Spot prices, token discovery, supported chains          |

See the [commands reference](/agent-wallet/reference/commands/) for every flag and subcommand.

## Supported chains[​](#supported-chains "Direct link to Supported chains")

MetaMask Agent Wallet supports multiple EVM chains. Run `mm chains list` for the authoritative list for your CLI version. See [Supported chains](/agent-wallet/reference/supported-chains/) for typical networks.

## Set up[​](#set-up "Direct link to Set up")

- [QuickstartInstall the CLI, add skills to your agent, sign in, and send your first transfer.](/agent-wallet/quickstart/)
- [ArchitectureWallet modes, Transaction Protection, Transaction Shield, Smart Transactions, and 2FA.](/agent-wallet/reference/architecture/)
- [Trade perpetualsDeposit, open, modify, and close Hyperliquid positions.](/agent-wallet/guides/trade-perpetuals/)
