Choose your intelligence architecture

Pick the right Hanzo intelligence primitive — Kai for calibrated decisions, Enso for adaptive routing, Zen for open-weight generation, Science for controlled discovery, Cybersecurity for zero-trust defense, and Autopilot for durable operations.

Start with the shape of the problem, not the largest model. Hanzo separates bounded judgment, adaptive routing, open-ended generation, empirical discovery, security enforcement, and durable operations into distinct primitives behind one /v1/ contract.

flowchart TD
    Q["What does this step require?"] --> B{"Bounded answer space?<br/>(label, yes/no, score)"}
    B -->|"Yes"| Kai["Kai · POST /v1/decisions<br/>0 output tokens · calibrated P(y|x)"]
    B -->|"No"| R{"Open generation or<br/>multi-model routing?"}
    R -->|"Route by cost/latency/task"| Enso["Enso · POST /v1/chat/completions<br/>model: enso-auto / enso-*"]
    R -->|"Open weights / local / fine-tune"| Zen["Zen · zen6 / zen6-flash / zen6-coder<br/>Apache-2.0 · hosted or self-hosted"]
    Kai --> Gov{"Enforce security or<br/>measure improvement?"}
    Enso --> Gov
    Zen --> Gov
    Gov -->|"Hypothesis / A/B / Benchmark"| Sci["Science · /v1/experiment · /v1/benchmark · /v1/eval"]
    Gov -->|"Scan / Validate / Zero-Trust"| Cyb["Cybersecurity · /v1/security · /v1/authz · /v1/kms"]
    Gov -->|"Durable business workflow"| Auto["Autopilot · /v1/auto · /v1/agent · /v1/workflow"]

Architecture comparison matrix

PrimitiveUse whenCanonical endpointOutput shapeTraining / adaptationCost & latency profileStatus
KaiRouting tickets, gating commands, classifying intents, scoring rubrics, detecting policy violationsPOST /v1/decisionsCalibrated probability distribution (choice, noul, score), 0 output tokensCPU capability training via POST /v1/capabilities/{name}/train$0.021 per 1M input tokens; ~38 ms p50 single question on CPUshipped
EnsoSelecting the optimal model tier per prompt under cost/latency bounds with automatic failoverPOST /v1/chat/completions (model: "enso-auto")OpenAI-compatible completion + X-Routed-Model / X-Hanzo-ServedOutcome rewards via POST /v1/ai/feedback and custom blends via POST /v1/benchmark/presets12 µs learned router decision; bills the tier that answered (enso-flash to enso-ultra)shipped
ZenAgentic coding, deep reasoning, multimodal analysis, brand-voice content, local/air-gapped inferencePOST /v1/chat/completions (model: "zen6")Streaming text, tool calls, embeddings, vision, speechLoRA / QLoRA / RL via POST /v1/train/jobs and /v1/train/clients$0.15 (zen6-flash) to $0.60 (zen6) per 1M input tokens; Apache-2.0 weightsshipped
ScienceProving a prompt, model, or harness change actually improves outcomes without regressionsPOST /v1/experiment, GET /v1/benchmark/compare, POST /v1/eval/evaluatorsPaired McNemar p-values, confidence intervals, versioned evidenceAutomated improvement studies and outcome-triggered research automationsDeterministic statistical evaluation; zero generative overhead in gatesshipped
CybersecurityThreat modeling, secret scanning, SBOM auditing, sandboxed exploit validation, zero-trust enforcementPOST /v1/security/scans, GET /v1/sbom/{ref}, POST /v1/authz/checkFindings, risk scores, compliance coverage, deterministic allow < ask < denyCustom Kai security capabilities and automated remediation playbooksSub-millisecond AuthZ checks; ephemeral microVM sandboxesshipped
AutopilotRunning continuous business workflows, multi-channel marketing, and budgeted agent workforcesPOST /v1/auto/automations, POST /v1/agent/{ref}/run, POST /v1/campaignDurable execution history, spend ledgers, review gatesContinuous memory extraction, Kai agent.learn@1 outcome hooks, A/B optimizationEvent-driven schedules; per-agent spend caps and human approval checkpointsshipped

The canonical production loop

Most production Hanzo systems compose all six layers rather than choosing only one:

  1. Enso receives the request and applies cost and latency bounds (X-Max-Cost, X-Max-Latency-Ms).
  2. Kai resolves every bounded control question (intent, risk verdict, tool selection, completion check) with calibrated confidence and abstention thresholds.
  3. Policy + Cybersecurity joins Kai's verdict with deterministic rules on allow < ask < deny, checks POST /v1/authz/check, and executes untrusted code inside /v1/sandbox.
  4. Zen performs the open-ended work — writing code, drafting copy, synthesizing analysis — only when generation is genuinely needed.
  5. Science records traces (/v1/eval/traces), evaluates changes against held-out rubrics (/v1/eval/runs), and runs paired comparisons (GET /v1/benchmark/compare).
  6. Training & Autopilot turns production corrections into org-private Kai capabilities (POST /v1/capabilities/{name}/train), Enso reward updates (POST /v1/ai/feedback), or fine-tuned Zen adapters (POST /v1/train/jobs).

Decision checklist

QuestionIf yes, start here
Are you asking a generative LLM to output JSON enums or true/false?Move that step to Kai and train domain rules with Kai Capabilities.
Are you hardcoding a single expensive frontier model for every prompt?Switch to Enso (enso-auto) and tune routing in Enso Routing Optimization.
Do you need open weights on your own GPUs or custom domain synthesis?Deploy Zen 6 and specialize it with Zen Fine-Tuning.
Are prompt and model changes shipping on gut feel?Gate releases with Science & Experiments and Evaluation.
Are agents touching shells, secrets, or production services?Wrap tool execution in OpenCyber and Sovereign Zero-Trust.
Are you stitching cron jobs and fragile webhook glue around agents?Move orchestration to Business Autopilot and Agent Workforces.
Are you packaging AI capabilities for paying external customers?Build multi-tenant billing and white-label isolation in Build a Business.

Next steps & interactive labs

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