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.

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 and --yes. Every path needs a TPM 2.0 or a Secure Enclave on the machine: node and account keys live in hardware.

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 aapAAP (Agent Access Protocol) — alias for auth. AAP is the agent-facing layering on top of OAuth 2.1 + DPoP + RAR; the underlying RPCs are the same tenzro_*Token* / wallet-link methods exposed by auth
tenzro accessNode access: sign in for an access token; administer who may use a node
tenzro adaptive-burnAdaptive-burn governance dial: config, metrics, recommendation, proposals
tenzro agentAI agent management commands
tenzro authOAuth 2.1 + DPoP auth: refresh access tokens, link wallet for auth
tenzro babylonBabylon Bitcoin staking finality providers: register / list / submit / total-stake / delegations
tenzro beaconThe chain's randomness beacon
tenzro bondAgentBond surety primitive (Spec 9): post, increase, withdraw, get, list
tenzro bridgeCross-chain bridge commands (quote, execute, status, routes)
tenzro bridge-feeBridge fee in TNZO: quote destination-native bridge fees in TNZO + list sponsorship pools
tenzro catalogThe model catalog: what a node serves, and publishing entries to it
tenzro chatInteractive chat with AI models
tenzro clusterLocal-network cluster planning
tenzro contractContract deployment commands
tenzro cortexCortex: the node's network model and its channel to validators and RPC operators
tenzro cryptoCryptographic operations (sign, verify, encrypt, decrypt, hash, keygen)
tenzro daCommittee data availability: challenge, challenges, availability, committee, blobs, object, retention
tenzro detectObject detection (RF-DETR, D-FINE)
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 deviceDevices bound to an identity, and machine ownership
tenzro discoverDiscovery: node hardware profile
tenzro embed-imageImage embeddings (CLIP, SigLIP2, DINOv3)
tenzro embed-textText embeddings (Qwen3-Embedding, EmbeddingGemma, BGE-M3)
tenzro embed-videoVideo embeddings (catalog scaffolding for V-JEPA / VideoMAE)
tenzro erc7579ERC-7579 modules on an EVM contract account: install / uninstall / is-installed
tenzro erc7683ERC-7683 cross-chain intents: open / resolve / claim / fill / prove-fill / refund and reads
tenzro escrowEscrow and payment channel commands
tenzro eventsEvent streaming commands (subscribe, history, webhooks)
tenzro fee-marketThe base fee of every resource market: compute, state growth, bandwidth, proof
tenzro filesTenant object storage: upload, list, download, and delete files
tenzro finalityFinality: verify the latest compact certificate from genesis as a light client
tenzro forecastTimeseries forecasting (TimesFM 2.5, Chronos-2, TiRex-2, Toto 2.0)
tenzro fundingNetwork funding: grant and sponsored-stake requests, campaign claims
tenzro governanceGovernance commands
tenzro hardwareShow hardware profile
tenzro identityIdentity management commands (TDIP)
tenzro inferenceInference commands
tenzro infoShow network information
tenzro insuranceThe network insurance pool: claim, list, get, pool
tenzro interactionInteraction receipts: read and verify the accounting layer
tenzro irohIroh content-addressed transport: info, endpoint-id, alpns, publish, fetch
tenzro joinJoin the Tenzro Network (one-click participate)
tenzro machine-accessOwner-signed machine access for agents, tools and models (add, list, revoke)
tenzro media-genTenzro Media Gen — decentralized generative image and video
tenzro modelModel management commands
tenzro moeDecentralized Mixture-of-Experts serving
tenzro nodeNode management commands
tenzro orgAgent organizations, scope change requests and policy modules
tenzro passkeyPasskey accounts: enrol, sign in, read and change the keystore (devices, policy, recovery)
tenzro paymentPayment protocol commands (MPP / x402)
tenzro permit2Permit2 SignatureTransfer: domain-separator / digest / verify-and-consume / nonce-used
tenzro pq-hybridPQ-hybrid signing helpers: info / send / inspect (Ed25519 + ML-DSA-65 composite)
tenzro provenanceC2PA-style content provenance manifests (EU AI Act §50(2))
tenzro providerProvider management commands
tenzro railsSettlement rails and micropayment routing
tenzro relayRelayer commands: deliver what other chains report to Tenzro
tenzro reputationProvider reputation: get current score
tenzro rerankRerankers: score documents against a query
tenzro reserveProof-of-Reserve attestations for tokenized assets
tenzro rpcDiscover and call any JSON-RPC method this node serves
tenzro scheduleProvider schedule management
tenzro secure-mintSecure-Mint registry: set-policy / get-policy / clear-policy / check / apply / record-burn
tenzro seed-agentSeedAgent treasury / charter / registry (Spec 10): earmark, charter(s), list, activity
tenzro segmentImage segmentation (SAM 2, EdgeSAM, MobileSAM)
tenzro settleSettlement plans: legs on several networks, one Commit-or-Abort decision, the split fixed by the quote
tenzro setupGuided setup — join the network, provide, validate, or bootstrap a private network
tenzro set-usernameSet your Tenzro username
tenzro speechSpeech synthesis (text to speech)
tenzro stable-assetStable-asset issuance: register / get / mint / redeem an issuer's stable unit
tenzro stakeStaking commands
tenzro statusLive resource and traffic status for this node
tenzro teeTEE operations (detect, attest, challenge, verify, providers)
tenzro text-segmentOpen-vocabulary text-promptable segmentation (SAM 3, SAM 3.1)
tenzro tokenToken management commands (create, query, cross-VM transfers)
tenzro transcribeAudio transcription / ASR (Moonshine, Distil-Whisper, Parakeet, Canary)
tenzro trustCertifications, trust lists, operator policies and model provenance
tenzro txTransaction inspection
tenzro urwaERC-7943 (uRWA) tokenized RWA compliance: kill-switch / freeze / forced-transfer
tenzro validatorValidator set (Dynamic Validator Set): register, exit, update-metadata, get, list
tenzro versionShow version information
tenzro visibilityShow or set this node's visibility (public, gated or private)
tenzro vrfVRF proof verification — RFC 9381 ECVRF-EDWARDS25519-SHA512-TAI
tenzro walletWallet management commands
tenzro x402x402 (Coinbase HTTP-402 micropayment protocol): list-schemes, pay
tenzro zkZero-knowledge proof operations (prove, verify, circuits, fraud proofs)

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