I agree with Matt that AI should be in plugins. There are so many ways to use AI in WordPress and putting it in core forces developers to follow one direction, which is not always good.

Adding a panel for API integration (like entering keys) is also bad if users don’t want to use AI. Or if they do, AI plugins usually have their own settings panel. In that case, users have to look at different places to set up the AI functionality.