Skip to content

Repository files navigation

humanize

humanize

CI docs standard-readme compliant License: Apache 2.0

Orchestrate, execute, and observe agent flows

Table of Contents

Security

Three things to know before pointing one at a repository you care about. Each is explained in Security:

  • humanize runs every agent with permission prompts disabled, and nothing turns them back on.
  • A flow is a directory of Python, and reading one means running it, so adding a flowverse is trusting that repository with this machine.
  • An hmz anchor port is equivalent to a shell on that machine.
  • humanize asks, once, whether to report what goes wrong to its developers, and says what a report carries before you answer. Nothing is sent by a machine that has not answered yes: HUMANIZE_SENTRY=off settles it for a scripted install, and /settings changes it later.

Install

pip install git+https://github.com/humanfia/humanize2.git

DeepSeek Harness arrives with humanize: its Python SDK and the runtime its turns are taken on are ordinary dependencies, so there is nothing extra to install for it.

To install DeepSeek's own dsh launcher and configuration UI (Node.js required):

npm install --global @deepseek-ai/dsh
dsh web

Needs Python ≥ 3.12 and at least one supported backend: agy, claude, codex, grok, kimi, pi, qwen, opencode or mimo on your PATH — or none of them, since DeepSeek Harness arrives with humanize. See Installation.

Usage

To use the TUI:

hmz

DeepSeek Harness takes an API key and no subscription login. Run dsh web, save the key under Settings -> Models, then open /flow in humanize, turn to its agents, set one to dsh and leave its account row on as local — which uses the key and the base URL saved in dsh. Alternatively, press a on that row to make a humanize key account, or set the key before opening humanize:

export DEEPSEEK_API_KEY=sk-…
hmz

To run a flow over the agents you name, one -a apiece:

hmz exec -f official/flame_chase \
    -a claude/claude-opus-4-8:high -a codex/gpt-5.6-sol:high "fix the build"

To run DeepSeek Harness unattended with that environment variable:

DEEPSEEK_API_KEY=sk-… hmz exec -f ralph_loop \
    -a dsh/deepseek-v4-flash:high "fix the build"

To collect what a run left behind, and open it in ui.perfetto.dev:

hmz trace collect

Quickstart goes from here to a run you can read back, in fifteen minutes.

Documentation

docs.humanfia.ai/humanize2, in four parts. Its source is under docs/.

  • Tutorials — six, in order. A quickstart, three real pieces of work run end to end, and two flows written from scratch.
  • Guides — a page per feature, each answering "how do I use this?" and opening with something you can paste.
  • Features — what humanize does, described in one page.
  • Reference — the complete CLI, TUI and Python API.

Maintainers

@futrime, @SihaoLiu, @lyken17.

This project was initiated by Sihao Liu at UCLA PolyArch/humanize, then contributed by NVIDIA Research, MIT HAN LAB, NUNCHAKU and many community members.

Contributing

PRs accepted. Ask a question or discuss a substantial change first in issues, and see Contributing for the checks a commit has to pass.

uv sync
uv run pre-commit install

If you edit this README, please conform to the standard-readme specification.

License

Apache-2.0

About

Orchestrate, execute, and observe agent flows for token maxing!

Resources

Stars

67 stars

Watchers

1 watching

Forks

Contributors

Languages