howhard
How hard should the agent think?
howhard chooses the model and reasoning effort for a task delegated to an AI
agent. An LLM reads the actual task, current project and writable semantic memory,
learning a task-specific capability-fit band over the full supplied inventory, then
forecasting clean/caught/escaped outcomes, tokens and time only for that band. One
recorded outcome updates both the threshold reader and predictive support for memories.
Selection minimizes expected cost to an accepted result, including same-cell retries after loud failures. Its risk cap applies to defects among accepted results; these estimates are not a calibrated failure guarantee. Without a usable LLM forecast, routing stops explicitly.
Quickstart
You need Python 3.11+, a POSIX shell, Git and a current Codex, Claude Code or Antigravity client with native plugin support.
Install the 3.0 backend from the tagged GitHub release in your project directory:
python3 -m venv .venv-howhard
. .venv-howhard/bin/activate
python -m pip install "howhard @ git+https://github.com/xu-hao/howhard.git@v3.0.0"
howhard --version
Expect howhard 3.0.0. Keep the environment active and start your agent from the same
shell so it can find howhard. An existing GUI session may need the absolute path to
.venv-howhard/bin/howhard in your project.
Install the native plugin for your host:
# Codex
codex plugin marketplace add xu-hao/howhard
codex plugin add howhard@howhard
# Claude Code
claude plugin marketplace add xu-hao/howhard
claude plugin install howhard@howhard
# Antigravity
agy plugin install https://github.com/xu-hao/howhard
agy plugin list
The plugin supplies the howhard routing and learning skill and the attribute-failure
investigation skill. Backend and plugin updates are separate; the
native installation guide covers scopes and lifecycle commands.
Ask your coordinating agent to use howhard on a real, authorized task before starting a worker:
Use howhard to choose the model and reasoning effort for this task. Obtain an independent baseline, consult memory, execute with supported host controls, then record the actual outcome and measured usage and update memory.
Invoke the skill explicitly with $howhard or /skills in Codex,
/howhard:howhard in Claude Code, or /howhard in Antigravity. To require it before
delegation, add the coordinating-agent instruction
to your project instructions. Plugin installation alone does not enforce worker launches.
The complete quickstart walks through decision fields, feedback, usage and memory learning. The host must support the chosen controls and a fresh context for the independent baseline; otherwise routing is unavailable. Unknown usage and prices stay unknown. Record actual executions rather than invented outcomes.
Inspect local state and observed-action summaries with:
howhard paths --json
howhard memory list --json
howhard report --json
The model and storage contracts, semantic-memory guide and context contract describe the CLI/API and evidence boundaries. Evaluate routing quality with genuine project work. External routing applications can configure explicitly selected inventories and use the Python or calling-agent interfaces to select models and share learning across providers in the same project store. Contributors use isolated worktrees and the documentation-only exemption.
Metadata
Release files for howhard 3.0.0
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 |
|---|---|---|---|---|
| howhard-3.0.0.tar.gz | 216.7 kB | Without provenance | Details for howhard-3.0.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| howhard-3.0.0-py3-none-any.whl | Python 3 | none | any | Details for howhard-3.0.0-py3-none-any.whl |
Total release size: 301.6 kB
Release files / howhard-3.0.0.tar.gz
| Download URL | howhard-3.0.0.tar.gz |
|---|---|
| Size | 216.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
b01bcff8272336db9d45f497e02c607dd14315474be8ed6efd74f767d5ebecb1
|
|
BLAKE2b-256 checksum How to use checksums |
fa0c371672addf99d348c6492ea80f31abf4c283ef9c62c33fc558be51982290
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.5
|
Release files / howhard-3.0.0-py3-none-any.whl
| Download URL | howhard-3.0.0-py3-none-any.whl |
|---|---|
| Size | 84.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
eecdf1d1aa4f654bfa158428a9f3099e6514ce3ffa63d0223b9d23934209c521
|
|
BLAKE2b-256 checksum How to use checksums |
c6f472b450e561728e7835a6c78d4a1a13e318e0435839a3831dfd9338494432
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.5
|
Security for howhard 3.0.0
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.