# 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.
```toml
[dependencies]
hanzo = "0.2"
```
or
```bash
cargo add hanzo
```
## Features
The `default` set is `crypto`, `did`, `agent`. Enable `full` for everything, or
pick à la carte:
```toml
hanzo = { version = "0.2", default-features = false, features = ["mcp", "embedding"] }
```
| `crypto` | `hanzo::crypto` | [`hanzo-crypto`](https://crates.io/crates/hanzo-crypto) | Pure-Rust cryptography, incl. post-quantum (ML-KEM / ML-DSA) |
| `did` | `hanzo::did` | [`hanzo-did`](https://crates.io/crates/hanzo-did) | Decentralized identifiers and verifiable identity |
| `agent` | `hanzo::agent` | [`hanzo-agent`](https://crates.io/crates/hanzo-agent) | The agent runtime |
| `agents` | `hanzo::agents` | [`hanzo-agents`](https://crates.io/crates/hanzo-agents) | Multi-agent orchestration |
| `agent-marketplace` | `hanzo::agent_marketplace` | [`hanzo-agent-marketplace`](https://crates.io/crates/hanzo-agent-marketplace) | Agent marketplace |
| `mcp` | `hanzo::mcp` | [`hanzo-mcp`](https://crates.io/crates/hanzo-mcp) | Model Context Protocol client + server |
| `embedding` | `hanzo::embedding` | [`hanzo-embedding`](https://crates.io/crates/hanzo-embedding) | Embeddings and vector similarity |
| `kbs` | `hanzo::kbs` | [`hanzo-kbs`](https://crates.io/crates/hanzo-kbs) | Key Broker Service for confidential compute |
| `guard` | `hanzo::guard` | [`hanzo-guard`](https://crates.io/crates/hanzo-guard) | Guardrails and policy |
| `extract` | `hanzo::extract` | [`hanzo-extract`](https://crates.io/crates/hanzo-extract) | Structured extraction |
| `config` | `hanzo::config` | [`hanzo-config`](https://crates.io/crates/hanzo-config) | Shared configuration |
| `messages` | `hanzo::messages` | [`hanzo-message-primitives`](https://crates.io/crates/hanzo-message-primitives) | Message primitives |
## Usage
```rust
use hanzo::did; // requires feature "did"
use hanzo::crypto; // requires feature "crypto"
```
Each re-exported crate keeps its own full documentation on
[docs.rs](https://docs.rs/hanzo) — the umbrella just gives them one roof.
## Hanzo — the Open AI Cloud
Open source · every language · on-chain settlement.
[hanzo.ai](https://hanzo.ai) · [docs.hanzo.ai](https://docs.hanzo.ai)
**SDKs in every language** — [Python](https://github.com/hanzoai/python-sdk) (flagship) ·
[TypeScript](https://github.com/hanzo-js/sdk) ·
[Go](https://github.com/hanzo-go/sdk) ·
[Rust](https://github.com/hanzo-rs/sdk) ·
[C++](https://github.com/hanzo-cpp/sdk) ·
[Swift](https://github.com/hanzo-swift/sdk) ·
[Kotlin](https://github.com/hanzo-kt/sdk) ·
[umbrella](https://github.com/hanzoai/sdk)
## License
Dual licensed under MIT OR Apache-2.0.