Note: This project was built entirely by AI agents. Humans contributed prompting, steering, and manual testing — all code, tests, documentation, and tooling were generated by AI. Please read DISCLAIMER.md for details.
A WordPress plugin that makes your content visible to AI systems. When someone asks an AI assistant a question your site could answer, the AI needs to find and understand your content first. AI Enhancer bridges that gap.
AI assistants, chatbots, and LLM-powered search engines are becoming a primary way people find information. But most WordPress sites serve content designed for browsers — HTML pages with navigation, sidebars, ads, and scripts. AI systems struggle to extract clean, structured content from this.
Your content might be the best answer to a user's question, but if an AI tool can't efficiently parse it, you're invisible.
The plugin processes your published posts and generates machine-readable versions served through multiple channels:
- AI View (
?aie_ai_view=1) — A clean, structured HTML page with summary, FAQs, key facts, and JSON-LD schema. Appended to any post URL. - Markdown files — Static
.mdfiles written to your uploads directory. No PHP overhead, directly downloadable by any crawler. - llms.txt — A site-wide index at
/llms.txtfollowing the llms.txt specification, so AI tools can discover all your available content in one request. - Discovery links —
<link>tags added to your page<head>pointing AI crawlers to the structured versions.
It works with posts, pages, and any public custom post type — WooCommerce products, events, courses, recipes, job listings, portfolios, and more.
Live AI generation — When you have a provider configured, the plugin sends your content to an AI model and gets back structured summaries, FAQs, key facts, and entity links.
Deterministic fallback — No AI provider? No problem. The plugin falls back to a rule-based generator that extracts structured data from your existing content. Less sophisticated, but your posts are always represented.
The plugin tries live generation first and falls back automatically if it fails, so your content is never left without a structured representation.
Configure which post types to process, choose your AI provider and model, and toggle automatic generation on save.
Check which AI providers are configured and whether live generation is active.
Monitor processing metrics, review per-post errors, and trigger bulk regeneration from the Diagnostics tab.
Manage API keys and credentials for each provider from Settings > Connectors. Configure once and all AI-aware plugins share the same credentials.
Each post shows its AI generation status, lets you trigger on-demand regeneration, and provides direct preview links to the AI View and Markdown outputs.
- WordPress 7.0+
- PHP 8.0+
- Download the latest
.zipfrom the Releases page. - In WordPress, go to Plugins > Add New > Upload Plugin, upload the zip, and activate.
For development from source:
composer install
npm install
npm run buildOllama lets you run AI models locally on your own machine — no API keys, no cloud services, fully offline. Great for privacy-sensitive sites or development.
- Install Ollama from ollama.com and pull a model (e.g.
ollama pull llama3.2). - Make sure Ollama is running (
ollama serveor the desktop app). If Ollama is on the same machine as WordPress, it works out of the box — no configuration needed. - If Ollama is running on a different machine or port, add this to your
wp-config.php(before the/* That's all, stop editing! */line):define( 'OLLAMA_BASE_URL', 'http://your-server:11434/v1' );
- Go to AI Enhancer > Settings:
- Check the post types you want to process.
- Select Ollama as the provider.
- Pick your model from the dropdown.
- Click Save Settings.
- Go to AI Enhancer > Diagnostics and click Regenerate All Records.
Your content is processed entirely on your hardware. Nothing leaves your network.
OpenRouter gives you access to 200+ AI models (OpenAI, Anthropic, Google, Meta, Mistral, etc.) through a single API key. It's the fastest way to get started.
- Create an account at openrouter.ai and generate an API key at openrouter.ai/settings/keys.
- In WordPress, go to Settings > Connectors, find OpenRouter, click Set up, and paste your API key.
- Go to AI Enhancer > Settings:
- Check the post types you want to process.
- Select OpenRouter as the provider.
- Pick a model from the dropdown (or leave it on the recommended default).
- Click Save Settings.
- Go to AI Enhancer > Diagnostics and click Regenerate All Records.
That's it. The plugin queues your posts for background processing via Action Scheduler. Within minutes, your content will be available as AI View pages, Markdown files, and listed in /llms.txt.
You can also use any of the official WordPress AI providers (OpenAI, Google, Anthropic) — install their connector plugin and they'll appear in the provider dropdown.
ai-enhancer.php Plugin bootstrap
app/ PHP application code (PSR-4)
src/admin/ React admin UI (TypeScript)
scripts/ Build scripts (esbuild)
tests/phpunit/ PHPUnit tests
tests/unit/ Vitest unit tests
doc/ User-facing documentation (bundled into Help tab)
The .claude/ and .codex/ directories are internal — they hold AI agent conversation history and task tracking used during development. They can be safely ignored.
GPL-2.0-or-later




