| 1 |
# AI Policy |
| 2 |
|
| 3 |
Using AI (i.e., LLMs) as tools for coding is welcome. A high bar is held for |
| 4 |
all contributions to this project. Moreover, the project maintainers remain |
| 5 |
responsible for any code that is published as part of a release. Contributors |
| 6 |
are expected to be responsible for any code they publish. |
| 7 |
|
| 8 |
**AI should not be used to generate comments when communicating with |
| 9 |
maintainers**. Comments are expected to be written by humans. Comments that are |
| 10 |
believed to be written by AI may be hidden without notice. |
| 11 |
|
| 12 |
If you are opening an issue, you should be able to describe the problem in your |
| 13 |
own words. |
| 14 |
|
| 15 |
If you are opening a pull request, you are expected to be able to explain the |
| 16 |
proposed changes in your own words. This includes the pull request body and |
| 17 |
responses to questions. **Do not copy responses from the AI when replying to |
| 18 |
questions from maintainers.** |
| 19 |
|
| 20 |
This project requires a human in the loop who understands the work produced |
| 21 |
by AI. **Autonomous agents are not allowed to be used for contributing to our |
| 22 |
projects**. Pull requests that appear in violation of this will be closed, |
| 23 |
perhaps without notice. |
| 24 |
|
| 25 |
If you wish to include context from an interaction with AI in your comments, it |
| 26 |
must be in a quote block (e.g., using `>`) and disclosed as such. It must be |
| 27 |
accompanied by human commentary explaining the relevance and implications of |
| 28 |
the context. Do not share long snippets. |
| 29 |
|
| 30 |
AI is useful when communicating as a non-native English speaker. If you are |
| 31 |
using AI to edit your comments for this purpose, please take the time to ensure |
| 32 |
it reflects your own voice and ideas. If using AI for translation, we recommend |
| 33 |
writing in your native language and including the AI translation in a quote |
| 34 |
block. |
| 35 |
|
| 36 |
This policy was adapted from [uv's AI policy]. |
| 37 |
|
| 38 |
[uv's AI policy]: https://github.com/astral-sh/.github/blob/c5187e200db51bfe11d56e13053d29bd3793fdd8/AI_POLICY.md |