One API key. One gateway. 26 services.
curl -H "Authorization: Bearer hk-your-api-key" https://api.hanzo.ai/v1/modelsfrom hanzo import Hanzo
client = Hanzo(api_key="hk-your-api-key")Version 4.0.0 β api.hanzo.ai β docs.hanzo.ai
Hanzo Cloud is a unified AI infrastructure platform. Every service β from LLM inference to databases to DNS β is accessible through a single API gateway at api.hanzo.ai with a single API key. All services share identity (Hanzo IAM), secrets (Hanzo KMS), and multi-tenant isolation.
Think: AWS + Vercel + Heroku, but unified under one auth system with AI-native primitives built in.
| Service | Endpoint | What it does |
|---|---|---|
| Cloud | api.cloud.hanzo.ai |
LLM inference API β 86+ models (OpenAI, Anthropic, open-source), usage tracking |
| Chat | hanzo.chat |
Multi-model AI chat with MCP tools, agents, assistants, RAG |
| Search | search.hanzo.ai |
Typo-tolerant full-text search with faceted filtering |
| Bot | app.hanzo.bot |
Bot framework with 743 skills and plugin marketplace |
| Nexus | nexus.hanzo.ai |
Knowledge base β document management, embeddings, semantic Q&A |
| Vector | vector.hanzo.ai |
Vector database β collections, similarity search, hybrid retrieval |
| Service | Endpoint | What it does |
|---|---|---|
| Flow | flow.hanzo.ai |
Visual workflow builder β drag-and-drop, 600+ integrations |
| Auto | auto.hanzo.ai |
Trigger-based automations, cron jobs, scheduled tasks |
| Operative | operative.hanzo.ai |
Computer use β AI controls a desktop via screenshot/mouse/keyboard |
| Service | Endpoint | What it does |
|---|---|---|
| IAM | hanzo.id |
Identity β OAuth2, OIDC, SAML, Web3 login, MFA, org management |
| Commerce | commerce.hanzo.ai |
Billing β payments, invoicing, subscriptions, usage metering |
| Gateway | api.hanzo.ai |
Unified API proxy β routing, rate limiting, CDN, spend tracking |
| Console | console.hanzo.ai |
Observability β LLM traces, scores, prompt versioning, datasets |
| KMS | kms.hanzo.ai |
Secrets β API keys, certificates, encryption, dynamic secrets |
| Analytics | analytics.hanzo.ai |
Web analytics β pageviews, events, sessions, reports |
| Service | Endpoint | What it does |
|---|---|---|
| PaaS | paas.hanzo.ai |
K8s-native deployments β GitOps, per-org clusters, fleet management |
| Platform | platform.hanzo.ai |
Local dev PaaS β Docker-based deployments for development |
| DB | db.hanzo.ai |
Serverless Postgres β instant branching, autoscaling, point-in-time restore |
| KV | kv.hanzo.ai |
Key-value store β caching, TTL, pub/sub channels, streams |
| MQ | mq.hanzo.ai |
Message queue β pub/sub, durable streams, request/reply, KV buckets |
| Edge | edge.hanzo.ai |
Edge functions β deploy TypeScript/JS globally, zero cold starts |
| Registry | registry.hanzo.ai |
Container registry β image storage, vulnerability scanning, webhooks |
| Visor | vm.hanzo.ai |
VM management β cloud instances, remote desktop (RDP/SSH) |
| Service | Endpoint | What it does |
|---|---|---|
| Engine | engine.hanzo.ai |
GPU scheduling β ML training jobs, Ray clusters, model serving |
| O11y | o11y.hanzo.ai |
Observability β logs (LogQL), metrics (PromQL), distributed traces, alerts |
| DNS | dns.hanzo.ai |
DNS hosting β zones, records, DNSSEC, query analytics |
| ZT | zt.hanzo.ai |
Zero-trust networking β identity-based overlay mesh, no open ports |
Every service is accessible through api.hanzo.ai:
# AI
api.hanzo.ai/v1/chat/completions β Cloud (LLM inference)
api.hanzo.ai/v1/models β Cloud (model listing)
api.hanzo.ai/v1/chat/* β Chat
api.hanzo.ai/v1/search/* β Search
api.hanzo.ai/v1/bot/* β Bot
api.hanzo.ai/v1/nexus/* β Nexus (knowledge base)
api.hanzo.ai/v1/vector/* β Vector DB
# Automation
api.hanzo.ai/v1/flow/* β Flow (workflows)
api.hanzo.ai/v1/operative/* β Operative (computer use)
# Platform
api.hanzo.ai/v1/auth/* β IAM
api.hanzo.ai/v1/billing/* β Commerce
api.hanzo.ai/v1/kms/* β KMS
api.hanzo.ai/v1/console/* β Console
api.hanzo.ai/v1/analytics/* β Analytics
# Infrastructure
api.hanzo.ai/v1/paas/* β PaaS
api.hanzo.ai/v1/platform/* β Platform
api.hanzo.ai/v1/db/* β DB (Postgres)
api.hanzo.ai/v1/kv/* β KV
api.hanzo.ai/v1/mq/* β MQ
api.hanzo.ai/v1/edge/* β Edge (functions)
api.hanzo.ai/v1/registry/* β Registry
api.hanzo.ai/v1/vm/* β Visor (VMs)
# Operations
api.hanzo.ai/v1/engine/* β Engine (GPU/ML)
api.hanzo.ai/v1/o11y/* β O11y
api.hanzo.ai/v1/dns/* β DNS
api.hanzo.ai/v1/zt/* β ZT (zero trust)
All services use a single HANZO_API_KEY:
curl -H "Authorization: Bearer hk-your-api-key" https://api.hanzo.ai/v1/modelsGet your API key at hanzo.id or console.hanzo.ai.
| Method | Use Case | How |
|---|---|---|
| API Key | Server-to-server, scripts | Authorization: Bearer hk-... |
| OAuth2 + PKCE | User-facing apps | hanzo.id/login/oauth/authorize |
| Client Credentials | Service-to-service | POST hanzo.id/api/login/oauth/access_token |
| JWT | After OAuth login | Authorization: Bearer eyJ... |
Every resource is scoped by org_id from the IAM token. Tenant isolation is enforced at the gateway, service, and database layers. No cross-tenant access is possible.
No service has its own login in production. All authentication flows through hanzo.id via OAuth2/OIDC. JWT tokens carry org and role claims. One login, all services.
All credentials, TLS certs, and connection strings are managed by kms.hanzo.ai. The KMS Operator syncs secrets into K8s namespaces. No hardcoded secrets in production.
All services implement ZAP (Zero-knowledge Attestation Protocol) for end-to-end verifiable data integrity β cryptographic attestation from database writes through API responses. See github.com/hanzoai/zap.
All services deploy via Hanzo PaaS on per-org DOKS clusters with GitOps, fleet management, and autoscaling.
pip install hanzo # Python
npm install @hanzo/sdk # TypeScript/Node
go get github.com/hanzoai/go-sdk # Go# Python
openapi-generator generate -i hanzo.yaml -g python -o clients/python
# TypeScript
openapi-generator generate -i hanzo.yaml -g typescript-axios -o clients/typescript
# Go
openapi-generator generate -i hanzo.yaml -g go -o clients/go
# Rust
openapi-generator generate -i hanzo.yaml -g rust -o clients/rust| Package | Description |
|---|---|
@hanzo/sdk |
Unified client for all Hanzo services |
@hanzo/kv |
Key-value store client |
@hanzo/mq |
Message queue client |
@hanzo/pubsub |
Pub/sub and streaming client |
Every service has a complete OpenAPI 3.1.0 specification:
openapi/
βββ hanzo.yaml # Master unified spec (all 26 services)
βββ shared/
β βββ errors.yaml # Shared error responses
β βββ pagination.yaml # Pagination schemas
β βββ auth.yaml # Auth schemas
β
βββ iam/openapi.yaml # Identity & auth
βββ commerce/openapi.yaml # Billing & payments
βββ cloud/openapi.yaml # AI model API
βββ gateway/openapi.yaml # API gateway
βββ console/openapi.yaml # Observability
βββ kms/openapi.yaml # Secrets management
β
βββ chat/openapi.yaml # AI chat
βββ flow/openapi.yaml # Workflows
βββ auto/openapi.yaml # Automations
βββ analytics/openapi.yaml # Web analytics
βββ bot/openapi.yaml # Bot framework
βββ search/openapi.yaml # Full-text search
β
βββ paas/openapi.yaml # K8s PaaS
βββ platform/openapi.yaml # Local dev PaaS
βββ visor/openapi.yaml # VM management
βββ operative/openapi.yaml # Computer use
βββ vector/openapi.yaml # Vector database
βββ nexus/openapi.yaml # Knowledge base / RAG
βββ registry/openapi.yaml # Container registry
βββ db/openapi.yaml # Serverless Postgres
βββ edge/openapi.yaml # Edge functions
βββ kv/openapi.yaml # Key-value store
βββ mq/openapi.yaml # Message queue
β
βββ engine/openapi.yaml # GPU / ML pipelines
βββ o11y/openapi.yaml # Logs, metrics, traces
βββ dns/openapi.yaml # DNS management
βββ zt/openapi.yaml # Zero-trust networking
# All specs
for spec in */openapi.yaml; do
echo "Validating $spec..."
openapi-generator validate -i "$spec"
done
# Master spec
npx @redocly/cli lint hanzo.yamlnpx @redocly/cli preview-docs hanzo.yaml # Redoc
npx @scalar/cli serve hanzo.yaml # Scalar
docker run -p 8080:8080 -e SWAGGER_JSON=/specs/hanzo.yaml \
-v $(pwd):/specs swaggerapi/swagger-ui # Swagger UIHanzo Cloud is built on world-class open-source infrastructure:
| GitHub Org | Focus | Key Projects |
|---|---|---|
| @hanzoai | Core platform | All 26 services |
| @hanzozt | Zero-trust networking | 79 repos |
| @hanzo-ml | GPU/ML | kubeflow, kuberay |
| @hanzodns | DNS | coredns |
| @hanzofn | Edge functions | edge-runtime |
| @hanzosql | Databases | neon |
| @hanzokv | Key-value store | valkey |
| @hanzocr | Container registry | harbor |
| @hanzomsg | Messaging | nats-server, nats.go, nats.js, nats.py |
| @hanzoo11y | Observability | loki, grafana, signoz |
Copyright 2024-2026 Hanzo AI, Inc. All rights reserved.