SymPy
A Python library for symbolic mathematics.
Mostly friendly. Welcome, with extra rules.
AI-assisted patches are accepted if substantial AI use is disclosed and the author understands the code. AI may not write descriptions or speak for contributors except for translation or grammar, and mostly AI-generated work from new contributors will likely be closed.
Policy by area
- Code contributionsPatches, pull requests and other changes written with AI tools.
- Mostly friendly
- AI use must be disclosed
- Contributor takes full responsibility
- Output must be license-compatible
- Issues & bug reportsBug reports, security reports and issues found or written with AI tools.
- Unfriendly
- Only minor help (autocomplete, grammar)
- AI-written textPull request descriptions, issue comments and summaries written by AI.
- Unfriendly
- Only minor help (autocomplete, grammar)
In their own words
Code contributions
If you substantially make use of AI to assist in the development of your patch, you must disclose how it was used and what code in the patch is AI generated.
You must understand and explain the code you submit as well as the existing related code.
Code generated by AI may infringe on copyright and it is the submitter’s responsibility to not infringe.
Issues & bug reports
If you are a new contributor to SymPy, we will most likely close any issues, discussions, or pull requests that are substantially generated by AI.
When interacting in communication among developers (email list, discussions, issues, pull requests, etc.) do not use AI to speak for you, other than for translation or grammar editing.
AI-written text
In explaining your contribution, do not use AI to automatically generate descriptions, as AI rarely communicates such information correctly and concisely.
Sources
- SymPy AI Generated Code and Communication Policydocs.sympy.org/dev/contributing/ai-generated-code-policy.htmlSnapshot 9 Oct 2026