Skip to content

Commit 36af18b

Browse files
committed
Language changes
1 parent 5c1d19a commit 36af18b

15 files changed

Lines changed: 300 additions & 316 deletions

.cursor/rules/product-agent-wallet.mdc

Lines changed: 17 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,9 @@ alwaysApply: false
1515
## Wallet and trading modes
1616

1717
- **server-wallet** — private keys are held securely in a TEE-backed environment.
18-
- **BYOK** (bring your own key) — user supplies a BIP-39 mnemonic.
19-
- **Guard Mode (Recommended)** — trading mode (`--mode guard`). Enforces spend limits and allowlists with 2-factor authentication on violations.
20-
- **Beast Mode** — trading mode (`--mode beast`). Skips routine policy checks; malicious or flagged transactions still require 2-factor authentication.
18+
- **Bring your own wallet** — user supplies a BIP-39 mnemonic. CLI flag: `byok`.
19+
- **Guard Mode (Recommended)** — trading mode (`--mode guard`). Designed for everyday traders. Enforces security check, network allowlist, token recipient allowlist, address allowlist, and rolling 24h outflow limit. 2-factor authentication on policy violations, malicious transactions, and raising outflow limit.
20+
- **Beast Mode** — trading mode (`--mode beast`). Designed for power users. Security check guardrail only. 2-factor authentication on malicious transactions and risky contracts.
2121

2222
Users choose wallet and trading modes during interactive `mm init` or by prompting their agent.
2323
Mark Guard Mode as **Recommended**; do not describe modes as opt-in, default, or preferred in other ways.
@@ -29,9 +29,19 @@ CLI flags use `server-wallet`, `byok`, `guard`, and `beast`.
2929

3030
Use these terms consistently when describing the security stack:
3131

