PyLLMut—pronounced "Pill Moot" (/pɪl muːt/)—is
a research-based LLM-driven mutant generator library
for Python. It uses Large Language Models (LLMs) as its backend to
generate mutants for a given Python module.
The current version of PyLLMut
supports only gpt-4o-mini
through its API.
We plan to add support for more models,
such as DeepSeek
.
Full documentation is available at PyLLMut Documentation.
To install PyLLMut, follow the instructions in the Installation Guide.
For a quick example of how to use PyLLMut, refer to the Quick Start Guide.
For details on PyLLMut's available API, refer to the API Reference.
PyLLMut is a research-based project, inspired by the study On the Use of Large Language Models in Mutation Testing, which was originally for Java.