SDKs
Official Hanzo SDKs for Python, TypeScript, Go, Rust, and C/C++.
Hanzo SDKs
Hanzo provides official SDKs in five languages, all fully compatible with the OpenAI SDK interface. Use the Hanzo LLM Gateway with your preferred language.
Available SDKs
Python
The hanzoai package — drop-in replacement for the OpenAI Python SDK.
TypeScript
The @hanzo/ai package for Node.js, Deno, and browser environments.
Go
The hanzoai-go module for Go applications.
Rust
The hanzo-ai crate with async support and crypto/DID features.
C/C++
Native hanzo-ai library for embedded, game engines, and high-performance apps.
Quick Install
pip install hanzoaiKey Features
All SDKs share common capabilities:
- OpenAI-compatible — Use the same interface you already know
- 200+ models — Access models from OpenAI, Anthropic, Google, Meta, and more through the Hanzo LLM Gateway
- Streaming — Real-time token streaming for all supported models
- Function calling — Tool use and function calling across providers
- Type-safe — Full type definitions in every language
- Async-first — Native async/await support (Python, Rust, TypeScript, Go)
How is this guide?
Last updated on