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)
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.
Governed by HIP-0143: Egress Outbound Trust Boundary, Hanzo enforces a zero-leakage perimeter for all external network interactions:
- 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). - Outbound Boundary Enforcement (
hanzoai/egress): Network policies force all outbound traffic through theegressproxy.egressevaluates organization rate limits, checks token balance tariffs, scrubs internal headers, and records tamper-evident audit spans. - In-Flight Key Injection via Split-MPC:
hanzoai/egresscontacts 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. - 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.
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
- Declared Once in Code: Handlers, routes, request/response types, and security schemes are written once in Go using
zap-proto/zip. - Golden Contract Verification: Running
make openapicompiles the live route table intoopenapi.yamlandprivate.yaml. If an engineer edits a route or model without updating the golden spec, CI fails. - Automated SDK & Tool Projection:
hanzoai/openapiautomatically regenerates the Rust CLI, Model Context Protocol tools, and client SDKs across 14+ programming languages, stamping each release with a cryptographic.spec-lock.
- 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:
hanzoCLI installed viacurl -fsSL https://hanzo.sh | sh. Login as a user or administrator withhanzo auth login. - Local Cloud Server:
hanzoai/cloudruns unencrypted for development viaCLOUD_DEV_UNENCRYPTED=1 make build. - Local BaaS:
hanzoai/baseboots in-process on port8090using SQLite with immediate REST and realtime SSE change streams. - Local Inference:
hanzoai/engineserves quantized GGUF models on CPU, Apple Silicon Metal, or CUDA over/v1/chat/completions. - Coding Agents:
hanzo devruns coding sessions locally withinhanzoai/katamicroVM sandboxes over standard I/O MCP.
- 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 statelesshanzoai/gateway(validating RSA-signed JWTs fromiamand injecting trustedX-User-Id/X-Org-Idheaders downstream). - Unified Control Plane:
hanzoai/cloudmounts all core subsystems dynamically using thezipframework without code divergence. - Sovereign GPU Inference: Model routing passes through
hanzoai/aiandhanzoai/kai, executing against residenthanzoai/engineinference engine andhanzoai/mlframework. - Continuous Delivery: Reconciled continuously by Hanzo CD (
cd.hanzo.ai,hanzoai/cd) against declarative specs inhanzoai/deploy.
- 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 upboots without running external database containers. - Pluggable Multi-Backend Drivers: Seamlessly switches to external SQL engines — PostgreSQL wire protocol via
hanzoai/sql, columnar OLAP viahanzoai/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.
- Fast Embedded Local Dev: Defaults to SQLite (with SQLCipher 4 hardware encryption or in-memory) for instant, zero-dependency
- State Ranks (HIP-0144):
- Rank 1 (Per-Tenant File):
hanzoai/baseprovisions 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/datastoreingests high-throughput telemetry, analytics, and event streams decoupled over S-Chain object storage (hanzoai/s3). - Rank 3 (Shared SQL & KV):
hanzoai/sqlandhanzoai/kvprovide shared clustered relational state and in-memory caches where multi-tenant concurrency requires a centralized server.
- Rank 1 (Per-Tenant File):
- Streaming Replication: Replicated in real time via
hanzoai/vfsblocks to S-Chain distributed object storage (hanzoai/s3). - In-Process JavaScript Hooks: Business logic runs in sandboxed ECMAScript VMs via Goja (
.base.js).
- Zero-Copy Protocol (ZAP): Binary communication over port
9653and/zapWebSockets; 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/o11yand Datastore. - Interactive Agent Sessions:
hanzo devsessions stream live terminal PTY output, diff trees, and model reasoning to Mission Control.
- 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.
- 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/lspresolves cross-file definitions, type hierarchies, hover docs, and diagnostics without external IDE processes. - Trigram Inverted Index (tgram):
hanzoai/tgrepbuilds 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 viahanzoai/graph(distributed graph engine overluxfi/zapdb), enabling hybrid semantic discovery atPOST /v1/semantic.
- In-Cluster Multi-Arch BuildKit: Invoked via
POST /v1/buildinhanzoai/cloud, dispatching isolated container builds with zero host Docker daemon exposure. - Ephemeral MicroVM Runners:
POST /v1/runnerallocates 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 byhanzoai/s3), while language dependencies resolve viapkg.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.
- 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, cookielesstag.jsauto-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/pubsubover ZAP binary transport (port9653), with zero-code protocol bridges for Kafka (hanzoai/kafka) and AMQP message queues (hanzoai/amqp).
- 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.
- 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).
- 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.
- 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.dbencrypted 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/designtokens 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
wasmruntimes and isolatedkatamicroVM sandboxes.
- ECMAScript/JS Sandboxes: Fast execution via Goja/V8 (
- Enterprise High-Performance
wasm2goAOT: In enterprise production, performance-critical Wasm modules are compiled directly into native Go assembly (amd64.s/arm64.s) viahanzoai/wasm2go, running natively inside the "One Binary" with zero CGo overhead and zero interpreter tax.
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.
- Published Keys (Identity & Verification): Ed25519 and Secp256k1 public keys, DID documents (
- 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.Bootreads scoped secrets directly into RAM as memory-only grants.
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 fromapi.hanzo.ai/v1/openapi.jsonvia 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 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 |
| 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) |
| 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) |
| 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) |
| 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 |
| 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 |
| 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 |
| 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 |
| 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 |
| 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 |
| 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) |
| 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 |
| 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) |
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:
- Sovereign Identity, Account & Governance:
account(HIP-1200),admission(HIP-1201),compliance(HIP-1115),principal(HIP-1340),trust(HIP-0054),security(HIP-0054),iam(HIP-0111),kms(HIP-0136),mpc(HIP-0413). - Commerce, Finance & Corporate Rails:
billing(HIP-1220),commerce(HIP-1220),marketplace(HIP-1335),ledger(HIP-1001),treasury(HIP-1221),wallet(HIP-1161),captable(HIP-1111),tax(HIP-1338),patent(HIP-1336),usage(HIP-1313),pricing(HIP-1106),allowance(HIP-1101). - Documents, Contracts & Knowledge:
esign(HIP-1125),dataroom(HIP-1121),cms(HIP-1116),helpdesk(HIP-0115),knowledge(HIP-1147),content(HIP-1116). - AI, Models & Scientific Research:
ai(HIP-1211),agents(HIP-1210),zen(HIP-0096),engine(HIP-1124),research(HIP-1334),world(HIP-0506),eval(HIP-1105),benchmark(HIP-1105),prompt(HIP-1211). - Search, Crawl & Code Intelligence:
search(HIP-1147),index(HIP-1132),crawl(HIP-1117),code(HIP-1114),lsp(HIP-1214),graph(HIP-1198). - Cloud Infrastructure, Telemetry & Networking:
compute(HIP-1172),environment(HIP-1339),space(HIP-1337),dns(HIP-1321),flags(HIP-0063),functions(HIP-0060),o11y(HIP-1240),pubsub(HIP-1060),kafka(HIP-1323),amqp(HIP-1326),mq(HIP-1326),sites(HIP-1231),plugin(HIP-0106).
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) useswasm2goto 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 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 16Or 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 16curl -fsSL https://hanzo.sh | sh
hanzo auth login# Boots the unified cloud control plane locally, lazy-loading each service on demand
hanzo upInstall 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
hanzo dev
# Or with MCP integration:
gen --mcp- 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.