Skip to main content

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

Install from PyPI with uv:

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 passing tests and their dependencies installed. Choose the OS memory policy first, then replace src/calc.py with an existing file:

hoimin run --root . --file src/calc.py --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. macOS and Linux without delegated cgroups require --allow-best-effort-memory before --; macOS memory is not capped. See the resource limits.

See the usage reference for selectors and configuration, the step-by-step plan/verify workflow for a Git-independent example with a before/after test improvement, 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.5.11

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

Built distributions (wheels)

Table of built distributions (wheels) for hoimin 0.5.11
File Interpreter ABI Platform
hoimin-0.5.11-py3-none-win_amd64.whl Python 3 none Windows x86-64 Details
hoimin-0.5.11-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl Python 3 none Linux glibc 2.17+ x86-64 Details
hoimin-0.5.11-py3-none-macosx_11_0_arm64.whl Python 3 none macOS 11.0+ ARM64 Details

Total release size: 19.5 MB

Release files / hoimin-0.5.11-py3-none-win_amd64.whl

Download URL hoimin-0.5.11-py3-none-win_amd64.whl
Size 6.7 MB
Tags Python 3 Windows x86-64
SHA-256 checksum
How to use checksums
7d5939b8ad35fd794cca4414034b9c228cc06fda6266b89f42eb8de0bbdb7f59
BLAKE2b-256 checksum
How to use checksums
1aae3ca082047ac077438b59c338929f90b5c9f2c4cf9f5612df3488286ed725
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 14, 2026.

Transparency log

SLSA 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 14, 2026.

Transparency log

Release files / hoimin-0.5.11-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl

Download URL hoimin-0.5.11-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
885f08906c002359964098840bb9a2f1aaa10650f5ba2aa42985c9caced42f41
BLAKE2b-256 checksum
How to use checksums
e769a68e5c419da0c7ae199580c9defae2471bb4be82311a0e7afd727d579ad5
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 14, 2026.

Transparency log

SLSA 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 14, 2026.

Transparency log

Release files / hoimin-0.5.11-py3-none-macosx_11_0_arm64.whl

Download URL hoimin-0.5.11-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
ac4554d1f56574a377a52787bfce67f118cb8e16ed5885f66e934394ab55afe4
BLAKE2b-256 checksum
How to use checksums
0773a7f3861d1ace78d2993e50cc5fd3745e897d9446dab36ff876ca334d8a37
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 14, 2026.

Transparency log

SLSA 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 14, 2026.

Transparency log

Release history Release notifications | RSS feed

0.8.9

3 release files

0.8.8

3 release files

0.8.7

3 release files

0.8.6

3 release files

0.8.5

3 release files

0.8.4

3 release files

0.8.3

3 release files

0.8.2

3 release files

0.8.1

3 release files

0.8.0

3 release files

0.7.3

3 release files

0.7.2

3 release files

0.7.1

3 release files

0.7.0

3 release files

0.6.2

3 release files

0.6.1

3 release files

0.5.13

3 release files

0.5.12

3 release files

This release

0.5.11 This release

3 release files

0.5.10

3 release files

0.5.9

3 release files

0.5.8

3 release files

0.5.7

3 release files

0.5.6

3 release files

0.5.5

3 release files

0.5.4

3 release files

0.5.3

3 release files

0.5.2

3 release files

0.5.1

3 release files

0.5.0

3 release files

0.4.28

3 release files

0.4.27

3 release files

0.4.26

3 release files

0.4.25

3 release files

0.4.24

3 release files

0.4.23

3 release files

0.4.22

3 release files

0.4.21

3 release files

0.4.20

3 release files

0.4.17

3 release files

0.4.16

3 release files

0.4.15

3 release files

0.4.13

3 release files

0.4.11

3 release files

0.4.10

3 release files

0.4.9

3 release files

0.4.8

3 release files

0.4.7

3 release files

0.4.6

3 release files

0.4.5

3 release files

0.4.4

3 release files

0.4.3

3 release files

0.4.2

3 release files

0.4.1

3 release files

0.4.0

3 release files

0.3.16

3 release files

0.3.15

3 release files

0.3.14

3 release files

0.3.12

3 release files

0.3.11

3 release files

0.3.10

3 release files

0.3.9

3 release files

0.3.8

3 release files

0.3.7

3 release files

0.3.6

3 release files

0.3.5

3 release files

0.3.4

3 release files

0.3.3

3 release files

0.3.2

3 release files

0.3.1

3 release files

0.3.0

3 release files

0.2.3

3 release files

0.2.2

3 release files

0.2.1

3 release files

0.2.0

3 release files

0.1.18

3 release files

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