AI Building Blocks for WordPress

As the open web evolves in the era of AI, WordPress must keep pace. To ensure our CMS remains the leading solution to democratize publishing, we are creating and maintaining a collection of projects that form technical Building Blocks for AI within the WordPress project.

These Building Blocks will allow users and developers alike to create powerful AI implementations within WordPress – pushing the CMS to serve more needs and be even more flexible than it already is. We have three immediate focuses and four deliverables. When used together, each contributes the required functionality to create anything from AI features, to workflows, to agents, both inside and outside of the software.

Each Building BlockBlock Block is the abstract term used to describe units of markup that, composed together, form the content or layout of a webpage using the WordPress editor. The idea combines concepts of what in the past may have achieved with shortcodes, custom HTML, and embed discovery into a single consistent API and user experience. is listed below with a short description and a more detailed overview article linked for further reading.

PHP AI Client SDK

The PHP AI Client SDKPHP AI Client SDK A platform-agnostic library providing unified access to LLMs and embedding models from any major AI provider. Developed collaboratively with the PHP community. The WordPress AI Client SDK is the WordPress-specific package that adds REST API endpoints, API key management, and integrations through `AI_Client::prompt()`. is an abstraction to interact with LLMs and embedding models from any major providerProvider An AI service offering models for generation, embeddings, or other capabilities (e.g., Anthropic, Google, OpenAI). in a unified way. This allows developers to implement AI-powered features rapidly while giving users the freedom to choose their preferred AI provider and/or model.

We’re building this as two distinct Composer packages: a platform-agnostic PHP AI Client SDK developed collaboratively with the wider 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/preface.php. community, and a WordPress-specific package that adds REST APIREST API The REST API is an acronym for the RESTful Application Program Interface (API) that uses HTTP requests to GET, PUT, POST and DELETE data. It is how the front end of an application (think “phone app” or “website”) can communicate with the data store (think “database” or “file system”) https://developer.wordpress.org/rest-api/. endpoints, 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. key management, and other foundational WordPress integrations. This approach ensures broad PHP ecosystem compatibility while providing seamless WordPress experiences.

Abilities API

The Abilities APIAbilities API A core WordPress API (introduced in 6.9) that creates a central registry of capabilities, making WordPress functions discoverable and accessible to AI agents, automation tools, and developers. Transforms WordPress from isolated functions into a unified system. transforms WordPress from a collection of isolated functions into a unified, discoverable system. By creating a central registry of capabilities, it allows AI agents, automation tools, and developers to understand and interact with everything WordPress can do – from CLICLI Command Line Interface. Terminal (Bash) in Mac, Command Prompt in Windows, or WP-CLI for WordPress. commands and REST API endpoints to custom logic and pluginPlugin A plugin is a piece of software containing a group of functions that can be added to a WordPress website. They can extend functionality or add new features to your WordPress websites. WordPress plugins are written in the PHP programming language and integrate seamlessly with WordPress. These can be free in the WordPress.org Plugin Directory https://wordpress.org/plugins/ or can be cost-based plugin from a third-party functions.

MCP Adapter

The MCP (Model Context Protocol) Adapter allows WordPress to connect to AI assistants like Claude and ChatGPT. It builds on the Abilities API to translate selected WordPress server-side abilities into a MCP serverMCP Server Exposes tools, resources, and prompts according to Model Context Protocol specification. WordPress can run multiple MCP servers with different configurations. that exposes them as tools and resources.

Rather than hard-coding support for specific standards, we create Adapters, like this one, that translate between the Abilities API and external protocols. The MCP adapterMCP Adapter Translates WordPress abilities into Model Context Protocol format, allowing AI assistants like Claude and ChatGPT to discover and invoke WordPress capabilities as tools, resources, and prompts. is our first and most important implementation, positioning WordPress at the forefront of AI integration while maintaining the flexibility to support future standards.

AI Experiments Plugin

The AI Experiments PluginAI Experiments Plugin WordPress's AI laboratory bringing all building blocks together. Serves as both a user tool and developer reference implementation. First release (v0.1.0) includes Title Generation experiment. brings together all the AI Building Blocks into a unified experience. It serves as both a powerful tool for users and a reference implementation for developers, demonstrating how the PHP AI Client SDK, Abilities API, and MCP Adapter work together in practice.

Starting as WordPress’s AI laboratory for experimentation, the plugin may evolve into a full-fledged AI Feature PluginFeature Plugin A plugin that was created with the intention of eventually being proposed for inclusion in WordPress Core. See Features as Plugins.. It can provide an AI playground, WP-CLIWP-CLI WP-CLI is the Command Line Interface for WordPress, used to do administrative and development tasks in a programmatic way. The project page is http://wp-cli.org/ https://make.wordpress.org/cli/ integration, intelligent agents, and visual workflow builders – everything needed to explore and implement AI capabilities in WordPress.


To avoid early lock-in and maintain flexibility as AI technology rapidly evolves, we will use Canonical and Feature Plugins as a way to distribute these features to end consumers, while encapsulating the coreCore Core is the set of software required to run WordPress. The Core Development Team builds WordPress. functionality and logic of the API projects in Composer packages. This makes it easy for plugin developers to use these official Building Blocks even before they are considered for WordPress Core. It is extremely important that developers can and do use these projects in production, and the approach of using Composer packages is our answer to this – aligning with our “canonical first, Core when ready” philosophy.


This work directly overlaps with some of the largest components of the Phase 3: Collaboration roadmap. It unlocks unique, futuristic capabilities that can be added through plugins. Here are some examples:

Site Admin

We must plan for these building blocks to be surfaced to end users in this new Site Admin interface. We hope to make it easy for developers to create AI Agents, chatbots, workflow automations and more, using the AI Building Blocks, and surfacing functionality through the new Site Admin UIUI UI is an acronym for User Interface - the layout of the page the user interacts with. Think ‘how are they doing that’ and less about what they are doing..

Real-Time and Asynchronous Collaboration

A logical and non-disruptive implementation of AI is within the Post Editor, specifically surfacing through Real-Time Collaboration and Commenting. Instead of working with human counterparts, comments could be assigned to AI, which would work to resolve them, creating a suggestion or proposed revision. Instead of collaborating in real time with people, why not collaborate with AI?

Media Library

Using AI to create and edit media is becoming increasingly popular. Additionally, there are many smaller implementations that AI could help with: auto alt text and captioning, intelligent grouping, multimodal search capabilities, and more.


It’s our intention to craft our projects with the end implementations in mind. By WordPress version 7.0, any WordPress user – enterprise or blogger, developer or designer – should be able to access, use, and build powerful AI features to aid in furthering their digital presence on the open web. Before that, product owners and plugin developers will have a robust toolkit to build AI features into their own offerings, which will work seamlessly with whatever core additions we may make in the future.

How this is made available to Core is still an open question, as is much with such fundamental releases on the horizon. Over the next several months, we’ll explore which building blocks and features should be merged to Core or remain canonical. Questions like “should AI providers and content generation be included in Core,” “do we add an AI AgentAI Agent An AI system that autonomously performs tasks and interacts with systems through available tools and resources. as a canonical plugin,” and “which protocols should we support” will surface and be addressed in Hallway Hangouts, Make proposals, and #core-ai discussions.


