Expand description
§Hanzo — the Open AI Cloud SDK for Rust
hanzo is the umbrella crate for the Hanzo Rust stack. It re-exports the
individual hanzo-* crates behind feature flags so you can pull in exactly
the pieces you need with a single dependency:
[dependencies]
hanzo = "0.2"Each capability lives in its own crate and is surfaced here under a module of the same short name, gated by a Cargo feature:
| Feature | Module | Crate | What it is |
|---|---|---|---|
crypto | crypto | hanzo-crypto | Pure-Rust cryptography, incl. post-quantum (ML-KEM / ML-DSA) |
did | did | hanzo-did | Decentralized identifiers and verifiable identity |
agent | agent | hanzo-agent | The agent runtime |
agents | agents | hanzo-agents | Multi-agent orchestration |
agent-marketplace | agent_marketplace | hanzo-agent-marketplace | Agent marketplace |
mcp | mcp | hanzo-mcp | Model Context Protocol client + server |
embedding | embedding | hanzo-embedding | Embeddings and vector similarity |
kbs | kbs | hanzo-kbs | Key Broker Service for confidential compute |
guard | guard | hanzo-guard | Guardrails and policy |
extract | extract | hanzo-extract | Structured extraction |
config | config | hanzo-config | Shared configuration |
messages | messages | hanzo-message-primitives | Message primitives |
The default feature set is ["crypto", "did", "agent"]. Enable full for
everything, or pick à la carte:
hanzo = { version = "0.2", default-features = false, features = ["mcp", "embedding"] }§Two SDK lines
- This crate (the Rust stack) — crypto, DID, agents, MCP, and more, as native Rust crates.
- Full Cloud SDK — the generated client for the entire
/v1cloud surface. See the sibling SDKs below.
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
Re-exports§
pub use hanzo_crypto as crypto;cryptopub use hanzo_did as did;didpub use hanzo_message_primitives as messages;messagespub use hanzo_config as config;configpub use hanzo_guard as guard;guardpub use hanzo_extract as extract;extractpub use hanzo_agent as agent;agentpub use hanzo_agent_marketplace as agent_marketplace;agent-marketplacepub use hanzo_mcp as mcp;mcppub use hanzo_agents as agents;agentspub use hanzo_embedding as embedding;embeddingpub use hanzo_kbs as kbs;kbs
Constants§
- VERSION
- The version of the
hanzoumbrella crate.