CLI Reference
The Tenzro CLI (tenzro) provides full control over node operations, wallet management, model serving, staking, governance, identity, payments, agents, and more. All commands communicate with a running tenzro-node via JSON-RPC.
Installation
# macOS / Linux
curl -sSL https://get.tenzro.network | sh
# Or build from source
cargo install --path crates/tenzro-cli
# Verify installation
tenzro versionGlobal Options
tenzro [OPTIONS] <COMMAND>
Options:
-v, --verbose Enable verbose logging
--format <text|json> Output format (default: text)
-h, --help Show help
-V, --version Show versionCommand Groups
| Command | Description |
|---|---|
| join | One-click network participation |
| node | Node management |
| wallet | Wallet operations |
| model | Model management |
| stake | Staking operations |
| governance | On-chain governance |
| provider | Provider management |
| schedule | Provider availability scheduling |
| inference | Inference requests |
| identity | TDIP identity management |
| payment | Payment protocols (MPP / x402) |
| agent | AI agent operations |
| canton | Canton/DAML integration |
| escrow | Escrow and payment channels |
| task | Task marketplace |
| marketplace | Agent marketplace |
| skill | Skill registry |
| tool | Tool registry (MCP servers) |
| token | Token management |
| contract | Contract deployment |
| bridge | Cross-chain bridge |
| debridge | deBridge DLN cross-chain |
| lifi | LI.FI bridge aggregator |
| nft | NFT operations (ERC-721/1155) |
| compliance | ERC-3643 compliance |
| crosschain | ERC-7802 cross-chain tokens |
| events | Event streaming |
| crypto | Cryptographic operations |
| tee | TEE operations |
| zk | Zero-knowledge proofs |
| custody | MPC wallet custody |
| app | Application management |
| ceremony | ZK trusted setup ceremony |
Standalone Commands
| Command | Description |
|---|---|
| chat | Interactive REPL for AI model chat with session history |
| hardware | Detect and display hardware profile (CPU, GPU, TEE) |
| set-username | Set your Tenzro username |
| faucet | Request testnet TNZO tokens (100 TNZO, 24h cooldown) |
| info | Show network information |
| version | Show version information |
Common Examples
Wallet Operations
# Create a new wallet
tenzro wallet create --name my-wallet
# Import an existing identity (provisions wallet)
tenzro wallet import --did "did:tenzro:human:abc123"
# Check balance (calls eth_getBalance)
tenzro wallet balance
# Send TNZO to another address
tenzro wallet send --to 0xRecipient... --amount 10.0
# List all accounts
tenzro wallet listModel Serving
# List available models
tenzro model list
# Download a model from HuggingFace
tenzro model download gemma3-270m
# Serve a model (registers as provider + starts serving)
tenzro model serve gemma3-270m
# Interactive chat
tenzro chat gemma3-270m
# Stop serving
tenzro model stop gemma3-270mIdentity and Payments
# Register a human identity
tenzro identity register --type human --name "Alice"
# Register a machine identity
tenzro identity register --type machine --name "trading-bot"
# Create a payment challenge (MPP or x402)
tenzro payment challenge --protocol mpp --amount 1000000000000000000
# Pay via MPP
tenzro payment pay --protocol mpp --challenge-id ch_123...Staking and Governance
# Stake TNZO as a validator
tenzro stake deposit --amount 10000 --role validator
# Check voting power
tenzro stake info
# List governance proposals
tenzro governance list
# Vote on a proposal
tenzro governance vote --proposal-id prop_001 --vote yesAgent Operations
# Register a new agent
tenzro agent register --name "research-agent"
# List agent templates in the marketplace
tenzro marketplace list
# Spawn an agent from a template
tenzro agent spawn-template --template-id tmpl_001
# Send a message to another agent
tenzro agent send --to agent_002 --message "Analyze this data"Output Formats
All commands support --format json for machine-readable output:
# JSON output for scripting
tenzro wallet balance --format json
# Pipe to jq
tenzro model list --format json | jq '.models[].name'RPC Endpoint
By default, the CLI connects to http://127.0.0.1:8545. Override with the --rpc flag:
# Connect to testnet
tenzro --rpc https://rpc.tenzro.network wallet balance
# Connect to local node on custom port
tenzro --rpc http://127.0.0.1:9545 info