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

Built distribution (wheel)

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

Total release size: 323.7 kB

Release files / howhard-3.1.0.tar.gz

Download URL howhard-3.1.0.tar.gz
Size 233.7 kB
Tags Source
SHA-256 checksum
How to use checksums
31e5cdf2928cf3cfcc9d7e515263c49bff9dfe9a9082dd86c27db4ee91c79faa
BLAKE2b-256 checksum
How to use checksums
55eaf66c2adee4d35a41312960253b993e3ee1fdcbaaa8aea0228f4e0084154f
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.1.0-py3-none-any.whl

Download URL howhard-3.1.0-py3-none-any.whl
Size 90.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
6b93e7d5fd9b597a184f8ee79c3240301be813373663ffce1ba719da29700f0e
BLAKE2b-256 checksum
How to use checksums
7de4a8bf40c18aa37fed3bc40276dd7e9f4a8a58f18ec385a9012dfc50c91125
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.1.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