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, forecasting clean completion, caught failures, escaped failures, tokens and time for each candidate. Recorded outcomes update the predictive support for memories.

Selection balances worker cost, expected failure cost and waiting time. Its risk cap uses a weighted envelope of LLM forecasts; 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 Python backend from PyPI in your project directory:

python3 -m venv .venv-howhard
. .venv-howhard/bin/activate
python -m pip install "howhard==2.1.0"
howhard --version

Expect howhard 2.1.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 2.2.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 2.2.0
File Size Uploaded Provenance Actions
howhard-2.2.0.tar.gz 186.8 kB Without provenance Details for howhard-2.2.0.tar.gz

Built distribution (wheel)

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

Total release size: 256.7 kB

Release files / howhard-2.2.0.tar.gz

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

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

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

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