hanzo-tools-llm
Models through Hanzo as MCP tools. Every call goes to api.hanzo.ai with the
Hanzo credential hanzo_tools.core.HanzoCloud resolves (HANZO_API_KEY, then
~/.hanzo/config.json, then hanzo auth token).
Tools
llm— action-routed, default actionquery:query:POST /v1/chat/completions.modeldefaults toenso-auto;"auto"lets Enso pick across the models your org can serve.max_cost(USD per 1,000 tokens) andmax_latency_msride asX-Max-CostandX-Max-Latency-Ms;fallback: truesendsX-Hanzo-Fallback: allow, so the plan's fallback answers instead of a refusal. Returns{id, model, content, finish_reason, usage, served, paid_by, usage_state, usage_class, fallback, fallback_reason}, the last six read from theX-Hanzo-*headers (Nonewhen absent).models:GET /v1/models, one row per model with family, class, what it supports, the catalog's per-million prices andvariable;search,class(premium,ours,free),familyandcapabilitynarrow it.limits:GET /v1/ai/limits— plan, state, each class's percent, who pays, resets, paused models and the actions. Shares only, never an amount.feedback:POST /v1/ai/feedbackwithrequest_id,signaland, forsignal: rating, aratingof 1 to 3.
kai_decide—POST /v1/decisions: astate(text, object or array) and named typedquestions(choice,score,noul), answered by Kai with calibrated probabilities;modeliskai, a trainedkai-<id>ortypesafe/jev-1.13.
A plan refusal (402 or 429 with plan_allowance_used, paid_plan_required,
free_plan_cap, model_cap, usage_cap_exceeded or insufficient_balance) is
an error whose code is that refusal, with class, model, fallback,
window, resets_at and actions; hanzoai.usage reads it.
Install
pip install hanzo-tools-llm
hanzo-mcp loads both tools through the hanzo.tools entry point.
Metadata
Release files for hanzo-tools-llm 0.2.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| hanzo_tools_llm-0.2.2.tar.gz | 16.9 kB | Without provenance | Details for hanzo_tools_llm-0.2.2.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| hanzo_tools_llm-0.2.2-py3-none-any.whl | Python 3 | none | any | Details for hanzo_tools_llm-0.2.2-py3-none-any.whl |
Total release size: 29.6 kB
Release files / hanzo_tools_llm-0.2.2.tar.gz
| Download URL | hanzo_tools_llm-0.2.2.tar.gz |
|---|---|
| Size | 16.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
f93ee9f53deb117074a24cb249b4c85bb70556570a12ad3eb7a41dba2041b25a
|
|
BLAKE2b-256 checksum How to use checksums |
c172291b73977f39bfab9d78308e6d27900b1caee5b3ab6d036d46b8dda45357
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.12.9
|
Release files / hanzo_tools_llm-0.2.2-py3-none-any.whl
| Download URL | hanzo_tools_llm-0.2.2-py3-none-any.whl |
|---|---|
| Size | 12.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
4e1d7719d8df865bafb001cdad38b8fdb76828aabc20c3a94b781d6685e718b9
|
|
BLAKE2b-256 checksum How to use checksums |
38d563b39e568ca346165b511ecc19916d60f1b97ee37b26d885679f1429d213
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.12.9
|
Security for hanzo-tools-llm 0.2.2
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.
No provenance found
None of the files in this release were uploaded with provenance metadata.
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.