u/superdav42

[FREE] I built an AI Agent running inside of WP 7.0

I saw the AI connectors added in WP 7.0 as an opportunity to implement an agent loop. What I build feels like running claude code or cursor inside of WordPress and much easier to setup.

I'm not selling anything. No expensive AI credits, hosting, vendor lock-in. I just want you to try the plugin. Please check it out https://sdaiagent.com or https://github.com/Ultimate-Multisite/superdav-ai-agent

Thank you.

reddit.com
u/superdav42 — 1 day ago

WordPress 7.0 Explained: AI Connectors + Abilities API

TLDR: WP 7.0 lets you run an agent inside of WordPress.

What's the big deal?

I'm been working with WordPress 7.0 betas and RCs and I didn't understand what the new features were all about at first. The big new features is one new page for setting up AI connectors. But it was basically empty because there were no AI providers shipped with 7.0. You have to install them as separate plugins.

It just shipped something much better: a PHP AI SDK that can be used by any plugin. Paired with the new Abilities API all kinds of new things are possible.

How AI Connectors work

Instead of every plugin bundling its own OpenAI/Anthropic/Google integration (with its own settings page, its own key storage, its own rate limiting), WordPress now has one canonical way to talk to AI providers.

You call wp_ai_client_prompt() and the SDK handles:

  • Provider selection
  • Credentials
  • Retries
  • Model discovery

Connector plugins (Anthropic, OpenAI, Google, local Ollama, etc.) register themselves once, and every AI-aware plugin on the site shares them.

> No more re-entering API keys in five plugins. No more "which plugin is burning my tokens?" No more provider lock-in.

How the Abilities API fits

The Abilities API lets any plugin register a capability — "save a memory", "search products", "draft an email", "publish a post" — as a structured, schema-described function. Each ability is just wp_register_ability() with an OpenAI-compatible JSON schema.

The magic: AI models can discover and call these abilities as tools. Your LLM doesn't need a custom integration with WooCommerce, Yoast, or Gravity Forms. It asks WordPress "what can I do here?" and gets back a tool catalogue.

What this unlocks

This is the foundation for WordPress becoming an AI-native platform — not "a CMS with an AI plugin bolted on", but a substrate where agents can reason about and act on your entire site through standard interfaces. You don't need to setup several MCPs or any MCPs to start using AI agents with WordPress. The AI agent can run inside the admin.

Why it makes SD AI Agent possible

Once I realized all the building blocks were in place I implemented an Agent loop using the WP 7.0 AI client. It worked better than I expected.

SD AI Agent is built entirely on these two APIs:

Capability How it's built
30+ registered abilities (memory, skills, knowledge base, tool profiles, automations, benchmarking) wp_register_ability()
Every model call wp_ai_client_prompt()
Provider/model selection WordPress Connectors API

We wrote:

  • Zero provider integration code
  • Zero API key management UI
  • Zero tool-calling plumbing

Just an agent loop and a the conversation UI on top. Takes advantage of any registered abilities from other plugins. The more plugins that add abilities the better it will become.

reddit.com
u/superdav42 — 2 days ago

Hey friends,

If you want to build a website that is more than some static pages and you don't want to blow taken re-writing everything from scratch let me introduce the Ultimate AI Agent for WordPress.

It runs inside your existing WordPress site on any hosting provider. Just bring your own API for any of the big AI providers and use natural language to build your site.

No lock-in. Full freedom. No Complex MCP config.

Check it out at https://ultimateagentwp.ai

reddit.com
u/superdav42 — 1 month ago