The can CLI binary provides the following commands:
| Command | Description |
setup | Interactive setup wizard (alias: init) |
import | Import wallet from mnemonic or hex seed |
change-password | Change keystore encryption password |
info | Show agent identity and wallet info |
| Command | Description |
run | Start the agent and listen for messages |
send | Send an encrypted message |
inbox | Read cached messages |
| Command | Description |
contacts | Manage PSK contacts (add, remove, list, export, import) |
groups | Manage group channels (create, members, export, import) |
| Command | Description |
mcp | Start JSON-RPC 2.0 MCP server for Claude Code and Cursor |
fund | Fund wallet from localnet faucet or show instructions |
register | Register agent with the hub |
status | Health check (algod, indexer, hub, balance, plugins) |
plugin | Manage WASM plugins |
All commands accept:
| Flag | Default | Description |
--data-dir | ./data | Data directory for persistent storage |