Documentation

Command Reference

Complete reference for all MultiClaw CLI and Console commands.

Global Options

multiclaw [OPTIONS] <command> [subcommand] [args]
OptionDescription
-w, --wallet PATHUse specific wallet file instead of default
--jsonOutput in JSON format (for scripting)
-q, --quietMinimal output
-v, --versionShow version and exit

Seed Commands

Manage HD wallet seeds (BIP-39 mnemonic phrases).

seed list

List all seeds in the wallet.

multiclaw seed list

seed create

Create a new seed with a randomly generated 12-word mnemonic.

multiclaw seed create [--label NAME]
--label NAMEHuman-readable label for the seed

seed import

Import an existing BIP-39 mnemonic phrase.

multiclaw seed import [--label NAME]

You will be prompted to enter the mnemonic phrase securely.

seed backup

Display the mnemonic phrase for backup purposes.

multiclaw seed backup <seed_id>

Warning: Never share your seed phrase. Anyone with access can control all derived addresses.

seed delete

Delete a seed and all its derived addresses.

multiclaw seed delete <seed_id>

Requires confirmation. This action is irreversible.


Address Commands

Manage wallet addresses derived from seeds or imported directly.

address list

List all addresses.

multiclaw address list

address derive

Derive a new address from an existing seed.

multiclaw address derive <seed_id> [OPTIONS]
-i, --index NSpecific derivation index (default: next available)
--path PATHCustom derivation path
--label NAMELabel for the address

Examples:

# Derive next address from seed
multiclaw address derive S001

# Derive with specific index
multiclaw address derive S001 --index 5

# Derive with custom path and label
multiclaw address derive S001 --path "m/44'/60'/0'/0/10" --label "Cold Storage"

address import

Import a private key directly (not derived from seed).

multiclaw address import [--label NAME]

address label

Set or update the label for an address.

multiclaw address label <address_id> <label>

address balance

Check USDC balance for addresses.

multiclaw address balance [address_id] [--network NETWORK]
address_idAddress ID (default: all addresses)
-n, --networkFilter by network (base, base-sepolia, etc.)

address delete

Delete an address from the wallet.

multiclaw address delete <address_id>

Requires confirmation. Any agents using this address will be decommissioned.


Agent Commands

Register and manage AI agents that can request payment signatures.

Note: Agent names are unique and can be used instead of codes. Names are case-insensitive.

agent list

List all registered agents.

multiclaw agent list

agent register

Register a new agent.

multiclaw agent register <name> [--auth MODE]
nameHuman-readable agent name
--auth MODEAuthentication mode: hmac (default) or bearer

Example output:

✓ Agent registered successfully

  Code: XK7M2P
  Auth Key: sk_live_abc123...

  Configure your agent with:
    MULTICLAW_URL=http://localhost:9402
    MULTICLAW_AUTH_KEY=sk_live_abc123...

agent commission

Activate an agent with a policy and funding address.

multiclaw agent commission <agent> <policy> <address>
agentAgent name or code (e.g., "my-agent" or XK7M2P)
policyPolicy name (e.g., "standard")
addressAddress ID (e.g., A001)

agent show

Display detailed agent information.

multiclaw agent show <agent_id>

agent spending

View agent spending statistics.

multiclaw agent spending [agent_id]

agent suspend

Temporarily suspend an agent. Suspended agents cannot make payment requests.

multiclaw agent suspend <agent_id>

agent resume

Resume a suspended agent.

multiclaw agent resume <agent_id>

agent delete

Delete an agent permanently.

multiclaw agent delete <agent_id>

Requires confirmation. Transaction history is preserved.


Policy Commands

Create and manage spending policies that control agent behavior.

Note: Policy names are unique and case-insensitive.

policy list

List all policies.

multiclaw policy list

policy create

Create a new spending policy.

multiclaw policy create <name> [OPTIONS]
--daily-limit NMaximum daily spending in USDC
--per-request-max NMaximum per-request amount in USDC
--auto-approve-below NAuto-approve threshold in USDC (0 = always require approval)
--allowed-domains D1 D2...Whitelist domains (space-separated)
--blocked-domains D1 D2...Blacklist domains (space-separated)

Examples:

# Basic policy with limits
multiclaw policy create "standard" --daily-limit 100 --per-request-max 10 --auto-approve-below 1

# Policy with domain restrictions
multiclaw policy create "api-only" --daily-limit 50 --allowed-domains api.openai.com api.anthropic.com

# Strict policy requiring manual approval
multiclaw policy create "manual" --daily-limit 1000 --auto-approve-below 0

policy show

Display policy details.

multiclaw policy show <policy_id>

policy edit

Modify an existing policy.

multiclaw policy edit <policy_id> [OPTIONS]
--name NAMENew policy name
--daily-limit NNew daily limit
--per-request-max NNew per-request maximum
--auto-approve-below NNew auto-approve threshold

policy delete

Delete a policy.

multiclaw policy delete <policy_id>

Requires confirmation. Agents using this policy will be decommissioned.


Server Commands

serve

Start the payment server in headless (CLI) mode.

multiclaw serve [OPTIONS]
-p, --port NPort number (default: 9402)
--lanAllow connections from LAN (default: localhost only)
--verifyVerify settlements on-chain

The server runs interactively, prompting for approval when payments exceed the auto-approve threshold. Press Ctrl+C to stop.

Notes:

  • Cannot run if GUI server is already running on the same port
  • Warns if GUI instance is running (data may not sync)

History Commands

View and export transaction history.

history list

List recent transactions.

multiclaw history list [OPTIONS]
--agent IDFilter by agent
--status STATUSFilter by status (pending, signed, settled, failed)
--network NETWORKFilter by network
-n, --limit NMaximum results (default: 50)

history export

Export transactions to file.

multiclaw history export [OPTIONS]
--format FORMATOutput format: csv (default) or json
-o, --output FILEOutput file path

history receipt

Display AP2 receipt for a transaction.

multiclaw history receipt <tx_id>

Output: Full AP2 receipt in JSON format including intent, authorization, payment, and settlement details.


Config Commands

Manage application settings.

config show

Display current configuration.

multiclaw config show

config set

Set a configuration value.

multiclaw config set <key> <value>

Available keys:

default_networkDefault network for new addresses
auto_start_serverStart server on app launch (true/false)
verify_settlementsVerify settlements on-chain (true/false)

config reset

Reset all settings to defaults.

multiclaw config reset

Console Commands

The GUI Console (File → Console) provides full access to all MultiClaw functionality via text commands.

Console Controls

CommandDescription
helpShow available commands
clearClear console output
statusShow system status (wallet, server, agents, pending)
exitClose console window

Wallet Commands

wallet statusShow wallet lock state and address count
wallet create <filename>Create a new wallet file (prompts for password)
wallet open <path>Open and unlock a wallet file
wallet lockLock the wallet, clearing sensitive data

Approval Commands

pendingList pending approval requests
approve <id>Approve a pending request
reject <id> [reason]Reject a pending request

Server Commands (Console)

server start [port]Start the agent server (default port: 9402)
server stopStop the server
server statusShow server status and port

Console Features:

  • Command history — Use ↑/↓ arrows to navigate previous commands
  • Secure password input — Passwords are masked when entering
  • Live events — Approval requests and activity appear in real-time
  • No popups — All confirmations happen inline via y/n prompts

Common Workflows

Initial Setup

# 1. Create a wallet seed
multiclaw seed create --label "Main"

# 2. Derive an address
multiclaw address derive S001 --label "Agent Funding"

# 3. Create a spending policy
multiclaw policy create "standard" \
  --daily-limit 100 \
  --per-request-max 10 \
  --auto-approve-below 1

# 4. Register an agent
multiclaw agent register "My AI Agent"

# 5. Commission the agent
multiclaw agent commission XK7M2P P001 A001

# 6. Start the server
multiclaw serve

Headless Server Deployment

# Run server in background with strict verification
multiclaw serve --port 9402 --verify

# Or use separate wallet file
multiclaw -w /path/to/production.json serve --port 9402 --verify

Scripting with JSON Output

# Get agent list as JSON
multiclaw --json agent list

# Parse in shell script
AGENTS=$(multiclaw --json agent list | jq -r '.[].code')

Exit Codes

CodeMeaning
0Success
1General error
130Interrupted (Ctrl+C)