Skip to content
@hanzo-js

Hanzo JS

JavaScript SDK + libraries for Hanzo Ecosystem

Hanzo for TypeScript / JavaScript

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.

hanzo.ai · Docs · Umbrella org · JS wrapper & docs


Two SDK lines, one ecosystem

Every Hanzo language ships two SDKs. Here they are for Node and the browser:

1 · Full Cloud SDK — @hanzo/sdk

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/sdk
import{Hanzo}from'@hanzo/sdk'consthanzo=newHanzo({apiKey: process.env.HANZO_API_KEY})constmodels=awaithanzo.models.list()console.log(models.data.map((m)=>m.id))

2 · AI & Agents — @hanzo/ai

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/ai
import{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/.


Repositories

Typed clients and building blocks that make up the JS/TS stack:

RepoPackageWhat it is
sdk@hanzo/sdkFull Cloud SDK — one typed client for every /v1 service
ai@hanzo/aiAI SDK — Zen models, agents, tools, memory, MCP, inference
agent@hanzo/agentAgent runtime — planning, tool use, memory
cloud@hanzo/cloudFocused /v1 platform client — agents, sessions, machines
base@hanzo/baseClient for Hanzo Base, the reactive backend (IAM-native)
iam@hanzo/iamHanzo IAM-native auth — OIDC + PKCE, one way
chat@hanzo/chatComposable React chat UI on @hanzo/ai + @hanzo/gui
commerce.js@hanzo/commerceCommerce SDK
shop.js@hanzo/shopStorefront widget over @hanzo/commerce
checkout.js@hanzo/checkoutCheckout widget
coin.js@hanzo/coinCrypto payments & token-sale SDK
track.js@hanzo/trackFirst-party web analytics — identify & track
dash.js@hanzo/dashReactive UI components for modular dashboards
hanzo.js@hanzo/hanzoCore JavaScript SDK
css@hanzo/cssCentralized CSS library
coworkCollaborative workspace toolkit

Legacy / archived: ui, cli, dash2, astley.js, hanzo-js.github.io, mobile-accounting.


Also available in

Every language gets the same two lines — full Cloud SDK plus AI & agents:

LanguageOrgLanguageOrg
Python (flagship AI)hanzo-py · hanzoai/python-sdkGohanzo-go
Rusthanzo-rsC++hanzo-cpp
Swifthanzo-swiftKotlinhanzo-kt

Umbrella & meta: hanzoai/sdk — one install, every service, every language.


Hanzo AI · the Open AI Cloud · github.com/hanzoai

Popular repositories Loading

  1. sdk sdkPublic

    Unified Hanzo TypeScript SDK — IAM, KMS, Commerce, Billing, MPC, PaaS, Team, Auth, API. One install, every service.

    TypeScript

  2. base basePublic

    @hanzo/base — JavaScript/TypeScript client for Hanzo Base (reactive backend, Hanzo IAM-native auth)

    TypeScript

  3. cloud cloudPublic

    @hanzo/cloud — typed TypeScript client for the Hanzo Cloud /v1/ platform API (agents, sessions, machines), Hanzo IAM-native auth

    TypeScript

  4. .github .githubPublic

    Org profile

  5. sdk-fetch sdk-fetchPublic

    The Hanzo API client for fetch runtimes — Workers, Deno, Bun, browsers. No axios, no dependencies. Generated from hanzoai/cloud's openapi.yaml.

    TypeScript

  6. sdk-angular sdk-angularPublic

    The Hanzo API client for Angular — injectable services, HttpClient, RxJS Observables. Generated from hanzoai/cloud's openapi.yaml.

    TypeScript

Repositories

Showing 6 of 6 repositories

Top languages

Loading…

Most used topics

Loading…