hoimin
hoimin is a mutation-testing CLI for Python, designed for AI agents to improve tests locally within explicit resource budgets. It makes small changes to copies of your source and runs your tests to find behavior they do not check.
An agent investigates selected survivors, adds tests grounded in the intended behavior, and verifies the improvement. Humans provide specification decisions and review changes. Mutation scores are diagnostic observations; equivalent mutants and specification-permitted changes make them unsuitable as a standalone quality target. CI use is optional. See the product principles.
Browse the documentation for installation,
the agent workflow, resource limits, and command references. The site tracks
main; for a particular release, read the Markdown at that release's Git tag.
Maintainers can follow the publication guide.
Install
uv tool install --python 3.14 hoimin
Wheels require Python 3.14 and support macOS Apple Silicon, Linux x86_64
(glibc), and Windows x86_64. Run uv tool update-shell if hoimin is not on
PATH, then open a new shell.
Quick start
From your project directory, use a Python environment with your test dependencies
installed. Replace src/calc.py with the file you want to check:
hoimin run --root . --file src/calc.py --allow-best-effort-memory --format human -- python -m pytest -q
Everything after -- is your project's test command. hoimin runs it once as a
baseline, then for each selected mutation. Have your agent investigate a small
batch of survivors for missing assertions or test cases; a survivor alone does
not establish a test defect. --allow-best-effort-memory permits execution
on macOS and Linux without delegated cgroup limits; see the
resource limits.
See the usage reference
for selectors and configuration, the
plan/verify workflow,
and results,
or run hoimin --help.
For questions and bug reports, see the reporting guide.
External Issues and pull requests are not accepted.
For maintainer development, see development
and building and releases.
Licensed under Elastic License 2.0. See licensing details.
Metadata
Release files for hoimin 0.4.16
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distributions (wheels)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| hoimin-0.4.16-py3-none-win_amd64.whl | Python 3 | none | Windows x86-64 | Details |
| hoimin-0.4.16-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl | Python 3 | none | Linux glibc 2.17+ x86-64 | Details |
| hoimin-0.4.16-py3-none-macosx_11_0_arm64.whl | Python 3 | none | macOS 11.0+ ARM64 | Details |
Total release size: 19.4 MB
Release files / hoimin-0.4.16-py3-none-win_amd64.whl
| Download URL | hoimin-0.4.16-py3-none-win_amd64.whl |
|---|---|
| Size | 6.7 MB |
| Tags | Python 3 Windows x86-64 |
|
SHA-256 checksum How to use checksums |
5942123cd114e9f8b35b9398b93e4ad286a0b14c3b0a487129c4d971a3951dd5
|
|
BLAKE2b-256 checksum How to use checksums |
743075c54c45689f1592a050672051ccaf9351ab10a0e007e86acd6260092ff4
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 12, 2026.
Transparency logSLSA Build Provenance Attestation
PyPI verified that this artifact, at this checksum, originated from the builder listed below.
Built by GitHub Actions, verified by PyPI on Oct 12, 2026.
Transparency logRelease files / hoimin-0.4.16-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
| Download URL | hoimin-0.4.16-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl |
|---|---|
| Size | 6.7 MB |
| Tags | Linux glibc 2.17+ x86-64 Python 3 |
|
SHA-256 checksum How to use checksums |
c9a8e1b364876ff2abeb6568ac29711b0db998e13493feeb4f6680b89390b163
|
|
BLAKE2b-256 checksum How to use checksums |
3ca61b31dd51ed0cf5b7e17b468ca5c6d692296e456b9d8f85e933a380d4c075
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 12, 2026.
Transparency logSLSA Build Provenance Attestation
PyPI verified that this artifact, at this checksum, originated from the builder listed below.
Built by GitHub Actions, verified by PyPI on Oct 12, 2026.
Transparency logRelease files / hoimin-0.4.16-py3-none-macosx_11_0_arm64.whl
| Download URL | hoimin-0.4.16-py3-none-macosx_11_0_arm64.whl |
|---|---|
| Size | 6.1 MB |
| Tags | Python 3 macOS 11.0+ ARM64 |
|
SHA-256 checksum How to use checksums |
434f7629084d4a65b5b7ff913c118afeca2f74077a38d3d496bac381175604d0
|
|
BLAKE2b-256 checksum How to use checksums |
fa8d42ad72c56dc3184ef5ac5245630ebb0cdfdc668574db480cfb3eb01b6678
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 12, 2026.
Transparency logSLSA Build Provenance Attestation
PyPI verified that this artifact, at this checksum, originated from the builder listed below.
Built by GitHub Actions, verified by PyPI on Oct 12, 2026.
Transparency log