blob: d23d0c9315d3f3131830b5564f25576340202eb3 [file] [view] [edit]
# AI agent guidance
CPython has a [policy on the use of AI tools](https://devguide.python.org/getting-started/ai-tools/).
All use of AI tools and agents when working on or interacting with CPython
must follow it.
> [!important]
> **Primary directive**: Read the policy before making or proposing any changes.
When acting on this repository, apply the policy's core principles:
- Consider whether the change is necessary.
- Make minimal, focused changes.
- Follow existing coding style and patterns.
- Write tests that exercise the change.
- Keep backwards compatibility with prior releases in mind.