Skip to content
@hanzo-rs

hanzo-rs

Hanzo for Rust

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.

What's here

  • Full Cloud SDK — hanzo-rs/sdk A typed, async Rust client covering the entire /v1 cloud 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.

Install

cargo add hanzo
# Cargo.toml
[dependencies]
hanzo = "*"tokio = { version = "1", features = ["full"] }

Usage

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(())}

Repositories

RepoWhat it is
sdkFull Hanzo Cloud SDK for Rust — agents, crypto, DID, inference, node. The full Rust stack. cargo add hanzo

Also available in

Every language gets its own home for real code:

Umbrella org: hanzoai — every product and SDK in one place. Rust docs/landing wrapper: hanzoai/rs-sdk. Meta index: hanzoai/sdk.


hanzo.ai · docs · The Open AI Cloud.

Popular repositories Loading

  1. .github .githubPublic

    Org profile

Repositories

Showing 1 of 1 repositories

People

This organization has no public members. You must be a member to see who’s a part of this organization.

Top languages

Loading…

Most used topics

Loading…