Self-Host & Hack on the Complete OSS Stack (hanzoai/*)

Complete architectural map of hanzoai/{cli,node,vm,cloud,gen,dev-v1,engine,visor,vfs,mcp,base,commerce,iam,kms}, canonical Makefile targets, and contributor setup.

Every layer of the Hanzo AI Operating System is built in the open across Go (control plane, IAM, KMS, Base, Commerce, Gateway) and Rust (CLI, inference engine, coding agent, microVM hypervisor, VFS, ZAP wire protocol) — speaking HTTP /v1/* and zero-copy ZAP across boundaries, never brittle cross-language FFI.

Complete hanzoai/* Repository Map

LayerRepositoryLanguageRole in the Stack
Unified CLI & Daemonhanzoai/cliRusthanzo CLI + hanzod daemon (hanzo start, hanzo up, hanzo deploy, generated /v1 verbs)
OSS Cloud Control Planehanzoai/cloudGo + TSSingle-binary /v1 API gateway, AI router, console UI (ghcr.io/hanzoai/cloud-oss:main)
Inference & Enso Routerhanzoai/engineRustHigh-throughput local/cluster LLM & embedding server + open Enso routing engine
Terminal Coding Agenthanzoai/dev-v1Rusthanzo dev autonomous coding agent with multi-agent mesh and native ACP/ZAP
Managed Agent Runtimehanzoai/genGo + RustStateful /v1/agent execution loops, durable runs, A2A handoffs, and tool dispatch
HIP-0300 MCP Serverhanzoai/mcpTS / RustCanonical 19-tool Model Context Protocol server (@hanzo/mcp)
MicroVM & Substratehanzoai/vm · hanzoai/visorRust + GoHardware-isolated microVMs, warm local k3s VM host, and /v1/sandbox fleet scheduler
Snapshot Filesystemhanzoai/vfsRustCopy-on-write virtual filesystem for instant agent sandbox branching & rollback
Compute Nodehanzoai/nodeRustSovereign node daemon joining local/cluster GPUs to Hanzo Network
Identity & Secretshanzoai/iam · hanzoai/kmsGoOIDC/SAML/Web3 identity (hanzo.id) and envelope-encrypted secret vaults
Realtime Data & Billinghanzoai/base · hanzoai/commerceGoRealtime SQL/GraphQL/Auth backend and usage metering, subscriptions & x402 ledger

Canonical Repository Makefile Contract

Every core hanzoai/* repository implements the same standard Makefile targets so contributors, interns, and autonomous coding agents can boot, test, and ship any service without guessing flags:

make up       # Reconcile local dependencies & start service on warm k3s (`hanzo up`)
make down     # Tear down this repo's namespace cleanly without stopping sister repos
make dev      # Run hot-reloading local development loop against local OSS Cloud
make test     # Execute unit + integration test suites deterministically
make lint     # Static analysis, formatting, and OpenAPI / schema contract checks

5-Minute Contributor & Local OS Setup

# 1. Install the Hanzo CLI + Dev agent + MCP server
curl -fsSL https://hanzo.sh | sh

# 2. Boot warm k3s substrate + local OSS Cloud (`ghcr.io/hanzoai/cloud-oss:main`)
hanzo start
hanzo up --cloud

# 3. Clone any OSS subsystem (from GitHub or forge.hanzo.ai) and hack locally
git clone https://github.com/hanzoai/cloud.git ~/work/hanzo/cloud
cd ~/work/hanzo/cloud
make dev

# 4. Let Hanzo Dev implement, test, and verify changes against your local cloud
hanzo dev "add integration test for /v1/kv bucket TTL expiration and run make test"

Progressive Repository Index (hanzoskills.com & forge.hanzo.ai)

Working with an AI agent across multiple repositories? Point it at hanzoskills.com/CLAUDE.md so it navigates 2,832+ open-source repositories on forge.hanzo.ai and github.com/hanzoai via 3-tier progressive disclosure.

Next Steps

Was this page useful?
Broken link or missing step? Drop it in #docs on Discord or open a PR.
Last updated Nov 27, 2026