We invite you to join in on the work and discussions. This journey will shape how millions publish and share ideas on the open web, and we can’t do it alone. Join the #core-ai channel on WordPress SlackSlack Slack is a Collaborative Group Chat Platform https://slack.com/. The WordPress community has its own Slack Channel at https://make.wordpress.org/chat/., open GithubGitHub GitHub is a website that offers online implementation of git repositories that can easily be shared, copied and modified by other developers. Public repositories are free to host, private repositories require a paid subscription. GitHub introduced the concept of the ‘pull request’ where code changes done in branches by contributors can be reviewed and discussed before being merged be the repository owner. https://github.com/ Issues, or begin contributing to the projects to help us build the next generation of AI tools for WordPress.


Resources and Repositories

Repositories

Reference Implementations


– The WordPress AI Team: Jeff, Felix, Pascal, James

#ai-building-blocks, #core

X-post: WordPress 6.9 Release Retrospective

X-comment from +make.wordpress.org/core: Comment on WordPress 6.9 Release Retrospective

X-post: Proposal: 2026 Major Release Schedule

X-comment from +make.wordpress.org/project: Comment on Proposal: 2026 Major Release Schedule

AI for WordPress Hosts

For AI to succeed in WordPress, it will require the adoption of the WordPress hosting ecosystem. If you work for a hosting company that provides managed hosting for WordPress, then this article is for you. Check out the AI Building Blocks for WordPress post if you need an introduction to the CoreCore Core is the set of software required to run WordPress. The Core Development Team builds WordPress. AI efforts.

The ProviderProvider An AI service offering models for generation, embeddings, or other capabilities (e.g., Anthropic, Google, OpenAI). onboarding problem

Imagine if WordPress hosting was BYOD (Bring Your Own Database). The host is willing to provide the filesystem and WordPress instance, but for it to really work you need to somehow hook up your own database. Plugins likely each come up with their own way of helping users find and connect a database. At the very least, a significant percentage of the market would be lost. Putting this kind of technical requirement on users to figure out adds significant friction to virtually every non-technical user.

The same problem exists for AI. There are a number of AI plugins for WordPress right now. They all have their own way of helping the user to find an AI provider, generate an 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. key, and copy-paste it in the WordPress settings. To many of this this doesn’t sound too bad, but such pluginPlugin A plugin is a piece of software containing a group of functions that can be added to a WordPress website. They can extend functionality or add new features to your WordPress websites. WordPress plugins are written in the PHP programming language and integrate seamlessly with WordPress. These can be free in the WordPress.org Plugin Directory https://wordpress.org/plugins/ or can be cost-based plugin from a third-party authors have shared that this remains the most significant barrier to entry for users.

If AI is to be considered a fundamental component of WordPress, the same way databases are, our project depends on  hosts taking ownership of this step and including it in their offerings.

Why it’s worth it

This of course means the cost of developing a way to provide AI in hosting as well as the ongoing token cost from AI usage. It’s not an inconsequential undertaking. But it is worth it, and here’s why:

The Internet has transformed and is transforming in real time, starting in just the past two years. Offerings like Lovable used to be far too quirky to be usable a couple years ago, and now the prospect of AI building a decent website is real. The reality is that it’s not one WordPress host, one WordPress product, or one WordPress company versus these prolific solutions, it’s all of WordPress. All WordPress ships must rise with the tide of AI, so everyone has a part to play.

This sounds a bit existential, and to an extent it is, but it’s also an incredible opportunity. An AI-powered WordPress has the potential to compete with everyone of these solutions. The reason being the same as to why WordPress powers over 40% of the Internet right now: It grows at the rate of its ecosystem’s innovations. As one of the largest open-source projects in the world, no one can keep up with the multitudes of people making it better every day. Armed with AI, there is a real chance to see WordPress’ market share take yet another major jump. When this happens everyone wins.

Once hosts begin including AI in their hosting, the AI-powered features developed by plugin authors will simply work. No extra user steps, just features that feel like magic and would’ve taken a long time to build. Hosts can also make use of things like MCP Servers in WordPress to create site dashboards that are vastly more capable. As plugins improve their AI integrations, much of this is accessible on a hosting level, allowing for host-level features.

Business opportunities

There are a lot of opportunities to differentiate in this new landscape. Many hosts are likely to go the route of providing a Provider as a proxy to someone like Anthropic, taking advantage of purchasing tokens at volume. This, in turn, can allow different hosts to provide varying levels of AI requests within different plans. Wanting more AI requests can mean upselling to a higher plan or purchasing an AI add-on. Others may explore usage-based billing, instead.

Another opportunity is to explore how developers can be provided with access to the hosted AI Provider to test their plugins on hosts’ specific systems. This ensures that the AI-powered features within plugins work optimally on hosts’ systems.

With this, some hosts may decide to experiment with an in-house model to tentatively drive down costs, or simply handle a specific prompt modality (e.g. text-to-text). This can then be used to provide further differential in cost. Others may want to go the more expensive route and try to provide the best output without trying to be the cheapest.

The point being, standing out as a WordPress host that enables incredible AI-powered features, literally just by being on that host, is a significant competitive advantage. This adds a new dimension in standing out.

Registering the hosted provider

AI integration will work through the WP AI Client, which is proposed to go into WordPress 7.0. Connecting your AI model using this is pretty simple. On a high level, it’s the following steps:

  1. Create a Provider, which contains and informs the system of your models
  2. Create one or more Models, including your model capabilities (e.g. can it generate images)
  3. Connect your Model to your Provider
  4. Register your Provider with the AI_Client

Authentication is supported to keep your AI API secured, and there are helpers for Providers/Models that communicate over 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.. If you run into any issues during integration, please make an Issue in the repository or reach out on #core-ai in the Make WordPress channel on SlackSlack Slack is a Collaborative Group Chat Platform https://slack.com/. The WordPress community has its own Slack Channel at https://make.wordpress.org/chat/..

More documentation and examples will be provided over the coming weeks!

Wrapping up

This is an exciting time for WordPress and an exciting opportunity for hosts. For hosts that are the first to bundle AI in their services WordPress will simply have AI-powered features that appear only within those hosts. While most products and SaaS services out there are chasing similar AI features to include in their products and services, WordPress has the opportunity to leapfrog the market and be the first AI-powered CMS.

Props to @annezazu, @jeffpaul, and @isotropic for the pre-publish review!

X-post: AI as a WordPress Fundamental

X-comment from +make.wordpress.org/core: Comment on AI as a WordPress Fundamental

AI for WordPress Developers

For AI to succeed in WordPress, it will require the innovation of the pluginPlugin A plugin is a piece of software containing a group of functions that can be added to a WordPress website. They can extend functionality or add new features to your WordPress websites. WordPress plugins are written in the PHP programming language and integrate seamlessly with WordPress. These can be free in the WordPress.org Plugin Directory https://wordpress.org/plugins/ or can be cost-based plugin from a third-party and theme developer community. If you are a developer, even if you barely know how AI works, then this article is for you. Check out the AI Building Blocks for WordPress post if you need an introduction to the CoreCore Core is the set of software required to run WordPress. The Core Development Team builds WordPress. AI efforts.

