Hanzo
Hanzo Skills Reference

Hanzo Improvement Proposals (HIPs)

Hanzo Improvement Proposals (HIPs)

Hanzo Improvement Proposals (HIPs) are the primary mechanism for proposing new features, gathering community input, and documenting design decisions for the Hanzo AI ecosystem. HIPs serve as formal design documents that provide information to the community about proposed changes to the platform.

Repository: github.com/hanzoai/hips Website: hips.hanzo.ai License: CC0 1.0 Universal Public Domain Dedication

What HIPs Cover

  • AI architectures, models, and infrastructure
  • Standards for agent frameworks, protocols, and interfaces
  • Blockchain and consensus mechanisms
  • Infrastructure services (databases, security, networking)
  • Governance and responsible AI practices
  • Cross-chain integrations with Lux and Zoo ecosystems

HIP Types

  • Standards Track: Technical changes affecting Hanzo AI (subtypes: Core, Interface, Infrastructure, Bridge, Security)
  • Meta: Process proposals, governance, responsible AI
  • Informational: Guidelines and best practices

HIP Lifecycle

Draft -> Review -> Last Call (14-day final review) -> Final (or Withdrawn/Superseded)

Core Protocol HIPs (Root Level)

HIP-001: Post-Quantum Cryptography Standard

  • Status: Implemented
  • Category: Security
  • Establishes post-quantum cryptography using ML-DSA-87 (FIPS 204) for digital signatures and ML-KEM-768 (FIPS 203) for key encapsulation
  • All implementations use the hanzo-crypto library (pure Rust, constant-time, automatic secret zeroization)
  • Hybrid signatures (classical + PQ) supported during migration from Ed25519/X25519

HIP-002: AI/Blockchain Convergence Architecture

  • Status: In Development
  • Category: Core
  • Defines on-chain model registry, decentralized multi-node inference with BFT consensus, zero-knowledge ML proofs (zkSNARKs for small models, optimistic rollups for large), and an inference marketplace with reputation-based node selection and slashing

HIP-002-ASO: Active Semantic Optimization Protocol

  • Status: Active
  • Category: Core
  • Training-free adaptation framework for agentic code generation using TF-GRPO (Training-Free Group-Relative Policy Optimization) and decode-time Product-of-Experts (PoE) ensemble
  • 1-bit compression via BitDelta (29.5x compression, 1 bit per element + 1 scalar per matrix)
  • SWE-bench Verified: 18.2% resolved rate (vs 12.5% Claude 3.5 Sonnet agentic, 8.3% GPT-4 zero-shot)
  • CLI: hanzo dev solve <issue_file> --repo <path> --group-size 4 --test-cmd "pytest"
  • Extended by Zoo's ZIP-001 (Decentralized Semantic Optimization)

HIP-003: Model Context Protocol (MCP) Integration

  • Status: Active
  • Category: Interface
  • Standardizes MCP across all Hanzo services with stdio, HTTP, and WebSocket transports
  • Tool categories: Blockchain (query/submit/verify/subscribe), AI (list/deploy/inference), Cryptography (ML-DSA sign, ML-KEM encrypt, BLAKE3 hash), Storage (IPFS/Arweave)
  • All tool calls signed with ML-DSA, parameters encrypted with ML-KEM

HIP-004: Hamiltonian Market Maker (HMM)

  • Status: Active
  • Category: Core
  • Automated market maker for pricing heterogeneous AI compute resources via conserved Hamiltonian invariants
  • Single-asset invariant: H(Psi, Theta) = Psi * Theta = kappa (constant-product)
  • Multi-asset: H(Psi, Theta) = sum(wi * Psi_i * Theta_i) + lambda * sum((Psi_i^2 + Theta_i^2)/2)
  • Oracle-free pricing, risk-adjusted fees, PoAI-integrated settlement
  • Job lifecycle: Escrow -> Allocation -> Execution -> Attestation (PoAI) -> Verification -> Settlement
  • Testnet: 182ms quote latency, 98.7% price stability, +15.3% capital efficiency vs oracle-based

HIP-005: KMS Hardware Security Module Integration

  • Status: Active
  • Category: Infrastructure
  • Extends Lux KMS (LP-325) with AI-specific features: model weight encryption (AES-256-GCM), PoAI attestation signing, HMM settlement key management
  • HSM providers: Google Cloud KMS, AWS CloudHSM, YubiHSM 2 FIPS, Zymbit HSM6, SoftHSM2 (dev)
  • Multi-tenant key isolation with per-model/per-customer namespaces
  • Go API: github.com/hanzoai/kms

