Skip to main content

howhard

How hard should the agent think?

Read the documentation.

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.1

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 3.0.1
File Size Uploaded Provenance Actions
howhard-3.0.1.tar.gz 225.0 kB Without provenance Details for howhard-3.0.1.tar.gz

Built distribution (wheel)

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

Total release size: 313.3 kB

Release files / howhard-3.0.1.tar.gz

Download URL howhard-3.0.1.tar.gz
Size 225.0 kB
Tags Source
SHA-256 checksum
How to use checksums
27d49a2375996dd902e521c14a7d63f8e3e4a7ca2d551582f90a26021e935f33
BLAKE2b-256 checksum
How to use checksums
7df621aa6ed42fe2bbcb578cef91e8fc7f9a77a6766c320285bace7222b1ac65
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.1-py3-none-any.whl

Download URL howhard-3.0.1-py3-none-any.whl
Size 88.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
a1d0efba38a9c6923fcca0fddff86b1458933c18f898d6e53865a89ac39f25ab
BLAKE2b-256 checksum
How to use checksums
b3ce48805f88c3506974c12ebb3259bb6ea1ccad19f18d926d9554569ce8ac09
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.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.

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