core-stack

This reference accompanies the hanzo-ml-research skill.

Hanzo ML Research: Core Stack Reference

This reference accompanies the hanzo-ml-research skill.

Canonical repositories

hanzoai/ml

Rust-native ML compute stack.

Important crates include:

The hanzo-research crate is the canonical Rust client for the unified cloud research plane and automatically records source/runtime provenance.

hanzoai/engine

Native Rust inference/serving engine.

Use it when research touches:

hanzoai/decision

Kai typed-decision research and production stack.

Use it when research touches:

Hanzo DSL / kernel stack

Use the local Hanzo DSL/kernel implementation exposed by the active workspace. Prefer extending existing Rust DSL/kernel primitives to introducing a second implementation path.

Research API

The native Rust SDK in hanzo-research uses:

Configuration:

The server keys canonical experiment identity by the research record's project/stable experiment identity, while provenance captures git/repository/runtime details.

Typical research object

hypothesis
prediction
control
treatment
primary metric
non-inferiority metrics
train/dev/final lineage
artifact hashes
raw observations
verdict
because

Keep the experiment falsifiable and durable.

Rust-first rule

Python/notebooks are acceptable for disposable visualization or inspection.

They are not canonical for:

unless the experiment explicitly studies a Python/PyTorch implementation.

Canonical results should be reproduced in Hanzo's Rust stack.