The Open AI Cloud — open source, every language, on-chain settlement.
hanzo-js is the TypeScript / JavaScript home of Hanzo. Real,
idiomatic code for the whole Hanzo Cloud — one typed client for every /v1 service,
plus a first-class AI & agents library.
Every Hanzo language ships two SDKs. Here they are for Node and the browser:
Typed client for the entire cloud surface (/v1/*: AI, agents, inference, compute,
data, network, security/IAM/KMS, platform, observe, web3, apps). Generated from the
Hanzo Cloud OpenAPI, so it never drifts. Real code lives here in hanzo-js/sdk.
npm i @hanzo/sdkimport{Hanzo}from'@hanzo/sdk'consthanzo=newHanzo({apiKey: process.env.HANZO_API_KEY})constmodels=awaithanzo.models.list()console.log(models.data.map((m)=>m.id))The hand-crafted AI-first library: Zen models, agents, tools, memory, MCP, and
inference. Lives in hanzo-js/ai, with the agent
runtime in hanzo-js/agent.
npm i @hanzo/aiimport{Agent}from'@hanzo/ai'constagent=newAgent({model: 'zen-coder'})const{ output }=awaitagent.run('Summarize the last deploy and flag any regressions.')console.log(output)Zen is Hanzo's own model family. The API is always
/v1/— never/api/.
Typed clients and building blocks that make up the JS/TS stack:
| Repo | Package | What it is |
|---|---|---|
sdk | @hanzo/sdk | Full Cloud SDK — one typed client for every /v1 service |
ai | @hanzo/ai | AI SDK — Zen models, agents, tools, memory, MCP, inference |
agent | @hanzo/agent | Agent runtime — planning, tool use, memory |
cloud | @hanzo/cloud | Focused /v1 platform client — agents, sessions, machines |
base | @hanzo/base | Client for Hanzo Base, the reactive backend (IAM-native) |
iam | @hanzo/iam | Hanzo IAM-native auth — OIDC + PKCE, one way |
chat | @hanzo/chat | Composable React chat UI on @hanzo/ai + @hanzo/gui |
commerce.js | @hanzo/commerce | Commerce SDK |
shop.js | @hanzo/shop | Storefront widget over @hanzo/commerce |
checkout.js | @hanzo/checkout | Checkout widget |
coin.js | @hanzo/coin | Crypto payments & token-sale SDK |
track.js | @hanzo/track | First-party web analytics — identify & track |
dash.js | @hanzo/dash | Reactive UI components for modular dashboards |
hanzo.js | @hanzo/hanzo | Core JavaScript SDK |
css | @hanzo/css | Centralized CSS library |
cowork | — | Collaborative workspace toolkit |
Legacy / archived: ui, cli, dash2, astley.js, hanzo-js.github.io, mobile-accounting.
Every language gets the same two lines — full Cloud SDK plus AI & agents:
| Language | Org | Language | Org |
|---|---|---|---|
| Python (flagship AI) | hanzo-py · hanzoai/python-sdk | Go | hanzo-go |
| Rust | hanzo-rs | C++ | hanzo-cpp |
| Swift | hanzo-swift | Kotlin | hanzo-kt |
Umbrella & meta: hanzoai/sdk — one install, every service, every language.
Hanzo AI · the Open AI Cloud · github.com/hanzoai