Decoupling AI Automation from WordPress: Designing Async HTTP REST Workers
A practical architecture for running long AI workflows beside WordPress, with asynchronous REST workers that keep publishing responsive.
Topic
AI engineering for WordPress — LLM integration, automation pipelines, and AI-powered plugins
All articles
A practical architecture for running long AI workflows beside WordPress, with asynchronous REST workers that keep publishing responsive.
A WordPress REST API request can report that Basic Authentication is required even after HTTP authentication was disabled. That message does not prove that WordPress itself is demanding a Basic Auth header. The challenge may come from a browser…
Cloudflare is usually introduced as a performance and security layer for WordPress. It can cache static assets, reduce connection latency, absorb common attacks, and provide useful visibility into how visitors reach a site. Typography is part of the same…
Adding Gemini or another AI model to a WordPress plugin is easy to demonstrate and surprisingly difficult to operate. A successful request in development does not prove that the feature is safe in production. Models can return invalid JSON,…
Free-text AI output breaks the moment you need to parse it. Gemini's schema-constrained JSON mode fixes that, and generating valid Gutenberg blocks is the perfect hard case to learn it on.
Function calling turns Gemini from a text generator into an operator that can act on your site. Here's the full round-trip in PHP, and the allowlist-based safety architecture that makes "AI runs my maintenance" sane.
WordPress keyword search fails the moment a visitor phrases things differently than your post titles. Here's how to build real semantic search with Gemini embeddings: a custom table, cosine similarity, and zero extra infrastructure.
A complete, working WordPress plugin that uses Gemini's multimodal vision to generate image alt text on upload, with proper security, caching, graceful degradation, and WordPress.org-review-friendly architecture.
WordPress 7.0 bundles the PHP AI Client and the Abilities API directly in core. Here's the real API surface (wp_supports_ai(), wp_ai_client_prompt(), the PromptBuilder) and what it means for how you should build AI features now.
As we come near to the D-day of WordCamp Bhopal 2023, I with my wonderful team, am thrilled to extend a warm welcome to all of you to join us for this incredible event dedicated to the world of…