You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jun 3, 2026. It is now read-only.
The goal of this project is to bring the https://github.com/wordpress/php-ai-client into WordPress, with all the necessary adaptors and such in place for it to work properly — including things like handling the HTTP layer.
This description will be updated as we have discussions here regarding the MVP, including a task breakdown of the subsequent PRs to be delivered. The order is intended to be sequenced, though some work may be done in parallel.
MVP Breakdown
HTTP Transport
Build WP Client Adapter (see Adds HTTP Client Adapter #2)
The PHP AI Client uses https://httplug.io as the means of discovering which HTTP transport system is available. For compatibility with WordPress we will need to build an adapter. We can look at the Guzzle Adapter for inspiration.
The goal of this project is to bring the https://github.com/wordpress/php-ai-client into WordPress, with all the necessary adaptors and such in place for it to work properly — including things like handling the HTTP layer.
This description will be updated as we have discussions here regarding the MVP, including a task breakdown of the subsequent PRs to be delivered. The order is intended to be sequenced, though some work may be done in parallel.
MVP Breakdown
HTTP Transport
The PHP AI Client uses https://httplug.io as the means of discovering which HTTP transport system is available. For compatibility with WordPress we will need to build an adapter. We can look at the Guzzle Adapter for inspiration.
API Credentials Management (see #6)
REST API
To work in the browser we'll need a stateless low-level REST API for creating prompts and interacting with the AI Client (see feat/ Build WordPress REST API endpoints for AI client #8)
Prompt Builder (see #12)
Prompt_Builderclass that extends the PHP AI ClientPromptbuilderand provides snake case versions of the methods