Hanzo — the Open AI Cloud. Open source. Every language. On-chain settlement.
This is the Rust home of Hanzo. Real, idiomatic Rust code lives here — the full Cloud SDK plus the AI/agents library — so you can build on the entire Hanzo cloud without leaving the crate ecosystem. We ship Hanzo in Rust because we genuinely build in Rust.
- Full Cloud SDK —
hanzo-rs/sdkA typed, async Rust client covering the entire/v1cloud surface: AI (models, agents, inference, embeddings), compute, data, network, security (IAM, KMS), platform, observability, web3, and apps. Generated from the cloud OpenAPI, so it never drifts from the API.Result-based,tokio-native. - AI / agents library — the hand-crafted flagship for Zen models (our own model family), agents, tools, memory, MCP, and inference. Rust is our second-most-complete AI stack, right after Python.
cargo add hanzo# Cargo.toml
[dependencies]
hanzo = "*"tokio = { version = "1", features = ["full"] }List models:
use hanzo::Client;#[tokio::main]asyncfnmain() -> hanzo::Result<()>{let hanzo = Client::from_env()?;// reads HANZO_API_KEYlet models = hanzo.models().list().await?;// GET /v1/modelsfor m in models {println!("{}", m.id);}Ok(())}Run an agent:
use hanzo::Client;#[tokio::main]asyncfnmain() -> hanzo::Result<()>{let hanzo = Client::from_env()?;let reply = hanzo.agents().run("researcher","Summarize on-chain settlement volume this week").await?;println!("{}", reply.output);Ok(())}| Repo | What it is |
|---|---|
sdk | Full Hanzo Cloud SDK for Rust — agents, crypto, DID, inference, node. The full Rust stack. cargo add hanzo |
Every language gets its own home for real code:
hanzo-js· JavaScript / TypeScripthanzo-go· Gohanzo-py· Pythonhanzo-cpp· C++hanzo-swift· Swifthanzo-kt· Kotlin
Umbrella org: hanzoai — every product and SDK
in one place. Rust docs/landing wrapper: hanzoai/rs-sdk.
Meta index: hanzoai/sdk.