32-
- **Transaction Shield** — threat scanning for malicious contracts and scams. Do not lead with vendor names.
33-
- **Smart Transactions** — MEV protection (externally branded name; do not use "Servo" in user-facing docs).
34-
- **Server wallet** / **TEE** — key custody in server-wallet mode. Do not lead with vendor names.
32+
- **Transaction Protection** — guarantee for transactions deemed safe (up to $10,000 loss coverage).
33+
Frame as backing for "security by default," not as a standalone scanning feature. Link eligibility
34+
and terms to
35+
[Transaction Shield support](https://support.metamask.io/manage-crypto/transactions/transaction-shield/).
36+
- **Transaction Shield** — automated security checks for malicious contracts and scams. Link to
37+
[Transaction Shield support](https://support.metamask.io/manage-crypto/transactions/transaction-shield/).
38+
Do not lead with vendor names.
39+
- **Smart Transactions** — optimizes how trades land onchain (fewer fails, better gas, built-in MEV
40+
protection). Link to
41+
[Smart Transactions support](https://support.metamask.io/manage-crypto/transactions/smart-transactions/).
42+
Do not use "Servo" in user-facing docs.
43+
- **Server wallet** / **TEE** — keys managed and secured server-side; agents can't access the user's
44+
main wallet. Do not lead with vendor names.
3545
- **2FA** or **2-factor authentication** — human approval for flagged or policy-violating transactions. Do not use "MFA" in prose (CLI state `AWAITING_MFA` is acceptable in code references).
3646

3747
Do not add comparative security claims beyond approved product copy.
@@ -42,8 +52,7 @@ Do not add comparative security claims beyond approved product copy.
4252
| ---------------- | ------------------------------------------------- |
4353
| Root (`README.mdx`, `quickstart.md`, `use-the-cli-directly.md`) | Overview, quickstart, headless CLI |
4454
| `guides/` | Task-oriented how-to guides |
45-
| `concepts/` | Architecture, security |
46-
| `reference/` | CLI commands, error codes, supported chains |
55+
| `reference/` | Architecture, CLI commands, error codes, supported chains |
4756
| `troubleshooting/` | Symptom-based fixes (single page in v1) |
4857

4958
Do not paste content from `.agents/skills/metamask-agent-wallet/` into documentation pages.

.cursor/rules/terminology.mdc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ listed on the right unless they appear in code, URLs, or direct quotations from
2727
| Guard Mode | guard mode (capitalize Mode) |
2828
| Beast Mode | beast mode (capitalize Mode) |
2929
| server-wallet | server wallet, Server Wallet (except as product phrase "server-wallet mode") |
30-
| BYOK | byok (capitalize in prose when referring to the mode name) |
30+
| Bring your own wallet | BYOK, bring your own key, byok (except CLI flag `--wallet byok`) |
3131
| `mm` (CLI binary) | MM, Mm (except at sentence start) |
3232

3333
## Standards and specifications

agent-wallet-sidebar.js

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -31,17 +31,16 @@ const sidebar = {
3131
'guides/sign-messages-and-transactions',
3232
],
3333
},
34-
{
35-
type: 'category',
36-
label: 'Concepts',
37-
collapsed: true,
38-
items: ['concepts/architecture', 'concepts/security'],
39-
},
4034
{
4135
type: 'category',
4236
label: 'Reference',
4337
collapsed: true,
44-
items: ['reference/commands', 'reference/error-codes', 'reference/supported-chains'],
38+
items: [
39+
'reference/architecture',
40+
'reference/commands',
41+
'reference/error-codes',
42+
'reference/supported-chains',
43+
],
4544
},
4645
{
4746
type: 'doc',

agent-wallet/README.mdx

Lines changed: 26 additions & 49 deletions
Original file line numberDiff line numberDiff line change
@@ -7,18 +7,34 @@ keywords: [MetaMask, Agent Wallet, mm, AI agents, skills]
77

88
import CardList from '@site/src/components/CardList'
99

10-
Give your AI agent a self-custody wallet with built-in security on every signing path.
11-
Custody depends on wallet mode: server-wallet uses TEE-backed key storage; BYOK keeps keys under your
12-
local control.
13-
You install the `mm` CLI and add agent skills once.
14-
After that, your agent handles authentication, transfers, swaps, bridges, perpetuals, and prediction
15-
markets from natural-language requests.
10+
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.
1611

1712
:::info Early Access
1813
MetaMask Agent Wallet is available through the
1914
[Early Access Program](https://metamask.io/agent-wallet).
2015
:::
2116

17+
## MetaMask safety-checks every transaction before it lands
18+
19+
Security by default, not configuration.
20+
Supported EVM transactions pass through a mandatory 3-step security pipeline.
21+
Backed by Transaction Protection: transactions through Agent Wallet deemed safe are guaranteed
22+
against loss up to $10,000.\*
23+
24+
1. **Transaction simulation**: what will this transaction actually do? Balance changes, approvals,
25+
and gas are surfaced before signing.
26+
2. **[Transaction Shield](https://support.metamask.io/manage-crypto/transactions/transaction-shield/)**:
27+
automated security checks flag malicious contracts and scams; flagged transactions require your
28+
approval before they execute.
29+
3. **[Smart Transactions](https://support.metamask.io/manage-crypto/transactions/smart-transactions/)**:
30+
smart transaction execution with built-in MEV protection, fewer fails, and better gas where
31+
supported on the target chain.
32+
33+
Learn more in [Architecture](reference/architecture.md).
34+
35+
\* See [Transaction Shield](https://support.metamask.io/manage-crypto/transactions/transaction-shield/)
36+
for eligibility, coverage limits, and terms.
37+
2238
## What your agent can do
2339

2440
After setup, prompt your agent in plain language:
@@ -35,11 +51,6 @@ After setup, prompt your agent in plain language:
3551

3652
<!-- vale on -->
3753

38-
## Works in your agent
39-
40-
Install skills in any skills-compatible agent environment, including Claude Code, Codex, Cursor,
41-
OpenClaw, and Hermes Agent.
42-
4354
## Capabilities
4455

4556
The `mm` CLI exposes a full command surface for wallet operations.
@@ -63,41 +74,6 @@ Your agent routes natural-language requests to these commands through installed
6374

6475
See the [commands reference](reference/commands.md) for every flag and subcommand.
6576

66-
## Security by default
67-
68-
Signing and transaction requests pass through a built-in security pipeline before they complete.
69-
70-
- **Transaction simulation**: transactions are simulated before signing to surface reverts and
71-
unexpected state changes.
72-
- **Transaction Shield**: threat scanning flags malicious contracts and scams; flagged transactions
73-
require your approval before they execute.
74-
- **Smart Transactions**: helps protect against sandwich and front-running attacks where supported on
75-
the target chain.
76-
- **Server wallet**: in server-wallet mode, your private key is held securely in a trusted execution
77-
environment (TEE).
78-
79-
Learn more in [Security](concepts/security.md).
80-
81-
## Operating modes
82-
83-
During `mm init`, you choose a wallet mode and, for server-wallet, a trading mode.
84-
See [Use the CLI directly](use-the-cli-directly.md) for details.
85-
86-
**Wallet mode** (choose one):
87-
88-
- **server-wallet**: MetaMask holds your private key in a TEE-backed environment. Signing uses an
89-
asynchronous model; long-running operations return a `pollingId` unless you pass `--wait`.
90-
- **BYOK (bring your own key)**: you supply a BIP-39 mnemonic. Keys stay under your local control
91-
and operations return immediately.
92-
93-
**Trading mode** (server-wallet only):
94-
95-
- **Guard Mode (Recommended)**: enforces daily spend limits and protocol allowlists you set during
96-
setup. Transactions that exceed those limits or target non-allowlisted protocols require
97-
2-factor authentication before they execute.
98-
- **Beast Mode**: skips routine policy checks for faster scripted workflows. 2-factor authentication
99-
still applies to malicious or flagged transactions.
100-
10177
## Supported chains
10278

10379
MetaMask Agent Wallet supports multiple EVM chains.
@@ -115,9 +91,10 @@ See [Supported chains](reference/supported-chains.md) for typical networks.
11591
'Install the CLI, add skills to your agent, sign in, and send your first transfer.',
11692
},
11793
{
118-
href: '/agent-wallet/concepts/security',
119-
title: 'Security',
120-
description: 'Transaction Shield, Smart Transactions, TEE key custody, and 2FA.',
94+
href: '/agent-wallet/reference/architecture',
95+
title: 'Architecture',
96+
description:
97+
'Wallet modes, Transaction Protection, Transaction Shield, Smart Transactions, and 2FA.',
12198
},
12299
{
123100
href: '/agent-wallet/guides/trade-perpetuals',

agent-wallet/concepts/architecture.md

Lines changed: 0 additions & 84 deletions
This file was deleted.

agent-wallet/concepts/security.md

Lines changed: 0 additions & 59 deletions
This file was deleted.

agent-wallet/guides/sign-messages-and-transactions.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ mm wallet requests list
6666
mm wallet requests watch --polling-id <POLLING_ID>
6767
```
6868

69-
In BYOK mode, results return immediately when the mnemonic is unlocked.
69+
In bring your own wallet mode, results return immediately when the mnemonic is unlocked.
7070

7171
## Related commands
7272

0 commit comments

Comments
 (0)