Skip to content
Try Hanzo
Language: English (United States)

Hanzo Engine

The inference engine, in one binary

hanzoai/engine

Apache-2.0 · CUDA · Metal · CPU
hanzoai/engine

$ hanzo engine run <model>

One process, laptop to GPU cluster

run, serve, bench

One binary, three verbs. Chat with a model, put it behind an HTTP API, or measure it — the thing you benchmarked is the thing you shipped.

01 / 06

$ hanzo engine run <model>Chat with a model
$ hanzo engine serve <model>put it behind an HTTP API
$ hanzo engine bench <model>or measure it

Built to serve, not just to run

Paged attention and continuous batching keep the card busy across concurrent requests. A disk-first KV cache carries a session across a restart, so an agent that reuses a long prefix does not pay for it twice.

02 / 06

continuous batching

paged attentiondisk-first KV cache

More than text

Vision, audio, speech, image and embeddings go through the same modality pipeline as generation, in the same process. A multimodal app is one deployment, not four.

03 / 06

  • Vision
  • audio
  • speech
  • image
  • embeddings
one processsame modality pipeline as generation

It quantizes on the way in

In-situ quantization of any Hugging Face model, plus GGUF from 2 to 8 bits, GPTQ, AWQ, HQQ, FP8 and bitsandbytes. Ask for a level and it takes a published prebuilt when one exists, or makes one when it doesn't.

04 / 06

82GGUF from 2 to 8 bits

  • GPTQ
  • AWQ
  • HQQ
  • FP8
  • bitsandbytes

The silicon you have

CUDA with FlashAttention and multi-GPU tensor parallelism, Metal on Apple Silicon, or plain CPU. Same engine and same commands on each, and a doctor command that reports what it found.

05 / 06

CUDAFlashAttention · multi-GPU tensor parallelism
MetalApple Silicon
CPUplain CPU
$ hanzo engine serve <model>$ doctor

Tools, and a UI to watch them

It can call MCP servers over a process, HTTP or a WebSocket. The built-in UI at /ui shows reasoning, code execution and plots inline, and edits branch a conversation with its own state. Pass --no-ui and it is a plain API server.

06 / 06

/ui

reasoning

>>> plot(x, y)
processHTTPWebSocket--no-ui

One binary, three verbs

run, serve, bench

$ hanzo engine serve <model>

Put it behind an HTTP API. The built-in UI at /ui shows reasoning, code execution and plots inline.

Get Engine

Get started with Hanzo Engine

AI inference engine

License: Apache-2.0hanzoai

$ hanzo engine serve <model>

Paste and ship

Paste this into any agent. It reads the skill manifest and calls Engine from there.

Agent prompt
Read https://hanzo.ai/skill.md and use Hanzo Engine in my project. Start with: hanzo engine serve <model>