HIP-006: AI Mining Protocol

  • Status: Draft
  • Category: Core
  • Native AI compute mining on Hanzo L1 with quantum-safe ML-DSA wallets
  • NVTrust chain-binding prevents double-spend: each unit of AI work bound to a specific chain BEFORE compute runs
  • GPU TEE receipts signed by NVIDIA hardware attestation (H100, H200, B100, B200, GB200 supported)
  • Rewards teleportable to Hanzo EVM (36963), Zoo EVM (200200), or Lux C-Chain (96369)
  • EVM precompile at 0x0300 for on-chain mining balance and ML-DSA verification
  • Reference implementation: github.com/hanzoai/node (hanzo-mining crate)

HIP-007: ZAP (Zero-copy Agent Protocol)

  • Status: Draft
  • Category: Interface
  • High-performance binary RPC protocol using Cap'n Proto serialization, replacing JSON-RPC for AI agent communication
  • 10-100x performance over MCP JSON-RPC: 0.2us parse latency vs 45us (1KB), 0 memory allocations per message
  • MCP-compatible semantics (tools, resources, prompts) with gateway bridging to existing MCP servers
  • Transports: TCP (zap://), TLS (zaps://), Unix socket, WebSocket, HTTP/2, stdio
  • Promise pipelining: chain RPC calls without round-trip latency
  • Also adopted by Lux Network (LP-120) for VM-Node communication, consensus voting
  • Packages: hanzo-zap (Rust), @hanzo/zap (TypeScript), hanzo-zap (Python)

HIP-008: Unified Payment Platform

  • Status: Draft
  • Category: Infrastructure
  • PCI DSS v4.0 compliant self-hosted payment infrastructure with three-zone isolation
  • Zone 3 (Vault CDE): card tokenization with AES-256-GCM envelope encryption, network tokenization (Visa VTS, Mastercard MDES)
  • Zone 2 (Commerce): payment intent orchestration, multi-processor routing (Stripe, Adyen, Square, PayPal, Braintree), double-entry ledger, subscription engine (Temporal workflows)
  • Crypto payments: BTC (on-chain + Lightning), ETH, ERC-20 (custodial and non-custodial)
  • mTLS with SPIFFE/SPIRE identity attestation between zones
  • Repositories: hanzoai/vault, hanzoai/commerce

HIP-009: Unified Agent Skills Architecture

  • Status: Draft
  • Category: Interface
  • ~/.hanzo/skills/ as canonical source of truth for all AI agent skills
  • Automatic symlink distribution to Claude Code, Cursor, Codex, Openclaw, Hanzo Bot directories
  • Follows open Agent Skills specification (agentskills.io)
  • Install: npx @hanzo/bot skills add org/repo
  • Multi-brand support: Bootnode, Hanzo Web3, Lux Cloud, Zoo Labs, Pars Cloud

Expanded HIPs (HIPs/ Subdirectory)

Foundation and Models (HIP-0000 to HIP-0010)

HIPTitleStatus
HIP-0000Hanzo AI Architecture and FrameworkFinal
HIP-0001AI Token (Hanzo Native Currency)Draft
HIP-0002Hamiltonian Large Language Models (HLLMs)Draft
HIP-0003Jin Multimodal AI ArchitectureDraft
HIP-0004LLM Gateway (Unified AI Provider Interface)Draft
HIP-0005Post-Quantum Security for AI InfrastructureFinal
HIP-0006Per-User Fine-Tuning ArchitectureDraft
HIP-0007Active Inference Integration for HLLMsDraft
HIP-0008HMM Native DEX for AI Compute ResourcesDraft
HIP-0009Agent SDK (Multi-Agent Orchestration)Draft
HIP-0010MCP Integration StandardsDraft

Application Interfaces (HIP-0011 to HIP-0025)

HIPTitleStatus
HIP-0011Chat Interface StandardDraft
HIP-0012Search Interface StandardDraft
HIP-0013Workflow Execution StandardDraft
HIP-0014Application Deployment StandardDraft
HIP-0015Computer Control StandardDraft
HIP-0016Document Processing StandardDraft
HIP-0017Analytics Event StandardDraft
HIP-0018Payment Processing StandardDraft
HIP-0019Tensor Operations StandardDraft
HIP-0020Blockchain Node StandardDraft
HIP-0021Hanzo IDEDraft
HIP-0022Personalized AI (Own Your AI)Draft
HIP-0023Decentralized AI Compute Swarm ProtocolDraft
HIP-0024Hanzo Sovereign L1 Chain ArchitectureFinal
HIP-0025Bot Agent Wallet and RPC Billing ProtocolDraft

Infrastructure Services (HIP-0026 to HIP-0068)

HIPTitleStatus
HIP-0026Identity and Access Management StandardDraft
HIP-0027Secrets Management StandardDraft
HIP-0028Key-Value Store StandardDraft
HIP-0029Relational Database StandardDraft
HIP-0030Event Streaming StandardDraft
HIP-0031Observability and Metrics StandardDraft
HIP-0032Object Storage StandardDraft
HIP-0033Container Registry StandardDraft
HIP-0034Automation Platform StandardDraft
HIP-0035Image and Video Generation StandardDraft
HIP-0036CI/CD Build System StandardDraft
HIP-0037AI Cloud Platform StandardDraft
HIP-0038Admin Console StandardDraft
HIP-0039Zen Model ArchitectureDraft
HIP-0040Multi-Language SDK StandardDraft
HIP-0041CLI StandardDraft
HIP-0042Vector Search StandardDraft
HIP-0043LLM Inference Engine StandardActive
HIP-0044API Gateway StandardActive
HIP-0045Documentation Framework StandardDraft
HIP-0046Embeddings StandardDraft
HIP-0047Analytics Datastore StandardDraft
HIP-0048Decentralized Identity (DID) StandardDraft
HIP-0049DNS Service StandardDraft
HIP-0050Edge AI Runtime StandardActive
HIP-0051Guard Security StandardDraft
HIP-0052Nexus Integration Hub StandardDraft
HIP-0053Visor Monitoring StandardDraft
HIP-0054Zero Trust Architecture StandardDraft
HIP-0055Message Queue StandardDraft
HIP-0056PubSub Real-Time Messaging StandardDraft
HIP-0057ML Pipeline and Training StandardDraft
HIP-0058Unified Database Abstraction StandardDraft
HIP-0059Timeseries Database StandardDraft
HIP-0060Serverless Functions (FaaS) StandardDraft
HIP-0061Notification Service StandardDraft
HIP-0062Cron and Job Scheduler StandardDraft
HIP-0063Feature Flags StandardDraft
HIP-0064Log Aggregation StandardDraft
HIP-0065Backup and Disaster Recovery StandardDraft
HIP-0066Data Governance StandardDraft
HIP-0067Federated Learning StandardDraft
HIP-0068Ingress StandardActive

Quantum Computing (HIP-0070 to HIP-0073)

HIPTitleStatus
HIP-0070Quantum Computing IntegrationDraft
HIP-0071Quantum Key DistributionDraft
HIP-0072Quantum Machine LearningDraft
HIP-0073Quantum Random Number GenerationDraft

Governance and Supply Chain (HIP-0074 to HIP-0076)

HIPTitleStatus
HIP-0074Software Bill of Materials StandardDraft
HIP-0075OSS Contributor Payout StandardDraft
HIP-0076Open AI Protocol StandardDraft

Robotics and Physical AI (HIP-0080 to HIP-0083)

HIPTitleStatus
HIP-0080Robotics and Embodied AI IntegrationDraft
HIP-0081Computer Vision Pipeline StandardDraft
HIP-0082Digital Twin and Simulation StandardDraft
HIP-0083Sensor Fusion and SLAM StandardDraft

Biotech and Life Sciences (HIP-0090 to HIP-0096)

HIPTitleStatus
HIP-0090Brain-Computer Interface (BCI) StandardDraft
HIP-0091Genomics Pipeline StandardDraft
HIP-0092Drug Discovery AI Pipeline StandardDraft
HIP-0093Synthetic Biology and DNA Data StorageDraft
HIP-0094Medical AI and Clinical Decision SupportDraft
HIP-0095QoS Challenge SystemDraft
HIP-0096AI Compute Contribution RewardsDraft

Cross-Chain, Responsible AI, and Architecture

HIPTitleStatus
HIP-0101Hanzo-Lux Bridge Protocol IntegrationDraft
HIP-0200Responsible AI PrinciplesDraft
HIP-0201Model Risk ManagementDraft
HIP-0210Safety Evaluation FrameworkDraft
HIP-0220Bias Detection and MitigationDraft
HIP-0230AI Transparency and ExplainabilityDraft
HIP-0240AI Incident ResponseDraft
HIP-0250Sustainability Standards AlignmentDraft
HIP-0251AI Compute Carbon FootprintDraft
HIP-0260Efficient Model PracticesDraft
HIP-0270AI Supply Chain ResponsibilityDraft
HIP-0280AI for SustainabilityDraft
HIP-0290Evidence Locker IndexDraft
HIP-0295Hanzo AI Impact ThesisDraft
HIP-0300Unified MCP Tools ArchitectureDraft

Key Protocols

ASO (Active Semantic Optimization) - HIP-002-ASO

Training-free adaptation for code generation. Uses grouped rollouts to extract semantic advantages, compresses them into token-level expert factors via BitDelta (1-bit quantization), and applies them at decode time via Product-of-Experts. No weight updates needed. Extended by Zoo's DSO (ZIP-001) for decentralized aggregation.

HMM (Hamiltonian Market Maker) - HIP-004

Prices heterogeneous AI compute (GPU, VRAM, CPU, network, disk) using physics-inspired Hamiltonian invariants. Oracle-free: price emerges from the constant H = kappa constraint. Integrated with Zoo's PoAI (ZIP-002) for quality verification. Supports multi-asset routing with SLA constraints solved as a convex program.

ZAP (Zero-copy Agent Protocol) - HIP-007

Binary RPC protocol built on Cap'n Proto. Zero memory allocations per message parse. Drop-in replacement for MCP JSON-RPC with full semantic compatibility and gateway bridging. Used for agent-to-agent communication, HMM settlement, and Lux infrastructure.

AI Mining Protocol - HIP-006

GPU-based AI compute mining with NVTrust hardware attestation. Each job pre-commits to a target chain (Hanzo/Zoo/Lux) before compute runs, preventing double-spend across chains. Rewards are native L1 tokens, teleportable to any EVM chain via Lux Teleport bridge.

Relationship to Lux Proposals (LPs) and Zoo Proposals (ZIPs)

Hanzo <-> Lux

  • Hanzo operates as a sovereign L1 on Lux Network (HIP-0024)
  • Hanzo KMS (HIP-005) extends Lux KMS (LP-325)
  • ZAP (HIP-007) adopted by Lux as LP-120
  • Hanzo-Lux Bridge Protocol (HIP-0101)
  • Shared post-quantum cryptography standards
  • AI Mining rewards teleportable to Lux C-Chain (96369)

Hanzo <-> Zoo

  • ASO (HIP-002) extended by Zoo's DSO (ZIP-001) for decentralized prior aggregation
  • HMM (HIP-004) uses Zoo's PoAI (ZIP-002) for quality verification and attestation
  • Zoo AI Mining Integration (ZIP-005)
  • Shared HLLM architecture and model portability
  • Zoo EVM (200200) is a mining reward destination

Key Differences

  • HIPs: Hanzo-specific standards for AI infrastructure, services, and L1 chain
  • LPs: Lux blockchain standards for consensus, networking, cross-chain protocols
  • ZIPs: Zoo Foundation standards for decentralized AI research, training, and governance

HANZO Tokenomics (1B total supply)

AllocationPercentage
Training Rewards30%
Compute Providers20%
Model Developers15%
Community Treasury15%
Team (4yr vest)10%
Public Sale5%
Liquidity5%

Token utility: 0.01 HANZO per interaction, 0.001-0.1 per 1K tokens, 10+ to mint Model NFT, veHANZO governance.

Creating a New HIP

  1. Copy docs/templates/hip-template.md to HIPs/hip-X.md
  2. Submit PR to github.com/hanzoai/hips
  3. HIP editors review for completeness
  4. Community discussion and feedback
  5. Last Call (14-day review period)
  6. Final status if accepted

Validation

make validate-hip HIP=hip-X   # Format check
make check-links               # Reference check
act -j validate                # Local CI

Last Updated: 2026-03-13

How is this guide?

Last updated on

On this page