Training & optimization
Turn production outcomes and domain data into org-private intelligence across three training planes: Kai CPU capability training, Enso routing optimization, and Zen fine-tuning & RL.
Never fine-tune a 27B generative model when a 50-row CPU decision capability or a routing reward fixes the problem. Hanzo organizes training into three distinct planes ordered by speed, cost, and blast radius.
Three training planes
| Plane | What changes | Hardware & speed | Canonical endpoint | Best for | Status |
|---|---|---|---|---|---|
| Kai Capabilities | Org-private calibration, linear head, or boost+veto pair over frozen Kai representations | CPU, seconds, zero re-encoding of captured states | POST /v1/capabilities/{name}/train | Domain-specific classification, support triage, fraud/risk gating, policy verdicts | shipped |
| Enso Routing | Per-org learned bilinear routing utility and custom escalation blends | CPU, online reward ledger + held-out candidate promotion | POST /v1/ai/feedback, POST /v1/benchmark/presets | Cutting inference spend, hitting latency SLOs, preferring models that succeed on your tasks | shipped |
| Zen Fine-Tuning & RL | LoRA, QLoRA, full weights, or on-policy RL adapters on open-weight Zen models | Managed GPU or BYO fleet, metered per device-second | POST /v1/train/jobs, POST /v1/train/clients | Proprietary writing style, domain code synthesis, specialized reasoning & tool schemas | shipped |
Shared safety & provenance invariants
Every training plane on Hanzo obeys four non-negotiable guarantees:
- Tenant isolation by default: Captured states, corrections, feedback rewards, datasets, and trained weights belong strictly to your org. Base models never absorb another customer's data.
- Held-out evaluation before publish: A candidate cannot be published unless it clears its evaluation gate against the incumbent or base model (with explicit override audit when forced on GPU jobs).
- Bit-for-bit blast-radius containment: A Kai capability routes only behind its exact question key, type, and labels — every other question in the same request stays bit-for-bit identical to base Kai.
- Instant rollback without retraining: Every published artifact is content-addressed by SHA-256. Rolling back (
POST /v1/capabilities/{name}/rollback) swaps the active pointer immediately.
Explore this section
Flagship 9-step walkthrough: teach Kai your business on POST /v1/capabilities/{name}/train.
Train per-org routing policies with outcome rewards and custom enso-* blends.
Launch LoRA, QLoRA, and full-weight training jobs on /v1/train/jobs and /v1/ai/finetune/jobs.
Materialize versioned datasets, track lineage, and upload SHA-256 training artifacts.
Run DPO and GRPO loops via interactive /v1/train/clients with Kai verifiable rewards.
Build datasets, LLM/Kai judges, rubrics, calibration gates, and live metric dashboards.
Manage SHA-256 checkpoints, promotion rules, multi-tenant serving, and instant rollbacks.