zeekay 41cb6d8a8d runner: a run's commit and git author say Hanzo, not Hanzo Dev
The product is Hanzo (hanzoai/cli#64); `dev` is the engine behind it. The
fallback author name and the "apply changes" commit subject were the last
places gen printed the old name. 0.1.3.

Claude-Session: https://claude.ai/code/session_015XYKLn69gF4x75RWePpDBV
2026-11-21 02:18:11 -08:00

Hanzo Gen

Open in Hanzo Edit with Hanzo Deploy with Hanzo

The agentic harness. gen launches a coding agent in your terminal with the Hanzo MCP toolset attached, routes its model calls through api.hanzo.ai, and streams the session live to mission control. Hanzo's own agent is the default; Claude Code, Codex, Cursor, Antigravity, Gemini, Qwen, OpenCode and the rest are one flag away.

hanzo dev is Gen too: the Hanzo CLI links this crate, so gen and hanzo dev take the same flags and run the same session.

Install

curl -fsSL hanzo.sh | sh

Gen signs in with your Hanzo account, the same one the Hanzo CLI uses. Sign in once:

hanzo auth login

Use

gen                          # an interactive Hanzo session
gen "fix the failing test"   # a task, run headless
gen --claude                 # Claude Code
gen --codex "add a test"     # Codex, headless
gen --cursor                 # Cursor's agent
gen --gemini                 # any agent is a flag
gen --claude -- -c           # args after -- go to the agent
gen --resume <id>            # pick a linked session back up
gen --help                   # every flag

Routing

Every agent's model calls go to api.hanzo.ai, which serves Enso, Zen and Kai, so one account and one bill cover every agent. Hanzo's own agent routes there whenever you are signed in. A third-party agent keeps its own login unless you pass --cloud; with it, its calls route through api.hanzo.ai like Dev's. A few agents have no way to name another endpoint (Cursor, Antigravity, Gemini, Copilot, Amp and a handful more) and always use their own account. --model enso-ultra picks the model on the Hanzo route.

When you are signed in, a session is registered with Hanzo cloud and its events stream to mission control; --no-link keeps it local. Gen reads what the Hanzo CLI has on file (hanzo config profile): hanzo config set code.link false keeps every session local, and hanzo network use local points Gen at your own cloud. A CLI too old to say keeps the session local on api.hanzo.ai until hanzo upgrade.

Examples & Integration

Runnable multi-turn assistant and tool-dispatch examples in examples/:

Build

cargo build --release
cargo test

License

MIT

S
Description
Hanzo Gen — the agentic harness: launch and route any coding agent (Hanzo Dev, Claude Code, Codex, Cursor, …) with Hanzo MCP and one model router
Readme MIT
40 MiB
Languages
Rust 100%