hanzo 0.2.0

Hanzo — the Open AI Cloud SDK for Rust. Umbrella crate re-exporting the Hanzo Rust stack: crypto, DID, MCP, agents, embeddings, and more, behind feature flags.
Documentation

hanzo

Hanzo — the Open AI Cloud SDK for Rust. The hanzo umbrella crate re-exports the Hanzo Rust stack — crypto, DID, MCP, agents, embeddings, and more — behind feature flags, so one dependency gives you the whole ecosystem.

[dependencies]
hanzo = "0.2"

or

cargo add hanzo

Features

The default set is crypto, did, agent. Enable full for everything, or pick à la carte:

hanzo = { version = "0.2", default-features = false, features = ["mcp", "embedding"] }
Feature Module Re-exports What it is
crypto hanzo::crypto hanzo-crypto Pure-Rust cryptography, incl. post-quantum (ML-KEM / ML-DSA)
did hanzo::did hanzo-did Decentralized identifiers and verifiable identity
agent hanzo::agent hanzo-agent The agent runtime
agents hanzo::agents hanzo-agents Multi-agent orchestration
agent-marketplace hanzo::agent_marketplace hanzo-agent-marketplace Agent marketplace
mcp hanzo::mcp hanzo-mcp Model Context Protocol client + server
embedding hanzo::embedding hanzo-embedding Embeddings and vector similarity
kbs hanzo::kbs hanzo-kbs Key Broker Service for confidential compute
guard hanzo::guard hanzo-guard Guardrails and policy
extract hanzo::extract hanzo-extract Structured extraction
config hanzo::config hanzo-config Shared configuration
messages hanzo::messages hanzo-message-primitives Message primitives

Usage

use hanzo::did;      // requires feature "did"
use hanzo::crypto;   // requires feature "crypto"

Each re-exported crate keeps its own full documentation on docs.rs — the umbrella just gives them one roof.

Hanzo — the Open AI Cloud

Open source · every language · on-chain settlement. hanzo.ai · docs.hanzo.ai

SDKs in every languagePython (flagship) · TypeScript · Go · Rust · C++ · Swift · Kotlin · umbrella

License

Dual licensed under MIT OR Apache-2.0.