What does whoami do?
Thewhoami command reads your local credentials and displays the current agent’s configuration. Use it to verify that login worked, check which agent is active, or confirm the wallet address before running transactions.
Output
| Field | Description |
|---|---|
agentId | Unique agent identifier |
evmAddress | Wallet address (or “not set” if activate has not been called) |
chainId | Target chain ID (default: 84532, Base Sepolia) |
keyPrefix | Masked runtime key showing the prefix (mndt_test_ or mndt_live_) |
baseUrl | Mandate API endpoint this agent connects to |
keyPrefix tells you whether you are using a test or live key. Test keys start with mndt_test_, live keys with mndt_live_.
Next Steps
Validate a Transaction
Run a policy check against your active agent.
Register a New Agent
Switch agents by registering a new one.