Skip to main content
Loss of provenance

A previous release had provenance metadata, but this release does not. View details.

henzo

Python client for Henzo. Install once, store one API key, and run coding-agent hooks that recall locally and send finished rounds to the cloud for learning.

Install

pip install henzo
henzo login

Quick start

henzo login          # Google sign-in at auth.app.henzo.ai, then a device key
                     # existing key: henzo login --stdin
henzo whoami         # tenant / profile / device (never prints the key)
henzo setup --agent cursor
henzo logout

Headless hosts can set HENZO_API_KEY instead of using the store.

Configuration

Variable Meaning Default
HENZO_API_KEY API key (overrides the store) —
HENZO_GATEWAY_URL Gateway base URL https://autodidact-learning-sync.guy-360.workers.dev
HENZO_DATA_ROOT Root for per-profile data ~/.henzo
HENZO_CONFIG_DIR Config and key-file directory ~/.config/henzo
HENZO_TOKEN_STORE auto, keyring, or file auto

Per-profile data lives under ~/.henzo/<profile>/ (outbox, synced items). The client never writes to ~/.autodidact.

Commands

  • henzo login — Google sign-in at HENZO_AUTH_URL (default https://auth.app.henzo.ai). PropelAuth sends the user to the token page HENZO_TOKEN_URL (default https://app.henzo.ai/token), which mints the device key. Needs HENZO_PROPELAUTH_CLIENT_ID and that redirect registered. --stdin and --api-key-prompt still accept an existing key. The key is never an argument.
  • henzo logout — clear the stored key
  • henzo whoami — show tenant, profile and device parsed from the key
  • henzo setup --agent <claude-code|codex|cursor|cursor-agent> — install agent hooks (--dry-run, --remove)
  • henzo hook <event> — agent hook entry point (reads JSON from stdin; always exits 0). On learn/stop it encrypts the round, queues it, and starts a detached background upload; the hook makes no network call itself
  • henzo round-key [--show] — fetch the tenant round public key and pin it on first use (round-key.json, 0600); later fetches must match the pin or the command fails loudly. setup does this too when you are logged in
  • henzo rotate-round-key --confirm [--expect-kid KID] — the only way to re-pin, after an announced rotation
  • henzo flush — upload queued rounds now (412/409 count as already uploaded)
  • henzo sync pull [--json] — pull learned-item deltas and apply them locally (replay-safe)

All gateway wire formats live in src/henzo/wire.py.

Development

uv sync --extra dev
uv run pytest

See TINY_CHECK.md for the second-PC check plan and blockers.

Metadata

Release files for henzo 0.1.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Loss of provenance

These files do not have provenance metadata, despite files in a prior release including this data.

We recommend further investigation before installing these files. View details.

Source distribution (sdist)

Source distribution for henzo 0.1.1
File Size Uploaded Provenance Actions
henzo-0.1.1.tar.gz 48.6 kB Without provenance Details for henzo-0.1.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for henzo 0.1.1
File Interpreter ABI Platform Actions
henzo-0.1.1-py3-none-any.whl Python 3 none any Details for henzo-0.1.1-py3-none-any.whl

Total release size: 88.1 kB

Release files / henzo-0.1.1.tar.gz

Loss of provenance

This file belongs to a release without provenance metadata, despite a prior release including this data.

We recommend further investigation before installing this file. View details.

Download URL henzo-0.1.1.tar.gz
Size 48.6 kB
Tags Source
SHA-256 checksum
How to use checksums
ccce8a2d620c9bd0edd8e61f3a7dc369392af29558b6addf2ea76692f4b6c317
BLAKE2b-256 checksum
How to use checksums
df2dc92a7716bc00e5098cca08430e33838664e08ae494da53d62f6673f3ad56
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Release files / henzo-0.1.1-py3-none-any.whl

Loss of provenance

This file belongs to a release without provenance metadata, despite a prior release including this data.

We recommend further investigation before installing this file. View details.

Download URL henzo-0.1.1-py3-none-any.whl
Size 39.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
9eabca8d75d6f698e78a4243837ddd81c72f51357b5fbd23fbcf8229101d85dd
BLAKE2b-256 checksum
How to use checksums
417bfab57c73cda38a6af907e08ed304d6490b69c27a6e76e43590aabbb14ecf
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Security for henzo 0.1.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Loss of provenance

A previous release of these files had provenance metadata, but this release does not.

While this could reflect a routine change by the project maintainers, it may also indicate that the release files have been compromised.

Release comparison

  • Removed 0.0.1 2 files With provenance
  • Added 0.1.1 2 files Without provenance

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page