Title: WP AI Client
Author: Jonathan Bossenger
Published: 29 January 2026
Last modified: 22 April 2026

---

# WP AI Client

## In this article

 * [Project Details](https://make.wordpress.org/ai/handbook/projects/wp-ai-client/?output_format=md#project-details)
    - [Roadmap](https://make.wordpress.org/ai/handbook/projects/wp-ai-client/?output_format=md#roadmap)
    - [Milestones](https://make.wordpress.org/ai/handbook/projects/wp-ai-client/?output_format=md#milestones)
    - [Repo](https://make.wordpress.org/ai/handbook/projects/wp-ai-client/?output_format=md#repo)
 * [Goal](https://make.wordpress.org/ai/handbook/projects/wp-ai-client/?output_format=md#goal)
 * [Features](https://make.wordpress.org/ai/handbook/projects/wp-ai-client/?output_format=md#features)

[↑ Back to top](https://make.wordpress.org/ai/handbook/projects/wp-ai-client/?output_format=md#wp--skip-link--target)

## 󠀁[Project Details](https://make.wordpress.org/ai/handbook/projects/wp-ai-client/?output_format=md#project-details)󠁿

### 󠀁[Roadmap](https://make.wordpress.org/ai/handbook/projects/wp-ai-client/?output_format=md#roadmap)󠁿

TBD

### 󠀁[Milestones](https://make.wordpress.org/ai/handbook/projects/wp-ai-client/?output_format=md#milestones)󠁿

 * tbd

### 󠀁[Repo](https://make.wordpress.org/ai/handbook/projects/wp-ai-client/?output_format=md#repo)󠁿

[WP AI Client](https://github.com/WordPress/wp-ai-client) _(log bugs and enhancements
to [Trac](https://core.trac.wordpress.org/newticket))_

---

## 󠀁[Goal](https://make.wordpress.org/ai/handbook/projects/wp-ai-client/?output_format=md#goal)󠁿

The WP AI Client enables WordPress to communicate with generative AI models of varying
capabilities via a uniform APIAPI An API or Application Programming Interface is
a software intermediary that allows programs to interact with each other and share
data in limited, clearly defined ways..

The WP AI Client is built on top of the [PHP AI Client](https://github.com/WordPress/php-ai-client),
and specifically adapted for the WordPress ecosystem.

[GitHub repository](https://github.com/WordPress/wp-ai-client)

## 󠀁[Features](https://make.wordpress.org/ai/handbook/projects/wp-ai-client/?output_format=md#features)󠁿

**Client-side JavaScriptJavaScript JavaScript or JS is an object-oriented computer
programming language commonly used to create interactive effects within web browsers.
WordPress makes extensive use of JS for a better user experience. While PHP is executed
on the server, JS executes within a user’s browser. [https://www.javascript.com](https://www.javascript.com/)
API**: A JavaScript API with a similar prompt builder, using REST endpoints under
the hood to connect to the server-side infrastructure.

**WordPress-native Prompt Builder**: Fluent API for building and configuring AI 
prompts, built directly on top of the PHPPHP PHP (recursive acronym for PHP: Hypertext
Preprocessor) is a widely-used open source general-purpose scripting language that
is especially suited for web development and can be embedded into HTML. [https://www.php.net/manual/en/index.php](https://www.php.net/manual/en/index.php)
AI Client while following WordPress Coding StandardsWordPress Coding Standards The
Accessibility, PHP, JavaScript, CSS, HTML, etc. coding standards as published in
the WordPress [Coding Standards Handbook](https://developer.wordpress.org/coding-standards/).
May also refer to [The collection of PHP_CodeSniffer rules](https://github.com/WordPress/WordPress-Coding-Standards/)(
sniffs) used to format and validate PHP code developed for WordPress according to
the PHP coding standards. and best practices.

**Admin Settings Screen**: Integrated settings screen in WP Admin to provision AI
providerProvider An AI service offering models for generation, embeddings, or other
capabilities (e.g., Anthropic, Google, OpenAI). API credentials.

**Automatic Credential Wiring**: Automatic wiring up of AI provider API credentials
based on storage in a WordPress database option.

**PSR-compliant HTTPHTTP HTTP is an acronym for Hyper Text Transfer Protocol. HTTP
is the underlying protocol used by the World Wide Web and this protocol defines 
how messages are formatted and transmitted, and what actions Web servers and browsers
should take in response to various commands. Client**: HTTP client implementation
using the WordPress HTTP API, fully compatible with PSR standards.

First published

29 January 2026

Last updated

22 April 2026

[  Previous: PHP AI Client](https://make.wordpress.org/ai/handbook/projects/php-ai-client/)

[  Next: WP Bench](https://make.wordpress.org/ai/handbook/projects/wp-bench/)