AI Services
This WordPress plugin introduces central infrastructure which allows other plugins to make use of AI capabilities. It exposes APIs that can be used in various contexts, whether you need to use AI capabilities in server-side or client-side code. Furthermore, the APIs are agnostic of the AI service – whether that’s Anthropic, Google, or OpenAI, to only name a few, you can use any of them in the same way. You can also register your own implementation of another service, if it is not supported out of the box. The plugin does intentionally not come with specific AI driven features built-in, except for an AI Playground screen to explore AI capabilities as well as a settings screen to configure AI service credentials. The purpose of this plugin is to facilitate use of AI by other plugins. As such, it is a perfect use-case for plugin dependencies. Here’s a (non-comprehensive) feature list: Abstraction layer and APIs to communicate with any AI service in a uniform way APIs are available in both PHP and in JavaScript, as well as via the WordPress REST API and WP-CLI commands Currently supports the following AI capabilities (with more on the way!): text generation (including text streaming for more immediate feedback to users) text chats with history multimodal input function calling image generation AI Playground administration screen (in the Tools menu) allows exploring the different AI capabilities Explore all AI capabilities supported by the plugin via user interface Select which AI service and model to use and set a few advanced configuration parameters Define your own function declarations used for AI function calling Generate images and save them to the WordPress media library Exchange the AI service or model on the fly to continue a chat started with one model with another one AI Services settings screen to configure services with API credentials Built-in AI service implementations Anthropic (Claude) Google (Gemini, Imagen) Mistral OpenAI (GPT, Dall-E) Perplexity (Sonar) xAI (Grok) Browser (client-side only; experimental support for Chrome’s built-in AI APIs and Edge’s built-in AI APIs) Additional AI service integrations can be registered and will then be available in the same way as built-in ones Disclaimer: The AI Services plugin is still in its early stages, with a limited feature set and more being added. A crucial part of refining the plugin is shaping the APIs to make them easy to use and cover the different generative AI capabilities that the AI services offer in a uniform way. That’s why your feedback is much appreciated! Why? A centralized AI infrastructure facilitates user choice. Users may prefer certain AI services over other ones, and for many common tasks, either of the popular AI services is suitable. Having a common API regardless of the AI service allows leaving the choice to the user, rather than the plugin author. Since the centralized AI infrastructure comes with a common API that works the same for every AI service, it means plugin developers don’t have to spend as much time familiarizing themselves with different services, at least when it comes to simple tasks. For tasks where certain services may have advantages over others, there is still flexibility to focus on a specific AI service. It also means no more reinventing the wheel: Since most AI services do not provide PHP SDKs for their APIs, many times this means WordPress plugins that want to leverage AI have to implement their own layer around the service’s API. Not only is that time consuming, it also distracts from working on the actual (AI driven) features that the plugin should offer to its users. In fact this directly facilitates the user choice aspect mentioned, as having APIs for various AI services already provided means you can simply make those available to your plugin users. Having central AI infrastructure available unlocks AI capabilities for smaller plugins or features: It may not be worth the investment to implement a whole AI API layer for a simple AI driven feature, but when you already have it available, it can lead to more plugins (and thus more users) benefitting from AI capabilities. Last but not least, a central AI infrastructure means users will only have to configure the AI API once, e.g. paste their API keys only in a single WordPress administration screen. Without central AI infrastructure, every plugin has to provide its own UI for pasting API keys, making the process more tedious for site owners the more AI capabilities their site uses. Integration with third party services While the plugin APIs allow registering custom AI services, the plugin comes with a few popular AI services built-in. These AI services rely on the respective third party API. Their use is optional and it is up to you to choose which third party service you would like to use or whether you would like to use multiple. The use of the third party AI services is subject to the respective terms of service. The following third party services are supported out of the box: Anthropic (Claude) Anthropic Consumer Terms of Service Anthropic Commercial Terms of Service Anthropic Privacy Policy Google (Gemini, Imagen) Google Terms of Service Google AI Terms of Service Google Privacy Policy Mistral Mistral Terms of Service Mistral Privacy Policy OpenAI (GPT, Dall-E) OpenAI Terms of Use OpenAI Privacy Policy Perplexity (Sonar) Perplexity Terms of Service Perplexity Privacy Policy xAI (Grok) xAI Terms of Service – Consumer xAI Terms of Service – Enterprise xAI Privacy Policy Code examples for using the API Generate the answer to a prompt in PHP code: use Felix_Arntz\AI_Services\Services\API\Enums\AI_Capability; use Felix_Arntz\AI_Services\Services\API\Helpers; if ( ai_services()->has_available_services() ) { $service = ai_services()->get_available_service(); try { $candidates = $service ->get_model( array( 'feature' => 'my-test-feature', 'capabilities' => array( AI_Capability::TEXT_GENERATION ), ) ) ->generate_text( 'What can I do with WordPress?' ); $text = Helpers::get_text_from_contents( Helpers::get_candidate_contents( $candidates ) ); echo $text; } catch ( Exception $e ) { // Handle the exception. } } Generate the answer to a prompt in JavaScript code: const helpers = aiServices.ai.helpers; const { hasAvailableServices, getAvailableService } = wp.data.select( 'ai-services/ai' ); if ( hasAvailableServices() ) { const service = getAvailableService(); try { const candidates = await service.generateText( 'What can I do with WordPress?', { feature: 'my-test-feature' } ); const text = helpers.getTextFromContents( helpers.getCandidateContents( candidates ) ); console.log( text ); } catch ( error ) { // Handle the error. } } Generate the answer to a prompt using WP-CLI: wp ai-services generate-text "What can I do with WordPress?" --feature=my-test-feature You can also use a specific AI service, if you have a preference, for example the google service. Generate the answer to a prompt using a specific AI service, in PHP code: use Felix_Arntz\AI_Services\Services\API\Enums\AI_Capability; use Felix_Arntz\AI_Services\Services\API\Helpers; if ( ai_services()->is_service_available( 'google' ) ) { $service = ai_services()->get_available_service( 'google' ); try { $candidates = $service ->get_model( array( 'feature' => 'my-test-feature', 'capabilities' => array( AI_Capability::TEXT_GENERATION ), ) ) ->generate_text( 'What can I do with WordPress?' ); $text = Helpers::get_text_from_contents( Helpers::get_candidate_contents( $candidates ) ); echo $text; } catch ( Exception $e ) { // Handle the exception. } } Refer to the plugin documentation for granular examples including explainers. For complete examples such as entire plugins built on top of the AI Services infrastructure, please see the examples directory on GitHub.
Top keywords
- ai65×5.32%
- service34×2.78%
- services30×2.46%
- ai services20×1.64%
- api15×1.23%
- text15×1.23%
- ai service12×0.98%
- ai capabilities10×0.82%
- apis10×0.82%
- capabilities10×0.82%
- helpers10×0.82%
- terms10×0.82%
DiagnoSEO – Fast and Automated On-page SEO
DiagnoSEO is a performance-first SEO plugin for WordPress users who want full control without bloat. DiagnoSEO is the lowest memory WordPress SEO plugin, confirmed by independent performance tests on WP Hive and Plugin Tests. Built for speed, scalability, and real SEO work, DiagnoSEO stays fast even on large and complex websites. It uses minimal memory, optimized code (less than 100KB of a ZIP file), and a clean architecture designed with Core Web Vitals in mind. This is not a plugin that adds features at the cost of performance. DiagnoSEO is built for websites where speed, control, and SEO quality actually matter. You get predictable performance backed by 17+ years of real-world SEO experience, and a plugin especially valued by experienced SEO specialists who need advanced SEO control, predictable behavior, and a clean interface. DiagnoSEO is also part of the DiagnoSEO SEO Software Suite, an AI-powered SEO platform with over 50 tools for audits, keyword research, competitor analysis, backlinks, and AI-assisted content workflows. The WordPress plugin works as a natural extension of this ecosystem. Who is DiagnoSEO for? 👤 DiagnoSEO is designed for users who want ease of use, control, and performance: Beginners who want clear and practical SEO guidance Bloggers and content creators Small and medium-sized businesses WooCommerce store owners Developers and agencies SEO professionals who care about performance and advanced SEO control The interface is clean and focused. Advanced options are available when needed, without overwhelming the user. Why choose DiagnoSEO? ⭐ Most SEO plugins try to do everything. DiagnoSEO focuses on what actually moves the needle. Instead of bloated dashboards and unnecessary features, DiagnoSEO helps you improve content quality, maintain full control over SEO signals, keep your website fast, and scale SEO safely as your site grows. It is a modern, performance-focused SEO plugin for websites that need more than basic SEO tweaks. DiagnoSEO was named a finalist at the European Search Awards 2025 in two major categories: Best SEO Software Suite and Best Software Innovation. This industry recognition underscores its innovation and effectiveness. Core SEO Features (Free) Custom meta titles and meta descriptions Meta tag templates Google search snippet preview Meta robots control Custom canonical URLs Advanced Schema.org support Breadcrumbs with HTML and Schema Open Graph metadata and social previews XML sitemap Optimization for multiple related keywords SEO checkpoints and actionable on-page recommendations Content analyzer with keyword placement checks Live SEO score while editing Redirect attachment pages to image files Easy insertion of analytics and tracking codes Fully compatible with Multi Premium WordPress Theme All features are built with performance and usability in mind. WordPress SEO Audit & Checker 🔍 See your SEO score instantly Find error-level issues hurting your visibility Discover quick SEO wins you can fix fast Get clear priorities on what to fix first Check posts, pages, products, and key SEO settings automatically in seconds DiagnoSEO also includes a built-in WordPress SEO Audit & Checker that helps you quickly review important on-page and site-wide SEO issues directly inside WP admin. It analyzes metadata, content, structure, links, images, accessibility, schema, WooCommerce products, and product categories using WordPress and DiagnoSEO plugin data only, so you get fast, actionable SEO insights in a lightweight workflow. Unique Pro SEO Features 🚀 DiagnoSEO Pro includes advanced SEO features rarely found in other SEO plugins. For a detailed feature comparison with other popular SEO plugins, see: Yoast vs Rank Math vs DiagnoSEO. Advanced Schema, E-E-A-T & SERP Enhancements ReviewedBy schema support for stronger E-E-A-T signals Post rating with stars and schema for higher click-through rates in SERPs SameAs schema support for better social media and brand entity connections LocalBusiness schema support Multiple Schema.org types per page Advanced Internal Linking & Content Structure Anchor text control in post lists without changing H1 for better SEO and UX Affiliate deeplink hider – a safer alternative to rel=”nofollow” that protects internal link equity and prevents link juice leaks Automatic table of contents for improved UX and internal linking SEO Categories widget for better internal linking of nested categories Advanced SEO Control & Privacy Advanced content quality checkpoints for better SEO audits XML sitemap with customizable filename for better privacy Meta referrer support for privacy and analytics control Performance-focused advanced options for better SEO, UX, and conversions These features are designed to solve real SEO problems, not to inflate feature lists. More Pro SEO Features 🔥 AI, Automation & Content Intelligence AI-powered meta title and meta description generator AI-powered comments generator Unlocked useful content quality and SEO checkpoints Related keyword suggestions based on semantics Internal linking suggestions Advanced SEO Management & Indexing Redirection manager with 301 and 302 redirects IndexNow support for super-fast indexing in Bing and Yandex Option to change all external links to nofollow (Multisite supported) Google News XML sitemap HTML sitemap block Content, UX & Visibility Enhancements Automatic table of contents and Table of Contents block Related & Featured posts widget Featured posts widget WooCommerce & Advanced Website SEO Advanced WooCommerce SEO metadata SEO Categories widget for WooCommerce DiagnoSEO SEO Software Suite Access DiagnoSEO Pro extends WordPress SEO with access to professional SEO tools and workflows beyond the WordPress dashboard. Access to professional SEO tools from the DiagnoSEO All-in-One SEO Software Suite Support for SEO audits, keyword research, competitor analysis, backlinks, and content workflows Website crawl tool access (e.g. 404 detects and 20 more factors) Access to super detailed and advanced SEO Checker tool (200+ factors) Access to competitors analysis SEO tool (using AI and real search data) Designed for SEO specialists, agencies, and teams managing SEO beyond WordPress Support & Professional Use Dedicated premium SEO support Read full features list and details AI-Powered SEO (Pro) 🤖🔥 AI-Assisted Metadata & Content Support DiagnoSEO Pro uses the OpenAI API to generate or improve: Meta titles Meta descriptions Contextual comments for posts Metadata are generated based on SEO best practices. AI tools are designed to save time, support consistent SEO workflows, and help maintain content quality at scale. Easy Migration 🔄 Switching to DiagnoSEO is simple and safe. You can import SEO data from other popular SEO plugins (Yoast SEO, Rank Math, SEOPress, and many more) with no data loss and no SEO risk. Why switch to DiagnoSEO? 🚀 If your current SEO setup feels slow, bloated, overly complex, or limiting in advanced SEO control, DiagnoSEO gives you back speed, clarity, and full control without compromising performance. Optimize smarter. Stay fast. Stay in control. Switch to DiagnoSEO and experience performance-first SEO for WordPress.