The AI Client is the foundation for AI functionality in WordPress. It provides a provider-agnostic PHP SDK for talking to any AI model — OpenAI, Anthropic, Google, local models, and more — plus the in-core wrapper shipped in WordPress 7.0.
The AI Client pairs with individual AI Providers - WordPress Connector plugins that provide the authentication and configuration for specific AI services - allowing the canonical AI plugin and ecosystem code to use AI functionality without needing to know the implementation details of each provider.