# SymPy: AI-friendly with conditions

> 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.

- What it is: A Python library for symbolic mathematics. (Library)
- Homepage: https://www.sympy.org/
- Repository: https://github.com/sympy/sympy
- 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/sympy/

## Policy by area

- **Code contributions**: AI-friendly with conditions (AI use must be disclosed; Contributor takes full responsibility; Output must be license-compatible)
- **Issues & bug reports**: Not AI-friendly (Only minor help (autocomplete, grammar))
- **AI-written text**: Not AI-friendly (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." (https://docs.sympy.org/dev/contributing/ai-generated-code-policy.html)
- Code contributions: "You must understand and explain the code you submit as well as the existing related code." (https://docs.sympy.org/dev/contributing/ai-generated-code-policy.html)
- Code contributions: "Code generated by AI may infringe on copyright and it is the submitter’s responsibility to not infringe." (https://docs.sympy.org/dev/contributing/ai-generated-code-policy.html)
- 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." (https://docs.sympy.org/dev/contributing/ai-generated-code-policy.html)
- Issues & bug reports: "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." (https://docs.sympy.org/dev/contributing/ai-generated-code-policy.html)
- AI-written text: "In explaining your contribution, do not use AI to automatically generate descriptions, as AI rarely communicates such information correctly and concisely." (https://docs.sympy.org/dev/contributing/ai-generated-code-policy.html)

## Sources

- [SymPy AI Generated Code and Communication Policy](https://docs.sympy.org/dev/contributing/ai-generated-code-policy.html), fetched 2026-10-09
