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
uv tool install henzo
# or, from a checkout:
uv sync --extra dev
Quick start
henzo login # Google sign-in, pin the round key, hook every detected agent
# existing key: henzo login --stdin
# skip hooks: henzo login --no-hooks
henzo whoami # tenant / profile / device (never prints the key)
henzo setup # install hooks for every detected agent (or --agent NAME)
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 atHENZO_AUTH_URL(defaulthttps://auth.app.henzo.ai). The token pageHENZO_TOKEN_URL(defaulthttps://app.henzo.ai/token) holds the PropelAuth client id and mints the device key.--stdinand--api-key-promptstill accept an existing key. The key is never an argument. After a successful login the client pins the tenant round key (this is also the cloud connectivity check) and installs hooks for every supported agent it detects (Claude Code, Codex, Cursor, cursor-agent, Devin). Detection is structural (binary on PATH or a well-known config directory). Re-running login is idempotent and leaves foreign hooks in place. Pass--no-hooksto skip hook install. On WSL, a detected Windows agent is hooked in%APPDATA%or the Windows home with awsl.exebridge; Devin hooks go to~/.config/devin/config.jsonor%APPDATA%\devin\config.json, never~/.devin.henzo logout— clear the stored keyhenzo whoami— show tenant, profile and device parsed from the keyhenzo setup [--agent <claude-code|codex|cursor|cursor-agent|devin>]— install agent hooks (--dry-run,--remove). With no--agent, every supported agent detected on this machine is configured.henzo hook <event> [--format claude|cursor|auto]— agent hook entry point (reads JSON from stdin; always exits 0, including Stop/learn). On learn/stop it encrypts the round, queues it, and starts a detached background upload; the hook makes no network call itself.--format claudeprints recall ashookSpecificOutput.additionalContext.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.loginandsetupdo this too when you are logged inhenzo rotate-round-key --confirm [--expect-kid KID]— the only way to re-pin, after an announced rotationhenzo 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.12
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)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| henzo-0.1.12.tar.gz | 76.6 kB | Without provenance | Details for henzo-0.1.12.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| henzo-0.1.12-py3-none-any.whl | Python 3 | none | any | Details for henzo-0.1.12-py3-none-any.whl |
Total release size: 137.7 kB
Release files / henzo-0.1.12.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.12.tar.gz |
|---|---|
| Size | 76.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
23e65fe2d27525ed3161d3c455682746004a422f30bcb91beb856f80e881f563
|
|
BLAKE2b-256 checksum How to use checksums |
3f7967de98711eee2bc6f79dfa25caffe715f7eb683b62c672eaa2d1d60c86bc
|
| 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.12-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.12-py3-none-any.whl |
|---|---|
| Size | 61.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
f468eb1963f5d4af78e12c9a3d4d5be30b1d58cc548dddb632ac010f95ee6207
|
|
BLAKE2b-256 checksum How to use checksums |
c8ad81bd1d5cf8257b36a153e1e74a6fd35e3e68852fb8736a9ce221df130796
|
| 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.12
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.12 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.