Let’s break down the various AI tools available to you and provide little nudges of ideas as to what sort of things can be done with each tool.

Abilities APIAbilities API A core WordPress API (introduced in 6.9) that creates a central registry of capabilities, making WordPress functions discoverable and accessible to AI agents, automation tools, and developers. Transforms WordPress from isolated functions into a unified system.

Now in WordPress 6.9!

The Abilities API brings a new primitive to WordPress for defined functions that can work in multiple contexts. Abilities are connected to AI, but not limited to AI. There are two great articles as introductions to the Abilities API:

When it comes to AI, there are two main ways Abilities play an important role.

First, simply creating Abilities! Abilities are, by definition, public functions intended for public use. As such, developers are encouraged to use others’ Abilities. Since Abilities have defined input and output schema, they can also be passed to AI models as Function Declarations (so the AI can request to call Abilities).

Second, Abilities can integrate with other systems such as the MCP AdapterMCP Adapter Translates WordPress abilities into Model Context Protocol format, allowing AI assistants like Claude and ChatGPT to discover and invoke WordPress capabilities as tools, resources, and prompts. and (coming soon) the Command Palette. Simply add the following metaMeta Meta is a term that refers to the inside workings of a group. For us, this is the team that works on internal WordPress sites like WordCamp Central and Make WordPress. to your abilityAbility A registered, self-documenting unit of WordPress functionality that can be discovered and invoked through multiple contexts (REST API, Command Palette, MCP). Includes authorization and input/output specifications. to connect it to the MCP Adapter:

wp_register_ability('my/ability', array(
	// typical parameters like category and input go here...
'meta' => array(
	'mcp' => array(
		'public' => true,
		'type' => 'tool' // can also be 'resource' or 'prompt'
	)
	)
));

Doing this opens the Ability up to external AI models via the MCP serverMCP Server Exposes tools, resources, and prompts according to Model Context Protocol specification. WordPress can run multiple MCP servers with different configurations.. As more Abilities are added with this enabled, the more capable the MCP server becomes!

WP AI Client SDK

Proposed to go into WordPress 7.0!

At the core of communicating with AI is prompts, and every AI ProviderProvider An AI service offering models for generation, embeddings, or other capabilities (e.g., Anthropic, Google, OpenAI). has its own 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. for communicating via prompts. The WP AI Client provides a single, intuitive interface for constructing prompts and sending them to any registered Provider.

$text = AI_Client::prompt( 'Write a 2-verse poem about PHP.' )->generate_text();

It really is as simple as that. Under the hood, the WP AI Client is a wrapper for the PHP AI Client, an open-source, framework agnostic 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/preface.php. package also developed by WordPress. It is separated into two functional parts:

1. Providers & Models

This has to do with integrating the client with specific providers (e.g. Anthropic) and their models (e.g. Claude Sonnet 4.5). This will largely be left up to experimenting developers and hosts. They register their Provider server with the client, and then folks are able to run prompts. This is the more technical side of things which most folks won’t have to worry about.

2. Implementation

Implementation is constructing and running prompts. This is literally anything that you could think to do with an AI. As you see in the example above, you call AI_Client::prompt() to start building a prompt. This returns a builder, which supports modifying the prompt in many ways. This includes, but is not limited to:

  • Generating multiple candidates at once
  • Providing a chat history for conversations
  • Adjusting model parameters like temperature (randomness)
  • Including system instructions to have the AI act in certain, specific ways
  • Sending and receiving multiple modalities such as text, images, audio, and video
  • Creating Function Definitions and handling Function Calls to and from the model
$poems = AI_Client::prompt( 'Write a 2-verse poem about PHP.' )
	->using_system_instruction( 'You are a famous poet from the 17th century.' )
	->using_temperature( 0.8 )
	->generate_texts(4);

As with these examples, the prompts themselves can get progressively more complex, handling everything from a simple one-off prompt to an agentic, multi-modal workflow.

The primary goal here is to experiment and make amazing, AI-powered features. While the most popular AI-powered feature is the chat prompt, it’s encouraged to think of features that integrate naturally into WordPress — and aren’t even obviously AI. Imagine…

  • Selecting a paragraph blockBlock Block is the abstract term used to describe units of markup that, composed together, form the content or layout of a webpage using the WordPress editor. The idea combines concepts of what in the past may have achieved with shortcodes, custom HTML, and embed discovery into a single consistent API and user experience. in the Block Editor and pressing a “View alternatives” button that generates multiple alternative rephrase options
  • Clicking a “generate” button that takes a post’s content and generates a featured imageFeatured image A featured image is the main image used on your blog archive page and is pulled when the post or page is shared on social media. The image can be used to display in widget areas on your site or in a summary list of posts.
  • Providing powerful editing tools in the Media Library such as adding/removing objects from an image
  • Having an “Optimize SEO” that takes a few keywords, reviews the post’s content, and then leaves comments in blocks for ways wording can be improved to better target keywords
  • Generate a natural sounding audio version of a blog post at the click of a button

All of these sorts of features would’ve been very complicated to build without AI. But with AI, some of these are even trivial to create. They’re the sort of features that feel like magic to end users, empowering them to feel like they can do new things right within WordPress.

Setting up the Client

Presently, it’s necessary to either add the wordpress/wp-ai-client composer package or, more easily, install the AI Experiments plugin (recommended). Once installed, you can pick a Provider, connect using your API key, and begin using the client in your own plugin code.

Keep in mind that the goal is for hosts to ultimately include the Providers. This means it’s recommended at this time to focus on what you can create, rather than thinking of how your users can connect to their Provider. Most users are non-technical and this is simply too much of a lift, which is why the responsibility to include a Provider is on hosts.

Model selection & compatibility checking

For experimentation, you can specify models or model preferences (which falls back on another model if not available). The goal, however, is to not specify a model at all. Under the hood, when the prompt is finished and the generate method is called, the client will break down the model into its parts (e.g. is text, wants multiple candidates, wants text in return) and finds a registered model that fits the need. Doing it this way makes your features more adaptable to the environment and across different hosts.

It’s possible, and encouraged, to check if a prompt has a corresponding model before attempting to run the prompt. This is useful for making sure your plugin still runs properly on environments that don’t have a registered Provider, or for more complicated prompts that the given Provider may not support.

Here’s an example of checking:

$prompt = AI_Client::prompt( 'Write a 2-verse poem about PHP.' );

if ( $prompt->is_supported_for_text_generation() ) {
	// only show the button if it's supported
	echo '<button>Write poem</button>';
}

Again, the intent here is to adaptively include AI-powered features in your plugins as the environment supports it.

MCP Adapter

For models outside of WordPress to interact effectively with WordPress, the MCP Adapter fills that role. It accomplishes this in two ways:

Default MCP Server

Out of the box the MCP Adapter creates a default MCP Server composed of Abilities which have opted in, and turns them into MCP Tools, Resources, and Prompts for AI usage. There’s complexity with managing the number of MCP Tools as well, which the default server also handles.

Customer MCP Servers

It’s also possible to register your own MCP Server, adding any of your own components, including Abilities. This route is typically recommended for advanced use cases such as product plugins and services that want to isolate their MCP Components and have tighter control over the server.

What’s Next

