Skip to content
@hanzoai

Hanzo AI

AI infrastructure for the agentic era — LLM gateway, MCP tools, multi-agent SDKs, and dev tools. Techstars '17.

Hanzo

Hanzo — The Open AI Cloud

Sovereign, self-hostable AI infrastructure, developer platform, and agentic operating system.
One unified contract. Zero vendor lock-in. Self-contained across your laptop, edge nodes, or private GPU clusters.

hanzo.ai · Documentation · LLM Context (llms.txt) · HIPs Specifications · Skills · Market · Forge · CLI (hanzo.sh)


Architecture: From Ingress to Egress

Hanzo unifies every layer of the modern cloud and AI stack into an open, zero-trust lifecycle:

[Clients, SDKs, Coding Agents, Browsers]
                   │
                   ▼
  Cloudflare (Edge WAF, DDoS, Anycast SSL)
                   │
                   ▼
  AWS Network Load Balancer (NLB)
                   │
                   ▼
  hanzoai/ingress (L4/L7 Ingress Controller, TLS Termination & Subdomain Routing)
                   │
                   ▼
  hanzoai/gateway (Stateless Gateway: JWT Auth, Quota/Rate Limiting, Identity Injection)
                   │
                   ▼
  hanzoai/cloud (Unified "One Binary" Control Plane — Lazy-Loads All /v1/* APIs)
   ├─ IAM (hanzo.id) & KMS (kms.hanzo.ai)
   ├─ Model Hub (500+ LLMs, Routing, Prompting, RAG)
   ├─ Multi-Tenant BaaS (Base + Encrypted SQLite)
   ├─ Headless Commerce & Billing (Crypto / Card / Wire Clearinghouse)
   ├─ Workflow Automation (Auto + Tasks over ZAP)
   ├─ Native Sandbox Orchestrator (Visor + VM over ZAP)
   ├─ Realtime ZAP Telemetry Ingestion (o11y Spans/Metrics/Logs)
   └─ In-Cluster BuildKit Job Dispatch (/v1/build)
                   │
    ┌──────────────┴────────────────────────────┐
    ▼                                           ▼
Sovereign Data Plane                     hanzoai/ai, Tasks & Agents
• Base (Multi-tenant BaaS)                      │
• SQLite (Hardware Encrypted)                   ▼ (Credential-Free Outbound Call)
• SQL (Relational Engine)                hanzoai/egress (Outbound Security Boundary)
• Datastore (Columnar OLAP Engine)              │ (Rate Limits, Redaction, Audit Spans)
• KV (In-Memory RESP/ZAP)                       ▼
• S3 (S-Chain Object Store)              Hanzo KMS & MPC Nodes
                                         (In-Flight Ephemeral Key Unwrapping / HSM)
                                                │
                                                ▼ (Egress Dispatch With Injected Auth)
                                         External Partner APIs & BYOK Providers
                                         (Model Providers, Payment Gateways, Webhooks)

hanzoai/ingress ➔ hanzoai/gateway ➔ hanzoai/cloud ➔ hanzoai/ai ➔ hanzoai/egress ➔ hanzoai/kms & hanzoai/mpc

Note

Network Isolation: Hanzo KMS, Split-MPC, and Egress operate in strictly segregated, isolated network enclaves for defense-in-depth security.

Outbound Trust Boundary: AI ➔ Egress ➔ KMS/MPC ➔ Third Party

Governed by HIP-0143: Egress Outbound Trust Boundary, Hanzo enforces a zero-leakage perimeter for all external network interactions:

  1. Credential-Free Internal Calls: Internal services (hanzoai/ai, hanzoai/auto, hanzoai/tasks, coding agents) never store or receive raw external API keys. Outbound requests reference only scoped credential identifiers (credential_id).
  2. Outbound Boundary Enforcement (hanzoai/egress): Network policies force all outbound traffic through the egress proxy. egress evaluates organization rate limits, checks token balance tariffs, scrubs internal headers, and records tamper-evident audit spans.
  3. In-Flight Key Injection via Split-MPC: hanzoai/egress contacts Hanzo KMS (hanzoai/kms, hanzoai/mpc). Quorum threshold shares (FROST/CGGMP21/Pulsar) or physical hardware HSMs unwrap the key in-flight, injecting the token directly into the outbound HTTP authorization header in RAM.
  4. External Dispatch: Requests are dispatched over TLS to external providers. Credentials never touch disk, container environment variables, or model reasoning contexts, and responses stream directly back through egress.

Deterministic Code Generation Pipeline (HIP-0139)

To ensure client libraries, documentation, CLI tools, and agent definitions never drift from production code, Hanzo enforces a single-source-of-truth generation pipeline:

Go Live Router (zap-proto/zip & hanzoai/cloud)
                   │
                   ▼
  make openapi ➔ GET /v1/openapi.json
  (Canonical 1,800+ path golden contract; verified by CI)
                   │
                   ▼
  hanzoai/openapi Generator (generate.py, sdks.yaml)
                   │
  ┌────────────────┼────────────────┬────────────────┐
  ▼                ▼                ▼                ▼
Rust CLI        MCP Server      Client SDKs       Documentation
(hanzoai/cli)   (hanzoai/mcp)   (14+ Languages)   (docs.hanzo.ai, llms.txt)

zap-proto/zip & hanzoai/cloud ➔ hanzoai/openapi ➔ hanzoai/cli · hanzoai/mcp · docs.hanzo.ai

  1. Declared Once in Code: Handlers, routes, request/response types, and security schemes are written once in Go using zap-proto/zip.
  2. Golden Contract Verification: Running make openapi compiles the live route table into openapi.yaml and private.yaml. If an engineer edits a route or model without updating the golden spec, CI fails.
  3. Automated SDK & Tool Projection: hanzoai/openapi automatically regenerates the Rust CLI, Model Context Protocol tools, and client SDKs across 14+ programming languages, stamping each release with a cryptographic .spec-lock.

Runtime Composition

1. Local Dev Runtime

  • Single Binary Footprint: Run on a laptop with zero cloud dependencies.
  • One-Command Boot (hanzo up): Boots the entire unified Hanzo cloud locally, lazy-loading each service (/v1/*) on-demand!
  • CLI Entry: hanzo CLI installed via curl -fsSL https://hanzo.sh | sh. Login as a user or administrator with hanzo auth login.
  • Local Cloud Server: hanzoai/cloud runs unencrypted for development via CLOUD_DEV_UNENCRYPTED=1 make build.
  • Local BaaS: hanzoai/base boots in-process on port 8090 using SQLite with immediate REST and realtime SSE change streams.
  • Local Inference: hanzoai/engine serves quantized GGUF models on CPU, Apple Silicon Metal, or CUDA over /v1/chat/completions.
  • Coding Agents: hanzo dev runs coding sessions locally within hanzoai/kata microVM sandboxes over standard I/O MCP.

2. Clustered Production Runtime

  • High-Availability Kubernetes: Deployed across sovereign clusters (hanzo-k8s, AWS EKS, etc).
  • Ingress & Identity Injection: Requests pass through AWS Network Load Balancers (NLB), hanzoai/ingress (handling TLS termination and certificates), and stateless hanzoai/gateway (validating RSA-signed JWTs from iam and injecting trusted X-User-Id / X-Org-Id headers downstream).
  • Unified Control Plane: hanzoai/cloud mounts all core subsystems dynamically using the zip framework without code divergence.
  • Sovereign GPU Inference: Model routing passes through hanzoai/ai and hanzoai/kai, executing against resident hanzoai/engine inference engine and hanzoai/ml framework.
  • Continuous Delivery: Reconciled continuously by Hanzo CD (cd.hanzo.ai, hanzoai/cd) against declarative specs in hanzoai/deploy.

3. Base Data Layer & Database-Agnostic ORM Composition

  • Database-Agnostic ORM (hanzoai/orm): Governed by HIP-0144: Where State Lives. The Hanzo data layer is completely agnostic of the underlying SQL storage engine:
    • Fast Embedded Local Dev: Defaults to SQLite (with SQLCipher 4 hardware encryption or in-memory) for instant, zero-dependency hanzo up boots without running external database containers.
    • Pluggable Multi-Backend Drivers: Seamlessly switches to external SQL engines — PostgreSQL wire protocol via hanzoai/sql, columnar OLAP via hanzoai/datastore, MySQL, MariaDB, TiDB, and CockroachDB — with identical Go application code.
    • Unified Type-Safe API: Provides generic Model[T], schema auto-migrations, transactional safety, and zero-allocation query building.
  • State Ranks (HIP-0144):
    • Rank 1 (Per-Tenant File): hanzoai/base provisions isolated, per-org SQLite databases (/orgs/<org>/data.db) encrypted with organization-specific SQLCipher 4 keys derived from Hanzo KMS.
    • Rank 2 (Column Store): hanzoai/datastore ingests high-throughput telemetry, analytics, and event streams decoupled over S-Chain object storage (hanzoai/s3).
    • Rank 3 (Shared SQL & KV): hanzoai/sql and hanzoai/kv provide shared clustered relational state and in-memory caches where multi-tenant concurrency requires a centralized server.
  • Streaming Replication: Replicated in real time via hanzoai/vfs blocks to S-Chain distributed object storage (hanzoai/s3).
  • In-Process JavaScript Hooks: Business logic runs in sandboxed ECMAScript VMs via Goja (.base.js).

4. Realtime Pipeline

  • Zero-Copy Protocol (ZAP): Binary communication over port 9653 and /zap WebSockets; 17x faster than standard JSON-RPC.
  • Reactive Database Streams: Collection changes in Base immediately broadcast over Server-Sent Events (SSE).
  • Telemetry Streaming: Node-local OpenTelemetry collectors stream spans, logs, and metrics directly to apps/o11y and Datastore.
  • Interactive Agent Sessions: hanzo dev sessions stream live terminal PTY output, diff trees, and model reasoning to Mission Control.

5. Native Sandboxing & Visor Runtime

  • Native Userspace Sandbox (hanzoai/visor): Lightweight application kernel and container sandbox written in Go, communicating natively over the zero-copy ZAP binary protocol instead of gRPC.
  • Low Latency & High Density: Delivers sub-millisecond cold starts and significantly lower memory footprints than hypervisors (such as Firecracker), providing the high-density isolation necessary for agent fleets.
  • PaaS & Execution Primitives: Directly powers ephemeral runner dispatch (POST /v1/runner), interactive coding sessions (hanzo dev), and code evaluation sandboxes.

6. Code Intelligence & Semantic Search Pipeline

  • Concrete Syntax Trees (AST): Parsed in-process via hanzoai/ast (grammar parser generator across 40+ programming languages) into queryable s-expression CST nodes.
  • Language Server Protocol (LSP): hanzoai/lsp resolves cross-file definitions, type hierarchies, hover docs, and diagnostics without external IDE processes.
  • Trigram Inverted Index (tgram): hanzoai/tgrep builds 3-character sub-token posting lists across git repositories, providing sub-millisecond regex code search.
  • Semantic Vector & Graph Backend: Code chunks are embedded and indexed via hanzoai/vector (HNSW) and linked to ontology nodes via hanzoai/graph (distributed graph engine over luxfi/zapdb), enabling hybrid semantic discovery at POST /v1/semantic.

7. App Platform & BuildKit PaaS

  • In-Cluster Multi-Arch BuildKit: Invoked via POST /v1/build in hanzoai/cloud, dispatching isolated container builds with zero host Docker daemon exposure.
  • Ephemeral MicroVM Runners: POST /v1/runner allocates just-in-time microVMs (hanzoai/git-runner) for isolated code evaluation and test suites.
  • Artifact & Package Distribution: Multi-arch container images and Helm charts push to oci.hanzo.ai (backed by hanzoai/s3), while language dependencies resolve via pkg.hanzo.ai.
  • Forge & Hanzo CD Reconciler: Hanzo Forge (forge.hanzo.ai / hanzoai/git) hosts repositories, PRs, and Kanban project boards, while Hanzo CD (cd.hanzo.ai / hanzoai/deploy) continuously syncs declared Helm charts into production.

8. Telemetry, Exception Tracking & Event Substrate

  • Native Exception Tracking (hanzoai/sentinel): Ingests standard error envelope protocols (/api/{project_id}/envelope/, /api/{project_id}/store/) from client SDKs with zero code modifications, providing crash capture and stack-frame unwinding (ghcr.io/hanzoai/sentry).
  • High-Throughput Event Ingestion (POST /v1/event): High-throughput clickstream and telemetry ingestion via lightweight, cookieless tag.js auto-capture.
  • Web & Product Analytics (analytics.hanzo.ai): Real-time traffic, page views, bounce rates, and referrer metrics respecting strict sovereign privacy and zero third-party cookie leakage.
  • Business Intelligence & OLAP Warehouse (insights.hanzo.ai & hanzoai/datastore): Columnar OLAP engine decoupled over S-Chain object store (hanzoai/s3). Powers arbitrary SQL aggregations, retention cohorts, conversion funnels, and revenue attribution.
  • Event Streaming & Protocol Adapters: In-memory and persisted event pub/sub via hanzoai/pubsub over ZAP binary transport (port 9653), with zero-code protocol bridges for Kafka (hanzoai/kafka) and AMQP message queues (hanzoai/amqp).

9. Autonomous Headless Agentic Commerce, Billing & Treasury

  • Sovereign Commerce Engine (hanzoai/commerce): Governed by HIP-1220. Built on Hanzo's foundational commerce, analytics, and billing platform.
  • Headless Agent Provisioning: Fully optimized for autonomous AI agents. Any agent can programmatically provision an organization, generate an API key, test on the free tier, and autonomously top up compute credits via native cryptocurrency (EIP-712 USDC / native MPC treasury rails), saved payment cards, or bank wires.
  • Customer Billing & Metering (hanzoai/billing): Real-time spend tracking, balance ledgers, usage metering (/v1/usage, HIP-1313), and customer billing portal (billing.hanzo.ai).
  • Financial AI & Treasury Rails (hanzoai/treasury, hanzoai/ledger): Governed by HIP-1001 and HIP-1221. Multi-tenant double-entry accounting ledger (ledger), bank clearinghouse connections, automated payment routing, and financial reconciliation.
  • Multi-Chain Key Custody & Wallet (hanzoai/wallet): Governed by HIP-1161. Multi-chain SIWx signature verification, automated agent clearinghouse, and secure key custody.

10. Corporate Legal, Capital Rails & Document Security

  • Sovereign Equity & Cap Table Management (hanzoai/captable): Governed by HIP-1111. Sovereign equity, share classes, option pools, stakeholder ledgers, and automated vesting schedules (captable.hanzo.ai).
  • Cryptographic Tamper-Evident E-Signatures (hanzoai/esign): Governed by HIP-1125. Self-hosted document e-signature platform with verifiable digital audit trails, hash proofs, and field placement (esign.hanzo.ai).
  • Secure Virtual Data Rooms (hanzoai/dataroom): Governed by HIP-1121. Encrypted document sharing with dynamic viewer watermarking, role-based granular access revocation, and tamper-evident audit logs (dataroom.hanzo.ai).

11. AI Substrate & Decentralized AI Network (Phase 1 ➔ Phase 2)

  • Core ML Framework (hanzoai/ml): Multi-backend Rust tensor computation and machine learning toolkit (hanzo-ml, CUDA, Metal, ROCm, Vulkan).
  • LLM Inference Server (hanzoai/engine): High-performance multimodal inference server supporting GGUF, CUDA, Metal, and ISQ quantization over /v1/chat/completions.
  • Sovereign Node & P2P AI Mesh (hanzoai/node): Blockchain node embedding the inference engine, shipped with the Hanzo desktop app to mine AI and connect local compute with cloud inference — paving the way for a global decentralized AI network for distributed training, inference, and a P2P compute marketplace.

12. Multi-Tenant Organizations, Unified IAM & Sandboxed Extensibility

  • Sovereign Identity Protocol (did:hanzo:<org>:<user>): Governed by HIP-0097 and @hanzo/iam (hanzo.id). Cryptographic user authentication, organization membership, and RBAC via RSA/ECDSA-signed JWT claims.
  • Per-Tenant Data & Key Isolation: Every organization gets an independent SQLite database at /orgs/<org>/data.db encrypted with organization-specific SQLCipher 4 keys derived from Hanzo KMS, coupled with isolated ZAP pub/sub topic trees.
  • Frontend Runtime Customization: Developers customize application look and feel dynamically using mod themes (@hanzo/mod), @hanzo/ui, and @hanzo/design tokens without rebuilding or recompiling frontend distributions.
  • Backend In-Process Sandboxes: Users write custom business logic and backend extensions that execute safely in sandboxed environments:
    • ECMAScript/JS Sandboxes: Fast execution via Goja/V8 (.base.js) hooks for record lifecycle events and REST API extensions.
    • WebAssembly Sandboxes: Multi-language extensions compiled to Wasm running inside wasm runtimes and isolated kata microVM sandboxes.
  • Enterprise High-Performance wasm2go AOT: In enterprise production, performance-critical Wasm modules are compiled directly into native Go assembly (amd64.s/arm64.s) via hanzoai/wasm2go, running natively inside the "One Binary" with zero CGo overhead and zero interpreter tax.

Cryptography & Key Management: Split MPC & Hardware Security

Governed by HIP-0136: One Secret, One Path and HIP-0409: KMS CRD, Hanzo KMS (kms.hanzo.ai, hanzoai/kms) is a thin, high-performance Go service layered over hanzoai/mpc:

                       Hanzo KMS (kms.hanzo.ai)
                                  │
    ┌─────────────────────────────┼─────────────────────────────┐
    ▼                             ▼                             ▼
1. SPLIT MPC BACKEND        2. OPTIONAL HARDWARE HSM       3. ENVELOPE ENCRYPTION
Threshold Secret Sharing    Physical Security Modules     Local Hardware Accelerated
• FROST (Schnorr threshold) • PKCS#11 / YubiHSM           • AES-256-GCM / Poly1305
• CGGMP21 (ECDSA threshold) • AWS CloudHSM                • SQLCipher 4 At-Rest Engine
• Pulsar (Ring-LWE PQ)      • Google Cloud KMS / Azure    • Memory-only Grant Decryption
  • Split MPC Backend: Private master keys never exist on a single machine. Key shares are computed and distributed across independent threshold nodes via FROST (Schnorr), CGGMP21 (ECDSA), and Pulsar (Ring-LWE lattice post-quantum threshold signatures).
  • Optional Hardware HSM: Enterprise deployments can bind root keys to dedicated hardware security modules via standard PKCS#11, YubiHSM, AWS CloudHSM, or cloud key vaults.
  • Post-Quantum Cryptography Suite: Implements ML-KEM-768 (Kyber key encapsulation), ML-DSA-65 (Dilithium digital signatures), and Pulsar to protect data against store-now-decrypt-later nation-state adversaries.
  • Published Keys vs. Secret Keys:
    • Published Keys (Identity & Verification): Ed25519 and Secp256k1 public keys, DID documents (did:hanzo:<org>:<user>, HIP-0097), and public JWKS (https://hanzo.id/.well-known/jwks.json). Downstream clients and gateways verify tokens, signatures, and EIP-712 payment authorizations client-side with zero network roundtrips.
    • Secret Keys (KMS Sealed Envelope): Sensitive credentials (provider API tokens, private keys, database master encryption keys) are sealed in Hanzo KMS under canonical paths /orgs/{org}/users/{user}/connectors/{provider}/{label}. They are never committed to git, written to disk, or injected as plain container environment variables.
  • KMS Environments & Zero-Plaintext Grants:
    • KMS_ENV=dev: Allows local developers and offline testing to mock envelope grants in-memory without contacting an external HSM or MPC cluster.
    • KMS_ENV=production: Enforces hardware HSM and split-MPC quorum consensus. Workloads authenticate via Kubernetes ServiceAccount tokens; secret.Boot reads scoped secrets directly into RAM as memory-only grants.

The Dual-Repo SDK Architecture

To ensure high performance across every ecosystem without code duplication, Hanzo employs a dual-repository SDK model:

  • Top-Level Discovery (hanzoai/<lang>-sdk): The canonical developer entrance, idiomatic wrappers, documentation, and package metadata.
  • True Implementation Home (hanzo-<lang>/sdk): The underlying native source code, toolchain-specific build configurations, and compiler pipelines generated directly from api.hanzo.ai/v1/openapi.json via HIP-0139.
Language Canonical Entry Repo Implementation Home Package Registry Installation
Python hanzoai/python-sdk hanzo-py/sdk PyPI (hanzoai) pip install "hanzoai>=8"
TypeScript / JS hanzoai/js-sdk hanzo-js/sdk npm (hanzoai, @hanzo/ai) npm i hanzoai
Go hanzoai/go-sdk hanzo-go/sdk Go Modules go get github.com/hanzo-go/sdk
Rust hanzoai/rust-sdk hanzo-rs/sdk crates.io (hanzo) cargo add hanzo
C++ hanzoai/cpp-sdk hanzo-cpp/sdk CMake / vcpkg #include <hanzo/client.hpp>
Swift hanzoai/swift-sdk hanzo-swift/sdk Swift Package Manager .package(url: "...", ...)
Dart / Flutter hanzoai/dart-sdk hanzo-dart/sdk pub.dev (hanzo) dart pub add hanzo
Kotlin hanzoai/kotlin-sdk hanzo-kt/sdk Maven Central implementation("ai.hanzo:sdk")
Java hanzoai/java-sdk hanzo-java/sdk Maven Central <groupId>ai.hanzo</groupId>
PHP hanzoai/php-sdk hanzo-php/sdk Packagist (hanzoai/sdk) composer require hanzoai/sdk
Ruby hanzoai/ruby-sdk hanzo-ruby/sdk RubyGems (hanzoai) gem install hanzoai
Common Lisp hanzo-cl hanzo-cl/sdk Quicklisp (ql:quickload :hanzo)

The 70+ Hanzo GitHub Organizations

The Hanzo ecosystem is organized across specialized, purpose-driven GitHub organizations:

Domain Organizations Primary Responsibility
Core Platforms hanzoai, hanzo-core, hanzohq, hanzo-labs, hanzoworks, hanzo-community Open-source platform cores, control plane, experimental labs, and community extensions
Language SDKs hanzo-py, hanzo-js, hanzo-go, hanzo-rs, hanzo-cpp, hanzo-swift, hanzo-dart, hanzo-kt, hanzo-kotlin, hanzo-java, hanzo-cl Native language SDK implementation repositories and package generators
Identity & Security hanzoiam, hanzoid, hanzokms, hanzompc, hanzozt Sovereign identity (hanzo.id), key custody (kms.hanzo.ai), MPC ceremonies, zero-trust overlay
Data & Storage hanzodb, hanzosql, hanzokv, hanzos3, hanzo-ds, hanzodocdb Relational SQL engines, in-memory KV, S-Chain object store, Columnar OLAP warehouse, document DBs
Models & Compute hanzo-ml, hanzolm, hanzo-lm, hanzovm Zen model family weights, Rust tensor libraries, inference acceleration, virtualization
Agents & Workflows hanzo-studio, hanzobot, hanzoteam, hanzochat, hanzoskills, hanzoskill AI Studio, bot gateways (WhatsApp/Telegram), team workspaces, atomic skill discovery
Client Applications hanzoapp, hanzo-app, hanzo-apps Production web applications, user consoles, and client frontends
UI & Styling hanzoui, hanzogui Universal component library (@hanzo/ui) and optimizing style compiler (@hanzo/gui)
DevOps & Delivery hanzocd, hanzo-git, hanzocr, hanzodns, hanzo-templates, hanzo-os Continuous delivery (cd.hanzo.ai), Git Forge (forge.hanzo.ai), OCI registry (oci.hanzo.ai), DNS
Telemetry & Signals hanzoo11y, hanzolog, hanzometric, hanzomsg, hanzofn Observability pipelines over ZAP, metrics stores, pub/sub messaging, serverless functions
Blockchain & Fi hanzonet, hanzonetwork, hanzodao, hanzo-fi, hanzo-industries, hanzo-agency Hanzo validator network, consensus nodes, DeFi primitives, and specialized vertical solutions
Documentation hanzodocs, hanzo-docs Documentation sites, LLM context indexes, and OpenAPI specifications
Enterprise Enclaves hanzo-enterprise Proprietary cloud platform, private hardware kernels, and member-only enclaves

Master Repository Catalog (hanzoai/*)

1. Edge, Traffic, Security & Cloud Control Plane

Repository Documentation Specification Description
ingress docs.hanzo.ai HIP-1133 High-performance L4/L7 Ingress Controller & Reverse Proxy
gateway docs.hanzo.ai HIP-1127 API Gateway fronting api.hanzo.ai (JWT auth, rate limits, identity injection)
egress docs.hanzo.ai HIP-0143 Outbound security boundary; meters external calls without leaking credentials
cloud docs.hanzo.ai HIP-0106 Flagship open-source unified Go backend ("The One Binary")
iam docs.hanzo.ai HIP-0111 Sovereign Identity & Access Management service (hanzo.id)
kms docs.hanzo.ai HIP-0136 Sovereign Key Management Service & envelope encryption (kms.hanzo.ai)

2. Multi-Cloud Compute, Sandboxes & Kubernetes Fleet

Repository Documentation Specification Description
vm docs.hanzo.ai HIP-1172 Multi-cloud compute plane (AWS, GCP, Azure, DO, Bare-Metal) under /v1/visor/*
compute docs.hanzo.ai HIP-1172 Multi-cloud bare-metal, machine, and GPU cluster orchestration fleet
visor docs.hanzo.ai HIP-0123 Native userspace application kernel & container sandbox runtime in Go over ZAP
kata docs.hanzo.ai HIP-1146 Hypervisor-isolated Kata Container microVM execution sandbox for agents
tasks docs.hanzo.ai HIP-1062 Durable workflow execution engine & distributed task queue over ZAP
functions docs.hanzo.ai HIP-0060 Serverless FaaS control plane & runtime on Wasm and V8 (/v1/functions)

3. Business Apps, Metadata Engine & ERP

Repository Documentation Specification Description
framework docs.hanzo.ai HIP-1126 Metadata-driven DocType engine in native Go on SQLite (zero Python runtime)
erp docs.hanzo.ai HIP-1126 Sovereign Enterprise Resource Planning deployment (erp.hanzo.ai)
crm docs.hanzo.ai HIP-1120 AI-native sales and customer pipeline management (crm.hanzo.ai)

4. Framework, RPC & Code Generation

Repository Documentation Specification Description
zip docs.hanzo.ai HIP-0122 Go web application server and router with native ZAP-typed handlers and zero-allocation dispatch
zap docs.hanzo.ai HIP-0114 Zero-copy Application Protocol (ZAP) runtimes (Rust, Go, TypeScript)
openapi docs.hanzo.ai HIP-0139 Single-source generator projecting /v1/openapi.json into 9 client surfaces
wasm2go docs.hanzo.ai HIP-0127 Ahead-of-time WebAssembly to Go / Go assembly (amd64.s, arm64.s) AOT compiler

5. AI Compute, Models, Inference & Autonomous Agents

Repository Documentation Specification Description
ai docs.hanzo.ai HIP-1211 AI control plane, model catalogue (500+ LLMs), RAG orchestrator
ml docs.hanzo.ai HIP-0109 Multi-backend Rust tensor & ML framework (hanzo-ml, CUDA, Metal, ROCm, Vulkan)
engine docs.hanzo.ai HIP-1124 Standalone multimodal inference server (text, vision, audio, embeddings)
zen docs.hanzo.ai HIP-0096 Zen open model family weights & optimized inference serving runtime
skills hanzoskills.com HIP-1322 350+ atomic, progressive skills for Claude Code, Antigravity, and Hanzo Dev
catalog docs.hanzo.ai HIP-1112 Edge-cached public catalog serving models, pricing, and plan tiers
agent docs.hanzo.ai HIP-1210 Official Python Agent SDK (pip install hanzo-agent, imports as agents)
agents docs.hanzo.ai HIP-1210 Multi-agent orchestration engine over Model Context Protocol (MCP)
personas docs.hanzo.ai HIP-0524 Agent team roster, 1,044 historical & specialized figures, 67 expert personas
persona docs.hanzo.ai HIP-0524 Multi-language persona profile loader and validator (Rust, TS, Python)
dev docs.hanzo.ai HIP-1330 Sovereign autonomous AI coding agent loop
gen docs.hanzo.ai HIP-1212 Terminal coding agent harness (hanzo dev / gen) with native MCP integration
enso docs.hanzo.ai HIP-0510 Learned multimodal router and CDP browser automation agent

6. Automation, Marketplace & Connectors

Repository Documentation Specification Description
auto docs.hanzo.ai HIP-1063 Native Go workflow automation engine with embedded canvas (auto.hanzo.ai)
flow docs.hanzo.ai HIP-1063 Visual drag-and-drop AI workflow builder & agent node canvas
market docs.hanzo.ai HIP-1137 Sovereign decentralized marketplace for agents, apps & MCP tools (hanzo.market)
mcp docs.hanzo.ai HIP-0300 Model Context Protocol servers for agent tooling (stdio and HTTP transports)
tools docs.hanzo.ai HIP-0300 Unified agent tools registry (shell, search, file, browser) in Rust

7. Sovereign Data Plane & Storage

Repository Documentation Specification Description
base docs.hanzo.ai HIP-1104 Multi-tenant BaaS with isolated per-org SQLite instances (HIP-0144 Rank 1 state) & realtime SSE sync
sqlite docs.hanzo.ai HIP-0302 Unified SQLite facade with hardware SQLCipher 4 encryption for fast embedded local dev
csqlite docs.hanzo.ai HIP-0302 CGo binding for SQLCipher 4
sql docs.hanzo.ai HIP-0402 Clustered relational SQL engine (PostgreSQL wire protocol) for shared Rank 3 state
datastore docs.hanzo.ai HIP-0401 High-throughput columnar OLAP analytics database (HIP-0144 Rank 2 state) decoupled over S-Chain
kv docs.hanzo.ai HIP-1324 In-memory key-value store (RESP2/3 + native ZAP binary protocol on port 9653)
pubsub docs.hanzo.ai HIP-1060 Native event streaming & pub/sub broker over zero-copy ZAP binary transport
kafka docs.hanzo.ai HIP-1323 Kafka wire protocol compatibility adapter for Hanzo streaming
amqp docs.hanzo.ai HIP-1326 AMQP 0-9-1 / 1.0 message broker adapter for enterprise queues
mq docs.hanzo.ai HIP-1326 Distributed message & job queue built on Hanzo KV (Valkey/Redis compatible)
s3 docs.hanzo.ai HIP-1165 "S-Chain" distributed, content-addressed object storage substrate
orm docs.hanzo.ai HIP-0144 Database-agnostic Go ORM (SQLite for fast embedded local dev; supports PostgreSQL, Datastore, MySQL) with Model[T]
vfs docs.hanzo.ai HIP-0107 Content-addressed, PQ-encrypted block storage abstraction

8. Code Intelligence, AST/LSP & Vector Search

Repository Documentation Specification Description
ast docs.hanzo.ai HIP-0300 Concrete syntax tree parser generator across 40+ programming languages
lsp docs.hanzo.ai HIP-1214 Language Server Protocol server daemon (symbol definitions, references, diagnostics)
tgrep docs.hanzo.ai HIP-1114 Trigram-indexed (tgram) regex search engine for sub-millisecond codebase grep
search docs.hanzo.ai HIP-1147 Hybrid lexical and semantic search engine (POST /v1/search)
index docs.hanzo.ai HIP-1132 High-throughput search index speaking the Meilisearch REST dialect
crawl docs.hanzo.ai HIP-1117 Web page reader converting raw HTML to clean markdown for LLMs
research docs.hanzo.ai HIP-1334 Autonomous scientific research harness structuring tasks as falsifiable runs
vector docs.hanzo.ai HIP-0401 HNSW vector database for high-dimensional embeddings and semantic search
graph docs.hanzo.ai HIP-1198 Distributed GraphQL & graph database engine over luxfi/zapdb posting lists

9. Frontend Substrate, Components & Workspace Apps

Repository Documentation Specification Description
gui docs.hanzo.ai HIP-0504 Universal styling library & optimizing compiler (@hanzo/gui, @hanzogui/core)
ui docs.hanzo.ai HIP-0504 157+ React UI component library on @hanzo/tokens for Web, Expo, and Tauri
app docs.hanzo.ai HIP-0528 Modular workspace app SDK (@hanzo/app) and native mod themes (@hanzo/mod)
build docs.hanzo.ai HIP-1231 Standalone <Builder host={...} /> app builder (hanzo.build)
chat docs.hanzo.ai HIP-0523 Standalone multi-brand chat client (hanzo.chat)
desktop docs.hanzo.ai HIP-0115 Native cross-platform desktop application
mobile docs.hanzo.ai HIP-0115 Native iOS & Android application built on Expo SDK 57
extension docs.hanzo.ai HIP-0105 Browser extension (Chrome, Firefox, Safari) and IDE plugins

10. Sovereign Cloud Applications, Finance & Operations

Repository Documentation Specification Description
admin docs.hanzo.ai HIP-1320 SuperAdmin console (admin.hanzo.ai) & live /code agent session monitor
commerce docs.hanzo.ai HIP-1220 Multi-tenant commerce, billing & autonomous agent treasury clearinghouse
billing docs.hanzo.ai HIP-1220 Customer billing console, balance, usage breakdown & crypto top-ups (billing.hanzo.ai)
ledger docs.hanzo.ai HIP-1001 Programmable double-entry financial ledger (Numscript DSL, atomic multi-posting)
treasury docs.hanzo.ai HIP-1221 Double-entry reserve fund, wallets, payment routing, and multi-tenant reconciliation
wallet docs.hanzo.ai HIP-1161 Multi-chain SIWx signature verification, key custody & agent clearinghouse
pay docs.hanzo.ai HIP-1220 Tenant-neutral embeddable checkout and payment UI (@hanzoai/pay)
compliance docs.hanzo.ai HIP-1115 FATF/OFAC/KYC compliance engine with zero-knowledge travel-rule, GDPR & MiCA
captable docs.hanzo.ai HIP-1111 Sovereign equity, cap table, and vesting management platform
esign docs.hanzo.ai HIP-1125 Self-hosted document e-signature platform with cryptographic tamper evidence
dataroom docs.hanzo.ai HIP-1121 Secure document sharing with watermarking, access revocation & audit logs
cms docs.hanzo.ai HIP-1116 Headless content management substrate for documentation and marketing
trust docs.hanzo.ai HIP-0054 SOC2/ISO control inventory, posture verification & trust center (/v1/trust/*)
sentinel docs.hanzo.ai HIP-1032 Native exception capture, crash tracking & stack unwinder (ghcr.io/hanzoai/sentry)
event docs.hanzo.ai HIP-1190 Telemetry & event substrate (/v1/event, tag.js auto-capture) powering analytics & insights
analytics docs.hanzo.ai HIP-1190 Privacy-focused analytics platform (analytics.hanzo.ai)
insights docs.hanzo.ai HIP-0401 Data exploration & product intelligence (insights.hanzo.ai)
studio docs.hanzo.ai HIP-0506 Agent creative studio & prompt workbench (studio.hanzo.ai)
social docs.hanzo.ai HIP-1153 Multi-channel social publishing engine (social.hanzo.ai)
marketing docs.hanzo.ai HIP-1110 Multi-channel lifecycle email campaigns and audience segmentation
notify docs.hanzo.ai HIP-0143 Transactional email, SMS, and webhook routing over tenant KMS credentials
team docs.hanzo.ai HIP-1048 Sovereign team collaboration platform (hanzo.team)
bot docs.hanzo.ai HIP-1107 Multi-channel personal assistant gateway (hanzo.bot)
helpdesk docs.hanzo.ai HIP-0115 Sovereign customer support and help center (help.hanzo.ai)
usage docs.hanzo.ai HIP-1313 Token, API and model usage telemetry & allowance tracker (/v1/usage)
security docs.hanzo.ai HIP-0054 Security engineering standards, threat models & vulnerability disclosure
world docs.hanzo.ai HIP-0506 3D spatial simulation and autonomous agent world engine (world.hanzo.ai)

11. Sovereign DevOps, Registries & Delivery Fleet

Repository Documentation Specification Description
git docs.hanzo.ai HIP-1328 Hanzo Forge git server and GitHub overlay (forge.hanzo.ai)
ci docs.hanzo.ai HIP-0036 Continuous Integration pipeline and reusable workflows
git-runner docs.hanzo.ai HIP-1230 Ephemeral Kata Container CI job runner (ci.hanzo.ai)
deploy docs.hanzo.ai HIP-1122 Hanzo CD sovereign continuous delivery reconciler (cd.hanzo.ai)
operator docs.hanzo.ai HIP-0400 Rust Kubernetes operator reconciling App and platform CRDs (operator-system)
registry docs.hanzo.ai HIP-1165 Sovereign OCI container image and Helm chart registry (oci.hanzo.ai) backed by S-Chain
pkg docs.hanzo.ai HIP-1144 Universal package registry & mirror (pkg.hanzo.ai: npm, PyPI, Go, Cargo, Maven)
zt docs.hanzo.ai HIP-1173 Zero Trust overlay networking mesh, controller PKI, and dark edge routers
dns docs.hanzo.ai HIP-1321 Programmable DNS edge router with dynamic records and CoreDNS integration
sites docs.hanzo.ai HIP-1231 Edge static web hosting and preview deployments (/v1/sites)
flags docs.hanzo.ai HIP-0063 Feature flags and A/B experimentation engine (/v1/flags)
o11y docs.hanzo.ai HIP-1240 OpenTelemetry collector & APM ingestion pipeline backed by Datastore
plugin docs.hanzo.ai HIP-0106 Unified plugin runtime host: Go, JS, Wasm, CPython

12. Blockchain Substrate & Proof of AI (PoAI)

Repository Documentation Specification Description
node docs.hanzo.ai HIP-1020 Sovereign hanzod network node in Rust (Chain ID 36963)
explorer docs.hanzo.ai HIP-1021 Blockchain explorer for viewing and analyzing EVM-compatible chains
luxfi/consensus docs.hanzo.ai HIP-0125 Quasar consensus engine (Photon/Wave/Focus + PQ triple-mode)
luxfi/node docs.hanzo.ai HIP-1021 Go Lux node host
luxfi/mpc docs.hanzo.ai HIP-0413 Multi-party computation ceremony engine (FROST, CGGMP21, Pulsar)
lux-gpu/gpu docs.hanzo.ai HIP-0121 GPU C ABI v10 runtime & hardware plugin loader
lux-gpu/gpu-kernels docs.hanzo.ai HIP-0096 Canonical CUDA, Metal, and WGSL compute shaders
luxfhe/torus docs.hanzo.ai HIP-0125 Torus FHE compiler (Python/MLIR ➔ GPU vtbl)
PoAI docs.hanzo.ai HIP-0901 Proof of AI verification contracts (PoI, PoT, PoE, PoC)

13. Production Cloud App Services & Subsystems (HIP-0106)

Governed by HIP-0106: The Hanzo Plugin Contract, hanzoai/cloud operates as a unified, light host that dynamically discovers and lazy-loads over 140+ modular production app plugins (apps/*) under /v1/* without code divergence:


Public Open-Source vs. Sovereign Enterprise Cloud

Hanzo operates on a clean separation between Open Source Foundation (hanzoai/*) and Enterprise Sovereign Cloud:

                       The Sovereign Developer Stack
                                     │
      ┌──────────────────────────────┴──────────────────────────────┐
      ▼                                                             ▼
1. PUBLIC OPEN-SOURCE (hanzoai/*)             2. HANZO SOVEREIGN CLOUD 
Fork & Assemble Architecture                   Private Cloud Control Plane
• 100% Sovereign & Self-Hostable               • Proprietary C/C++ AOT via hanzoai/wasm2go
• Single-binary local dev (hanzoai/cloud)     • Bare-metal & GPU manager (apps/visor)
• BaaS data plane (hanzoai/base + SQLite)      • In-cluster BuildKit engine (apps/platform)
• Multi-tenant REST & ZAP streaming            • EIP-712 USDC crypto clearinghouse
• Open MCP tools (AST, LSP, tgrep, vector)     • Kai decision engine & calibration models
• Standard Docker & Helm deployments           • Hardware HSM & Quorum MPC consensus
  • Fork and Assemble Locally: Developers can freely fork public repos, assemble their own backend or AI agent mesh on top of Hanzo's canonical /v1/* REST and ZAP binary endpoints, and deploy to their own infrastructure with zero external telemetry or cloud lock-in.
  • Enterprise Cloud Enclave: The managed cloud fleet (cloud.hanzo.ai, platform.hanzo.ai) uses wasm2go to compile high-performance native kernels directly into Go assembly (amd64.s/arm64.s), eliminating CGo toolchains while providing high-throughput machine scheduling, JIT runner allocation, and hardware-attested enclave execution.

Clone the Sovereign Fleet: Get All Hanzo Repositories

Clone all 700+ repositories across the Hanzo open-source fleet with a single parallel command:

# Clone the complete Hanzo OSS fleet (700+ repos) into ./hanzo-repos with 16 parallel workers
curl -fsSL https://raw.githubusercontent.com/hanzoai/.github/main/scripts/clone-all.sh | bash -s -- -j 16

Or using the GitHub CLI directly with xargs:

# Stream repo list and clone concurrently
gh repo list hanzoai --limit 1000 --json name --template '{{range .}}{{if not .isArchived}}{{.name}}{{"\n"}}{{end}}{{end}}' | \
  xargs -P 16 -I {} git clone https://github.com/hanzoai/{}.git hanzo-repos/hanzoai/{}

For enterprise members with access to Hanzo Enterprise:

# Clone both public OSS and private enterprise enclaves concurrently via SSH:
curl -fsSL https://raw.githubusercontent.com/hanzoai/.github/main/scripts/clone-all.sh | bash -s -- -o "hanzoai,hanzo-enterprise" -j 16

Quickstart: Run Hanzo on Your Machine

1. Install the Sovereign CLI & Authenticate

curl -fsSL https://hanzo.sh | sh
hanzo auth login

2. Boot the Entire Cloud Locally (hanzo up)

# Boots the unified cloud control plane locally, lazy-loading each service on demand
hanzo up

3. Install Hanzo Extensions & Model Context Protocol (MCP)

Install our IDE & browser extensions and unified MCP server to control the entire system:

  • IDE & Browser Extensions: hanzoai/extension
  • Model Context Protocol (Rust & TypeScript): hanzoai/mcp (@hanzo/mcp / hanzo-mcp)
  • Python MCP Server:
    uvx hanzo-mcp

4. Launch Local Coding Agent

hanzo dev
# Or with MCP integration:
gen --mcp

5. Access Consoles

  • Admin Backend: admin.hanzo.ai — Operator and cloud observability console
  • Cloud Console: platform.hanzo.ai — Unified cloud console for models, compute, data, and billing

Hanzo AI, Inc. — Techstars '17
Open Source under Apache-2.0 and MIT per HIP-0137.

Popular repositories Loading

  1. cli cli Public

    The Hanzo CLI — an AI coding agent and every product of the Hanzo cloud, in one Rust binary. curl -fsSL https://hanzo.sh | sh

    Rust 10 12

  2. ai ai Public

    Hanzo AI — LLM control plane, RAG, and model hub. Native Go routing for 66+ models over an OpenAI-compatible /v1 API; mounts as the 'ai' subsystem inside hanzoai/cloud.

    Go 9 7

  3. dev dev Public

    Hanzo Dev — fast, local AI coding agent for your terminal (Rust CLI, powered by Hanzo AI; Apache-2.0).

    Python 7 4

  4. Hanzo-EasyUse Hanzo-EasyUse Public

    Optimized image generation nodes and workflow integrations for Hanzo Studio

    Python 7 1

  5. Hanzo-KJNodes Hanzo-KJNodes Public

    Advanced multimodal generative pipeline and visual synthesis nodes for Hanzo Studio

    Python 6

  6. ml ml Public

    Hanzo ML — fast multi-backend (CPU/CUDA/Metal/ROCm/Vulkan) tensor & ML framework for Rust with quantization; the compute core of the Hanzo stack.

    Rust 6 1

Repositories

Showing 10 of 559 repositories
  • captable Public

    Open-source cap table management platform, an alternative to Carta and Pulley.

    hanzoai/captable's past year of commit activity
    TypeScript 3 AGPL-3.0 0 0 5 Updated Nov 2, 2026
  • cal Public

    cal.hanzo.ai — Cal Booker (debranded @hanzo/calendar) on native Hanzo Base /v1/calendar

    hanzoai/cal's past year of commit activity
    TypeScript 3 0 0 0 Updated Nov 2, 2026
  • commerce Public

    Multi-tenant commerce and billing — orders, subscriptions, invoices, plans, usage metering and a credit ledger. One Go binary. MIT OR Apache-2.0.

    hanzoai/commerce's past year of commit activity
    Go 3 2 1 5 Updated Nov 2, 2026
  • c-sdk Public

    The Hanzo API client for C.

    hanzoai/c-sdk's past year of commit activity
    3 Apache-2.0 0 0 0 Updated Nov 2, 2026
  • builder Public
    hanzoai/builder's past year of commit activity
    Go 4 BSD-3-Clause 0 0 0 Updated Nov 2, 2026
  • build-demo Public

    Proof that hanzo.app builds any project: a Go binary and an npm package from one hanzo.yml, no Dockerfile.

    hanzoai/build-demo's past year of commit activity
    Go 3 0 0 0 Updated Nov 2, 2026
  • build Public

    Hanzo Build — describe an app and watch it built, deployed and running

    hanzoai/build's past year of commit activity
    TypeScript 3 Apache-2.0 2 0 0 Updated Nov 2, 2026
  • bucket Public

    Go client for cloud's versioned KV bucket store (/v1/kv)

    hanzoai/bucket's past year of commit activity
    Go 3 MIT 0 0 0 Updated Nov 2, 2026
  • browser Public

    Chrome extension for multi-agent AI web automation using your own LLM API keys.

    hanzoai/browser's past year of commit activity
    TypeScript 3 Apache-2.0 0 0 0 Updated Nov 2, 2026
  • bridge-shim Public

    Deprecated: Hanzo bridge now runs the upstream Lux bridge image directly, configured at runtime.

    hanzoai/bridge-shim's past year of commit activity
    Go 3 0 0 0 Updated Nov 2, 2026