Tenzro
Architecture

System architecture.

Twenty-five Rust crates. Three execution VMs. Seven ONNX runtimes. Five TEE vendors. One open network for autonomous AI coordination.
Stack
┌─────────────────────────────────────────────────────────┐
           Clients  Desktop · CLI · SDKs · Web          
└────────────────────────┬────────────────────────────────┘
                           JSON-RPC · HTTP · MCP · A2A
┌────────────────────────▼────────────────────────────────┐
                 tenzro-node                              
        RPC · Web API · MCP server · A2A server          
└────────────────────────┬────────────────────────────────┘
                         
   ┌─────────┬───────────┼─────────────┬──────────┬──────┐
                                                    
┌──▼──┐ ┌────▼───┐ ┌────▼─────┐ ┌──▼──┐ ┌────▼─┐ ┌▼───┐
 p2p   HS-2     multi-VM   kv    AI    │tee 
│libp2p│ │consensus│ │EVM·SVM·D│ │RDB   │routes│  5x 
└─────┘ └────────┘ └──────────┘ └─────┘ └──────┘ └────┘
                         
┌────────────────────────▼────────────────────────────────┐
  Crypto · ZK · Wallet · Identity · Payments · Agents    
  Token · Settlement · Bridge · Events · Model           
└──────────────────────────────────────────────────────────┘
Crate map

Organized by dependency.

Foundation
tenzro-types
Core primitives. Zero internal deps.
tenzro-crypto
Ed25519, Secp256k1, BLS12-381, X25519, AES-GCM, VRF, MPC.
Security
tenzro-tee
Intel TDX, AMD SEV-SNP, AWS Nitro, NVIDIA GPU CC, Intel Tiber.
tenzro-zk
Plonky3 STARKs over KoalaBear. Inference, settlement, identity AIRs.
tenzro-wallet
MPC threshold wallets. Argon2id keystore, key zeroization.
Network and storage
tenzro-network
libp2p, gossipsub, Kademlia, Circuit-Relay v2, AutoNAT v2.
tenzro-storage
RocksDB, Merkle Patricia Trie, snapshots, DA offload primitives.
tenzro-consensus
HotStuff-2 BFT, TEE-weighted leader selection, slashing.
Execution
tenzro-vm
EVM (revm), SVM (solana_rbpf), DAML. Block-STM, EIP-1559, ERC-4337/7579.
tenzro-token
TNZO economics. Staking, treasury, governance, liquid staking, adaptive burn.
Identity and payments
tenzro-identity
TDIP DIDs, W3C documents, verifiable credentials, delegation scopes.
tenzro-payments
MPP, x402, AP2, Tempo, Stripe, Coinbase, RFC 9421.
tenzro-settlement
Escrow, micropayment channels, batch processing, fee routing.
AI and agents
tenzro-model
Registry, providers, multi-modal ONNX runtime, pricing, downloads.
tenzro-agent
TDIP machines, A2A protocol, MCP bridge, swarms, memory tier.
tenzro-agent-kit
Templates, bootstrap, resolver, spawner, paid marketplace.
Bridges and node
tenzro-bridge
Wormhole NTT, LayerZero V2, Chainlink CCIP, deBridge, Canton.
tenzro-events
Event bus, webhooks, WebSocket subscriptions, replay.
tenzro-node
Full node binary. RPC, Web API, MCP, A2A. 473 RPC methods.
tenzro-cli
Command-line interface. 63 modules, full RPC coverage.
Components
Consensus

HotStuff-2: PREPARE → COMMIT → DECIDE. Linear O(n) communication. TEE-attested validators receive 1.5× weight in leader selection. Equivocation detection runs in the vote collector and triggers 10% stake slashing.

Multi-VM

Three execution runtimes under one ledger: EVM via revm, SVM via solana_rbpf, DAML via Canton. Block-STM parallel execution with MVCC, EIP-1559 fee market, ERC-4337 v0.8 account abstraction, ERC-7579 modular validators (social recovery, session keys, spend limits).

Storage

RocksDB with column families per domain. Merkle Patricia Trie for state roots. write_batch_sync for finalized blocks. Snapshot creation and restoration with compression. DA offload primitives (Inline / OffloadedDA) per receipt kind.

AI runtime

Seven ONNX runtimes: time-series, vision, text-embedding, segmentation, detection, audio, video. License-tier gating, modality-aware InferenceRouter, sidecar parameters on ModelInfo, HfArtifactDownloader for single-file + multi-file bundles.