# Mesa: AI-friendly with conditions

> AI-assisted code is allowed if the submitter understands it, takes responsibility including MIT licence compatibility, and discloses AI involvement with Assisted-by or Generated-by. Autonomous tools may not submit or interact with issues or MRs, and AI should not write comments, commit messages or GitLab comments.

- What it is: Open source implementations of OpenGL, Vulkan and other graphics APIs. (Library)
- Homepage: https://mesa3d.org/
- Repository: https://gitlab.freedesktop.org/mesa/mesa
- Overall stance: AI-friendly with conditions (Mostly friendly). AI-assisted contributions are accepted with extra rules, such as disclosing AI use, or AI is banned for issues or written text.
- Last classified: 2026-10-09 (manual review, high confidence)
- Policy last changed: 2026-10-09
- Web page: https://areweaifriendly.com/projects/mesa/

## Policy by area

- **Code contributions**: AI-friendly with conditions (AI use must be disclosed; Contributor takes full responsibility; Output must be license-compatible; No autonomous agents)
- **Issues & bug reports**: AI-friendly with conditions (No autonomous agents)
- **AI-written text**: Not AI-friendly

## In their own words

- Code contributions: "That responsibility includes making sure that the code change can be submitted under the MIT license that Mesa uses." (https://gitlab.freedesktop.org/mesa/mesa/-/blob/main/docs/submittingpatches.rst)
- Code contributions: "Disclosure is always required when "AI" was involved in the creative process of coming up with the code, except in the following cases:" (https://gitlab.freedesktop.org/mesa/mesa/-/blob/main/docs/submittingpatches.rst)
- Code contributions: "It is not allowed to use autonomously acting tools to submit any contributions, that is every contributions needs explicit oversight and your review." (https://gitlab.freedesktop.org/mesa/mesa/-/blob/main/docs/submittingpatches.rst)
- Issues & bug reports: "This includes interactions with GitLab issues or MRs in any autonomous way through such tools." (https://gitlab.freedesktop.org/mesa/mesa/-/blob/main/docs/submittingpatches.rst)
- AI-written text: ""AI" shouldn't be used to generate code comments, commit messages, and Gitlab comments." (https://gitlab.freedesktop.org/mesa/mesa/-/blob/main/docs/submittingpatches.rst)
- AI-written text: "Consequentially, contributors can use "AI" for research etc., but all text should be their own words." (https://gitlab.freedesktop.org/mesa/mesa/-/blob/main/docs/submittingpatches.rst)

## Sources

- [Mesa: Submitting Patches](https://gitlab.freedesktop.org/mesa/mesa/-/blob/main/docs/submittingpatches.rst), fetched 2026-10-09
