uv
An extremely fast Python package and project manager, written in Rust.
Mostly friendly. Welcome, with extra rules.
Astral supports using AI as a coding tool, but a human must be in the loop, understand the AI-produced work and remain responsible for the code submitted. AI-written comments, issue reports, pull request descriptions and answers to maintainers are not accepted, apart from AI proofreading or translation for non-native English speakers, and autonomous agents may not contribute.
Policy by area
- Code contributionsPatches, pull requests and other changes written with AI tools.
- 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.
- Unfriendly
- Contributor takes full responsibility
- Only minor help (autocomplete, grammar)
- AI-written textPull request descriptions, issue comments and summaries written by AI.
- Unfriendly
- AI use must be disclosed
- Contributor takes full responsibility
- Only minor help (autocomplete, grammar)
What is allowed and what is not
Code contributions
Autocomplete · Allowed with conditions
AI coding tools are supported, but you stay responsible for the code you publish and a human must understand the AI-produced work.
- Take full responsibility: You remain responsible for any code you publish
- Review AI output first: A human in the loop who understands the work produced by AI
3 quotes
We support using AI (i.e., LLMs) as tools for coding.
AI_POLICY.md However, you remain responsible for any code you publish and we are responsible for any code we merge and release.
AI_POLICY.md Due to the foundational nature of our projects, we require a human in the loop who understands the work produced by AI.
AI_POLICY.md Small fixes · Allowed with conditions
AI-assisted small code changes are fine, provided you remain responsible for the published code and a human understands the AI-produced work.
- Take full responsibility: You remain responsible for any code you publish
- Review AI output first: A human in the loop who understands the work produced by AI
3 quotes
We support using AI (i.e., LLMs) as tools for coding.
AI_POLICY.md However, you remain responsible for any code you publish and we are responsible for any code we merge and release.
AI_POLICY.md Due to the foundational nature of our projects, we require a human in the loop who understands the work produced by AI.
AI_POLICY.md Large or generated changes · Allowed with conditions
AI may write substantial changes, but you must stay responsible for them and be able to explain the proposed changes in your own words.
- Take full responsibility: You remain responsible for any code you publish
- Review AI output first: A human in the loop who understands the work produced by AI
4 quotes
We support using AI (i.e., LLMs) as tools for coding.
AI_POLICY.md However, you remain responsible for any code you publish and we are responsible for any code we merge and release.
AI_POLICY.md If you are opening a pull request, we expect you to be able to explain the proposed changes in your own words. This includes the pull request body and responses to questions.
AI_POLICY.md Due to the foundational nature of our projects, we require a human in the loop who understands the work produced by AI.
AI_POLICY.md Mechanical changes · Allowed with conditions
AI-driven repetitive edits are supported as coding tool use, with the same responsibility and human-in-the-loop requirements.
- Take full responsibility: You remain responsible for any code you publish
- Review AI output first: A human in the loop who understands the work produced by AI
3 quotes
We support using AI (i.e., LLMs) as tools for coding.
AI_POLICY.md However, you remain responsible for any code you publish and we are responsible for any code we merge and release.
AI_POLICY.md Due to the foundational nature of our projects, we require a human in the loop who understands the work produced by AI.
AI_POLICY.md Tests · Allowed with conditions
AI-written tests are treated as coding, so you remain responsible for them and a human must understand the AI-produced work.
- Take full responsibility: You remain responsible for any code you publish
- Review AI output first: A human in the loop who understands the work produced by AI
3 quotes
We support using AI (i.e., LLMs) as tools for coding.
AI_POLICY.md However, you remain responsible for any code you publish and we are responsible for any code we merge and release.
AI_POLICY.md Due to the foundational nature of our projects, we require a human in the loop who understands the work produced by AI.
AI_POLICY.md Build and CI · Allowed with conditions
AI-written build or CI code is treated as coding, with the same responsibility and human-in-the-loop requirements.
- Take full responsibility: You remain responsible for any code you publish
- Review AI output first: A human in the loop who understands the work produced by AI
3 quotes
We support using AI (i.e., LLMs) as tools for coding.
AI_POLICY.md However, you remain responsible for any code you publish and we are responsible for any code we merge and release.
AI_POLICY.md Due to the foundational nature of our projects, we require a human in the loop who understands the work produced by AI.
AI_POLICY.md Autonomous agents · Not allowed
Autonomous agents may not contribute; pull requests believed to be created autonomously are closed.
Quote
**We do not allow autonomous agents to be used for contributing to our projects**. We will close any pull requests that we believe were created autonomously.
AI_POLICY.md
Not covered by the policy (6)
Documentation, Translating the software, Images and media, Research and learning, Checking own work, AI as author.
Issues & bug reports
AI-written reports · Not allowed
Issue text must be described in your own words, so AI-written bug reports or feature requests are not accepted.
Quote
If you are opening an issue, we expect you to describe the problem in your own words.
AI_POLICY.md
Not covered by the policy (3)
Finding bugs with AI, Security reports, Bots filing issues.
AI-written text
Pull request descriptions · Not allowed
The pull request body must be in your own words, so AI-written pull request descriptions are not accepted.
Quote
If you are opening a pull request, we expect you to be able to explain the proposed changes in your own words. This includes the pull request body and responses to questions.
AI_POLICY.md Comments · Not allowed
Comments to maintainers must be written by humans; AI-generated comments may be hidden.
2 quotes
**AI should not be used to generate comments when communicating with maintainers**.
AI_POLICY.md We expect comments on our projects to be written by humans. We may hide any comments that we believe are AI generated.
AI_POLICY.md Answering reviewers · Not allowed
Answers to maintainer questions must be your own words; responses copied from an AI are not allowed.
2 quotes
If you are opening a pull request, we expect you to be able to explain the proposed changes in your own words. This includes the pull request body and responses to questions.
AI_POLICY.md **Do not copy responses from the AI when replying to questions from maintainers.**
AI_POLICY.md Translating own text · Allowed with conditions
Machine translation of your own comments is allowed for non-native English speakers only if you also write your native-language text and put the AI translation in a quote block beneath it.
- Include the original: Write in your native language and include the AI translation in a quote block beneath it
- Take full responsibility: Ensure the text reflects your own voice and ideas
3 quotes
We understand that AI is useful when communicating as a non-native English speaker. If you are using AI to edit your comments for this purpose, you must:
AI_POLICY.md - Take the time to ensure it reflects your own voice and ideas.
AI_POLICY.md - Write in your native language, and include the AI translation in a quote block beneath it.
AI_POLICY.md Proofreading · Allowed with conditions
AI editing of comments is allowed to help non-native English speakers, but the text must reflect your own voice and ideas and you must post your native-language text with the AI version quoted beneath.
- Take full responsibility: Ensure the edited text reflects your own voice and ideas
- Include the original: Write in your native language and include the AI version in a quote block beneath it
3 quotes
We understand that AI is useful when communicating as a non-native English speaker. If you are using AI to edit your comments for this purpose, you must:
AI_POLICY.md - Take the time to ensure it reflects your own voice and ideas.
AI_POLICY.md - Write in your native language, and include the AI translation in a quote block beneath it.
AI_POLICY.md Quoting AI output · Allowed with conditions
Context from an AI interaction may be included in comments only as a disclosed quote block with your own commentary, and long snippets must not be shared.
- Mark AI text: In a quote block (e.g., using `>`)
- Disclose AI use: Disclosed as AI interaction context
- Take full responsibility: Accompanied by human commentary explaining relevance and implications
2 quotes
If you wish to include context from an interaction with AI in your comments, it must be in a quote block (e.g., using `>`) and disclosed as such.
AI_POLICY.md It must be accompanied by human commentary explaining the relevance and implications of the context. Do not share long snippets.
AI_POLICY.md
Not covered by the policy (5)
Commit messages, Reviewing others' work, Forum and list posts, Summarizing discussions, Bots posting.
General
The AI policy applies to external contributors only; members of the Astral team are outside its scope.
“This policy is for external contributors, not members of the Astral team.” (AI_POLICY.md)
Sources
- AI_POLICY.mdgithub.com/astral-sh/.github/blob/main/AI_POLICY.mdSnapshot 9 Nov 2026