This is just the beginning! AI is going to continue to improve and develop over many years. There are more protocols such as WebMCP and AI browsers that are worth watching and iterating on. As these tools are used to build an AI-powered WordPress, the experience will guide future improvements. The AI Team is committed to helping everyone in WordPress succeed with AI, and new people join the #core-ai channel regularly. It’s exciting!

The key to making this all work is a snowball effect between WordPress hosts and developers. As developers create AI-powered features, hosts will be enticed to provide AI as part of their platform. As hosts do this, the accessibilityAccessibility Accessibility (commonly shortened to a11y) refers to the design of products, devices, services, or environments for people with disabilities. The concept of accessible design ensures both “direct access” (i.e. unassisted) and “indirect access” meaning compatibility with a person’s assistive technology (for example, computer screen readers). (https://en.wikipedia.org/wiki/Accessibility) of AI will broaden, further encouraging developers to create and innovate more. This symbiosis is what will truly make AI a fundamental part of WordPress.

Keep an eye out for further posts and updates, especially aimed at developers. Everyone is welcome to join the Make WordPress #core-ai channel and contribute, but even more than contributors, the biggest need is developers out there using these tools and pushing them to their limit. This is a key time for developers to use these tools, push them to their limits, and report back on what’s needed to go even further. Do what you already do: dream big and make amazing things!

Props to @annezazu, @jeffpaul, and @isotropic for the pre-publish review

Six Months of Core AI: From Building Blocks to Core Release

As CoreCore Core is the set of software required to run WordPress. The Core Development Team builds WordPress. AI reaches its six-month anniversary, we also reach an important inflection point for AI in WordPress.

In the earlier “AI Building Blocks for WordPress” post, we outlined a set of foundational projects designed to make WordPress a first-class platform for AI-powered experiences. Six months later, all of those building blocks now exist in a usable, testable state, and several are on track to ship in WordPress 6.9.

This progress is entirely due to the enthusiasm and sustained contributions from people across the WordPress project. What started as a small working group has grown into a coordinated effort to ensure WordPress remains the most powerful CMS possible in the AI era.

A massive kudos to the Core AI team and contributors.

Let’s take a look at what’s been done:

Abilities APIAbilities API A core WordPress API (introduced in 6.9) that creates a central registry of capabilities, making WordPress functions discoverable and accessible to AI agents, automation tools, and developers. Transforms WordPress from isolated functions into a unified system. in WordPress 6.9

The most visible milestone is the inclusion of the Abilities API in WordPress 6.9.

The Abilities API is a new core API for describing what an AI system can do inside WordPress. It provides:

  • A unified registry of “abilities” that can be used to power single-shot AI features (for example, “summarize this post” or “generate a title”).
  • A foundation for building more sophisticated agents and multi-step flows.
  • A shared vocabulary for capabilities that other systems (and even other APIs) can consume.

Over the past several months, the Abilities API has been adopted and battle-tested by large WordPress projects and plugins. That real-world feedback made it clear this was both important and stable enough to move into core.

  • The server implementation of the Abilities API is slated to ship with WordPress 6.9.
  • The client implementation will remain in the GutenbergGutenberg The Gutenberg project is the new Editor Interface for WordPress. The editor improves the process and experience of creating new content, making writing rich content much simpler. It uses ‘blocks’ to add richness rather than shortcodes, custom HTML etc. https://wordpress.org/gutenberg/ pluginPlugin A plugin is a piece of software containing a group of functions that can be added to a WordPress website. They can extend functionality or add new features to your WordPress websites. WordPress plugins are written in the PHP programming language and integrate seamlessly with WordPress. These can be free in the WordPress.org Plugin Directory https://wordpress.org/plugins/ or can be cost-based plugin from a third-party initially, with the intent to include it in WordPress 7.0 once it has matured further.

This gives theme and plugin authors a stable contract to build on, while allowing the client-side experience to keep evolving rapidly in Gutenberg.

WP Client AI v0.1.0: A Unified 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/preface.php. AI SDK for WordPress

Another key building blockBlock Block is the abstract term used to describe units of markup that, composed together, form the content or layout of a webpage using the WordPress editor. The idea combines concepts of what in the past may have achieved with shortcodes, custom HTML, and embed discovery into a single consistent API and user experience. is the WP Client AI API, a canonical PHP SDK for working with AI providers in WordPress.

What began as a general-purpose PHP AI client has now been wrapped, documented, and tailored for the WordPress ecosystem:

  • It offers a unified interface for interacting with multiple language model providers.
  • It is being adopted by both individual developers and larger plugin companies.
  • Several major hosts, including DreamHost and WordPress.comWordPress.com An online implementation of WordPress code that lets you immediately access a new WordPress environment to publish your content. WordPress.com is a private company owned by Automattic that hosts the largest multisite in the world. This is arguably the best place to start blogging if you have never touched WordPress before. https://wordpress.com/, have begun implementing providers for this shared interface so that sites can opt into AI safely and consistently.

The long-term goal is to ensure that when developers or hosts want to add AI to WordPress, they do not need to reinvent providerProvider An AI service offering models for generation, embeddings, or other capabilities (e.g., Anthropic, Google, OpenAI). integrations. They can use a shared, well-tested 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. that fits naturally into WordPress development patterns.

We’re expecting to merge WP Client AI into WordPress core (excluding providers) in v7.0, so that the platform itself can ship with a first-class way to talk to AI systems – without taking opinions on which providers to use.

MCP Adapter v0.3.0: Connecting WordPress to the AI Ecosystem

The MCP adapter is the bridge between WordPress and the broader Model Context Protocol (MCP) ecosystem. Over the last six months it has:

  • Shipped several major releases to track the latest MCP protocol changes.
  • Been deployedDeploy Launching code from a local development environment to the production web server, so that it's available to visitors. in production across various projects, including:
    • MCP for the popular forms plugin WS Form.
    • WooCommerce MCP integrations.
    • MCP-backed functionality powering features on WordPress.com.

Today, the adapter makes any WordPress site an MCP serverMCP Server Exposes tools, resources, and prompts according to Model Context Protocol specification. WordPress can run multiple MCP servers with different configurations.: it exposes WordPress “abilities” as MCP tools that can be consumed by MCP-enabled clients such as Cursor, Claude, Claude Code, ChatGPT, and more.

The next phase of work focuses on making the adapter bidirectional:

  • WordPress will not only expose its own tools to MCP clients.
  • It will also be able to act as an MCP clientMCP Client AI agents, IDEs, or assistants that connect to MCP servers to access capabilities., consuming external MCP tools and making them available inside WordPress via the Abilities API and future workflow systems.

This unlocks a much richer integration story between WordPress and the wider AI ecosystem.

AI Experiments: A Canonical Plugin for Features and Patterns

As the building blocks matured, the team spent significant time defining what an official AI plugin for WordPress should look like. The result is the AI Experiments plugin.

The initial release of AI Experiments:

  • Ships a small set of practical features, such as automatic title generation.
  • Serves as a reference implementation of how to use the Abilities API, WP Client AI, and MCP adapterMCP Adapter Translates WordPress abilities into Model Context Protocol format, allowing AI assistants like Claude and ChatGPT to discover and invoke WordPress capabilities as tools, resources, and prompts. together.
  • Provides a place to trial new ideas and patterns before they are elevated into canonical functionality.

Over time, AI Experiments is expected to graduate into the canonical AI plugin for basic AI features in WordPress, balancing experimentation with a clear path to stability. Upcoming releases will introduce excerptExcerpt An excerpt is the description of the blog post or page that will by default show on the blog archive page, in search results (SERPs), and on social media. With an SEO plugin, the excerpt may also be in that plugin’s metabox. generation, image generation, alt text generation, an Abilities Explorer, and an AI Playground for testing and debugging prompts.

People, Community, and Momentum

The technical progress is only half the story.

Core AI leadership shared this work at WordCamp US 2025, outlining the vision for these building blocks and how they fit into WordPress’s long-term roadmap for AI. At State of the Word 2025, the AI panel -featuring James LePage (Automattic), Felix Arntz (Google), and Jeff Paul (Fueled) – demonstrated the culmination of these efforts with a live release of WordPress 6.9, the first time a WordPress release has been shipped during a keynote.

Since the group formed in mid-2025:

  • Dozens of contributors have worked on Core AI-related projects across code, design, documentation, and testing.
  • The WordPress project has begun using AI in meaningful ways internally: plugin and theme review teams now leverage AI for code analysis and duplicate detection, reducing review issues by 41%. AI-assisted tooling helps with documentation, and Matt Mullenweg discussed plans for WordPress-specific AI benchmarks and evaluation suites to measure how well AI systems understand and execute WordPress tasks.
  • Many companies have pledged time through Five for the Future, contributing hundreds of hours toward AI-related issues and initiatives.

This combination of individual contributors, hosting providers, agencies, and product teams is what has allowed the Core AI effort to move so quickly.

Looking Toward WordPress 7.0 and Beyond

Beyond the imminent 6.9 release, several larger themes are already taking shape for WordPress 7.0 and the broader roadmap.

Abilities + Command Palette

The Abilities API is planned to power the command palette, becoming the primary way to register and present contextual commands to WordPress users. This makes abilities useful even in non-AI scenarios, while also giving AI features a first-class, discoverable home in the UIUI UI is an acronym for User Interface - the layout of the page the user interacts with. Think ‘how are they doing that’ and less about what they are doing..

WP Client AI in Core

WP AI Client will be going core in WordPress 7.0. When combined with the Abilities API, this will enable:

  • Core-level AI features where appropriate and desired by users.
  • A consistent foundation for plugin and theme authors to build upon, instead of many competing approaches.
  • A unified path for developers: build AI features once, and let users configure their preferred provider. Or, rely on host-supplied AI services, without additional complexity.

Workflows API and Visual Workflow Editor

Finally, Core AI recently introduced a sister API to Abilities: the Workflows API.

  • Where Abilities define what can be done, Workflows define how those abilities are chained together.
  • The vision surfaces in a canonical visual editor for workflows that allows users, developers, and site owners to build, run, and manage workflows entirely within WordPress.
  • Workflows will sit on top of the Abilities API, and optionally, the WP Client AI, and MCP adapter, making it possible to orchestrate complex, multi-step flows that span plugins, external tools, and AI systems.

A deeper dive into the Workflows API and editor will be published on the primary Make/Core blog, but it is an important part of the Core AI roadmap and ties together much of the work described here.

How to Get Involved

For AI to truly succeed in WordPress, it will require buy-in from two key groups: developers and hosts.

If you’re a developer, even if you barely know how AI works, now is the time to start building. The AI Experiments pluginAI Experiments Plugin WordPress's AI laboratory bringing all building blocks together. Serves as both a user tool and developer reference implementation. First release (v0.1.0) includes Title Generation experiment. serves as a reference implementation, the WP AI Client SDK is available via Composer, and the Abilities API gives you a stable contract to build features that will work across providers. Read the full guide: AI for WordPress Developers.

If you work for a hosting company, consider how you can provide AI as part of your platform. When hosts include AI providers, the features developers build simply work- no extra user steps, no API key management, just capabilities that feel like magic. This is a significant competitive advantage and a new dimension for differentiation. Read the full guide: AI for WordPress Hosts.

The key to making this all work is a snowball effect: as developers create AI-powered features, hosts will be enticed to provide AI as part of their platform. As hosts do this, the accessibilityAccessibility Accessibility (commonly shortened to a11y) refers to the design of products, devices, services, or environments for people with disabilities. The concept of accessible design ensures both “direct access” (i.e. unassisted) and “indirect access” meaning compatibility with a person’s assistive technology (for example, computer screen readers). (https://en.wikipedia.org/wiki/Accessibility) of AI will broaden, further encouraging developers to create and innovate more. This symbiosis is what will truly make AI a fundamental part of WordPress.

Closing

It has been an intense and productive six months for Core AI. The building blocks outlined earlier this year are now real projects, with real releases, on their way into WordPress 6.9 and beyond.

There is still a great deal of work ahead, but the foundation is in place:

  • Abilities to describe what can be done.
  • A shared AI client to talk to providers.
  • A bridge to the MCP ecosystem.
  • A canonical plugin to trial and refine features.
  • And soon, workflows to tie it all together.

If you are interested in helping shape the future of AI in WordPress – whether through code, design, testing, or feedback – the Core AI team welcomes your contributions. Join the #core-ai channel on WordPress SlackSlack Slack is a Collaborative Group Chat Platform https://slack.com/. The WordPress community has its own Slack Channel at https://make.wordpress.org/chat/., explore the AI Experiments GitHub repository, and help us build the next generation of AI tools for WordPress.

#ai-building-blocks

Announcing the AI Experiments Plugin v0.1.0

Image

The WordPress AI team is excited to share the first public release of the AI Experiments pluginPlugin A plugin is a piece of software containing a group of functions that can be added to a WordPress website. They can extend functionality or add new features to your WordPress websites. WordPress plugins are written in the PHP programming language and integrate seamlessly with WordPress. These can be free in the WordPress.org Plugin Directory https://wordpress.org/plugins/ or can be cost-based plugin from a third-party (version 0.1.0). This new canonical plugin provides a home for exploring experimental AI-powered features and integration patterns. It creates a dedicated space where ideas can mature before they might reach WordPress coreCore Core is the set of software required to run WordPress. The Core Development Team builds WordPress., and it lets the community experiment with real AI workflows in a safe and optional way.

This is exciting because it connects directly to the long term goal for AI in WordPress: providing a consistent, open set of building blocks that anyone can extend. By testing features in this plugin, contributors can help shape how Abilities, the WP AI Client, and the Model Context Protocol come together to power smarter authoring, editing, and admin experiences, richer media tools, and more adaptive interfaces. It is the first step toward a future where AI augments writing, editing, and site management in ways that feel native to WordPress, while still giving users full control.

You can download or view the plugin on GitHub while we await the review and approval from the WordPress.orgWordPress.org The community site where WordPress code is created and shared by the users. This is where you can download the source code for WordPress core, plugins and themes as well as the central location for community conversations and organization. https://wordpress.org/ Plugin Team.

What’s new in 0.1.0?

Version 0.1.0 introduces the foundation for future experiments along with the first working example: Title Generation.

Highlights

Experiment: Title Generation
Suggests alternative post titles to improve clarity, engagement, or tone directly in the blockBlock Block is the abstract term used to describe units of markup that, composed together, form the content or layout of a webpage using the WordPress editor. The idea combines concepts of what in the past may have achieved with shortcodes, custom HTML, and embed discovery into a single consistent API and user experience. editor. This serves as an early example of how AI Abilities can enhance the authoring and editing experience.

Image

Experiments Registry and Loader System
Provides a consistent structure for registering, loading, and managing multiple experimental features. This framework allows new experiments to be added easily as the plugin evolves.

Abstract Experiment Base Class
Defines shared behavior and patterns for all experiments, simplifying setup and encouraging consistency.

Basic Settings Screen
Adds an initial admin interface for enabling and disabling experimental features.

Image

Abilities: Utilities
Introduces the first set of Abilities available via the WP AI Client SDK, laying the groundwork for feature-level integrations that communicate with AI providers using a standard 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..

For testers: Try the Title Generation experiment!

If you’d like to see how AI could help shape content creation in WordPress, activate the AI Experiments pluginAI Experiments Plugin WordPress's AI laboratory bringing all building blocks together. Serves as both a user tool and developer reference implementation. First release (v0.1.0) includes Title Generation experiment. and enable the Title Generation experiment.

Image

You can:

  • Generate suggested titles while editing a post or page.
  • Review and refine suggestions for clarity or tone.
  • Share feedback on where the feature feels helpful or not quite right yet.

Test the plugin and share your feedback.

For developers: Explore Abilities, MCP, and the WP AI Client SDK!

Developers can use this release to see how Abilities, the Model Context Protocol (MCP), and the WP AI Client SDK connect AI providers to WordPress features.

Image

This first release aims to demonstrate:

  • How Abilities standardize interactions with multiple providers.
  • How the plugin structure makes it easy to register new experiments.
  • How developers can extend or extract specific components, such as the experiment base class or connection logic, for use in their own projects.

If you build or maintain AI-powered WordPress plugins, we’d love your feedback on the integration model, extensibility, and naming patterns.

What’s next?

The 0.2.0 milestone will focus on:

  • New experiments for Excerpt Generation, Image Generation, and Alt Text Generation.
  • Introducing the Abilities Explorer to view available Abilities on your site and test their inputs and outputs.
  • Introducing the AI Playground for prompt testing and debugging.
  • Finalizing the UXUX UX is an acronym for User Experience - the way the user uses the UI. Think ‘what they are doing’ and less about how they do it. and editorial flow for core experiments.
  • Adding filters, hooksHooks In WordPress theme and development, hooks are functions that can be applied to an action or a Filter in WordPress. Actions are functions performed when a certain event occurs in WordPress. Filters allow you to modify certain functions. Arguments used to hook both filters and actions look the same., and documentation for developers to customize providerProvider An AI service offering models for generation, embeddings, or other capabilities (e.g., Anthropic, Google, OpenAI). setup and behavior.

You can follow progress or contribute via the AI Experiments plugin repo.

Thanks to our contributors!

Thank you to everyone who has helped shape this early release from contributors testing ideas to developers refining the WP AI Client SDK and Abilities APIs.

@dkotter, @jeffpaul, @jason_the_adams, @justlevine, @theaminuldev, @flixos90, @desrosj, @mokhaled, @iqbal1hossain, @linawiezkowiak, @rachaelcortellessa, @isotropic, @karmatosed, @wildworks, @elblakeo31, @mujuonly, @mukesh27.

This plugin represents an early, collaborative step toward a more AI-aware WordPress.

Props to @jason_the_adams for pre-publish review.

#ai-experiments, #aiex-release, #canonical-plugins

Release announcement: MCP Adapter v0.3.0

MCP Adapter v0.3.0 is now available. This package is the official WordPress integration for the Model Context Protocol (MCP), exposing WordPress abilities (registered via the Abilities API) as MCP tools, resources, and prompts that AI agents can discover and invoke.

Where earlier releases established the coreCore Core is the set of software required to run WordPress. The Core Development Team builds WordPress. adapter and architecture, 0.3.0 focuses on transport, observability, and error‑handling improvements, and aligns the adapter with the Abilities APIAbilities API A core WordPress API (introduced in 6.9) that creates a central registry of capabilities, making WordPress functions discoverable and accessible to AI agents, automation tools, and developers. Transforms WordPress from isolated functions into a unified system. v0.4.0 and the latest MCP 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. specification.

What the MCP AdapterMCP Adapter Translates WordPress abilities into Model Context Protocol format, allowing AI assistants like Claude and ChatGPT to discover and invoke WordPress capabilities as tools, resources, and prompts. does

The MCP Adapter sits between WordPress and MCP clients (agents, IDEs, assistants) and:

  • Converts WordPress abilities into MCP tools, resources, and prompts.
  • Supports multiple MCP servers with different configurations from one WordPress site.
  • Provides HTTP and STDIO transports, as well as an interface for custom transports.
  • Includes validation, permissions, observability, and WP‑CLICLI Command Line Interface. Terminal (Bash) in Mac, Command Prompt in Windows, or WP-CLI for WordPress. integration, enabling MCP servers to run locally or in production.

It is part of the AI Building Blocks for WordPress, alongside the Abilities API, 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/preface.php./WP AI Client, and the AI Experiments pluginAI Experiments Plugin WordPress's AI laboratory bringing all building blocks together. Serves as both a user tool and developer reference implementation. First release (v0.1.0) includes Title Generation experiment..

Highlights in v0.3.0

Version 0.3.0 introduces several breaking changes and new capabilities:

  • Unified observability model
    • All events now share a single event name (for example, mcp.request) with a status tag indicating success or failure, instead of separate success and failure-specific event names.
    • Observability handlers are now instance‑based and use a single record_event() method that can capture both events and timings via the McpObservabilityHandlerInterface.
  • New HTTP transport layer
    • The previous RestTransport and StreamableTransport implementations have been replaced by a single HttpTransport class that implements the 2025‑06‑18 MCP HTTP specification, sessions, and JSONJSON JSON, or JavaScript Object Notation, is a minimal, readable format for structuring data. It is used primarily to transmit data between a server and web application, as an alternative to XML.‑RPC response handling (streaming will come in later versions).
  • WP_Error‑based error handling
    • Error handling has been refactored across handlers to use WP_Error consistently instead of exceptions.
    • Tool and resource errors now conform to the MCP error response format, improving interoperability with MCP clients.
  • Standardized hook names
    • All pluginPlugin A plugin is a piece of software containing a group of functions that can be added to a WordPress website. They can extend functionality or add new features to your WordPress websites. WordPress plugins are written in the PHP programming language and integrate seamlessly with WordPress. These can be free in the WordPress.org Plugin Directory https://wordpress.org/plugins/ or can be cost-based plugin from a third-party hooksHooks In WordPress theme and development, hooks are functions that can be applied to an action or a Filter in WordPress. Actions are functions performed when a certain event occurs in WordPress. Filters allow you to modify certain functions. Arguments used to hook both filters and actions look the same. are now prefixed with mcp_adapter_ for consistency, replacing older hook names such as mcp_validation_enabled.
  • Documentation and tooling
    • A dedicated migrationMigration Moving the code, database and media files for a website site from one server to another. Most typically done when changing hosting companies. guide (docs/migration/v0.3.0.md) walks through code updates for observability handlers, transports, and hooks.
    • Documentation has been expanded for transport permissions, custom transports, and error‑handling patterns; CI and static analysis tooling have also been updated.
  • Bug fixes and robustness improvements
    • Fixes include preventing metadata from leaking into tool responses, improving handling of null and falsy parameters, and tightening validation for abilities without input schemas.

Migration notes for existing users

If you are already running an MCP serverMCP Server Exposes tools, resources, and prompts according to Model Context Protocol specification. WordPress can run multiple MCP servers with different configurations. with the adapter, upgrading to 0.3.0 requires a few targeted changes: 

1. Update observability handlers

  • Switch from static helper methods to instance methods implementing McpObservabilityHandlerInterface.
  • Replace any usage of a dedicated error event helper (record_error_event‑style methods) with a call to record_event() that includes status, error categoryCategory The 'category' taxonomy lets you group posts / content together that share a common bond. Categories are pre-defined and broad ranging., and any timing information.

2. Update transport configuration

  • Replace references to RestTransport or StreamableTransport in your server configuration with HttpTransport.

Example:

use WP\MCP\Transport\HttpTransport;

$adapter->create_server(
    'my-server',
    'my-namespace',
    'mcp',
    'My MCP Server',
    'Description',
    '1.0.0',
    [ HttpTransport::class ],
    \WP\MCP\Infrastructure\ErrorHandling\ErrorLogMcpErrorHandler::class
);

3. Rename hooks to the new prefix

  • Update any filters or actions you register to use the mcp_adapter_… hook names, for example:
add_filter(
    'mcp_adapter_validation_enabled',
    __return_true()
);

The migration guide in the repository provides detailed examples and is the recommended reference for updating existing deployments.

Where to go next

  • MCP Adapter GitHub repository and documentation: architecture overview, examples, and migration guides.
  • MCP Adapter overview post on the Make/Core AI blog for broader context and use‑cases.
  • Abilities API and WP AI Client SDK documentation, to see how abilities, the MCP Adapter, and the SDK form a cohesive layer for AI integrations across WordPress.

These recent releases together move the AI building blocks closer to a complete end‑to‑end stack: WordPress can describe what it can do, expose those abilities to MCP‑compatible tools, and call out to external AI providers from plugins and themes using a unified client.

Meet Abilities, WordPress’ New Functional Core

The Abilities APIAbilities API A core WordPress API (introduced in 6.9) that creates a central registry of capabilities, making WordPress functions discoverable and accessible to AI agents, automation tools, and developers. Transforms WordPress from isolated functions into a unified system., soon to be available in WordPress 6.9, aims to transform the way developers interact with WordPress and integrate with other themes and plugins. Imagine a WordPress where every pluginPlugin A plugin is a piece of software containing a group of functions that can be added to a WordPress website. They can extend functionality or add new features to your WordPress websites. WordPress plugins are written in the PHP programming language and integrate seamlessly with WordPress. These can be free in the WordPress.org Plugin Directory https://wordpress.org/plugins/ or can be cost-based plugin from a third-party’s unique capabilities are not just accessible, but genuinely discoverable and seamlessly integrated across the entire ecosystem.

While the Abilities API was conceived and developed by the CoreCore Core is the set of software required to run WordPress. The Core Development Team builds WordPress. AI team, it’s not actually specific to AI. It’s going to be utilized within AI, but its application is even broader. A “primitive” in programming is a fundamental unit in a language or framework. Abilities introduce a new functional primitive to WordPress, the need for which was hiding in plain sight.

Why WordPress needed Abilities

Have you ever noticed that integrating with one plugin and then another can be a completely different experience? Or the challenge of taking a feature and making it available in various WordPress contexts (e.g. WP CLICLI Command Line Interface. Terminal (Bash) in Mac, Command Prompt in Windows, or WP-CLI for WordPress., REST)? We often end up reinventing the same functionality over and over in various contexts.

Think about such popular plugins as Yoast SEO, Woo, The Events Calendar, Gravity Forms, and so many others. What is something they all have in common? Public APIs. That is, ways for other plugins, agencies, freelancers, and whoever to interact programmatically with the plugins. Perhaps you want to display a form, create a new form, or add a new product within code? All of these plugins provide ways of doing that.

But how do the plugins do it? Is there a common method? Is there a way of discovering what you can do with each plugin? No, not really. The REST APIREST API The REST API is an acronym for the RESTful Application Program Interface (API) that uses HTTP requests to GET, PUT, POST and DELETE data. It is how the front end of an application (think “phone app” or “website”) can communicate with the data store (think “database” or “file system”) https://developer.wordpress.org/rest-api/. sort of does this, but is limited to how it’s accessed. In reality, every plugin is responsible for determining how it builds and communicates a public 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.. Some go a simple route with global functions, others use Object-Oriented Programming, and still others get even more creative. The discovery of these Public APIs is then left to each plugin to document, which is hard for anyone, and especially difficult for smaller teams.

Then how about the ways these APIs are accessible? There’s the REST API, the new Command Palette, the upcoming MCP Adapter, and so forth. How does a plugin connect their APIs to each of these? Well, manually. Each system of presenting functions comes with its own means of integration that plugin authors need to learn and work with.

These challenges highlight a clear need for a more unified and discoverable approach to plugin functionality, which is precisely where Abilities come in.

What Abilities make possible

This is exactly what Abilities are for — they provide a standardized and discoverable way for plugins to expose their functionalities, significantly streamlining development and integration within the WordPress ecosystem. Abilities provide a way for plugins to:

  • Provide other developers with a discoverable Public API that’s self-documenting with what the AbilityAbility A registered, self-documenting unit of WordPress functionality that can be discovered and invoked through multiple contexts (REST API, Command Palette, MCP). Includes authorization and input/output specifications. needs for input and what it returns as output
  • Easily adapt these Abilities to multiple present and upcoming contexts such as REST, the Command Palette, the MCP AdapterMCP Adapter Translates WordPress abilities into Model Context Protocol format, allowing AI assistants like Claude and ChatGPT to discover and invoke WordPress capabilities as tools, resources, and prompts., etc. This includes providing extra hints to indicate how it works (e.g. is destructive, is read only, and so forth)
  • Include authorization to keep the use of the Ability safe and secure
  • Integrate Abilities from other plugins into their own, creative ideas

The effect of Abilities is cumulative. The more plugins that use Abilities, the more powerful WordPress becomes. Developers are able to safely and quickly integrate AI models via MCP, become more capable for the end-user, and so forth. The cumulative effect of this will improve the reliability and contextualization of features within WordPress.

Start using Abilities today

Hopefully, this clarifies the immense potential of Abilities and how they’re a key to unlocking the next chapter of WordPress. It’s one of those things that makes so much sense once you think about it.

Here’s what you can begin doing now to start taking advantage of Abilities:

  1. Share your feedback
  2. Download WordPress 6.9 Release Candidate 2
  3. Experiment with Abilities: Explore the Abilities included in the betaBeta A pre-release of software that is given out to a large group of users to trial under real conditions. Beta versions have gone through alpha testing in-house and are generally fairly close in look, feel and function to the final product; however, design changes often occur as part of the process., register your own, execute them manually, and try them out in different contexts.

Introducing the WordPress AI Client SDK

The first tagged release of the WordPress AI Client SDK (wordpress/wp-ai-client 0.1.0) is now available. This package provides a WordPress‑native AI client that lets plugins and themes talk to multiple generative AI providers through a single, consistent 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., as part of the AI Building Blocks for WordPress initiative. 

Built on top of the PHP AI Client SDKPHP AI Client SDK A platform-agnostic library providing unified access to LLMs and embedding models from any major AI provider. Developed collaboratively with the PHP community. The WordPress AI Client SDK is the WordPress-specific package that adds REST API endpoints, API key management, and integrations through `AI_Client::prompt()`., the WordPress AI Client SDK adapts that lower‑level library to WordPress conventions: it uses the WordPress 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. API under the hood, integrates with WP Admin for credentials, and follows WordPress coding standardsWordPress Coding Standards The Accessibility, PHP, JavaScript, CSS, HTML, etc. coding standards as published in the WordPress Coding Standards Handbook. May also refer to The collection of PHP_CodeSniffer rules (sniffs) used to format and validate PHP code developed for WordPress according to the PHP coding standards.. In the next release, it will furthermore integrate with the Abilities API.

What the WordPress AI Client SDK does

The SDK is designed to make “call an AI model from a pluginPlugin A plugin is a piece of software containing a group of functions that can be added to a WordPress website. They can extend functionality or add new features to your WordPress websites. WordPress plugins are written in the PHP programming language and integrate seamlessly with WordPress. These can be free in the WordPress.org Plugin Directory https://wordpress.org/plugins/ or can be cost-based plugin from a third-party” a first‑class, repeatable pattern:

  • A fluent Prompt Builder API (AI_Client::prompt()) tailored for WordPress developers, built directly on 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/preface.php. AI Client.
  • A WP Admin “AI Credentials” settings screen where site administrators can configure providerProvider An AI service offering models for generation, embeddings, or other capabilities (e.g., Anthropic, Google, OpenAI). API keys in one place.
  • Automatic wiring of those credentials into the underlying PHP AI Client whenever your code executes a prompt.
  • A PSR‑compatible HTTP client implementation backed by wp_remote_request(), so the underlying SDK uses the WordPress way of handling HTTP requests.

Combined, this gives plugins and themes a uniform way to work with different AI providers and model families without reinventing credential management or HTTP integrations.

Version 0.1.0 is the initial “developer‑ready” release of the SDK and includes the above features. Upcoming releases will expand on these capabilities, providing an Abilities APIAbilities API A core WordPress API (introduced in 6.9) that creates a central registry of capabilities, making WordPress functions discoverable and accessible to AI agents, automation tools, and developers. Transforms WordPress from isolated functions into a unified system. integration, REST APIREST API The REST API is an acronym for the RESTful Application Program Interface (API) that uses HTTP requests to GET, PUT, POST and DELETE data. It is how the front end of an application (think “phone app” or “website”) can communicate with the data store (think “database” or “file system”) https://developer.wordpress.org/rest-api/. endpoints, and a 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/./TypeScript based Prompt Builder API equivalent to the server-side one.

Installation and first prompt

To add the SDK to a plugin:

  1. Require the package via Composer:
composer require wordpress/wp-ai-client
  1. Initialize the client from your plugin on init:
use WordPress\AI_Client\AI_Client;

add_action( 'init', array( AI_Client::class, 'init' ) );
  1. In WP Admin, go to Settings → AI Credentials and enter the API keys for the providers you want to use. 
  2. Start prompting from your plugin code:
use WordPress\AI_Client\AI_Client;

$summary = AI_Client::prompt( 'Summarize the history of the printing press.' )
	->using_temperature( 0.1 )
	->generate_text();

Automatic model selection and using specific models

With the above snippet, the SDK will automatically choose a suitable model for the given prompt and configuration. This makes your plugin provider-agnosticProvider-Agnostic Software design that works with multiple service providers without being tied to one. Recommended for WordPress AI integrations., which is a recommended pattern to be able to run on most WordPress sites: Mosts sites likely will only configure specific AI model providers (e.g. Anthropic, Google, OpenAI), and this means your plugin will only be able to use models from the configured provider. If you don’t specify a model, the SDK will automatically pick one that supports all the capabilities you need. It will then pick up the configured credentials and route the request through the appropriate provider client.

If you have specific models that you would like to use, the recommended way is to provide a preference list of these models:

use WordPress\AI_Client\AI_Client;

$summary = AI_Client::prompt( 'Summarize the history of the printing press.' )
	->using_temperature( 0.1 )
	->using_model_preference(
		'claude-sonnet-4-5',
		'gemini-3-pro-preview',
		'gpt-5.1'
	)
	->generate_text();

The SDK will then use the first model from the list where the provider is configured on the WordPress site, unless none of these models can be used. In that case it will choose another suitable model, as mentioned before.

It is also possible to enforce use of a single specific model. However, this means sites that don’t have the provider for that model configured will not be able to use the respective AI feature. Therefore, for maximum compatibility and reach you are encouraged to use one of the more flexible approaches outlined. If you still want to allow using only a single specific model, you should include logic to first check whether the model can be used and make the respective feature conditionally available:

use WordPress\AI_Client\AI_Client;
use WordPress\AiClient\ProviderImplementations\Anthropic\AnthropicProvider as Anthropic;

$prompt = AI_Client::prompt( 'Summarize the history of the printing press.' )
	->using_temperature( 0.1 )
	->using_model( Anthropic::model( 'claude-sonnet-4-5' ) );

if ( $prompt->is_supported_for_text_generation() ) {
	// Expose the feature, call `$prompt->generate_text()` etc.
} else {
	// Fallback: Hide feature or show setup instructions.
}

The is_supported_for_text_generation() method used above (or the equivalent methods for other AI capabilities such as image generation) is generally recommended around specific AI feature implementations. This way you ensure only features that can actually work on the WordPress site are shown to the user. If the result of the method is negative, you can either fall back to a non-AI variant of the feature, show a message informing the user how they can get access to the feature, or simply hide the feature completely.

How it fits into the AI Building Blocks

The AI Client SDK is one of the coreCore Core is the set of software required to run WordPress. The Core Development Team builds WordPress. AI building blocks alongside the Abilities API and the MCP AdapterMCP Adapter Translates WordPress abilities into Model Context Protocol format, allowing AI assistants like Claude and ChatGPT to discover and invoke WordPress capabilities as tools, resources, and prompts.:

  • Abilities API: describes what WordPress can do in a unified, machine‑readable way. Now a core API, as of v6.9!
  • MCP Adapter: exposes those abilities to external AI tools via the Model Context Protocol.
  • WordPress AI Client SDK: makes it straightforward for plugins and themes to call upstream AI providers from within WordPress itself.

Future iterations will build on this 0.1.0 foundation with additional surfaces such as REST and client‑side APIs, so that both server‑side code and JavaScript applications in the WordPress admin can share the same AI client infrastructure.

For more details and examples, see the wordpress/wp-ai-client repository README and contributing documentation.