Skip to main content

howhard

howhard spiral mark

How hard should the agent think?

Read the documentation.

Start with the quickstart, or read the technical report for the credit-saving objective, learning equations, statistical assumptions and retrospective defect attribution.

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 4.0.0

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

Source distribution (sdist)

Source distribution for howhard 4.0.0
File Size Uploaded Provenance Actions
howhard-4.0.0.tar.gz 284.7 kB Without provenance Details for howhard-4.0.0.tar.gz

Built distribution (wheel)

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

Total release size: 387.5 kB

Release files / howhard-4.0.0.tar.gz

Download URL howhard-4.0.0.tar.gz
Size 284.7 kB
Tags Source
SHA-256 checksum
How to use checksums
e3e4d46d8419a6713269f79aee139c4364d21d72a4c0a15de9dccb3cd8b5629f
BLAKE2b-256 checksum
How to use checksums
ade25b88380f19e9f35fb0b0a7995e69ad85a124e448085a5a8b2b239d90128a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.5

Release files / howhard-4.0.0-py3-none-any.whl

Download URL howhard-4.0.0-py3-none-any.whl
Size 102.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
d9903594bd476b7afe3e0043e5763626455e884f8b886f99c57c981cf7549fe5
BLAKE2b-256 checksum
How to use checksums
8c2e509b1e0b5ff670cc7ed9dfbc05fc225f8965431b11ef1e8e991a9be5f0be
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.5

Security for howhard 4.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.

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