SDL Adds Policy To Forbid LLM/AI Generated Code Contributions

Written by Michael Larabel in Linux Gaming on 15 April 2026 at 05:24 PM EDT. 31 Comments
LINUX GAMING
The SDL library widely used by cross-platform games and part of the Steam Runtime has now established a policy to block code contributions made using AI / Large Language Models (LLMs).

SDL is the latest open-source project to say no to code generated by AI/LLMs. After a ticket was opened last week questioning if the Simple DirectMedia Layer has a policy around AI/LLM contributions, stakeholders took to coming up with such a policy. This policy follows GitHub Copilot used on some recent SDL reviews and a belief that some other recent contributions may have been made using LLMs like Claude Code.

SDL no AI policy pull request


Ryan C. Gordon "Icculus" took to writing an AGENTS.md that notes AI cannot be used to generate code for contributions to this project:
"AI may not be used to generate code for contributions to this project.

"AI" in this case means a Large Language Model ("LLM"), such as ChatGPT, Claude, Copilot, Grok, etc.

AI-generated code is based upon sources of unknown origins and may not be compatible with the Zlib license, or may introduce conflicting license terms if they include code from other projects.

AI can be used to identify issues with contributions to this project, but the solutions to those issues should be authored by humans.

We have found that AI will frequently hallucinate issues that are not actually problems in practice, report incorrect information, and describe problems that are actually not issues at all. If AI identifies a problem with this codebase, please make sure you understand what it is saying and have independently confirmed that the issue exists before submitting a bug report or pull request.

Any pull request to this project will ask you to confirm that you are the author and that you are contributing your changes under the Zlib license."

The SDL GitHub pull request template also added an option to confirm that the pull does not contain code from other sources like AI/LLMs. See this pull request for the now-merged AI/LLM policy for this important piece of the cross-platform gaming ecosystem.
Related News
About The Author

Michael Larabel is the principal author of Phoronix.com and founded the site in 2004 with a focus on enriching the Linux hardware experience. Michael has written more than 20,000 articles covering the state of Linux hardware support, Linux performance, graphics drivers, and other topics. Michael is also the lead developer of the Phoronix Test Suite, Phoromatic, and OpenBenchmarking.org automated benchmarking software. He can be followed via Twitter, LinkedIn, or contacted via MichaelLarabel.com.

Popular News This Week
Logo

It looks like your ad blocker is on.

×

Ads are what make it possible to produce new content on Phoronix each and every day over the past 20 years.

Please support Phoronix by disabling your ad blocker.

Alternatively, you can join Phoronix Premium as an option for ad-free viewing, multi-page articles on a single page, native dark mode, and more benefits.

Join Phoronix Premium

Continue without supporting us

Choose your Ad Blocker

  • Adblock Plus
  • Adblock
  • Adguard
  • Ad Remover
  • Brave
  • Ghostery
  • uBlock Origin
  • uBlock
  • UltraBlock
  • Other
  1. In the extension bar, click the AdBlock Plus icon
  2. Click the large blue toggle for this website
  3. Click refresh
  1. In the extension bar, click the AdBlock icon
  2. Under "Pause on this site" click "Always"
  1. In the extension bar, click on the Adguard icon
  2. Click on the large green toggle for this website
  1. In the extension bar, click on the Ad Remover icon
  2. Click "Disable on This Website"
  1. In the extension bar, click on the orange lion icon
  2. Click the toggle on the top right, shifting from "Up" to "Down"
  1. In the extension bar, click on the Ghostery icon
  2. Click the "Anti-Tracking" shield so it says "Off"
  3. Click the "Ad-Blocking" stop sign so it says "Off"
  4. Refresh the page
  1. In the extension bar, click on the uBlock Origin icon
  2. Click on the big, blue power button
  3. Refresh the page
  1. In the extension bar, click on the uBlock icon
  2. Click on the big, blue power button
  3. Refresh the page
  1. In the extension bar, click on the UltraBlock icon
  2. Check the "Disable UltraBlock" checkbox
  3. Marque la casilla de verificación "Desactivar UltraBlock"
  1. Please disable your Ad Blocker

If the prompt is still appearing, please disable any tools or services you are using that block internet ads (e.g. DNS Servers).