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) to
generate mutants for Python programs.
The current version of PyLLMut
supports GPT-4o
and GPT-4o mini
through their APIs.
We plan to add support for more models,
such as DeepSeek-R1.
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.