[wp-trac] [WordPress Trac] #64591: Add WP AI Client
WordPress Trac
noreply at wordpress.org
Wed Feb 4 13:32:07 UTC 2026
#64591: Add WP AI Client
------------------------------------------+---------------------
Reporter: flixos90 | Owner: (none)
Type: feature request | Status: new
Priority: normal | Milestone: 7.0
Component: AI | Version:
Severity: normal | Resolution:
Keywords: needs-patch needs-unit-tests | Focuses:
------------------------------------------+---------------------
Comment (by schmitzoide):
First off, this is a fantastic proposal. Having a provider-agnostic AI
foundation in Core is exactly what the ecosystem needs — it will reduce
fragmentation and give plugin developers a stable base to build on. Really
excited to see this moving forward.
That said, I wanted to raise one potential design consideration regarding
how WP AI Client might interact with the Abilities API.
== The Question ==
If WP AI Client registers abilities like `ai/prompt` or `ai/completion`,
could this create some philosophical tension?
1. '''Layer confusion''' - Abilities typically represent "what WordPress
can do". An ability to "call an AI model" feels more like external
infrastructure that WordPress //uses//.
2. '''Meta-recursion''' - The API was designed for AI to orchestrate
WordPress. Having "invoke AI" as a discoverable ability could create
circular confusion — a bit like listing "call the chef" as a menu item.
3. '''Schema considerations''' - Abilities have deterministic schemas. AI
responses are non-deterministic.
4. '''Discovery implications''' - Plugins that auto-discover abilities
might inadvertently expose "call external LLM" as a tool — confusing UX.
== Possible Solutions ==
* '''Option A:''' `is_infrastructure` metadata flag for filtering
* '''Option B:''' Namespace convention (`ai/*` for internal use)
* '''Option C:''' Keep WP AI Client as developer infrastructure without
Abilities exposure
Again, great work on this proposal. Just wanted to flag this early in case
it's helpful for the design. Happy to discuss further!
--
Ticket URL: <https://core.trac.wordpress.org/ticket/64591#comment:3>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list