Skip to content
Tenzro
Documentation menu
Build and operate

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:

bash
cargo install --git https://github.com/tenzro/tenzro-network --bin tenzro

Check the install:

bash
tenzro version
tenzro info

Endpoints and credentials

OptionMeaning
--format text or --format jsonHuman-readable output (default) or JSON for scripts
-v, --verboseVerbose 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

bash
# 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 --provider

tenzro 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:

bash
tenzro sponsor check
tenzro sponsor apply
tenzro sponsor status

See Sponsorship and grants.

A 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

bash
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 DID

On 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

bash
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

CommandWhat it does
tenzro joinJoin the Tenzro Network (one-click participate)
tenzro setupGuided setup — join the network, provide, validate, or bootstrap a private network
tenzro nodeNode management commands
tenzro walletWallet management commands
tenzro modelModel management commands
tenzro stakeStaking commands
tenzro governanceGovernance commands
tenzro txTransaction inspection
tenzro fundingNetwork funding: grant and tranche requests, reward claims, vesting release
tenzro sponsorSponsorship: check eligibility, prepare an application, see status
tenzro providerProvider management commands
tenzro scheduleProvider schedule management
tenzro inferenceInference commands
tenzro identityIdentity management commands (TDIP)
tenzro paymentPayment commands
tenzro agentAI agent management commands
tenzro escrowEscrow and payment channel commands
tenzro dutyNetwork duties: work the chain pays the first prover for
tenzro devStart a local single-validator chain for development, keys in this machine's hardware
tenzro tokenToken management commands (create, query, cross-VM transfers)
tenzro contractContract deployment commands
tenzro bridgeCross-chain bridge commands (quote, execute, status, routes)
tenzro relayRelayer commands: deliver what other chains report to Tenzro
tenzro eventsEvent streaming commands (subscribe, history, webhooks)
tenzro cryptoCryptographic operations (sign, verify, encrypt, decrypt, hash, keygen)
tenzro teeTEE operations (detect, attest, challenge, verify, providers)
tenzro zkZero-knowledge proof operations (prove, verify, circuits, fraud proofs)
tenzro vrfVRF proof verification — RFC 9381 ECVRF-EDWARDS25519-SHA512-TAI
tenzro finalityFinality: verify the latest compact certificate from genesis as a light client
tenzro passkeyPasskey-first wallet onboarding + custody (enrollment, recovery, session keys, hardware signers)
tenzro machine-accessOwner-signed machine access for agents, tools and models (add, list, revoke)
tenzro media-genGenerative media: the media catalog and renders
tenzro forecastTimeseries forecasting (TimesFM 2.5, Chronos-2, TiRex-2, Toto 2.0)
tenzro embed-textText embeddings (Qwen3-Embedding, EmbeddingGemma, BGE-M3)
tenzro embed-imageImage embeddings (CLIP, SigLIP2, DINOv3)
tenzro segmentImage segmentation (SAM 2, EdgeSAM, MobileSAM)
tenzro text-segmentOpen-vocabulary text-promptable segmentation (SAM 3, SAM 3.1)
tenzro detectObject detection (RF-DETR, D-FINE)
tenzro decideDecision models: answer typed questions about a text
tenzro rerankRerankers: score documents against a query
tenzro speechSpeech synthesis (text to speech)
tenzro trainingLoRA training on this node's CUDA device (operator only)
tenzro transcribeAudio transcription / ASR (Moonshine, Distil-Whisper, Parakeet, Canary)
tenzro embed-videoVideo embeddings (catalog scaffolding for V-JEPA / VideoMAE)
tenzro authOAuth 2.1 + DPoP auth: refresh access tokens, link wallet for auth
tenzro reserveProof-of-Reserve attestations for tokenized assets
tenzro provenanceC2PA-style content provenance manifests (EU AI Act §50(2))
tenzro trustCertifications, operator policies and model provenance
tenzro catalogThe model catalog: what a node serves, and publishing entries to it
tenzro bondAgentBond surety primitive: post, increase, withdraw, get, list
tenzro insuranceThe network insurance pool: claim, list, get, pool
tenzro registryThe generic registry: list, get (read-only)
tenzro validatorValidator set (Dynamic Validator Set): register, exit, update-metadata, get, list
tenzro daCommittee data availability: challenge, challenges, availability, committee, blobs, object, retention
tenzro beaconThe chain's randomness beacon
tenzro fee-marketThe base fee of every resource market: compute, state growth, bandwidth, proof
tenzro irohIroh content-addressed transport: info, endpoint-id, alpns, publish, fetch
tenzro adaptive-burnAdaptive-burn governance dial: config, metrics, recommendation, proposals
tenzro settleSettlement plans: legs on several networks, one Commit-or-Abort decision, the split fixed by the quote
tenzro pq-hybridPQ-hybrid signing helper commands
tenzro accessNode access: sign in for an access token; administer who may use a node
tenzro permit2Permit2 SignatureTransfer: domain-separator / digest / verify-and-consume / nonce-used
tenzro urwaERC-7943 (uRWA) tokenized RWA compliance: kill-switch / freeze / forced-transfer
tenzro bridge-feeBridge fee in TNZO: quote destination-native bridge fees in TNZO + list sponsorship pools
tenzro moeDecentralized Mixture-of-Experts serving
tenzro discoverDiscovery: node hardware profile
tenzro clusterLocal-network cluster planning
tenzro deviceDevices bound to an identity, and machine ownership
tenzro railsSettlement rails and micropayment routing
tenzro interactionInteraction receipts: mirror a settlement to other chains
tenzro statusLive resource and traffic status for this node
tenzro rpcDiscover and call any JSON-RPC method this node serves
tenzro visibilityShow or set this node's visibility (public, gated or private)
tenzro chatInteractive chat with AI models
tenzro hardwareShow hardware profile
tenzro infoShow network information
tenzro versionShow version information

Run tenzro <command> --help for the subcommands and flags of each group.

ExploreJoin the network