# What is open in Hanzo

URL: https://docs.hanzo.ai/docs/open-source

> Which Hanzo models ship open weights, which repositories ship source under an open license, and which services you call over the API only. Each row links to its source so you can check it yourself.

**After this page you know which parts of Hanzo you can download, read, run
and fork, under which license, and which parts you use only through
`api.hanzo.ai`.**

Open can mean several things, so this page keeps them apart:

- **Open weights**: you can download the model and run it yourself.
- **Open source**: the code is public under a license that lets you use,
  change and redistribute it.
- **API only**: you call it over `api.hanzo.ai`. You cannot download it or
  self-host it.

The tables below were read from GitHub and Hugging Face on 2026-11-29.
Licenses can change, and the license file in each repository is the
authority. [Check it yourself](https://docs.hanzo.ai/docs/open-source#check-it-yourself) with the commands at the
end of this page.

## Open weights: Zen

Zen models are published on Hugging Face under
[huggingface.co/zenlm](https://huggingface.co/zenlm). They are not gated, so
you need no account approval to download them.

| Model                                                                                                                                                                     | What you get                                                          | License    |
| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------- | ---------- |
| [`zenlm/zen6`](https://huggingface.co/zenlm/zen6)                                                                                                                         | 27B, safetensors, for SGLang on NVIDIA Blackwell                      | Apache-2.0 |
| [`zenlm/zen6-flash`](https://huggingface.co/zenlm/zen6-flash)                                                                                                             | the same 27B in ternary GGUF weights, for llama.cpp, Metal or one GPU | Apache-2.0 |
| [`zenlm/zen6-mlx`](https://huggingface.co/zenlm/zen6-mlx)                                                                                                                 | an MLX build for Apple Silicon                                        | Apache-2.0 |
| [`zenlm/zen6-nano-2b`](https://huggingface.co/zenlm/zen6-nano-2b), [`-4b`](https://huggingface.co/zenlm/zen6-nano-4b), [`-9b`](https://huggingface.co/zenlm/zen6-nano-9b) | small Zen 6 models, with `-mlx` builds                                | Apache-2.0 |

Each model card names its license, the open base model it was built from, and
the command it was built to serve with. Read the card before you deploy. It
is the record of what the weights are. The [Zen page](https://docs.hanzo.ai/docs/models/zen) lists
the whole family, including embedding, reranker, speech and image models.

```bash
hf download zenlm/zen6-flash --local-dir zen6-flash
```

## Open source: the stack

| Repository                                              | What it is                                                        | License           |
| ------------------------------------------------------- | ----------------------------------------------------------------- | ----------------- |
| [hanzoai/engine](https://github.com/hanzoai/engine)     | Rust inference engine for LLMs and embeddings                     | MIT               |
| [hanzoai/ml](https://github.com/hanzoai/ml)             | Rust tensor and ML framework: CPU, CUDA, Metal, ROCm, Vulkan      | Apache-2.0 or MIT |
| [hanzoai/cloud](https://github.com/hanzoai/cloud)       | Hanzo Cloud OSS core, one Go binary (`ghcr.io/hanzoai/cloud-oss`) | Apache-2.0 or MIT |
| [hanzoai/mcp](https://github.com/hanzoai/mcp)           | Model Context Protocol server (`hanzo mcp`)                       | MIT               |
| [hanzoai/dev](https://github.com/hanzoai/dev)           | Hanzo Dev, coding agents across desktop, web and cloud            | MIT               |
| [hanzoai/ide](https://github.com/hanzoai/ide)           | Hanzo IDE, in Rust                                                | Apache-2.0        |
| [hanzoai/desktop](https://github.com/hanzoai/desktop)   | Hanzo Desktop client                                              | Apache-2.0        |
| [hanzoai/bot](https://github.com/hanzoai/bot)           | `@hanzo/bot` SDK, CLI, channels and skills                        | Apache-2.0        |
| [hanzoai/team](https://github.com/hanzoai/team)         | Hanzo Team UI                                                     | Apache-2.0        |
| [hanzoai/app](https://github.com/hanzoai/app)           | the `@hanzo/app` workspace app standard                           | Apache-2.0        |
| [hanzoai/chat](https://github.com/hanzoai/chat)         | Hanzo Chat                                                        | Apache-2.0 or MIT |
| [hanzoai/agent](https://github.com/hanzoai/agent)       | multi-agent SDK for Python                                        | MIT               |
| [hanzoai/gen](https://github.com/hanzoai/gen)           | agent harness: launch and route coding agents                     | MIT               |
| [hanzoai/tasks](https://github.com/hanzoai/tasks)       | durable workflow engine for agents                                | MIT               |
| [hanzoai/vm](https://github.com/hanzoai/vm)             | microVMs for agents (Virtualization.framework, KVM)               | Apache-2.0        |
| [hanzoai/visor](https://github.com/hanzoai/visor)       | sandboxed execution with a native VFS                             | Apache-2.0        |
| [hanzoai/vfs](https://github.com/hanzoai/vfs)           | S3-backed virtual block filesystem                                | Apache-2.0        |
| [hanzoai/graph](https://github.com/hanzoai/graph)       | graph engine library                                              | Apache-2.0        |
| [hanzoai/base](https://github.com/hanzoai/base)         | multi-tenant SQLite backend                                       | MIT               |
| [hanzoai/commerce](https://github.com/hanzoai/commerce) | commerce and billing: orders, subscriptions, metering, credits    | Apache-2.0 or MIT |
| [hanzoai/os](https://github.com/hanzoai/os)             | Nix flake for sandbox images and cluster nodes                    | Apache-2.0 or MIT |
| [hanzoai/runtime](https://github.com/hanzoai/runtime)   | sandboxed runtime for AI-generated code                           | AGPL-3.0          |

Not every public repository is listed here. These are the parts the rest of
the docs build on. The [OSS stack guide](https://docs.hanzo.ai/docs/guides/oss-stack) shows how
they fit together, and the [self-hosting quickstart](https://docs.hanzo.ai/docs/self-hosting/quickstart)
runs Hanzo Cloud and Engine on your own machine. The quickstart also lists
what does not work self-hosted yet.

## API only

| Service                                        | What is closed                                                   | How you use it                                                                            |
| ---------------------------------------------- | ---------------------------------------------------------------- | ----------------------------------------------------------------------------------------- |
| [Enso](https://docs.hanzo.ai/docs/models/enso) | the model tiers and the hosted routing policy behind `enso-auto` | `api.hanzo.ai`, model ids `enso-auto`, `enso-flash`, `enso-pro`, `enso-max`, `enso-ultra` |
| [Kai](https://docs.hanzo.ai/docs/models/kai)   | the decision model's weights                                     | `POST https://api.hanzo.ai/v1/decisions`                                                  |

Both answer on the same OpenAI-compatible API as the open models, so you can
switch a request between an open model you host and a closed one Hanzo
hosts by changing the model id and base URL. To keep local-or-cloud routing
decisions on your own machine, use the open routing core:
[Route between local and cloud models](https://docs.hanzo.ai/docs/guides/local-first-routing).

## Check it yourself

A repository's license, as GitHub detects it:

```bash
gh api repos/hanzoai/engine --jq '.license.spdx_id'
```

`NOASSERTION` means GitHub could not match one license, which is common for
dual-licensed repositories. Read the `LICENSE` files in that case.

A model's license and whether it is gated, from Hugging Face:

```bash
curl -s https://huggingface.co/api/models/zenlm/zen6-flash \
  | jq '{license: .cardData.license, gated: .gated}'
```

Every hosted Enso, Kai and Zen model id, from the gateway, no key needed:

```bash
curl -s https://api.hanzo.ai/v1/models \
  | jq -r '.data[] | select(.id | test("^(enso|kai|zen)")) | .id'
```
