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.
[]
= "0.2"
or
Features
The default set is crypto, did, agent. Enable full for everything, or
pick à la carte:
= { = "0.2", = false, = ["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 did; // requires feature "did"
use 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 language — Python (flagship) · TypeScript · Go · Rust · C++ · Swift · Kotlin · umbrella
License
Dual licensed under MIT OR Apache-2.0.