CLI reference
Install the tenzro CLI and use it to join Tenzro Network, manage keys and identity, run inference, operate a node and call any RPC method.
The tenzro CLI is one binary for everyone on the network. Developers use it to create an account, chat with models and call any JSON-RPC method. Operators use it to set up a node, bond for a role, serve models and decide who may use the node. Every command talks to a node over JSON-RPC, and every command has --help with its full option list.
The complete reference, every command and flag, is generated from the binary: CLI.md. The node binary's own flags are in NODE.md.
For a read-only view of a node in the terminal, see the terminal console.
Install
Each release archive on the downloads page holds both tenzro and tenzro-node. To build from source:
cargo install --git https://github.com/tenzro/tenzro-network --bin tenzroCheck the install:
tenzro version
tenzro infoEndpoints and credentials
| Option | Meaning |
|---|---|
--format text or --format json | Human-readable output (default) or JSON for scripts |
-v, --verbose | Verbose logging |
--rpc <url> | Node to talk to. Most commands default to your local node at http://127.0.0.1:8545; pass --rpc https://rpc.tenzro.com for the public endpoint. tenzro join defaults to the public endpoint. |
There are no API keys. Where a node's access policy asks callers to sign in, tenzro access sign-in signs with this machine's hardware key (TPM 2.0 or Secure Enclave) and stores a DPoP-bound access token that later commands present. TENZRO_DATA_DIR sets the node data directory for both the CLI and tenzro-node.
Join the network
# Guided setup: consume, provide or validate on Tenzro Network,
# bootstrap a local network, or join a private one
tenzro setup
# The same, non-interactive
tenzro setup --path network --mode provide --roles ai,storage --yes
tenzro setup --path local --network-name lab --yes
tenzro setup --path private --genesis ./genesis.toml --bootstrap did:tenzro:machine:<id>@<relay-url>
# One-step participation as a user, or as an inference provider
tenzro join --name "Ada"
tenzro join --providertenzro setup flags include --path network|local|private, --mode consume|provide|validate, --roles, --operator self|autonomous, --access on-demand,subscription,rental, --visibility, --machine-name, --validator-stake, --provision-tpm, --apply and --yes. Every path needs a TPM 2.0 or a Secure Enclave on the machine: node and account keys live in hardware. Setup checks the hardware root first and prints each unmet item with its fix; --provision-tpm creates the machine's TPM keys without asking, and --apply installs the node as a service, starts it and follows it until it has synced. Follow a running node with tenzro status --watch.
An operator who needs stake for a role can check and apply for sponsorship from the same terminal:
tenzro sponsor check
tenzro sponsor apply
tenzro sponsor statusA new account enrols its ML-DSA-65 key with tenzro pq-hybrid enroll before, or as, its first transaction; the CLI also does this automatically. See Cryptography.
tenzro join --provider detects your hardware, posts the compute bond, registers you as a provider, sets default pricing and serves the largest catalog model that fits your machine.
Who may use your node
tenzro access show # the policy in force, as access.toml
tenzro access set ./access.toml # replace it
tenzro access preview ... # what the policy decides for a caller
tenzro access tokens # live access tokens the node issued
tenzro access revoke ... # withdraw one token, or every token of a DIDOn the node itself, tenzro-node access is the same policy as a wizard (--preset open|closed|signed_in|agents_with_terms, --admin <did>). See RPC access.
Call any method
tenzro rpc methods --contains agent --rpc https://rpc.tenzro.com
tenzro rpc methods --namespaces
tenzro rpc call tenzro_getSupplyMetrics --rpc https://rpc.tenzro.com
tenzro rpc call tenzro_getBlock --params '{"height":"latest"}'tenzro rpc methods prints each method with its access class (open, owner or admin). The methods themselves are documented in the JSON-RPC reference.
Command groups
| Command | What it does |
|---|---|
tenzro join | Join the Tenzro Network (one-click participate) |
tenzro setup | Guided setup — join the network, provide, validate, or bootstrap a private network |
tenzro node | Node management commands |
tenzro wallet | Wallet management commands |
tenzro model | Model management commands |
tenzro stake | Staking commands |
tenzro governance | Governance commands |
tenzro tx | Transaction inspection |
tenzro funding | Network funding: grant and tranche requests, reward claims, vesting release |
tenzro sponsor | Sponsorship: check eligibility, prepare an application, see status |
tenzro provider | Provider management commands |
tenzro schedule | Provider schedule management |
tenzro inference | Inference commands |
tenzro identity | Identity management commands (TDIP) |
tenzro payment | Payment commands |
tenzro agent | AI agent management commands |
tenzro escrow | Escrow and payment channel commands |
tenzro duty | Network duties: work the chain pays the first prover for |
tenzro dev | Start a local single-validator chain for development, keys in this machine's hardware |
tenzro token | Token management commands (create, query, cross-VM transfers) |
tenzro contract | Contract deployment commands |
tenzro bridge | Cross-chain bridge commands (quote, execute, status, routes) |
tenzro relay | Relayer commands: deliver what other chains report to Tenzro |
tenzro events | Event streaming commands (subscribe, history, webhooks) |
tenzro crypto | Cryptographic operations (sign, verify, encrypt, decrypt, hash, keygen) |
tenzro tee | TEE operations (detect, attest, challenge, verify, providers) |
tenzro zk | Zero-knowledge proof operations (prove, verify, circuits, fraud proofs) |
tenzro vrf | VRF proof verification — RFC 9381 ECVRF-EDWARDS25519-SHA512-TAI |
tenzro finality | Finality: verify the latest compact certificate from genesis as a light client |
tenzro passkey | Passkey-first wallet onboarding + custody (enrollment, recovery, session keys, hardware signers) |
tenzro machine-access | Owner-signed machine access for agents, tools and models (add, list, revoke) |
tenzro media-gen | Generative media: the media catalog and renders |
tenzro forecast | Timeseries forecasting (TimesFM 2.5, Chronos-2, TiRex-2, Toto 2.0) |
tenzro embed-text | Text embeddings (Qwen3-Embedding, EmbeddingGemma, BGE-M3) |
tenzro embed-image | Image embeddings (CLIP, SigLIP2, DINOv3) |
tenzro segment | Image segmentation (SAM 2, EdgeSAM, MobileSAM) |
tenzro text-segment | Open-vocabulary text-promptable segmentation (SAM 3, SAM 3.1) |
tenzro detect | Object detection (RF-DETR, D-FINE) |
tenzro decide | Decision models: answer typed questions about a text |
tenzro rerank | Rerankers: score documents against a query |
tenzro speech | Speech synthesis (text to speech) |
tenzro training | LoRA training on this node's CUDA device (operator only) |
tenzro transcribe | Audio transcription / ASR (Moonshine, Distil-Whisper, Parakeet, Canary) |
tenzro embed-video | Video embeddings (catalog scaffolding for V-JEPA / VideoMAE) |
tenzro auth | OAuth 2.1 + DPoP auth: refresh access tokens, link wallet for auth |
tenzro reserve | Proof-of-Reserve attestations for tokenized assets |
tenzro provenance | C2PA-style content provenance manifests (EU AI Act §50(2)) |
tenzro trust | Certifications, operator policies and model provenance |
tenzro catalog | The model catalog: what a node serves, and publishing entries to it |
tenzro bond | AgentBond surety primitive: post, increase, withdraw, get, list |
tenzro insurance | The network insurance pool: claim, list, get, pool |
tenzro registry | The generic registry: list, get (read-only) |
tenzro validator | Validator set (Dynamic Validator Set): register, exit, update-metadata, get, list |
tenzro da | Committee data availability: challenge, challenges, availability, committee, blobs, object, retention |
tenzro beacon | The chain's randomness beacon |
tenzro fee-market | The base fee of every resource market: compute, state growth, bandwidth, proof |
tenzro iroh | Iroh content-addressed transport: info, endpoint-id, alpns, publish, fetch |
tenzro adaptive-burn | Adaptive-burn governance dial: config, metrics, recommendation, proposals |
tenzro settle | Settlement plans: legs on several networks, one Commit-or-Abort decision, the split fixed by the quote |
tenzro pq-hybrid | PQ-hybrid signing helper commands |
tenzro access | Node access: sign in for an access token; administer who may use a node |
tenzro permit2 | Permit2 SignatureTransfer: domain-separator / digest / verify-and-consume / nonce-used |
tenzro urwa | ERC-7943 (uRWA) tokenized RWA compliance: kill-switch / freeze / forced-transfer |
tenzro bridge-fee | Bridge fee in TNZO: quote destination-native bridge fees in TNZO + list sponsorship pools |
tenzro moe | Decentralized Mixture-of-Experts serving |
tenzro discover | Discovery: node hardware profile |
tenzro cluster | Local-network cluster planning |
tenzro device | Devices bound to an identity, and machine ownership |
tenzro rails | Settlement rails and micropayment routing |
tenzro interaction | Interaction receipts: mirror a settlement to other chains |
tenzro status | Live resource and traffic status for this node |
tenzro rpc | Discover and call any JSON-RPC method this node serves |
tenzro visibility | Show or set this node's visibility (public, gated or private) |
tenzro chat | Interactive chat with AI models |
tenzro hardware | Show hardware profile |
tenzro info | Show network information |
tenzro version | Show version information |
Run tenzro <command> --help for the subcommands and flags of each group.