Skip to main content

Crate hanzo

Crate hanzo 

Source
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:

FeatureModuleCrateWhat it is
cryptocryptohanzo-cryptoPure-Rust cryptography, incl. post-quantum (ML-KEM / ML-DSA)
diddidhanzo-didDecentralized identifiers and verifiable identity
agentagenthanzo-agentThe agent runtime
agentsagentshanzo-agentsMulti-agent orchestration
agent-marketplaceagent_marketplacehanzo-agent-marketplaceAgent marketplace
mcpmcphanzo-mcpModel Context Protocol client + server
embeddingembeddinghanzo-embeddingEmbeddings and vector similarity
kbskbshanzo-kbsKey Broker Service for confidential compute
guardguardhanzo-guardGuardrails and policy
extractextracthanzo-extractStructured extraction
configconfighanzo-configShared configuration
messagesmessageshanzo-message-primitivesMessage 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 /v1 cloud 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;crypto
pub use hanzo_did as did;did
pub use hanzo_message_primitives as messages;messages
pub use hanzo_config as config;config
pub use hanzo_guard as guard;guard
pub use hanzo_extract as extract;extract
pub use hanzo_agent as agent;agent
pub use hanzo_agent_marketplace as agent_marketplace;agent-marketplace
pub use hanzo_mcp as mcp;mcp
pub use hanzo_agents as agents;agents
pub use hanzo_embedding as embedding;embedding
pub use hanzo_kbs as kbs;kbs

Constants§

VERSION
The version of the hanzo umbrella crate.