Contributions made with AI tools are welcome as long as the submitter understands the changes, can respond to review and takes responsibility. Purely agentic PRs without meaningful human review are closed and their authors banned. Crediting AI with Co-authored-by is appreciated but optional.
Policy by area
- Code contributionsPatches, pull requests and other changes written with AI tools.
- Mostly friendly
- Contributor takes full responsibility
- A human must review the output
- No autonomous agents
- Issues & bug reportsBug reports, security reports and issues found or written with AI tools.
- No policy
- AI-written textPull request descriptions, issue comments and summaries written by AI.
- No policy
In their own words
Code contributions
We welcome contributions from all developers, including those who use AI/LLM tools as part of their workflow.
Regardless of how the code was produced, the person submitting a pull request must understand the changes and be able to respond to review feedback.
Pull requests that are entirely generated by AI agents, with no meaningful human review, understanding, or oversight, will be closed.
This is not required, but helps reviewers set expectations and is appreciated.
Sources
- Contributing to pytestgithub.com/pytest-dev/pytest/blob/main/CONTRIBUTING.rstSnapshot 9 Oct 2026