-
Notifications
You must be signed in to change notification settings - Fork 0
Home
AI abilities for any WordPress plugin — without modifying it. All inference runs on your own server.
This project proves that the WordPress Abilities API (shipping in WP 6.9+ core) makes it possible to add AI to any plugin — free or paid — from the outside, with zero changes to the plugin's code.
Combined with a self-hosted Ollama inference server, every AI request stays on your infrastructure. No data leaves your server. No third-party API keys. No per-token cost after setup.
| Topic | Page |
|---|---|
| How the scanner works | How-the-Scanner-Works |
| What each plugin can do with AI | Plugin-Examples-Overview |
| Generated adapter code | Plugin-Examples-Adapters |
| Set up Ollama on a VPS | Ollama-Setup |
| Per-site Docker container | Per-Site-Container |
| Shared server for multiple sites | Shared-Server-Setup |
| Roles and permissions | Access-Control |
| GDPR and privacy | Privacy-and-GDPR |
| Single-site setup guide | Self-Hosted-Setup |
| WP Abilities API reference | WP-Abilities-API |
| Hosting company setup | Hosting-Company-Setup |
| Agency deployment | Agency-Deployment |
A three-part proof of concept:
1. PHP Scanner — point it at any plugin directory, it outputs ready-to-use wp_register_ability() adapter code using the correct WP 6.9 Abilities API. Covers REST endpoints, custom post types, and CRUD methods.
2. Ollama Provider — a drop-in provider class for WP Agent that connects to a self-hosted Ollama container using real NDJSON streaming. Tokens appear in the chat widget as they are generated.
3. nginx Gateway — per-site Bearer token authentication and rate limiting in front of Ollama. One shared server can serve 10+ WordPress sites securely.
Any WordPress plugin — free or paid — can have AI abilities added to it without modifying a single line of its code. The WP Abilities API accepts ability registrations from anywhere. The scanner writes that registration code automatically.
| Model | Best for |
|---|---|
| Per-site Docker container | Single site, full isolation |
| Shared VPS with nginx gateway | Agencies managing 5–20 sites |
github.com/wbcomdesigns/wp-private-ai